embedded@glassfish.java.net

RE: [embedded] Undeploying application

From: Joey Jarosz <joey_at_cadence.com>
Date: Wed, 18 Mar 2009 13:20:39 -0700

My bad.

 

I had not realized that Server.getDeployer() was returning a new
instance of the EmbeddedDeployer each time; so I was trying to undeploy
an application unknown to that new deployer instance.

 

Sorry for the confusion.

joey

________________________________

From: Joey Jarosz [mailto:joey_at_cadence.com]
Sent: Wednesday, March 18, 2009 12:31 PM
To: embedded_at_glassfish.dev.java.net
Subject: [embedded] Undeploying application

 

Ok, I can't figure out what "name" the EmbeddedDeployer.undeploy() wants
to successfully undeploy an application. I am using the value returned
from ReadableAchrive.getName() which appears to be the wrong thing to
pass to the method. Any hints?

 

Here is the exception:

org.glassfish.embed.EmbeddedException: Cant find the app that you
requested to deploy: {0}

        at
org.glassfish.embed.EmbeddedDeployer.undeploy(EmbeddedDeployer.java:219)

 

 

--------------------------------------------
Joey Jarosz

Senior Architect

Chip Planning Solutions

Cadence Design Systems, Inc.
(408) 914-6269


Need some IP? Check out www.chipestimate.com
<http://www.chipestimate.com>