Bugs item #545815, was opened at 2002-04-18 13:25
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376685&aid=545815&group_id=22866

Category: None
Group: v3.0 Rabbit Hole
Status: Open
Resolution: None
Priority: 5
Submitted By: Peter Luttrell (objec)
>Assigned to: Scott M Stark (starksm)
Summary: Failed WAR deployments leaves uncertain 

Initial Comment:
JBoss3.0rc1+tomcat4.0.3

I deployed an ear file with a war file. The war file 
contained an ejb-local-ref in it that Jboss can't find.

I then undeploy the ear file.

I then redeploy the ear file and jboss complains that 
the context is not unique. 

When deployments fail, they should leave the appserver 
in the state prior to the failed deployment, 
especially when you consider that specifying an ejb-
local-ref is stating that the war is going to use an 
resource and the app server is saying it can't find 
the ref.

See below:

15:19:51,461 ERROR [EmbeddedCatalinaServiceSX] Error 
during deploy
java.lang.IllegalArgumentException: addChild:  Child 
name '/myContextName' is not unique
        at 
org.apache.catalina.core.ContainerBase.addChild
(ContainerBase.java:779)
        at 
org.apache.catalina.core.StandardHost.addChild
(StandardHost.java:454)
        at 
org.jboss.web.catalina.EmbeddedCatalinaServiceSX.create
WebContext(EmbeddedCatalinaService
SX.java:284)
        at 
org.jboss.web.catalina.EmbeddedCatalinaServiceSX.perfor
mDeploy(EmbeddedCatalinaServiceSX.
java:204)
        at org.jboss.web.AbstractWebContainer.start
(AbstractWebContainer.java:405)
        at org.jboss.deployment.MainDeployer.start
(MainDeployer.java:665)
        at org.jboss.deployment.MainDeployer.start
(MainDeployer.java:658)
        at org.jboss.deployment.MainDeployer.deploy
(MainDeployer.java:507)
        at org.jboss.deployment.MainDeployer.deploy
(MainDeployer.java:470)
        at sun.reflect.GeneratedMethodAccessor6.invoke
(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke
(Method.java:324)
        at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke
(ReflectedMBeanDispatcher.java:284
)
        at org.jboss.mx.server.MBeanServerImpl.invoke
(MBeanServerImpl.java:492)
        at org.jboss.util.jmx.MBeanProxy.invoke
(MBeanProxy.java:174)
        at $Proxy4.deploy(Unknown Source)
        at 
org.jboss.deployment.scanner.URLDeploymentScanner.deplo
y(URLDeploymentScanner.java:350)
        at 
org.jboss.deployment.scanner.URLDeploymentScanner.scanD
irectory(URLDeploymentScanner.java
:530)
        at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan
(URLDeploymentScanner.java:410)
        at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$
ScannerThread.loop(AbstractDeploym
entScanner.java:202)
        at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$
ScannerThread.run(AbstractDeployme
ntScanner.java:191)

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376685&aid=545815&group_id=22866

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to