[jboss-user] [Installation, Configuration & Deployment] - Re: Undeploying multiple wars inside an ear causes NameAlrea
daniele.ulrich
do-not-reply at jboss.com
Sat Nov 7 07:38:36 EST 2009
"daniele.ulrich" wrote : OK, I spent some time to reproduce the error with a sample application.
|
| Steps to reproduce the error:
|
| jboss-5.1.0.GA on Windows or Solaris
| patch default configuration with jbossws-metro-3.2.1.GA http://jboss.org/file-access/default/members/jbossws/downloads//jbossws-metro-3.2.1.GA.zip
| deploy the sample app http://www.niceneasy.ch/sampleAppEar-1.0.ear
|
| And you will see
|
| Caused by: java.lang.RuntimeException: javax.naming.NameAlreadyBoundException: TransactionSynchronizationRegistry
| | at org.jboss.web.tomcat.service.deployers.TomcatDeployment$EncListener.lifecycleEvent(TomcatDeployment.java:483)
| | at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
| | at org.apache.catalina.core.StandardContext.start(StandardContext.java:4388)
| | at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:310)
|
| Apply the patch I proposed and the error disappears.
|
| The sources for the sample app can be found here http://www.niceneasy.ch/sampleApp.zip
|
| As I said before I assume there is a problem with the JNDI binding...
see also https://jira.jboss.org/jira/browse/JBWS-2823
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4264416#4264416
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4264416
More information about the jboss-user
mailing list