java weblogic.Deployer -username weblogic -exampl

D:/bea2/user_projects/mydomain>java weblogic.Deployer -username weblogic -exampl
es
Deploy application on admin server:
java weblogic.Deployer -adminurl url -username username -password password
-name myapp -deploy c:/myapps/myapp.ear

Deploy individual modules in application to different targets:
java weblogic.Deployer -adminurl url -username username -password password
-name myapp -targets mywar@webserver,myjar@ejbserver -deploy
c:/myapps/myapp.ear

Undeploy application from specified targets:
java weblogic.Deployer -adminurl url -username username -password password
-name myapp -undeploy -targets server1,server2..

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.

Multiple servers sharing the same physical deployment:
java weblogic.Deployer -adminurl url -username username -password password
-name myapp -targets server1,server2 -nostage -deploy c:/myapps/myapp.ear

        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.

D:/bea2/user_projects/mydomain>

阅读更多
个人分类: System技术积累
上一篇Server 8.1 环境下Web布署
下一篇iostat
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

关闭
关闭
关闭