Return-Path: Delivered-To: apmail-openejb-commits-archive@www.apache.org Received: (qmail 32184 invoked from network); 5 Nov 2007 19:17:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Nov 2007 19:17:14 -0000 Received: (qmail 68438 invoked by uid 500); 5 Nov 2007 19:17:02 -0000 Delivered-To: apmail-openejb-commits-archive@openejb.apache.org Received: (qmail 68414 invoked by uid 500); 5 Nov 2007 19:17:02 -0000 Mailing-List: contact commits-help@openejb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openejb.apache.org Delivered-To: mailing list commits@openejb.apache.org Received: (qmail 68400 invoked by uid 99); 5 Nov 2007 19:17:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Nov 2007 11:17:02 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Nov 2007 19:17:40 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9386A71420D for ; Mon, 5 Nov 2007 11:16:50 -0800 (PST) Message-ID: <11891307.1194290210585.JavaMail.jira@brutus> Date: Mon, 5 Nov 2007 11:16:50 -0800 (PST) From: "Jarek Gawor (JIRA)" To: commits@openejb.apache.org Subject: [jira] Created: (OPENEJB-715) Assembler.removeContainer() does not unbind container from JNDI MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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: (trunk/openejb3) Reporter: Jarek Gawor 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() 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() 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.