users@glassfish.java.net

Re: Redeploy fails when using Struts with GlassFish

From: Tim Quinn <Timothy.Quinn_at_Sun.COM>
Date: Tue, 12 Dec 2006 12:16:42 -0600

Hi, Mark.

What build of GlassFish are you using and what release of Struts?

Please read this GlassFish forum entry
<http://forums.java.net/jive/thread.jspa?forumID=56&threadID=16009&messageID=121540#121540>
which discusses this problem, as well as this GlassFish issue
<https://glassfish.dev.java.net/issues/show_bug.cgi?id=539>.

The good news is that beginning with GlassFish V2 build 22 you should
see much better results with situations like this.

Let us know if this does not seem to help.

- Tim

Mark Hansen wrote:
> I have an EAR that contains the Struts JARs. When I modify the app
> and try to redeploy, it always fails because of file locks on the
> Struts JARs. To redeploy, I have to shut down GlassFish, manually
> delete the app from the domain, restart, and redeploy.
>
> Has anyone else run into a similar problem with Struts or anything
> else? What is the solution? Its painful to try to develop for
> GlassFish if you have to keep shutting down the server in order to
> redeploy.
>
> Thanks,
>
> Mark
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>