You have a versioned application deployed in your production environment. You have been asked to troubleshoot why the most recent production redeployment appeared to allow the older version to retire too quickly.
In this case, the application had active RMI clients, but their subsequent calls were directed to the newer version immediately rather than waiting for the expected five minutes defined by the retirement timeout argument. The script command was:
java weblogic.Deployer --adminurl http://localhost:7001 --user weblogic
-password Welcome1 --redeploy --name myDeployment
-source /myDeployments/myApplication/appX
-retiretimeout 300
You expected the older version to remain active (when there are active RMI clients) for five minutes after executing the production redeployment.
Which modification should have been made to this command to ensure the older version remains active? (Choose the best answer.)
The --remote argument indicates that weblogic.Deployer is not running on the same machine as the Administration Server, and that source paths specified in the command are valid for the Administration Server machine itself. If you do not use the -remote option, weblogic.Deployer assumes that all source paths are valid paths on the local machine.
Currently there are no comments in this discussion, be the first to comment!