users@glassfish.java.net

Cleaning up after a failed deployment?

From: Laird Nelson <ljnelson_at_gmail.com>
Date: Thu, 5 Apr 2012 13:52:00 -0400

I have a situation where someone deployed an .ear file using asadmin
deploy. It seemed to deploy fine.

Then he undeployed it. This too seemed to work.

asadmin list-applications returns an empty list.

A subsequent asadmin deploy with the same parameters now reports that the
name is in use. Obviously this cannot be.

In the 3.0.1 days I had a "real world" Glassfish deploy/undeploy script
that deleted different directories, purged files, cleaned OSGI caches, got
rid of generated policy files, etc. etc. etc.--all the things that aren't
supposed to happen but that periodically need to be blown away. :-)

Is there a definitive laundry list of such places that can be scrubbed
clean manually without damaging the server?

Thanks,
Laird

-- 
http://about.me/lairdnelson