Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Glassfish Publishing Issue
Glassfish Publishing Issue [message #482727] Thu, 27 August 2009 17:09
Chris is currently offline Chris
Messages: 97
Registered: July 2009
Member
This may belong with the Sun Glassfish team, but in case anyone knows
the answer...

I have an EAR project in Eclipse containing a Dynamic Web Module and a
Java Module, the latter containing supporting JPA code for the Web module.

The first time I publish to the server, everything works fine. However,
if I modify anything while the server is running, Eclipse attempts to
publish the application again and fails saying that the Java module's
jar file is locked.

If I stop the server, start it and do a manual publish, it fails in the
same way. If I stop the server and just click the publish button,
(without starting the server first), it again fails in the same way.

The only way, I can republish is to stop the server and delete the
application from the...
C:\glassfishv3\glassfish\domains\domain1\eclipseApps
folder and then publish it again, which is driving me crazy.

So, is this just a classloader issue within glassfish? Is there a cure?

Thanks in advance for any help.
Cheers
Chris
Previous Topic:create IDOMElement
Next Topic:Tomcat deployment issue
Goto Forum:
  


Current Time: Sat Oct 25 08:53:55 GMT 2014

Powered by FUDForum. Page generated in 0.01496 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software