WebLogic Command Line Remote Deployment

In addition to deploying and updating applications in the management console, WebLogic can also use the command line to deploy and update applications.
Taking command line deployment under Linux machines as an example, the deployment commands are similar to:

java -cp /home/weblogic/Oracle/Middleware/Oracle_Home/wlserver/server/lib/weblogic.jar weblogic.Deployer -adminurl t3://localhost:7001 -username myusername -password mypassword -deploy /usr/local/myapp.war -name myapp

This command uses weblogic.jar in the WebLogic installation directory to deploy the application through WebLogic's t3 protocol service.
A typical application scenario of command line deployment is automated deployment, deploying applications using scripts. In this scenario, the dedicated deployment machine is often not the same machine as WebLogic, and the deployment machine generally does not have WebLogic installed. The reason for not installing WebLogic is that, on the one hand, WebLogic needs to purchase authorization for enterprise applications, and on the other hand, installing WebLogic just to update the application is a bit overkill. In this case, a question is raised:
Is it possible to deploy remote WebLogic using the command line on a machine without WebLogic installed?
The answer to this question is of course yes.

The most intuitive idea is: Can you copy weblogic.jar directly and use it soon?
Before WebLogic 10, this approach was possible. But after WebLogic 10, this way doesn't work.

How to remotely deploy WebLoigc 10 and above

It is not possible to use weblogic.jar directly in WebLoigc 10 and above. here with

Guess you like

Origin blog.csdn.net/oscar999/article/details/123807243