Redeploy application on current targets:
java weblogic.Deployer -adminurl url -username username -password password
-name myapp -redeploy
Redeploy individual module in an application:
java weblogic.Deployer -adminurl url -username username -password password
-name myapp -redeploy -targets moduleA@serverA,moduleA@serverB
Partially redeploy, for example, to update a JSP in a exploded webapp:
java weblogic.Deployer -adminurl url -username username -password password
-name myapp -redeploy mywar/index.jsp
The path of JSP to be updated is relative to the root of the
application. If a directory is specified the entire subtree is updated.
The -nostage option indicates that the application is available
on all target servers at the same path and hence server should not copy
files to the managed servers.
Deploy the first application version on admin server:
java weblogic.Deployer -adminurl url -username username -password password
-name myapp -deploy c:/myapps/myapp_v1.ear
Perform Production Redeployment of a new application version on admin server:
java weblogic.Deployer -adminurl url -username username -password password
-name myapp -redeploy -source c:/myapps/myapp_v2.ear
Deploy an application on admin server with a deployment plan:
java weblogic.Deployer -adminurl url -username username -password password
-plan c:/myapps/myapp/plan/plan.xml -deploy c:/myapps/myapp/app/myapp.jar
Deploy a queue to a specific JMS server
java weblogic.Deployer -adminurl url -username username -password password
-submoduletargets myqueue@myjmsmodule@JMSServer
-deploy c:/myapps/myapp/app/myapp.ear