offline undeploy war from glassfish
I've got Glassfish 2.1.1 here and I need to undeploy war application. Problem is that the application is corrupted and prevents the Glassfish server from starting, so I need to undeploy it while server is down.
asadmin undeploy
need conenction to running server...
So the question is - how to undeploy from off-line Glassfish server.
- delete directory
domains/$YOUR_DOMAIN/applications/j2ee-*/$YOUR_APPLICATION
(thanks, chris_l) - clean out
domains/$YOUR_DOMAIN/generated/*/j2ee-*/$YOUR_APPLICATION
- remove all entries regarding
$YOUR_APPLICATION
fromdomains/$YOUR_DOMAIN/config/domain.xml
(usually there are two records - one indomain>applications>web-module
and one indomain>servers>server>application-ref
)
Have you tried simply deleting the application's directory domains/$YOUR_DOMAIN/applications/$YOUR_APPLICATION
? Make a backup first!