java weblogic.Deployer -username weblogic -exampl

    技术2022-05-11  129

    D:/bea2/user_projects/mydomain>java weblogic.Deployer -username weblogic -examplesDeploy 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 -deployc:/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>


    最新回复(0)