I’m running JBoss as a server started from within Eclipse. I have a strange problem where turning on automatic publishing (so the ability to hot deploy a class while debugging, etc.) causes the war to redeploy. When it redeploys it’s over 3 times the size of what it was originally. Has anyone seen this? I’d like some method to update Java classes faster. This seemed like the solution, but obviously it’s causing problems.
This larger war file won’t properly deploy the web.xml and hitting the URL for the application will simply show a directory listing.
I’ve had trouble in the past with old .war files getting accidentally nested within the new one. Might be what’s happening to you. Check the contents of the large .war to make sure it doesn’t have the small .war inside it.