users@glassfish.java.net

RE: Re: The context root [...] in application [...] is already in use by another application on this instance [server]

From: Markus Karg <karg_at_quipsy.de>
Date: Thu, 7 Jan 2010 17:57:58 +0100

Hong,

thank you for your kind response. More inlined.

> Hi, Markus
> Not sure why the cases would do the magic, but could you provide a
> little bit more information on the machine set up? :-)
> Is this a cluster set up or a single instance set up? You mentioned
> there is a second server which is in the same LAN which works ok,
> what's
> the relationship of that second server to this instance you were
trying
> to undeploy the application from?
> What's the exact command you used to undeploy the application from the
> instance? If the instance is part of the cluster set up, you can only
> remove the application reference from that instance and not undeploy
> (the undeploy command is to remove the application from the whole
> domain).
>
> Thanks,
>
> - Hong

There is no relation between the machines but just that they are running
the same software, but attached to different databases (separated data
pools). It is not a cluster, but both machines are set up using
GFv2ur2-ML in default installation mode.

The exact command to undeploy is:

asadmin undeploy MyApp.ear

Regards
Markus