Quantcast

redeploy failed on AS

Previous Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

redeploy failed on AS

Rita Yu Chen
Hi,

There is a problem with AS8.1PE bundled with NB4.1.

I have a webservice deployed already, when I redeploy, it failed with
[#|2005-07-26T14:08:29.432-0700|SEVERE|sun-appserver-pe8.1_02|javax.enterprise.system.tools.deployment|_ThreadID=33;|Exception
occured in J2EEC Phase
com.sun.enterprise.deployment.backend.IASDeploymentException: Cannot
deploy. Module directory is locked and cant be deleted: {1}
        at
com.sun.enterprise.deployment.backend.ModuleDeployer.liquidateModuleDirAndStubsDirIfTheyHappenToExist(ModuleDeployer.java:685)
        at
com.sun.enterprise.deployment.backend.WebModuleDeployer.preDeploy(WebModuleDeployer.java:111)
        at
com.sun.enterprise.deployment.backend.ModuleDeployer.doRequestFinish(ModuleDeployer.java:132)
        at
com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:146)
        at
com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:71)
        at
com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:633)
        at
com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:188)
        at
com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:520)
        at
com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:143)

I have to stop AS completely and manually delete application directory.
Then restart AS and deploy is ok.

This happens either re-deploying from NB or from AS console directly w/o
NB running.

Thanks,
-Rita

Loading...