Technical data

A Using the WebLogic Java Utilities
A-12 Administration Guide
Removing a Deployed J2EE Application
To remove a deployed J2EE application, you need only reference the assigned
application name, as shown in the following example:
% java weblogic.deploy -port 7001 -host localhost undeploy
weblogicpwd Basic_example
Note: Removing a J2EE application does not remove the application from
WebLogic Server. You cannot re-use the application name with the
deploy
utility. You can re-use the application name to update the deployment, as
described in the following section.
Updating a Deployed J2EE Application
To update a J2EE application, use the update argument and specify the name of the
active J2EE application as follows:
% java weblogic.deploy -port 7001 -host localhost update
weblogicpwd Basic_example
c:\updatesample\ejb\basic\BasicStatefulTraderBean.jar
To update a specific component, enter the following commands:
% java weblogic.deploy -port 7001 -host localhost -component
Basic_example:sampleserver,exampleserver update
weblogicpwd Basic_example
c:\updatesample\ejb\basic\BasicStatefulTraderBean.jar
update
will cause the application or component to be updated on all server instances to which
is targeted. See “
update” on page -7.