You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by bodhayanc <Bo...@travelport.com> on 2013/10/11 19:46:12 UTC

How to change the id "Default MDB Container"?

Hi,

I am new to OpenEJB. I am trying to prepare JUnit test case for a IBM JMS
Service. My ejb-jar.xml is as below;

ejb-jar.xml <http://openejb.979440.n4.nabble.com/file/n4665551/ejb-jar.xml>  

I am getting javax.naming.NameAlreadyBoundException while invoking
EJBContainer.createEJBContainer() from the JUnit test cases setUp() method.
I am hoping if I can override the name "Default MDB Container" for each MDB,
the problem would be fixed. But, I don't know how to do that. Can anyone
please help me?

Apache OpenEJB 4.0.0-beta-2    build: 20120115-08:26
http://openejb.apache.org/
INFO - openejb.home =
C:\WAS_Workspace\SOAUCWAS06JMSAsyncMsgThruSyncHttpServiceProject
INFO - openejb.base =
C:\WAS_Workspace\SOAUCWAS06JMSAsyncMsgThruSyncHttpServiceProject
INFO - Using 'javax.ejb.embeddable.EJBContainer=true'
INFO - Configuring Service(id=Default Security Service,
type=SecurityService, provider-id=Default Security Service)
INFO - Configuring Service(id=Default Transaction Manager,
type=TransactionManager, provider-id=Default Transaction Manager)
INFO - Found EjbModule in classpath:
C:\WAS_Workspace\SOAUCWAS06JMSAsyncMsgThruSyncHttpServiceProject\target\classes
INFO - Searched 13 classpath urls in 1085 milliseconds.  Average 83
milliseconds per url.
INFO - Beginning load:
C:\WAS_Workspace\SOAUCWAS06JMSAsyncMsgThruSyncHttpServiceProject\target\classes
INFO - Configuring enterprise application:
C:\WAS_Workspace\SOAUCWAS06JMSAsyncMsgThruSyncHttpServiceProject
java.lang.RuntimeException: WebServicesJMSRouter1
	at
org.apache.openejb.config.rules.CheckClasses.validate(CheckClasses.java:118)
	at
org.apache.openejb.config.rules.ValidationBase.validate(ValidationBase.java:45)
	at org.apache.openejb.config.AppValidator.validate(AppValidator.java:88)
	at
org.apache.openejb.config.ValidateModules.deploy(ValidateModules.java:29)
	at
org.apache.openejb.config.ConfigurationFactory$Chain.deploy(ConfigurationFactory.java:263)
	at
org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:693)
	at
org.apache.openejb.OpenEjbContainer$Provider.createEJBContainer(OpenEjbContainer.java:267)
	at
javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:56)
	at
javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:43)
	at
com.travelport.soa.svcs.poc.LocationJmsServiceBindingImplTest.setUp(LocationJmsServiceBindingImplTest.java:30)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
	at java.lang.reflect.Method.invoke(Method.java:613)
	at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
	at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
	at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
	at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
	at
org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:49)
	at
org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
	at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
	at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
	at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
	at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
Caused by: java.lang.NullPointerException
	at
org.apache.openejb.config.rules.CheckClasses.check_hasEjbClass(CheckClasses.java:218)
	at
org.apache.openejb.config.rules.CheckClasses.validate(CheckClasses.java:78)
	... 24 more
Retrieving document at
'file:/C:/WAS_Workspace/SOAUCWAS06JMSAsyncMsgThruSyncHttpServiceProject/target/classes/META-INF/wsdl/'.
Retrieving schema at 'LocationService.xsd', relative to
'file:/C:/WAS_Workspace/SOAUCWAS06JMSAsyncMsgThruSyncHttpServiceProject/target/classes/META-INF/wsdl/'.
INFO - Configuring Service(id=Default MDB Container, type=Container,
provider-id=Default MDB Container)
INFO - Auto-creating a container for bean WebServicesJMSRouter1:
Container(type=MESSAGE, id=Default MDB Container)
INFO - Configuring Service(id=Default JMS Resource Adapter, type=Resource,
provider-id=Default JMS Resource Adapter)
INFO - Configuring Service(id=jms/WebServicesReplyQCF, type=Resource,
provider-id=Default JMS Connection Factory)
INFO - Auto-creating a Resource with id 'jms/WebServicesReplyQCF' of type
'javax.jms.QueueConnectionFactory for 'WebServicesJMSRouter1'.
WARN - Property "destination" not supported by "jms/WebServicesReplyQCF"
INFO - Auto-linking resource-env-ref 'jms/WebServicesReplyQCF' in bean
WebServicesJMSRouter1 to Resource(id=jms/WebServicesReplyQCF)
INFO - Configuring Service(id=Default MDB Container, type=Container,
provider-id=Default MDB Container)
INFO - Auto-creating a container for bean WebServicesJMSRouter2:
Container(type=MESSAGE, id=Default MDB Container)
WARN - configureApplication.loadFailed
org.apache.openejb.OpenEJBException: Cannot bind Container with id Default
MDB Container : ParsedName{path=openejb/Container/Default MDB Container,
component=Default MDB Container}
	at
org.apache.openejb.assembler.classic.Assembler.bindService(Assembler.java:1357)
	at
org.apache.openejb.assembler.classic.Assembler.createContainer(Assembler.java:1337)
	at
org.apache.openejb.config.ConfigurationFactory.install(ConfigurationFactory.java:288)
	at
org.apache.openejb.config.AutoConfig.createContainer(AutoConfig.java:1002)
	at org.apache.openejb.config.AutoConfig.deploy(AutoConfig.java:798)
	at org.apache.openejb.config.AutoConfig.deploy(AutoConfig.java:174)
	at
org.apache.openejb.config.ConfigurationFactory$Chain.deploy(ConfigurationFactory.java:263)
	at
org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:693)
	at
org.apache.openejb.OpenEjbContainer$Provider.createEJBContainer(OpenEjbContainer.java:267)
	at
javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:56)
	at
javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:43)
	at
com.travelport.soa.svcs.poc.LocationJmsServiceBindingImplTest.setUp(LocationJmsServiceBindingImplTest.java:30)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
	at java.lang.reflect.Method.invoke(Method.java:613)
	at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
	at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
	at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
	at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
	at
org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:49)
	at
org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
	at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
	at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
	at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
	at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
Caused by: 
*javax.naming.NameAlreadyBoundException:
ParsedName{path=openejb/Container/Default MDB Container, component=Default
MDB Container}*
	at org.apache.openejb.core.ivm.naming.NameNode.bind(NameNode.java:146)
	at org.apache.openejb.core.ivm.naming.NameNode.bind(NameNode.java:130)
	at org.apache.openejb.core.ivm.naming.NameNode.bind(NameNode.java:156)
	at org.apache.openejb.core.ivm.naming.NameNode.bind(NameNode.java:162)
	at org.apache.openejb.core.ivm.naming.NameNode.bind(NameNode.java:130)
	at org.apache.openejb.core.ivm.naming.NameNode.bind(NameNode.java:156)
	at org.apache.openejb.core.ivm.naming.IvmContext.bind(IvmContext.java:300)
	at
org.apache.openejb.assembler.classic.Assembler.bindService(Assembler.java:1355)
	... 26 more
INFO - Stopping ResourceAdapter: Default JMS Resource Adapter



--
View this message in context: http://openejb.979440.n4.nabble.com/How-to-change-the-id-Default-MDB-Container-tp4665551.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

RE: How to change the id "Default MDB Container"?

Posted by bodhayanc <Bo...@travelport.com>.
Thanks for your response. I have updated the openejb version. This is the log I am getting now. So, what should be the openejb-jar.xml configuration for my ejb-jar.xml?

INFO - ********************************************************************************
INFO - OpenEJB http://openejb.apache.org/
INFO - Startup: Fri Oct 11 14:57:06 MDT 2013
INFO - Copyright 1999-2012 (C) Apache OpenEJB Project, All Rights Reserved.
INFO - Version: 4.5.2
INFO - Build date: 20130320
INFO - Build time: 03:56
INFO - ********************************************************************************
INFO - openejb.home = C:\WAS_Workspace\SOAUCWAS06JMSAsyncMsgThruSyncHttpServiceProject
INFO - openejb.base = C:\WAS_Workspace\SOAUCWAS06JMSAsyncMsgThruSyncHttpServiceProject
INFO - Created new singletonService org.apache.openejb.cdi.ThreadSingletonServiceImpl@273b04ce
INFO - Succeeded in installing singleton service
INFO - Using 'javax.ejb.embeddable.EJBContainer=true'
INFO - Cannot find the configuration file [conf/openejb.xml].  Will attempt to create one for the beans deployed.
INFO - Configuring Service(id=Default Security Service, type=SecurityService, provider-id=Default Security Service)
INFO - Configuring Service(id=Default Transaction Manager, type=TransactionManager, provider-id=Default Transaction Manager)
INFO - Creating TransactionManager(id=Default Transaction Manager)
INFO - Creating SecurityService(id=Default Security Service)
INFO - Found EjbModule in classpath: c:\was_workspace\soaucwas06jmsasyncmsgthrusynchttpserviceproject\target\classes
INFO - Beginning load: c:\was_workspace\soaucwas06jmsasyncmsgthrusynchttpserviceproject\target\classes
INFO - Configuring enterprise application: C:\WAS_Workspace\SOAUCWAS06JMSAsyncMsgThruSyncHttpServiceProject
org.apache.openejb.OpenEJBRuntimeException: WebServicesJMSRouter1
      at org.apache.openejb.config.rules.CheckClasses.validate(CheckClasses.java:123)
      at org.apache.openejb.config.rules.ValidationBase.validate(ValidationBase.java:49)
      at org.apache.openejb.config.AppValidator.validate(AppValidator.java:100)
      at org.apache.openejb.config.ValidateModules.deploy(ValidateModules.java:37)
      at org.apache.openejb.config.ConfigurationFactory$Chain.deploy(ConfigurationFactory.java:379)
      at org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:884)
      at org.apache.openejb.OpenEjbContainer$Provider.createEJBContainer(OpenEjbContainer.java:347)
      at javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:56)
      at javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:43)
      at com.travelport.soa.svcs.poc.LocationJmsServiceBindingImplTest.setUp(LocationJmsServiceBindingImplTest.java:30)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
      at java.lang.reflect.Method.invoke(Method.java:613)
      at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
      at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
      at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
      at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
      at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
      at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:49)
      at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
Caused by: java.lang.NullPointerException
      at org.apache.xbean.finder.MetaAnnotatedElement.unroll(MetaAnnotatedElement.java:257)
      at org.apache.xbean.finder.MetaAnnotatedClass.<init>(MetaAnnotatedClass.java:35)
      at org.apache.openejb.util.proxy.DynamicProxyImplFactory.isKnownDynamicallyImplemented(DynamicProxyImplFactory.java:34)
      at org.apache.openejb.config.rules.CheckClasses.check_hasEjbClass(CheckClasses.java:223)
      at org.apache.openejb.config.rules.CheckClasses.validate(CheckClasses.java:78)
      ... 24 more
Retrieving document at 'file:/C:/WAS_Workspace/SOAUCWAS06JMSAsyncMsgThruSyncHttpServiceProject/target/classes/META-INF/wsdl/'.
Retrieving schema at 'LocationService.xsd', relative to 'file:/C:/WAS_Workspace/SOAUCWAS06JMSAsyncMsgThruSyncHttpServiceProject/target/classes/META-INF/wsdl/'.
INFO - Configuring Service(id=Default MDB Container, type=Container, provider-id=Default MDB Container)
INFO - Auto-creating a container for bean WebServicesJMSRouter1: Container(type=MESSAGE, id=Default MDB Container)
INFO - Configuring Service(id=Default JMS Resource Adapter, type=Resource, provider-id=Default JMS Resource Adapter)
INFO - Configuring Service(id=Default Unmanaged JDBC Database, type=Resource, provider-id=Default Unmanaged JDBC Database)
INFO - Creating Resource(id=Default Unmanaged JDBC Database)
INFO - Creating Resource(id=Default JMS Resource Adapter)
INFO - ActiveMQ5Factory creating broker
INFO - Using ActiveMQ startup timeout of 10000ms
INFO - Starting ActiveMQ BrokerService
INFO - Using Persistence Adapter: MemoryPersistenceAdapter
INFO - Apache ActiveMQ 5.7.0 (localhost, ID:VMHPTRA-3812ST8-56614-1381525029197-0:1) is starting
INFO - Listening for connections at: tcp://127.0.0.1:61616
INFO - Connector tcp://127.0.0.1:61616 Started
INFO - Apache ActiveMQ 5.7.0 (localhost, ID:VMHPTRA-3812ST8-56614-1381525029197-0:1) started
INFO - For help or more information please see: http://activemq.apache.org
SEVERE - Temporary Store limit is 51200 mb, whilst the temporary data directory: C:\WAS_Workspace\SOAUCWAS06JMSAsyncMsgThruSyncHttpServiceProject\activemq-data\localhost\tmp_storage only has 44647 mb of usable space
INFO - Starting ActiveMQ checkpoint
INFO - ActiveMQ broker started
INFO - Creating Container(id=Default MDB Container)
INFO - Configuring Service(id=jms/WebServicesReplyQCF, type=Resource, provider-id=Default JMS Connection Factory)
INFO - Auto-creating a Resource with id 'jms/WebServicesReplyQCF' of type 'javax.jms.QueueConnectionFactory for 'WebServicesJMSRouter1'.
INFO - Creating Resource(id=jms/WebServicesReplyQCF)
INFO - Creating ConnectionManager for Resource(id=jms/WebServicesReplyQCF)
INFO - No runtime TransactionSupport
WARNING - Property "destination" not supported by "jms/WebServicesReplyQCF"
INFO - Auto-linking resource-env-ref 'jms/WebServicesReplyQCF' in bean WebServicesJMSRouter1 to Resource(id=jms/WebServicesReplyQCF)
INFO - Configuring Service(id=Default MDB Container, type=Container, provider-id=Default MDB Container)
INFO - Auto-creating a container for bean WebServicesJMSRouter2: Container(type=MESSAGE, id=Default MDB Container)
INFO - Creating Container(id=Default MDB Container)
WARNING - configureApplication.loadFailed
org.apache.openejb.OpenEJBException: Cannot bind Container with id Default MDB Container : ParsedName{path=openejb/Container/Default MDB Container, component=Default MDB Container}
      at org.apache.openejb.assembler.classic.Assembler.bindService(Assembler.java:1675)
      at org.apache.openejb.assembler.classic.Assembler.createContainer(Assembler.java:1643)
      at org.apache.openejb.config.ConfigurationFactory.install(ConfigurationFactory.java:405)
      at org.apache.openejb.config.AutoConfig.createContainer(AutoConfig.java:1047)
      at org.apache.openejb.config.AutoConfig.deploy(AutoConfig.java:829)
      at org.apache.openejb.config.AutoConfig.deploy(AutoConfig.java:188)
      at org.apache.openejb.config.ConfigurationFactory$Chain.deploy(ConfigurationFactory.java:379)
      at org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:884)
      at org.apache.openejb.OpenEjbContainer$Provider.createEJBContainer(OpenEjbContainer.java:347)
      at javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:56)
      at javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:43)
      at com.travelport.soa.svcs.poc.LocationJmsServiceBindingImplTest.setUp(LocationJmsServiceBindingImplTest.java:30)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
      at java.lang.reflect.Method.invoke(Method.java:613)
      at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
      at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
      at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
      at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
      at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
      at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:49)
      at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
Caused by: javax.naming.NameAlreadyBoundException: ParsedName{path=openejb/Container/Default MDB Container, component=Default MDB Container}
      at org.apache.openejb.core.ivm.naming.NameNode.bind(NameNode.java:148)
      at org.apache.openejb.core.ivm.naming.NameNode.bind(NameNode.java:132)
      at org.apache.openejb.core.ivm.naming.NameNode.bind(NameNode.java:158)
      at org.apache.openejb.core.ivm.naming.NameNode.bind(NameNode.java:164)
      at org.apache.openejb.core.ivm.naming.NameNode.bind(NameNode.java:132)
      at org.apache.openejb.core.ivm.naming.NameNode.bind(NameNode.java:158)
      at org.apache.openejb.core.ivm.naming.IvmContext.bind(IvmContext.java:300)
      at org.apache.openejb.assembler.classic.Assembler.bindService(Assembler.java:1673)
      ... 26 more
INFO - Closing DataSource: Default Unmanaged JDBC Database
INFO - Stopping ResourceAdapter: Default JMS Resource Adapter
INFO - Stopping ActiveMQ
INFO - Apache ActiveMQ 5.7.0 (localhost, ID:VMHPTRA-3812ST8-56614-1381525029197-0:1) is shutting down
INFO - Connector tcp://127.0.0.1:61616 Stopped
INFO - Apache ActiveMQ 5.7.0 (localhost, ID:VMHPTRA-3812ST8-56614-1381525029197-0:1) uptime 2.189 seconds
INFO - Apache ActiveMQ 5.7.0 (localhost, ID:VMHPTRA-3812ST8-56614-1381525029197-0:1) is shutdown
INFO - Stopped ActiveMQ broker


Regards,
Bodhayan Chakraborty
Enterprise Services and Infrastructure
Travelport GDS
Ofc: (303) 397 – 5568 | Mob: (720) 234 – 1771
Email: bodhayan.chakraborty@travelport.com<ma...@travelport.com>
Other Email: bodhayanc@gmail.com<ma...@gmail.com>
-------------------------------------------------
Travelport Product Delivery Center
6901 South Havana Street
Centennial, Colorado 80112
-------------------------------------------------


From: Romain Manni-Bucau [via OpenEJB] [mailto:ml-node+s979440n4665553h91@n4.nabble.com]
Sent: Friday, October 11, 2013 1:30 PM
To: Chakraborty, Bodhayan
Subject: Re: How to change the id "Default MDB Container"?

Hi

You can do it through openejb-jar.xml but i'm pretty thats not your issue.

That said you use a very old version. Maybe update it first.
Le 11 oct. 2013 19:49, "bodhayanc" <[hidden email]</user/SendEmail.jtp?type=node&node=4665553&i=0>> a
écrit :

> Hi,
>
> I am new to OpenEJB. I am trying to prepare JUnit test case for a IBM JMS
> Service. My ejb-jar.xml is as below;
>
> ejb-jar.xml <http://openejb.979440.n4.nabble.com/file/n4665551/ejb-jar.xml
> >
>
> I am getting javax.naming.NameAlreadyBoundException while invoking
> EJBContainer.createEJBContainer() from the JUnit test cases setUp() method.
> I am hoping if I can override the name "Default MDB Container" for each
> MDB,
> the problem would be fixed. But, I don't know how to do that. Can anyone
> please help me?
>
> Apache OpenEJB 4.0.0-beta-2    build: 20120115-08:26
> http://openejb.apache.org/
> INFO - openejb.home =
> C:\WAS_Workspace\SOAUCWAS06JMSAsyncMsgThruSyncHttpServiceProject
> INFO - openejb.base =
> C:\WAS_Workspace\SOAUCWAS06JMSAsyncMsgThruSyncHttpServiceProject
> INFO - Using 'javax.ejb.embeddable.EJBContainer=true'
> INFO - Configuring Service(id=Default Security Service,
> type=SecurityService, provider-id=Default Security Service)
> INFO - Configuring Service(id=Default Transaction Manager,
> type=TransactionManager, provider-id=Default Transaction Manager)
> INFO - Found EjbModule in classpath:
>
> C:\WAS_Workspace\SOAUCWAS06JMSAsyncMsgThruSyncHttpServiceProject\target\classes
> INFO - Searched 13 classpath urls in 1085 milliseconds.  Average 83
> milliseconds per url.
> INFO - Beginning load:
>
> C:\WAS_Workspace\SOAUCWAS06JMSAsyncMsgThruSyncHttpServiceProject\target\classes
> INFO - Configuring enterprise application:
> C:\WAS_Workspace\SOAUCWAS06JMSAsyncMsgThruSyncHttpServiceProject
> java.lang.RuntimeException: WebServicesJMSRouter1
>         at
>
> org.apache.openejb.config.rules.CheckClasses.validate(CheckClasses.java:118)
>         at
>
> org.apache.openejb.config.rules.ValidationBase.validate(ValidationBase.java:45)
>         at
> org.apache.openejb.config.AppValidator.validate(AppValidator.java:88)
>         at
> org.apache.openejb.config.ValidateModules.deploy(ValidateModules.java:29)
>         at
>
> org.apache.openejb.config.ConfigurationFactory$Chain.deploy(ConfigurationFactory.java:263)
>         at
>
> org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:693)
>         at
>
> org.apache.openejb.OpenEjbContainer$Provider.createEJBContainer(OpenEjbContainer.java:267)
>         at
> javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:56)
>         at
> javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:43)
>         at
>
> com.travelport.soa.svcs.poc.LocationJmsServiceBindingImplTest.setUp(LocationJmsServiceBindingImplTest.java:30)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
>         at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
>         at java.lang.reflect.Method.invoke(Method.java:613)
>         at
>
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
>         at
>
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
>         at
>
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
>         at
>
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
>         at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
>         at
>
> org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:49)
>         at
>
> org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
>         at
>
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
>         at
>
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
>         at
>
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
>         at
>
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
> Caused by: java.lang.NullPointerException
>         at
>
> org.apache.openejb.config.rules.CheckClasses.check_hasEjbClass(CheckClasses.java:218)
>         at
> org.apache.openejb.config.rules.CheckClasses.validate(CheckClasses.java:78)
>         ... 24 more
> Retrieving document at
>
> 'file:/C:/WAS_Workspace/SOAUCWAS06JMSAsyncMsgThruSyncHttpServiceProject/target/classes/META-INF/wsdl/'.
> Retrieving schema at 'LocationService.xsd', relative to
>
> 'file:/C:/WAS_Workspace/SOAUCWAS06JMSAsyncMsgThruSyncHttpServiceProject/target/classes/META-INF/wsdl/'.
> INFO - Configuring Service(id=Default MDB Container, type=Container,
> provider-id=Default MDB Container)
> INFO - Auto-creating a container for bean WebServicesJMSRouter1:
> Container(type=MESSAGE, id=Default MDB Container)
> INFO - Configuring Service(id=Default JMS Resource Adapter, type=Resource,
> provider-id=Default JMS Resource Adapter)
> INFO - Configuring Service(id=jms/WebServicesReplyQCF, type=Resource,
> provider-id=Default JMS Connection Factory)
> INFO - Auto-creating a Resource with id 'jms/WebServicesReplyQCF' of type
> 'javax.jms.QueueConnectionFactory for 'WebServicesJMSRouter1'.
> WARN - Property "destination" not supported by "jms/WebServicesReplyQCF"
> INFO - Auto-linking resource-env-ref 'jms/WebServicesReplyQCF' in bean
> WebServicesJMSRouter1 to Resource(id=jms/WebServicesReplyQCF)
> INFO - Configuring Service(id=Default MDB Container, type=Container,
> provider-id=Default MDB Container)
> INFO - Auto-creating a container for bean WebServicesJMSRouter2:
> Container(type=MESSAGE, id=Default MDB Container)
> WARN - configureApplication.loadFailed
> org.apache.openejb.OpenEJBException: Cannot bind Container with id Default
> MDB Container : ParsedName{path=openejb/Container/Default MDB Container,
> component=Default MDB Container}
>         at
>
> org.apache.openejb.assembler.classic.Assembler.bindService(Assembler.java:1357)
>         at
>
> org.apache.openejb.assembler.classic.Assembler.createContainer(Assembler.java:1337)
>         at
>
> org.apache.openejb.config.ConfigurationFactory.install(ConfigurationFactory.java:288)
>         at
> org.apache.openejb.config.AutoConfig.createContainer(AutoConfig.java:1002)
>         at org.apache.openejb.config.AutoConfig.deploy(AutoConfig.java:798)
>         at org.apache.openejb.config.AutoConfig.deploy(AutoConfig.java:174)
>         at
>
> org.apache.openejb.config.ConfigurationFactory$Chain.deploy(ConfigurationFactory.java:263)
>         at
>
> org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:693)
>         at
>
> org.apache.openejb.OpenEjbContainer$Provider.createEJBContainer(OpenEjbContainer.java:267)
>         at
> javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:56)
>         at
> javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:43)
>         at
>
> com.travelport.soa.svcs.poc.LocationJmsServiceBindingImplTest.setUp(LocationJmsServiceBindingImplTest.java:30)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
>         at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
>         at java.lang.reflect.Method.invoke(Method.java:613)
>         at
>
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
>         at
>
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
>         at
>
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
>         at
>
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
>         at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
>         at
>
> org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:49)
>         at
>
> org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
>         at
>
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
>         at
>
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
>         at
>
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
>         at
>
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
> Caused by:
> *javax.naming.NameAlreadyBoundException:
> ParsedName{path=openejb/Container/Default MDB Container, component=Default
> MDB Container}*
>         at
> org.apache.openejb.core.ivm.naming.NameNode.bind(NameNode.java:146)
>         at
> org.apache.openejb.core.ivm.naming.NameNode.bind(NameNode.java:130)
>         at
> org.apache.openejb.core.ivm.naming.NameNode.bind(NameNode.java:156)
>         at
> org.apache.openejb.core.ivm.naming.NameNode.bind(NameNode.java:162)
>         at
> org.apache.openejb.core.ivm.naming.NameNode.bind(NameNode.java:130)
>         at
> org.apache.openejb.core.ivm.naming.NameNode.bind(NameNode.java:156)
>         at
> org.apache.openejb.core.ivm.naming.IvmContext.bind(IvmContext.java:300)
>         at
>
> org.apache.openejb.assembler.classic.Assembler.bindService(Assembler.java:1355)
>         ... 26 more
> INFO - Stopping ResourceAdapter: Default JMS Resource Adapter
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/How-to-change-the-id-Default-MDB-Container-tp4665551.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

________________________________
If you reply to this email, your message will be added to the discussion below:
http://openejb.979440.n4.nabble.com/How-to-change-the-id-Default-MDB-Container-tp4665551p4665553.html
To unsubscribe from How to change the id "Default MDB Container"?, click here<http://openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4665551&code=Qm9kaGF5YW4uQ2hha3JhYm9ydHlAdHJhdmVscG9ydC5jb218NDY2NTU1MXw3NDc3Nzk3NDY=>.
NAML<http://openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>

If you are not the intended recipient of this e-mail message, please notify the sender 
and delete all copies immediately. The sender believes this message and any attachments 
were sent free of any virus, worm, Trojan horse, and other forms of malicious code. 
This message and its attachments could have been infected during transmission. The 
recipient opens any attachments at the recipient's own risk, and in so doing, the 
recipient accepts full responsibility for such actions and agrees to take protective 
and remedial action relating to any malicious code. Travelport is not liable for any 
loss or damage arising from this message or its attachments.






--
View this message in context: http://openejb.979440.n4.nabble.com/How-to-change-the-id-Default-MDB-Container-tp4665551p4665555.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: How to change the id "Default MDB Container"?

Posted by bodhayanc <Bo...@travelport.com>.
Thanks for your response. I have updated the openejb version. This is the log
I am getting now. So, what should be the openejb-jar.xml configuration for
my ejb-jar.xml?

INFO -
********************************************************************************
INFO - OpenEJB http://openejb.apache.org/
INFO - Startup: Fri Oct 11 14:57:06 MDT 2013
INFO - Copyright 1999-2012 (C) Apache OpenEJB Project, All Rights Reserved.
INFO - Version: 4.5.2
INFO - Build date: 20130320
INFO - Build time: 03:56
INFO -
********************************************************************************
INFO - openejb.home =
C:\WAS_Workspace\SOAUCWAS06JMSAsyncMsgThruSyncHttpServiceProject
INFO - openejb.base =
C:\WAS_Workspace\SOAUCWAS06JMSAsyncMsgThruSyncHttpServiceProject
INFO - Created new singletonService
org.apache.openejb.cdi.ThreadSingletonServiceImpl@273b04ce
INFO - Succeeded in installing singleton service
INFO - Using 'javax.ejb.embeddable.EJBContainer=true'
INFO - Cannot find the configuration file [conf/openejb.xml].  Will attempt
to create one for the beans deployed.
INFO - Configuring Service(id=Default Security Service,
type=SecurityService, provider-id=Default Security Service)
INFO - Configuring Service(id=Default Transaction Manager,
type=TransactionManager, provider-id=Default Transaction Manager)
INFO - Creating TransactionManager(id=Default Transaction Manager)
INFO - Creating SecurityService(id=Default Security Service)
INFO - Found EjbModule in classpath:
c:\was_workspace\soaucwas06jmsasyncmsgthrusynchttpserviceproject\target\classes
INFO - Beginning load:
c:\was_workspace\soaucwas06jmsasyncmsgthrusynchttpserviceproject\target\classes
INFO - Configuring enterprise application:
C:\WAS_Workspace\SOAUCWAS06JMSAsyncMsgThruSyncHttpServiceProject
org.apache.openejb.OpenEJBRuntimeException: WebServicesJMSRouter1
      at
org.apache.openejb.config.rules.CheckClasses.validate(CheckClasses.java:123)
      at
org.apache.openejb.config.rules.ValidationBase.validate(ValidationBase.java:49)
      at
org.apache.openejb.config.AppValidator.validate(AppValidator.java:100)
      at
org.apache.openejb.config.ValidateModules.deploy(ValidateModules.java:37)
      at
org.apache.openejb.config.ConfigurationFactory$Chain.deploy(ConfigurationFactory.java:379)
      at
org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:884)
      at
org.apache.openejb.OpenEjbContainer$Provider.createEJBContainer(OpenEjbContainer.java:347)
      at
javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:56)
      at
javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:43)
      at
com.travelport.soa.svcs.poc.LocationJmsServiceBindingImplTest.setUp(LocationJmsServiceBindingImplTest.java:30)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
      at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
      at java.lang.reflect.Method.invoke(Method.java:613)
      at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
      at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
      at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
      at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
      at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
      at
org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:49)
      at
org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
      at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
      at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
      at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
      at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
Caused by: java.lang.NullPointerException
      at
org.apache.xbean.finder.MetaAnnotatedElement.unroll(MetaAnnotatedElement.java:257)
      at
org.apache.xbean.finder.MetaAnnotatedClass.<init>(MetaAnnotatedClass.java:35)
      at
org.apache.openejb.util.proxy.DynamicProxyImplFactory.isKnownDynamicallyImplemented(DynamicProxyImplFactory.java:34)
      at
org.apache.openejb.config.rules.CheckClasses.check_hasEjbClass(CheckClasses.java:223)
      at
org.apache.openejb.config.rules.CheckClasses.validate(CheckClasses.java:78)
      ... 24 more
Retrieving document at
'file:/C:/WAS_Workspace/SOAUCWAS06JMSAsyncMsgThruSyncHttpServiceProject/target/classes/META-INF/wsdl/'.
Retrieving schema at 'LocationService.xsd', relative to
'file:/C:/WAS_Workspace/SOAUCWAS06JMSAsyncMsgThruSyncHttpServiceProject/target/classes/META-INF/wsdl/'.
INFO - Configuring Service(id=Default MDB Container, type=Container,
provider-id=Default MDB Container)
INFO - Auto-creating a container for bean WebServicesJMSRouter1:
Container(type=MESSAGE, id=Default MDB Container)
INFO - Configuring Service(id=Default JMS Resource Adapter, type=Resource,
provider-id=Default JMS Resource Adapter)
INFO - Configuring Service(id=Default Unmanaged JDBC Database,
type=Resource, provider-id=Default Unmanaged JDBC Database)
INFO - Creating Resource(id=Default Unmanaged JDBC Database)
INFO - Creating Resource(id=Default JMS Resource Adapter)
INFO - ActiveMQ5Factory creating broker
INFO - Using ActiveMQ startup timeout of 10000ms
INFO - Starting ActiveMQ BrokerService
INFO - Using Persistence Adapter: MemoryPersistenceAdapter
INFO - Apache ActiveMQ 5.7.0 (localhost,
ID:VMHPTRA-3812ST8-56614-1381525029197-0:1) is starting
INFO - Listening for connections at: tcp://127.0.0.1:61616
INFO - Connector tcp://127.0.0.1:61616 Started
INFO - Apache ActiveMQ 5.7.0 (localhost,
ID:VMHPTRA-3812ST8-56614-1381525029197-0:1) started
INFO - For help or more information please see: http://activemq.apache.org
SEVERE - Temporary Store limit is 51200 mb, whilst the temporary data
directory:
C:\WAS_Workspace\SOAUCWAS06JMSAsyncMsgThruSyncHttpServiceProject\activemq-data\localhost\tmp_storage
only has 44647 mb of usable space
INFO - Starting ActiveMQ checkpoint
INFO - ActiveMQ broker started
INFO - Creating Container(id=Default MDB Container)
INFO - Configuring Service(id=jms/WebServicesReplyQCF, type=Resource,
provider-id=Default JMS Connection Factory)
INFO - Auto-creating a Resource with id 'jms/WebServicesReplyQCF' of type
'javax.jms.QueueConnectionFactory for 'WebServicesJMSRouter1'.
INFO - Creating Resource(id=jms/WebServicesReplyQCF)
INFO - Creating ConnectionManager for Resource(id=jms/WebServicesReplyQCF)
INFO - No runtime TransactionSupport
WARNING - Property "destination" not supported by "jms/WebServicesReplyQCF"
INFO - Auto-linking resource-env-ref 'jms/WebServicesReplyQCF' in bean
WebServicesJMSRouter1 to Resource(id=jms/WebServicesReplyQCF)
INFO - Configuring Service(id=Default MDB Container, type=Container,
provider-id=Default MDB Container)
INFO - Auto-creating a container for bean WebServicesJMSRouter2:
Container(type=MESSAGE, id=Default MDB Container)
INFO - Creating Container(id=Default MDB Container)
WARNING - configureApplication.loadFailed
org.apache.openejb.OpenEJBException: Cannot bind Container with id Default
MDB Container : ParsedName{path=openejb/Container/Default MDB Container,
component=Default MDB Container}
      at
org.apache.openejb.assembler.classic.Assembler.bindService(Assembler.java:1675)
      at
org.apache.openejb.assembler.classic.Assembler.createContainer(Assembler.java:1643)
      at
org.apache.openejb.config.ConfigurationFactory.install(ConfigurationFactory.java:405)
      at
org.apache.openejb.config.AutoConfig.createContainer(AutoConfig.java:1047)
      at org.apache.openejb.config.AutoConfig.deploy(AutoConfig.java:829)
      at org.apache.openejb.config.AutoConfig.deploy(AutoConfig.java:188)
      at
org.apache.openejb.config.ConfigurationFactory$Chain.deploy(ConfigurationFactory.java:379)
      at
org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:884)
      at
org.apache.openejb.OpenEjbContainer$Provider.createEJBContainer(OpenEjbContainer.java:347)
      at
javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:56)
      at
javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:43)
      at
com.travelport.soa.svcs.poc.LocationJmsServiceBindingImplTest.setUp(LocationJmsServiceBindingImplTest.java:30)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
      at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
      at java.lang.reflect.Method.invoke(Method.java:613)
      at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
      at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
      at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
      at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
      at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
      at
org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:49)
      at
org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
      at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
      at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
      at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
      at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
Caused by: javax.naming.NameAlreadyBoundException:
ParsedName{path=openejb/Container/Default MDB Container, component=Default
MDB Container}
      at org.apache.openejb.core.ivm.naming.NameNode.bind(NameNode.java:148)
      at org.apache.openejb.core.ivm.naming.NameNode.bind(NameNode.java:132)
      at org.apache.openejb.core.ivm.naming.NameNode.bind(NameNode.java:158)
      at org.apache.openejb.core.ivm.naming.NameNode.bind(NameNode.java:164)
      at org.apache.openejb.core.ivm.naming.NameNode.bind(NameNode.java:132)
      at org.apache.openejb.core.ivm.naming.NameNode.bind(NameNode.java:158)
      at
org.apache.openejb.core.ivm.naming.IvmContext.bind(IvmContext.java:300)
      at
org.apache.openejb.assembler.classic.Assembler.bindService(Assembler.java:1673)
      ... 26 more
INFO - Closing DataSource: Default Unmanaged JDBC Database
INFO - Stopping ResourceAdapter: Default JMS Resource Adapter
INFO - Stopping ActiveMQ
INFO - Apache ActiveMQ 5.7.0 (localhost,
ID:VMHPTRA-3812ST8-56614-1381525029197-0:1) is shutting down
INFO - Connector tcp://127.0.0.1:61616 Stopped
INFO - Apache ActiveMQ 5.7.0 (localhost,
ID:VMHPTRA-3812ST8-56614-1381525029197-0:1) uptime 2.189 seconds
INFO - Apache ActiveMQ 5.7.0 (localhost,
ID:VMHPTRA-3812ST8-56614-1381525029197-0:1) is shutdown
INFO - Stopped ActiveMQ broker




--
View this message in context: http://openejb.979440.n4.nabble.com/How-to-change-the-id-Default-MDB-Container-tp4665551p4665554.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: How to change the id "Default MDB Container"?

Posted by Romain Manni-Bucau <rm...@gmail.com>.
Hi

You can do it through openejb-jar.xml but i'm pretty thats not your issue.

That said you use a very old version. Maybe update it first.
Le 11 oct. 2013 19:49, "bodhayanc" <Bo...@travelport.com> a
écrit :

> Hi,
>
> I am new to OpenEJB. I am trying to prepare JUnit test case for a IBM JMS
> Service. My ejb-jar.xml is as below;
>
> ejb-jar.xml <http://openejb.979440.n4.nabble.com/file/n4665551/ejb-jar.xml
> >
>
> I am getting javax.naming.NameAlreadyBoundException while invoking
> EJBContainer.createEJBContainer() from the JUnit test cases setUp() method.
> I am hoping if I can override the name "Default MDB Container" for each
> MDB,
> the problem would be fixed. But, I don't know how to do that. Can anyone
> please help me?
>
> Apache OpenEJB 4.0.0-beta-2    build: 20120115-08:26
> http://openejb.apache.org/
> INFO - openejb.home =
> C:\WAS_Workspace\SOAUCWAS06JMSAsyncMsgThruSyncHttpServiceProject
> INFO - openejb.base =
> C:\WAS_Workspace\SOAUCWAS06JMSAsyncMsgThruSyncHttpServiceProject
> INFO - Using 'javax.ejb.embeddable.EJBContainer=true'
> INFO - Configuring Service(id=Default Security Service,
> type=SecurityService, provider-id=Default Security Service)
> INFO - Configuring Service(id=Default Transaction Manager,
> type=TransactionManager, provider-id=Default Transaction Manager)
> INFO - Found EjbModule in classpath:
>
> C:\WAS_Workspace\SOAUCWAS06JMSAsyncMsgThruSyncHttpServiceProject\target\classes
> INFO - Searched 13 classpath urls in 1085 milliseconds.  Average 83
> milliseconds per url.
> INFO - Beginning load:
>
> C:\WAS_Workspace\SOAUCWAS06JMSAsyncMsgThruSyncHttpServiceProject\target\classes
> INFO - Configuring enterprise application:
> C:\WAS_Workspace\SOAUCWAS06JMSAsyncMsgThruSyncHttpServiceProject
> java.lang.RuntimeException: WebServicesJMSRouter1
>         at
>
> org.apache.openejb.config.rules.CheckClasses.validate(CheckClasses.java:118)
>         at
>
> org.apache.openejb.config.rules.ValidationBase.validate(ValidationBase.java:45)
>         at
> org.apache.openejb.config.AppValidator.validate(AppValidator.java:88)
>         at
> org.apache.openejb.config.ValidateModules.deploy(ValidateModules.java:29)
>         at
>
> org.apache.openejb.config.ConfigurationFactory$Chain.deploy(ConfigurationFactory.java:263)
>         at
>
> org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:693)
>         at
>
> org.apache.openejb.OpenEjbContainer$Provider.createEJBContainer(OpenEjbContainer.java:267)
>         at
> javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:56)
>         at
> javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:43)
>         at
>
> com.travelport.soa.svcs.poc.LocationJmsServiceBindingImplTest.setUp(LocationJmsServiceBindingImplTest.java:30)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
>         at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
>         at java.lang.reflect.Method.invoke(Method.java:613)
>         at
>
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
>         at
>
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
>         at
>
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
>         at
>
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
>         at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
>         at
>
> org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:49)
>         at
>
> org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
>         at
>
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
>         at
>
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
>         at
>
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
>         at
>
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
> Caused by: java.lang.NullPointerException
>         at
>
> org.apache.openejb.config.rules.CheckClasses.check_hasEjbClass(CheckClasses.java:218)
>         at
> org.apache.openejb.config.rules.CheckClasses.validate(CheckClasses.java:78)
>         ... 24 more
> Retrieving document at
>
> 'file:/C:/WAS_Workspace/SOAUCWAS06JMSAsyncMsgThruSyncHttpServiceProject/target/classes/META-INF/wsdl/'.
> Retrieving schema at 'LocationService.xsd', relative to
>
> 'file:/C:/WAS_Workspace/SOAUCWAS06JMSAsyncMsgThruSyncHttpServiceProject/target/classes/META-INF/wsdl/'.
> INFO - Configuring Service(id=Default MDB Container, type=Container,
> provider-id=Default MDB Container)
> INFO - Auto-creating a container for bean WebServicesJMSRouter1:
> Container(type=MESSAGE, id=Default MDB Container)
> INFO - Configuring Service(id=Default JMS Resource Adapter, type=Resource,
> provider-id=Default JMS Resource Adapter)
> INFO - Configuring Service(id=jms/WebServicesReplyQCF, type=Resource,
> provider-id=Default JMS Connection Factory)
> INFO - Auto-creating a Resource with id 'jms/WebServicesReplyQCF' of type
> 'javax.jms.QueueConnectionFactory for 'WebServicesJMSRouter1'.
> WARN - Property "destination" not supported by "jms/WebServicesReplyQCF"
> INFO - Auto-linking resource-env-ref 'jms/WebServicesReplyQCF' in bean
> WebServicesJMSRouter1 to Resource(id=jms/WebServicesReplyQCF)
> INFO - Configuring Service(id=Default MDB Container, type=Container,
> provider-id=Default MDB Container)
> INFO - Auto-creating a container for bean WebServicesJMSRouter2:
> Container(type=MESSAGE, id=Default MDB Container)
> WARN - configureApplication.loadFailed
> org.apache.openejb.OpenEJBException: Cannot bind Container with id Default
> MDB Container : ParsedName{path=openejb/Container/Default MDB Container,
> component=Default MDB Container}
>         at
>
> org.apache.openejb.assembler.classic.Assembler.bindService(Assembler.java:1357)
>         at
>
> org.apache.openejb.assembler.classic.Assembler.createContainer(Assembler.java:1337)
>         at
>
> org.apache.openejb.config.ConfigurationFactory.install(ConfigurationFactory.java:288)
>         at
> org.apache.openejb.config.AutoConfig.createContainer(AutoConfig.java:1002)
>         at org.apache.openejb.config.AutoConfig.deploy(AutoConfig.java:798)
>         at org.apache.openejb.config.AutoConfig.deploy(AutoConfig.java:174)
>         at
>
> org.apache.openejb.config.ConfigurationFactory$Chain.deploy(ConfigurationFactory.java:263)
>         at
>
> org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:693)
>         at
>
> org.apache.openejb.OpenEjbContainer$Provider.createEJBContainer(OpenEjbContainer.java:267)
>         at
> javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:56)
>         at
> javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:43)
>         at
>
> com.travelport.soa.svcs.poc.LocationJmsServiceBindingImplTest.setUp(LocationJmsServiceBindingImplTest.java:30)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
>         at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
>         at java.lang.reflect.Method.invoke(Method.java:613)
>         at
>
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
>         at
>
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
>         at
>
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
>         at
>
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
>         at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
>         at
>
> org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:49)
>         at
>
> org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
>         at
>
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
>         at
>
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
>         at
>
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
>         at
>
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
> Caused by:
> *javax.naming.NameAlreadyBoundException:
> ParsedName{path=openejb/Container/Default MDB Container, component=Default
> MDB Container}*
>         at
> org.apache.openejb.core.ivm.naming.NameNode.bind(NameNode.java:146)
>         at
> org.apache.openejb.core.ivm.naming.NameNode.bind(NameNode.java:130)
>         at
> org.apache.openejb.core.ivm.naming.NameNode.bind(NameNode.java:156)
>         at
> org.apache.openejb.core.ivm.naming.NameNode.bind(NameNode.java:162)
>         at
> org.apache.openejb.core.ivm.naming.NameNode.bind(NameNode.java:130)
>         at
> org.apache.openejb.core.ivm.naming.NameNode.bind(NameNode.java:156)
>         at
> org.apache.openejb.core.ivm.naming.IvmContext.bind(IvmContext.java:300)
>         at
>
> org.apache.openejb.assembler.classic.Assembler.bindService(Assembler.java:1355)
>         ... 26 more
> INFO - Stopping ResourceAdapter: Default JMS Resource Adapter
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/How-to-change-the-id-Default-MDB-Container-tp4665551.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

Re: How to change the id "Default MDB Container"?

Posted by Vishwanath Krishnamurthi <to...@gmail.com>.
Hi,

Usually in JUnit, you'd create the EJBContainer once, for all the test
methods. i.e in Junit4, terms, in @BeforeClass method.

Here, since you've placed the createEJBContainer() call in setUp() method,
that'd get invoked for every test method. Unless you do a
EJBContainer.close() in the tearDown(), these "NameAlreadyBoundExceptions"
would occur. (But well, creating and destroying the container for each test
is a waste of time)

So to avoid this issue, you could simply place the createEJBContainer()
call in the @BeforeClass method.

-Vishwa

On Fri, Oct 11, 2013 at 11:16 PM, bodhayanc <
Bodhayan.Chakraborty@travelport.com> wrote:

> Hi,
>
> I am new to OpenEJB. I am trying to prepare JUnit test case for a IBM JMS
> Service. My ejb-jar.xml is as below;
>
> ejb-jar.xml <http://openejb.979440.n4.nabble.com/file/n4665551/ejb-jar.xml
> >
>
> I am getting javax.naming.NameAlreadyBoundException while invoking
> EJBContainer.createEJBContainer() from the JUnit test cases setUp() method.
> I am hoping if I can override the name "Default MDB Container" for each
> MDB,
> the problem would be fixed. But, I don't know how to do that. Can anyone
> please help me?
>
> Apache OpenEJB 4.0.0-beta-2    build: 20120115-08:26
> http://openejb.apache.org/
> INFO - openejb.home =
> C:\WAS_Workspace\SOAUCWAS06JMSAsyncMsgThruSyncHttpServiceProject
> INFO - openejb.base =
> C:\WAS_Workspace\SOAUCWAS06JMSAsyncMsgThruSyncHttpServiceProject
> INFO - Using 'javax.ejb.embeddable.EJBContainer=true'
> INFO - Configuring Service(id=Default Security Service,
> type=SecurityService, provider-id=Default Security Service)
> INFO - Configuring Service(id=Default Transaction Manager,
> type=TransactionManager, provider-id=Default Transaction Manager)
> INFO - Found EjbModule in classpath:
>
> C:\WAS_Workspace\SOAUCWAS06JMSAsyncMsgThruSyncHttpServiceProject\target\classes
> INFO - Searched 13 classpath urls in 1085 milliseconds.  Average 83
> milliseconds per url.
> INFO - Beginning load:
>
> C:\WAS_Workspace\SOAUCWAS06JMSAsyncMsgThruSyncHttpServiceProject\target\classes
> INFO - Configuring enterprise application:
> C:\WAS_Workspace\SOAUCWAS06JMSAsyncMsgThruSyncHttpServiceProject
> java.lang.RuntimeException: WebServicesJMSRouter1
>         at
>
> org.apache.openejb.config.rules.CheckClasses.validate(CheckClasses.java:118)
>         at
>
> org.apache.openejb.config.rules.ValidationBase.validate(ValidationBase.java:45)
>         at
> org.apache.openejb.config.AppValidator.validate(AppValidator.java:88)
>         at
> org.apache.openejb.config.ValidateModules.deploy(ValidateModules.java:29)
>         at
>
> org.apache.openejb.config.ConfigurationFactory$Chain.deploy(ConfigurationFactory.java:263)
>         at
>
> org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:693)
>         at
>
> org.apache.openejb.OpenEjbContainer$Provider.createEJBContainer(OpenEjbContainer.java:267)
>         at
> javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:56)
>         at
> javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:43)
>         at
>
> com.travelport.soa.svcs.poc.LocationJmsServiceBindingImplTest.setUp(LocationJmsServiceBindingImplTest.java:30)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
>         at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
>         at java.lang.reflect.Method.invoke(Method.java:613)
>         at
>
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
>         at
>
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
>         at
>
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
>         at
>
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
>         at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
>         at
>
> org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:49)
>         at
>
> org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
>         at
>
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
>         at
>
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
>         at
>
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
>         at
>
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
> Caused by: java.lang.NullPointerException
>         at
>
> org.apache.openejb.config.rules.CheckClasses.check_hasEjbClass(CheckClasses.java:218)
>         at
> org.apache.openejb.config.rules.CheckClasses.validate(CheckClasses.java:78)
>         ... 24 more
> Retrieving document at
>
> 'file:/C:/WAS_Workspace/SOAUCWAS06JMSAsyncMsgThruSyncHttpServiceProject/target/classes/META-INF/wsdl/'.
> Retrieving schema at 'LocationService.xsd', relative to
>
> 'file:/C:/WAS_Workspace/SOAUCWAS06JMSAsyncMsgThruSyncHttpServiceProject/target/classes/META-INF/wsdl/'.
> INFO - Configuring Service(id=Default MDB Container, type=Container,
> provider-id=Default MDB Container)
> INFO - Auto-creating a container for bean WebServicesJMSRouter1:
> Container(type=MESSAGE, id=Default MDB Container)
> INFO - Configuring Service(id=Default JMS Resource Adapter, type=Resource,
> provider-id=Default JMS Resource Adapter)
> INFO - Configuring Service(id=jms/WebServicesReplyQCF, type=Resource,
> provider-id=Default JMS Connection Factory)
> INFO - Auto-creating a Resource with id 'jms/WebServicesReplyQCF' of type
> 'javax.jms.QueueConnectionFactory for 'WebServicesJMSRouter1'.
> WARN - Property "destination" not supported by "jms/WebServicesReplyQCF"
> INFO - Auto-linking resource-env-ref 'jms/WebServicesReplyQCF' in bean
> WebServicesJMSRouter1 to Resource(id=jms/WebServicesReplyQCF)
> INFO - Configuring Service(id=Default MDB Container, type=Container,
> provider-id=Default MDB Container)
> INFO - Auto-creating a container for bean WebServicesJMSRouter2:
> Container(type=MESSAGE, id=Default MDB Container)
> WARN - configureApplication.loadFailed
> org.apache.openejb.OpenEJBException: Cannot bind Container with id Default
> MDB Container : ParsedName{path=openejb/Container/Default MDB Container,
> component=Default MDB Container}
>         at
>
> org.apache.openejb.assembler.classic.Assembler.bindService(Assembler.java:1357)
>         at
>
> org.apache.openejb.assembler.classic.Assembler.createContainer(Assembler.java:1337)
>         at
>
> org.apache.openejb.config.ConfigurationFactory.install(ConfigurationFactory.java:288)
>         at
> org.apache.openejb.config.AutoConfig.createContainer(AutoConfig.java:1002)
>         at org.apache.openejb.config.AutoConfig.deploy(AutoConfig.java:798)
>         at org.apache.openejb.config.AutoConfig.deploy(AutoConfig.java:174)
>         at
>
> org.apache.openejb.config.ConfigurationFactory$Chain.deploy(ConfigurationFactory.java:263)
>         at
>
> org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:693)
>         at
>
> org.apache.openejb.OpenEjbContainer$Provider.createEJBContainer(OpenEjbContainer.java:267)
>         at
> javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:56)
>         at
> javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:43)
>         at
>
> com.travelport.soa.svcs.poc.LocationJmsServiceBindingImplTest.setUp(LocationJmsServiceBindingImplTest.java:30)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
>         at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
>         at java.lang.reflect.Method.invoke(Method.java:613)
>         at
>
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
>         at
>
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
>         at
>
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
>         at
>
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
>         at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
>         at
>
> org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:49)
>         at
>
> org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
>         at
>
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
>         at
>
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
>         at
>
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
>         at
>
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
> Caused by:
> *javax.naming.NameAlreadyBoundException:
> ParsedName{path=openejb/Container/Default MDB Container, component=Default
> MDB Container}*
>         at
> org.apache.openejb.core.ivm.naming.NameNode.bind(NameNode.java:146)
>         at
> org.apache.openejb.core.ivm.naming.NameNode.bind(NameNode.java:130)
>         at
> org.apache.openejb.core.ivm.naming.NameNode.bind(NameNode.java:156)
>         at
> org.apache.openejb.core.ivm.naming.NameNode.bind(NameNode.java:162)
>         at
> org.apache.openejb.core.ivm.naming.NameNode.bind(NameNode.java:130)
>         at
> org.apache.openejb.core.ivm.naming.NameNode.bind(NameNode.java:156)
>         at
> org.apache.openejb.core.ivm.naming.IvmContext.bind(IvmContext.java:300)
>         at
>
> org.apache.openejb.assembler.classic.Assembler.bindService(Assembler.java:1355)
>         ... 26 more
> INFO - Stopping ResourceAdapter: Default JMS Resource Adapter
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/How-to-change-the-id-Default-MDB-Container-tp4665551.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>