WLST: remote weblogic application deployment

I am trying to deploy an application remotely in WebLogic. I am using WLST in a python script.

I use the deploy command for this. When I give the path of my war to any place accessible to my remote machine, everything goes well, but when I give some place that is inaccessible to the remote machine, it fails.

Now I know that the solution that is loaded by default is false, so the remote WebLogic needs access to the place of war, but I tried it with the upload true setting, but still the deployment fails, for example:

Deployment message: weblogic.management.ManagementException: [Deployer: 149003] Unable to access application source information in '/app/jamagentAdminServer.war' for application 'jamagent_AdminServer'. Specific error: no application files. Missing stack trace.

Am I missing something? I use the command:

deploy ('jamagent _' + server_name, jamagentwarpath + '/ jamagent' + server_name + '. war', target = server_name, timeout = 600000, upload = 'true')

therefore, if I delete the sentence upload='true'and make sure that jamagentwarpaththis is the location accessible to the remote machine, then everything will be fine. I hope I am clear with my question.

+5
source share
2

python, weblogic.Deployer Command-Line Reference, , -remote -upload:

, weblogic.Deployer , , , , .

+5

upload='true' remote='true'.

"" , , wlst script, WL.

"remote" "deploy" ( wlst script), WL.

"remote" WLS 10.0 . . WLS 10.0 WLST .

+2

All Articles