Closed glassfishrobot closed 14 years ago
@glassfishrobot Commented @honghzzhang said: Yes, the undeployment should always be able to return the server back to a consistent state from a failed deployment.
Could you attach the test case (your modified version of the clusterjsp application) for me to reproduce this from my side? Thanks.
@glassfishrobot Commented @honghzzhang said: make the undeployment clean up the failed partial deployment.
@glassfishrobot Commented This issue was imported from java.net JIRA GLASSFISH-13667
@glassfishrobot Commented Reported by gopaljorapur
@glassfishrobot Commented Marked as fixed on Tuesday, September 28th 2010, 1:37:42 pm
This happens, when the first deploy fails, its a BLOCKING bug, because, once this happens, the only way is to restart cluster, restart domain
bash-3.00# /export/jmscvs/glassfishv3/bin/asadmin --user admin deploy --availabilityenabled=true --force=true --target st-cluster /export/n -sqe/ee/ha/file-repository/90/Apps/failover/Clusterjsp/clusterjsp.ear Application deployed with name clusterjsp. WARNING : Command _deploy did not complete successfully on server insta nce instance101 : remote failure: Failed to load the application on ins tance instance101. The application will not run properly. Please fix yo ur application and redeploy. Exception while loading the app : java.lang.RuntimeException: EJB Conta iner initialization error. Please see server.log for more details. EJB Container initialization errorException while invoking class org.gl assfish.ejb.startup.EjbDeployer load method : java.lang.RuntimeExceptio n: EJB Container initialization error EJB Container initialization error
WARNING : Command _deploy did not complete successfully on server insta nce instance102 : remote failure: Failed to load the application on ins tance instance102. The application will not run properly. Please fix yo ur application and redeploy. Exception while loading the app : java.lang.RuntimeException: EJB Conta iner initialization error. Please see server.log for more details. EJB Container initialization errorException while invoking class org.gl assfish.ejb.startup.EjbDeployer load method : java.lang.RuntimeExceptio n: EJB Container initialization error EJB Container initialization error
WARNING : Command _deploy did not complete successfully on server insta nce instance103 : remote failure: Failed to load the application on ins tance instance103. The application will not run properly. Please fix yo ur application and redeploy. Exception while loading the app : java.lang.RuntimeException: EJB Conta iner initialization error. Please see server.log for more details. EJB Container initialization errorException while invoking class org.gl assfish.ejb.startup.EjbDeployer load method : java.lang.RuntimeExceptio n: EJB Container initialization error EJB Container initialization error
Command deploy executed successfully. bash-3.00# /export/jmscvs/glassfishv3/bin/asadmin --user admin deploy bash-3.00# asadmin undeploy --target st-cluster clusterjsp remote failure: clusterjsp disabled failed Command disable failed on server instance instance101 : remote failure: Application clusterjsp not registered
Command disable failed on server instance instance102 : remote failure: Application clusterjsp not registered
Command disable failed on server instance instance103 : remote failure: Application clusterjsp not registered
Command undeploy failed. bash-3.00# /export/jmscvs/glassfishv3/bin/asadmin --user admin deploy --availabilityenabled=true --force=true --target st-cluster /export/n -sqe/ee/ha/file-repository/90/Apps/failover/Clusterjsp/clusterjsp.ear remote failure: Error during deployment : Keys cannot be duplicate. Old value of this key property, nullwill be retained clusterjsp disabled failed Command disable failed on server instance instance101 : remote failure: Application clusterjsp not registered
Command disable failed on server instance instance102 : remote failure: Application clusterjsp not registered
Command disable failed on server instance instance103 : remote failure: Application clusterjsp not registered
Command deploy failed. bash-3.00#
Environment
Operating System: All Platform: Sun
Affected Versions
[3.1]