users@glassfish.java.net

RE: Re: Windows XP: Glassfish 9.0_01: Cannot deploy. Module directory is locked and cannot be deleted.

From: Todd Patrick <Todd.Patrick_at_dtn.com>
Date: Thu, 25 Jan 2007 16:15:46 -0600

Tim:

The server log has the following:

[#|2007-01-25T16:11:02.731-0600|SEVERE|sun-appserver-pe9.0|javax.enterpr
ise.system.tools.deployment|_ThreadID=14;_ThreadName=Thread-31;_RequestI
D=68827c76-2bee-4915-a26c-905c2ffe03bf;|Exception occured in J2EEC Phase
com.sun.enterprise.deployment.backend.IASDeploymentException: Cannot
deploy. Module directory is locked and cannot be deleted:
C:\Sun\SDK\domains\domain1\applications\j2ee-modules\petroadmin
        at
com.sun.enterprise.deployment.backend.ModuleDeployer.liquidateModuleDirA
ndStubsDirIfTheyHappenToExist(ModuleDeployer.java:783)
        at
com.sun.enterprise.deployment.backend.WebModuleDeployer.preDeploy(WebMod
uleDeployer.java:106)
        at
com.sun.enterprise.deployment.backend.ModuleDeployer.doRequestFinish(Mod
uleDeployer.java:152)
        at
com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.jav
a:169)
        at
com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(Deplo
ymentPhase.java:95)
        at
com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(
PEDeploymentService.java:871)
        at
com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeplo
ymentService.java:266)
        at
com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeplo
ymentService.java:739)
        at
com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.ja
va:174)
        at
com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:
210)
|#]

My project, petroadmin is 13 MB, so it would be kinda hard to send to
you and it would have to be privately.

Thank you for looking at this.

--Todd

 

-----Original Message-----
From: Timothy.Quinn_at_Sun.COM [mailto:Timothy.Quinn_at_Sun.COM]
Sent: Thursday, January 25, 2007 4:02 PM
To: users_at_glassfish.dev.java.net
Subject: Re: Windows XP: Glassfish 9.0_01: Cannot deploy. Module
directory is locked and cannot be deleted.

Hi, Todd.

Can you please take a look in the server.log and see if there is any
additional information there that helps clarify this?

Is this happening during a redeployment?

Also, would you be able and willing to e-mail me app (or make it
available to me privately some other way) and I could try it here to see
if I get the same results?

- Tim

Todd Patrick wrote:
> A follow-up.
>
> Even inside the Admin Console, I receive this message:
>
>
> -----Original Message-----
> From: Todd Patrick [mailto:Todd.Patrick_at_dtn.com]
> Sent: Thursday, January 25, 2007 2:02 PM
> To: users_at_glassfish.dev.java.net
> Subject: Windows XP: Glassfish 9.0_01: Cannot deploy. Module directory

> is locked and cannot be deleted.
>
> I have Sun Java System Application Server Platform Edition 9 Update 1
> Patch 1 from the Java Platform, Enterprise Edition 5 SDK.
>
> In other words, Glassfish 9.0_01.
>
> This is a development server on my workstation and I keep returning
> the
> message:
>
> Exception occurred in JEEP Phase
> com.sun.enterprise.deployment.backend.IASDeploymentException: Cannot
> deploy. Module directory is locked and cannot be deleted:
> C:\Sun\SDK\domains\domain1\applications\j2ee-modules\<project>
>
> Is there a fix for this error?
>
> Do I need to download V1 Milestone 7 - Build 48 instead, since Sun's
> Java System Application Server Platform Edition 9.0 Update 1 Patch 1
> is built out of GlassFish v1 ur1 p01 build 02 - an older build?
>
> Thanks,
>
> --Todd
>
>
> -----------------------------------------
> NOTICE: This email message is for the sole use of the intended
> recipient(s) and may contain confidential and privileged information.
> Any unauthorized use, disclosure or distribution is prohibited. If you

> are not the intended recipient, please contact the sender by reply
> email and destroy all copies of the original message.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
For additional commands, e-mail: users-help_at_glassfish.dev.java.net