Container leaks java:comp/TransactionSynchronizationRegistry binding
--------------------------------------------------------------------
Key: JBAS-5592
URL:
http://jira.jboss.com/jira/browse/JBAS-5592
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: EJB2
Affects Versions: JBossAS-5.0.0.Beta4
Reporter: Brian Stansberry
Assigned To: Brian Stansberry
Fix For: JBossAS-5.0.0.CR1
Container.setupEnvironment() adds a binding for
java:comp/TransactionSynchronizationRegistry but teardownEnvironment() doesn't clear
it. Result is redeploy fails:
2008-06-05 12:25:13,048 ERROR
[org.jboss.kernel.plugins.dependency.AbstractKernelController] (RMI TCP
Connection(20)-127.0.0.1) Error installing to Start:
name=jboss.j2ee:jndiName=nextgen_TxSession,service=EJB state=Create mode=Manual
requiredState=Installed
javax.naming.NameAlreadyBoundException
at org.jnp.server.NamingServer.bind(NamingServer.java:144)
at org.jnp.interfaces.NamingContext.bind(NamingContext.java:593)
at org.jnp.interfaces.NamingContext.bind(NamingContext.java:554)
at org.jboss.ejb.Container.setupEnvironment(Container.java:1155)
at org.jboss.ejb.Container.startService(Container.java:900)
at org.jboss.ejb.SessionContainer.startService(SessionContainer.java:396)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:376)
at
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:322)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira