Technical data

Auto-Deployment
Administration Guide 7-7
n The Managed Server does not have the latest version of the application.
The Administration Server maintains a
StagedTargets list that specifies which
Managed Servers in a domain have the latest version of an application. At startup, a
Managed Server queries its Administration Server to determine if it (the Managed
Server) has the most recent version of the application. If an updated version of the
application is available, it is copied to the Managed Server, and the Administration
Server adds that Managed Server to the StagedTargets list.
When an Administration Server goes down, all Managed Servers are removed from the
StagedTargets list. When the Administration Server is rebooted, each Managed
Server in the domain copies its deployed applications from the Administration Server.
This assures that, in the event that an application has been updated while the
Administration Server was down, all Managed Servers have the same version of the
application.
Forcing Application Update at Startup
A startup option for Administration Servers,
-Dweblogic.management.forceApplicationCopy, forces Managed Servers to
obtain the latest version of deployed applications at startup. If an Administration
Server is started with
-Dweblogic.management.forceApplicationCopy set to
true, when a Managed Server in the domain starts up, the applications deployed to
that Managed Server are copied from the Administration Server to the Managed
Server. The startup option can be specified either on the command line or in a startup
script.
Auto-Deployment
Auto-deployment is a method for quickly deploying an application on the
Administration Server. It is recommended that this method be used only in a
development environment for testing an application. Use of auto-deployment in a
production environment or for deployment of components on Managed Servers is not
recommended. You can ensure that auto-deployment is turned off if you start the
Administration Server with the following argument on the
java command line: