[
https://issues.apache.org/jira/browse/OPENEJB-715?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Blevins updated OPENEJB-715:
----------------------------------
Fix Version/s: (was: 3.0.x)
3.0-beta-2
Affects Version/s: (was: (trunk/openejb3))
3.0-beta-1
marking as fix version 3.0-beta-2 so it shows up in the 3.0-beta-2 release
notes.
> Assembler.removeContainer() does not unbind container from JNDI
> ---------------------------------------------------------------
>
> Key: OPENEJB-715
> URL: https://issues.apache.org/jira/browse/OPENEJB-715
> Project: OpenEJB
> Issue Type: Bug
> Components: configuration
> Affects Versions: 3.0-beta-1
> Reporter: Jarek Gawor
> Assignee: Jarek Gawor
> Fix For: 3.0-beta-2
>
> Attachments: OPENEJB-715.patch
>
>
> Because Assembler.removeContainer() does not unbind the given container from
> JNDI context, re-deployment of the application will cause
> NameAlreadyBoundException.
> Here's the exception:
> 13:47:28,312 ERROR [OpenEjbSystemGBean] Unable to deploy mdb container
> jms-resou
> rces.jms-resources-javax.jms.MessageListener
> org.apache.openejb.OpenEJBException: Cannot bind Container with id
> jms-resources
> .jms-resources-javax.jms.MessageListener: null
> at
> org.apache.openejb.assembler.classic.Assembler.createContainer(Assemb
> ler.java:754)
> at
> org.apache.geronimo.openejb.OpenEjbSystemGBean.addResourceAdapter(Ope
> nEjbSystemGBean.java:247)
> at
> org.apache.geronimo.openejb.OpenEjbSystemGBean.access$000(OpenEjbSyst
> emGBean.java:81)
> at
> org.apache.geronimo.openejb.OpenEjbSystemGBean$1.memberAdded(OpenEjbS
> ystemGBean.java:193)
> at
> org.apache.geronimo.gbean.runtime.ProxyCollection.addTarget(ProxyColl
> ection.java:102)
> at
> org.apache.geronimo.gbean.runtime.GBeanCollectionReference.targetAdde
> d(GBeanCollectionReference.java:96)
> at
> org.apache.geronimo.gbean.runtime.GBeanCollectionReference.addTarget(
> GBeanCollectionReference.java:180)
> at
> org.apache.geronimo.gbean.runtime.GBeanCollectionReference$1.running(
> GBeanCollectionReference.java:110)
> at
> org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEve
> nt(BasicLifecycleMonitor.java:176)
> at
> org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(Bas
> icLifecycleMonitor.java:44)
> at
> org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBr
> oadcaster.fireRunningEvent(BasicLifecycleMonitor.java:254)
> at
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart
> (GBeanInstanceState.java:294)
> at
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInsta
> nceState.java:102)
> at
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(G
> BeanInstanceState.java:124)
> at
> org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanI
> nstance.java:553)
> at
> org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(Basi
> cKernel.java:379)
> at
> org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguratio
> nGBeans(ConfigurationUtil.java:448)
> at
> org.apache.geronimo.kernel.config.KernelConfigurationManager.start(Ke
> rnelConfigurationManager.java:187)
> at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
> figuration(SimpleConfigurationManager.java:530)
> at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
> figuration(SimpleConfigurationManager.java:511)
> at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastCla
> ssByCGLIB$$ce77a924.invoke(<generated>)
> at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
> at
> org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod
> Invoker.java:38)
> at
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
> n.java:124)
> at
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
> java:830)
> at
> org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5
> 7)
> at
> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat
> ionInvoker.java:35)
> at
> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro
> xyMethodInterceptor.java:96)
> at
> org.apache.geronimo.kernel.config.EditableConfigurationManager$$Enhan
> cerByCGLIB$$5e0b42e9.startConfiguration(<generated>)
> at
> org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCom
> mand.java:67)
> at java.lang.Thread.run(Thread.java:595)
> Caused by: javax.naming.NameAlreadyBoundException
> at org.apache.openejb.core.ivm.naming.NameNode.bind(NameNode.java:90)
> at org.apache.openejb.core.ivm.naming.NameNode.bind(NameNode.java:99)
> at org.apache.openejb.core.ivm.naming.NameNode.bind(NameNode.java:84)
> at org.apache.openejb.core.ivm.naming.NameNode.bind(NameNode.java:105)
> at org.apache.openejb.core.ivm.naming.NameNode.bind(NameNode.java:99)
> at org.apache.openejb.core.ivm.naming.NameNode.bind(NameNode.java:105)
> at org.apache.openejb.core.ivm.naming.NameNode.bind(NameNode.java:84)
> at org.apache.openejb.core.ivm.naming.NameNode.bind(NameNode.java:99)
> at
> org.apache.openejb.core.ivm.naming.IvmContext.bind(IvmContext.java:27
> 4)
> at
> org.apache.openejb.assembler.classic.Assembler.createContainer(Assemb
> ler.java:752)
> ... 30 more
> More info at: https://issues.apache.org/jira/browse/GERONIMO-3542
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.