Title: RE: [JBoss-user] Re: Intermittent error on deployment

So what do you recommend?  Have ant copy the file to foo.tmp
and then rename it to foo.ear after the copy completes?
Or use the jmx-console to deploy the .ear file without copying
it? Someone posted a way to do this with the ant 'get' task
a while ago.  Seems cool since it's synchronous.

Tx,
JD

-----Original Message-----
From: Scott M Stark [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 09, 2003 3:05 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Re: Intermittent error on deployment


Yes and this is a known issue. Deployment updates need to be atomic or there
is a race between completing the update and the scanner trying to deploy the
modified content. We need a lock file notion or something to allow for large
redeploys.

xxxxxxxxxxxxxxxxxxxxxxxx
Scott Stark
Chief Technology Officer
JBoss Group, LLC
xxxxxxxxxxxxxxxxxxxxxxxx

----- Original Message -----
From: "Weiqi Gao" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 09, 2003 12:59 PM
Subject: [JBoss-user] Re: Intermittent error on deployment


> Scott M Stark wrote:
>  >
> > That can't be this case as he said retouching the descriptor resulted in
> > a successful deployment. If the process was out of fds due to leaks its
>  > not likely that it suddenly got one. How is the build being done?
>  > Perhaps the descriptor is being removed and there is a race condition
>  > between seeing the update and replacing the descriptor.
>
> In my case, I'm touching the .ear file in the deploy directory.  The ear
> file is 5.4MB in size.  Could it be that the file scanner saw the file
> coming and immediately tied to read META-INF/application.xml, before the
> file is completely there?
>
> Copying the file typically take this long:
>
>    real    0m0.240s
>    user    0m0.050s
>    sys     0m0.180s
>
> --
> Weiqi Gao
> [EMAIL PROTECTED]



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to