3 Replies Latest reply on Jan 14, 2008 6:18 AM by Pete Muir

    Naming Exception from Embedded

    Pete Muir Master

      Another JMS/Embedded problem. This is using the beta3 tag of AS5, so JBM 1.4.0.SP1-brew. I put org.jboss.jms, org.jboss.messaging and org.jboss.resource.adapter.jms to debug logging.

      As you see, the JNDI bindings do happen, and the tests pass (so I guess JMS is fully functional).

      Any help appreciated!

      Here is the relevant bit

      [testng] DEBUG [jboss.resource.adapter.jms.inflow.JmsActivation] Setting up org.jboss.resource.adapter.jms.inflow.JmsActivationSpec@2007a8(ra=org.jboss.resource.adapter.jms.JmsResourceAdapter@8f651f destination=queue/testQueue isTopic=false tx=true durable=false reconnect=10 provider=java:/DefaultJMSProvider user=null maxMessages=1 minSession=1 maxSession=15 keepAlive=60000 useDLQ=true DLQHandler=org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler DLQJndiName=queue/DLQ DLQUser=null DLQMaxResent=5)
       [testng] DEBUG [jboss.resource.adapter.jms.inflow.JmsActivation] Retrieving the jms provider adapter java:/DefaultJMSProvider for org.jboss.resource.adapter.jms.inflow.JmsActivation@29bd87(spec=org.jboss.resource.adapter.jms.inflow.JmsActivationSpec@2007a8 mepf=org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory@37f44d active=true transacted=true)
       [testng] DEBUG [jboss.resource.adapter.jms.inflow.JmsActivation] Using jms provider adapter org.jboss.jms.jndi.JNDIProviderAdapter@9dc8a0 for org.jboss.resource.adapter.jms.inflow.JmsActivation@29bd87(spec=org.jboss.resource.adapter.jms.inflow.JmsActivationSpec@2007a8 mepf=org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory@37f44d active=true transacted=true)
       [testng] DEBUG [jboss.resource.adapter.jms.inflow.JmsActivation] Using context {java.naming.factory.initial=org.jboss.naming.JBossRemotingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} for org.jboss.resource.adapter.jms.inflow.JmsActivationSpec@2007a8(ra=org.jboss.resource.adapter.jms.JmsResourceAdapter@8f651f destination=queue/testQueue isTopic=false tx=true durable=false reconnect=10 provider=java:/DefaultJMSProvider user=null maxMessages=1 minSession=1 maxSession=15 keepAlive=60000 useDLQ=true DLQHandler=org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler DLQJndiName=queue/DLQ DLQUser=null DLQMaxResent=5)
       [testng] DEBUG [resource.adapter.jms.inflow.dlq.AbstractDLQHandler] Attempting to lookup dlq connection factory java:/XAConnectionFactory
       [testng] DEBUG [resource.adapter.jms.inflow.dlq.AbstractDLQHandler] Got dlq connection factory JBossConnectionFactory->ConnectionFactoryDelegate[jboss.messaging.connectionfactory:service=ConnectionFactory, SID=0] from java:/XAConnectionFactory
       [testng] DEBUG [resource.adapter.jms.inflow.dlq.AbstractDLQHandler] Attempting to create queue connection with user null
       [testng] INFO [org.jboss.ejb3.EJBContainer] STARTED EJB: org.jboss.seam.test.integration.MessagingTest$TestTopicListener ejbName: TestTopicListener
       [testng] WARN [org.jboss.ejb3.timerservice.jboss.JBossTimerServiceFactory] TIMER SERVICE IS NOT INSTALLED
       [testng] DEBUG [jboss.resource.adapter.jms.inflow.JmsActivation] Setting up org.jboss.resource.adapter.jms.inflow.JmsActivationSpec@c2eab3(ra=org.jboss.resource.adapter.jms.JmsResourceAdapter@8f651f destination=topic/testTopic isTopic=true tx=true durable=false reconnect=10 provider=java:/DefaultJMSProvider user=null maxMessages=1 minSession=1 maxSession=15 keepAlive=60000 useDLQ=true DLQHandler=org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler DLQJndiName=queue/DLQ DLQUser=null DLQMaxResent=5)
       [testng] DEBUG [jboss.resource.adapter.jms.inflow.JmsActivation] Retrieving the jms provider adapter java:/DefaultJMSProvider for org.jboss.resource.adapter.jms.inflow.JmsActivation@f0ccbd(spec=org.jboss.resource.adapter.jms.inflow.JmsActivationSpec@c2eab3 mepf=org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory@119478 active=true transacted=true)
       [testng] DEBUG [jboss.resource.adapter.jms.inflow.JmsActivation] Using jms provider adapter org.jboss.jms.jndi.JNDIProviderAdapter@9dc8a0 for org.jboss.resource.adapter.jms.inflow.JmsActivation@f0ccbd(spec=org.jboss.resource.adapter.jms.inflow.JmsActivationSpec@c2eab3 mepf=org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory@119478 active=true transacted=true)
       [testng] DEBUG [jboss.resource.adapter.jms.inflow.JmsActivation] Using context {java.naming.factory.initial=org.jboss.naming.JBossRemotingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} for org.jboss.resource.adapter.jms.inflow.JmsActivationSpec@c2eab3(ra=org.jboss.resource.adapter.jms.JmsResourceAdapter@8f651f destination=topic/testTopic isTopic=true tx=true durable=false reconnect=10 provider=java:/DefaultJMSProvider user=null maxMessages=1 minSession=1 maxSession=15 keepAlive=60000 useDLQ=true DLQHandler=org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler DLQJndiName=queue/DLQ DLQUser=null DLQMaxResent=5)
       [testng] DEBUG [resource.adapter.jms.inflow.dlq.AbstractDLQHandler] Attempting to lookup dlq connection factory java:/XAConnectionFactory
       [testng] DEBUG [resource.adapter.jms.inflow.dlq.AbstractDLQHandler] Got dlq connection factory JBossConnectionFactory->ConnectionFactoryDelegate[jboss.messaging.connectionfactory:service=ConnectionFactory, SID=0] from java:/XAConnectionFactory
       [testng] DEBUG [resource.adapter.jms.inflow.dlq.AbstractDLQHandler] Attempting to create queue connection with user null
       [testng] INFO [org.jboss.resource.connectionmanager.ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=integrationDatasource' to JNDI name 'java:integrationDatasource'
       [testng] INFO [org.jboss.ejb3.entity.PersistenceUnitDeployment] Starting persistence unit persistence.units:jar=test-build.jar,unitName=integration
       [testng] DEBUG [org.jboss.jms.server.remoting.JMSServerInvocationHandler] adding callback handler ServerInvokerCallbackHandler[4sv52-yyekxq-fbazhsq6-1-fbazhwjt-4+4sv52-yyekxq-fbazhsq6-1-fbazhwk9-8]
       [testng] DEBUG [org.jboss.jms.server.remoting.JMSServerInvocationHandler] adding callback handler ServerInvokerCallbackHandler[4sv52-yyekxq-fbazhsq6-1-fbazhwju-5+4sv52-yyekxq-fbazhsq6-1-fbazhwkr-c]
       [testng] DEBUG [org.jboss.jms.server.remoting.JMSServerInvocationHandler] found calllback handler for remoting session ...-fbazhwju-5 UID=4sv52-yyekxq-fbazhsq6-1-fbazhwju-5
       [testng] DEBUG [org.jboss.jms.server.remoting.JMSServerInvocationHandler] found calllback handler for remoting session ...-fbazhwjt-4 UID=4sv52-yyekxq-fbazhsq6-1-fbazhwjt-4
       [testng] DEBUG [org.jboss.jms.server.connectionmanager.SimpleConnectionManager] registered connection ConnectionEndpoint[f-1mwhzabf-1-6qshzabf-qxkeyy-25vs4] as ...-fbazhwjt-4
       [testng] DEBUG [org.jboss.jms.server.connectionmanager.SimpleConnectionManager] registered connection ConnectionEndpoint[g-fmwhzabf-1-6qshzabf-qxkeyy-25vs4] as ...-fbazhwju-5
       [testng] DEBUG [resource.adapter.jms.inflow.dlq.AbstractDLQHandler] Using queue connection JBossConnection->ConnectionDelegate[13467176, ID=g-fmwhzabf-1-6qshzabf-qxkeyy-25vs4, SID=0]
       [testng] DEBUG [jboss.resource.adapter.jms.inflow.JmsActivation] Setup DLQ org.jboss.resource.adapter.jms.inflow.JmsActivation@29bd87(spec=org.jboss.resource.adapter.jms.inflow.JmsActivationSpec@2007a8 mepf=org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory@37f44d active=true dlq=org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler@11ed72 transacted=true)
       [testng] DEBUG [jboss.resource.adapter.jms.inflow.JmsActivation] Retrieving destination queue/testQueue of type javax.jms.Queue
       [testng] DEBUG [resource.adapter.jms.inflow.dlq.AbstractDLQHandler] Using queue connection JBossConnection->ConnectionDelegate[6060907, ID=f-1mwhzabf-1-6qshzabf-qxkeyy-25vs4, SID=0]
       [testng] DEBUG [jboss.resource.adapter.jms.inflow.JmsActivation] Setup DLQ org.jboss.resource.adapter.jms.inflow.JmsActivation@f0ccbd(spec=org.jboss.resource.adapter.jms.inflow.JmsActivationSpec@c2eab3 mepf=org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory@119478 active=true dlq=org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler@6616b3 transacted=true)
       [testng] DEBUG [jboss.resource.adapter.jms.inflow.JmsActivation] Retrieving destination topic/testTopic of type javax.jms.Topic
       [testng] WARN [jboss.resource.adapter.jms.inflow.JmsActivation] Failure in jms activation org.jboss.resource.adapter.jms.inflow.JmsActivationSpec@c2eab3(ra=org.jboss.resource.adapter.jms.JmsResourceAdapter@8f651f destination=topic/testTopic isTopic=true tx=true durable=false reconnect=10 provider=java:/DefaultJMSProvider user=null maxMessages=1 minSession=1 maxSession=15 keepAlive=60000 useDLQ=true DLQHandler=org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler DLQJndiName=queue/DLQ DLQUser=null DLQMaxResent=5)
       [testng] javax.naming.NameNotFoundException: testTopic not bound
       [testng] at org.jnp.server.NamingServer.getBinding(NamingServer.java:542)
       [testng] at org.jnp.server.NamingServer.getBinding(NamingServer.java:550)
       [testng] at org.jnp.server.NamingServer.getObject(NamingServer.java:556)
       [testng] at org.jnp.server.NamingServer.lookup(NamingServer.java:296)
       [testng] at org.jnp.server.NamingServer.lookup(NamingServer.java:270)
       [testng] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:669)
       [testng] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:629)
       [testng] at javax.naming.InitialContext.lookup(InitialContext.java:351)
       [testng] at org.jboss.util.naming.Util.lookup(Util.java:215)
       [testng] at org.jboss.resource.adapter.jms.inflow.JmsActivation.setupDestination(JmsActivation.java:441)
       [testng] at org.jboss.resource.adapter.jms.inflow.JmsActivation.setup(JmsActivation.java:340)
       [testng] at org.jboss.resource.adapter.jms.inflow.JmsActivation$SetupActivation.run(JmsActivation.java:692)
       [testng] at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:204)
       [testng] at org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:260)
       [testng] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
       [testng] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
       [testng] at java.lang.Thread.run(Thread.java:613)
       [testng] DEBUG [jboss.resource.adapter.jms.inflow.JmsActivation] Tearing down org.jboss.resource.adapter.jms.inflow.JmsActivationSpec@c2eab3(ra=org.jboss.resource.adapter.jms.JmsResourceAdapter@8f651f destination=topic/testTopic isTopic=true tx=true durable=false reconnect=10 provider=java:/DefaultJMSProvider user=null maxMessages=1 minSession=1 maxSession=15 keepAlive=60000 useDLQ=true DLQHandler=org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler DLQJndiName=queue/DLQ DLQUser=null DLQMaxResent=5)
       [testng] DEBUG [jboss.resource.adapter.jms.inflow.JmsActivation] Removing DLQ org.jboss.resource.adapter.jms.inflow.JmsActivation@f0ccbd(spec=org.jboss.resource.adapter.jms.inflow.JmsActivationSpec@c2eab3 mepf=org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory@119478 active=true dlq=org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler@6616b3 transacted=true)
       [testng] DEBUG [resource.adapter.jms.inflow.dlq.AbstractDLQHandler] Closing the JBossConnection->ConnectionDelegate[6060907, ID=f-1mwhzabf-1-6qshzabf-qxkeyy-25vs4, SID=0]
       [testng] WARN [jboss.resource.adapter.jms.inflow.JmsActivation] Failure in jms activation org.jboss.resource.adapter.jms.inflow.JmsActivationSpec@2007a8(ra=org.jboss.resource.adapter.jms.JmsResourceAdapter@8f651f destination=queue/testQueue isTopic=false tx=true durable=false reconnect=10 provider=java:/DefaultJMSProvider user=null maxMessages=1 minSession=1 maxSession=15 keepAlive=60000 useDLQ=true DLQHandler=org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler DLQJndiName=queue/DLQ DLQUser=null DLQMaxResent=5)
       [testng] javax.naming.NameNotFoundException: testQueue not bound
       [testng] at org.jnp.server.NamingServer.getBinding(NamingServer.java:542)
       [testng] at org.jnp.server.NamingServer.getBinding(NamingServer.java:550)
       [testng] at org.jnp.server.NamingServer.getObject(NamingServer.java:556)
       [testng] at org.jnp.server.NamingServer.lookup(NamingServer.java:296)
       [testng] at org.jnp.server.NamingServer.lookup(NamingServer.java:270)
       [testng] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:669)
       [testng] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:629)
       [testng] at javax.naming.InitialContext.lookup(InitialContext.java:351)
       [testng] at org.jboss.util.naming.Util.lookup(Util.java:215)
       [testng] at org.jboss.resource.adapter.jms.inflow.JmsActivation.setupDestination(JmsActivation.java:441)
       [testng] at org.jboss.resource.adapter.jms.inflow.JmsActivation.setup(JmsActivation.java:340)
       [testng] at org.jboss.resource.adapter.jms.inflow.JmsActivation$SetupActivation.run(JmsActivation.java:692)
       [testng] at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:204)
       [testng] at org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:260)
       [testng] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
       [testng] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
       [testng] at java.lang.Thread.run(Thread.java:613)
       [testng] DEBUG [jboss.resource.adapter.jms.inflow.JmsActivation] Tearing down org.jboss.resource.adapter.jms.inflow.JmsActivationSpec@2007a8(ra=org.jboss.resource.adapter.jms.JmsResourceAdapter@8f651f destination=queue/testQueue isTopic=false tx=true durable=false reconnect=10 provider=java:/DefaultJMSProvider user=null maxMessages=1 minSession=1 maxSession=15 keepAlive=60000 useDLQ=true DLQHandler=org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler DLQJndiName=queue/DLQ DLQUser=null DLQMaxResent=5)
       [testng] DEBUG [jboss.resource.adapter.jms.inflow.JmsActivation] Removing DLQ org.jboss.resource.adapter.jms.inflow.JmsActivation@29bd87(spec=org.jboss.resource.adapter.jms.inflow.JmsActivationSpec@2007a8 mepf=org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory@37f44d active=true dlq=org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler@11ed72 transacted=true)
       [testng] DEBUG [resource.adapter.jms.inflow.dlq.AbstractDLQHandler] Closing the JBossConnection->ConnectionDelegate[13467176, ID=g-fmwhzabf-1-6qshzabf-qxkeyy-25vs4, SID=0]
       [testng] DEBUG [org.jboss.jms.server.connectionmanager.SimpleConnectionManager] unregistered connection ConnectionEndpoint[g-fmwhzabf-1-6qshzabf-qxkeyy-25vs4] with remoting session ID ...-fbazhwju-5
       [testng] DEBUG [org.jboss.jms.server.connectionmanager.SimpleConnectionManager] unregistered connection ConnectionEndpoint[f-1mwhzabf-1-6qshzabf-qxkeyy-25vs4] with remoting session ID ...-fbazhwjt-4
       [testng] DEBUG [org.jboss.jms.server.remoting.JMSServerInvocationHandler] removing callback handler ServerInvokerCallbackHandler[4sv52-yyekxq-fbazhsq6-1-fbazhwjt-4+4sv52-yyekxq-fbazhsq6-1-fbazhwk9-8]
       [testng] DEBUG [org.jboss.jms.server.remoting.JMSServerInvocationHandler] removing callback handler ServerInvokerCallbackHandler[4sv52-yyekxq-fbazhsq6-1-fbazhwju-5+4sv52-yyekxq-fbazhsq6-1-fbazhwkr-c]
       [testng] DEBUG [jboss.resource.adapter.jms.inflow.JmsActivation] Tearing down complete org.jboss.resource.adapter.jms.inflow.JmsActivation@29bd87(spec=org.jboss.resource.adapter.jms.inflow.JmsActivationSpec@2007a8 mepf=org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory@37f44d active=true transacted=true)
       [testng] DEBUG [jboss.resource.adapter.jms.inflow.JmsActivation] Tearing down complete org.jboss.resource.adapter.jms.inflow.JmsActivation@f0ccbd(spec=org.jboss.resource.adapter.jms.inflow.JmsActivationSpec@c2eab3 mepf=org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory@119478 active=true transacted=true)
       [testng] DEBUG [org.jboss.jms.server.destination.TopicService] Creating jboss.mq.destination:service=Topic,name=testTopic
       [testng] DEBUG [org.jboss.jms.server.destination.TopicService] Created jboss.mq.destination:service=Topic,name=testTopic
       [testng] DEBUG [org.jboss.jms.server.destination.TopicService] Starting jboss.mq.destination:service=Topic,name=testTopic
       [testng] DEBUG [org.jboss.jms.server.DestinationJNDIMapper] topic testTopic registered
       [testng] DEBUG [org.jboss.jms.server.DestinationJNDIMapper] topic bound in JNDI as /topic/testTopic
       [testng] DEBUG [org.jboss.jms.server.destination.TopicService] Topic[/topic/testTopic] security configuration: null
       [testng] INFO [org.jboss.jms.server.destination.TopicService] Topic[/topic/testTopic] started, fullSize=200000, pageSize=2000, downCacheSize=2000
       [testng] DEBUG [org.jboss.jms.server.destination.TopicService] Started jboss.mq.destination:service=Topic,name=testTopic
       [testng] DEBUG [org.jboss.jms.server.destination.QueueService] Creating jboss.mq.destination:service=Queue,name=testQueue
       [testng] DEBUG [org.jboss.jms.server.destination.QueueService] Created jboss.mq.destination:service=Queue,name=testQueue
       [testng] DEBUG [org.jboss.jms.server.destination.QueueService] Starting jboss.mq.destination:service=Queue,name=testQueue
       [testng] DEBUG [org.jboss.jms.server.connectionfactory.ConnectionFactoryJNDIMapper] Server[0].ConnFactoryJNDIMapper received notification from node 0
       [testng] DEBUG [org.jboss.jms.server.DestinationJNDIMapper] queue testQueue registered
       [testng] DEBUG [org.jboss.jms.server.DestinationJNDIMapper] queue bound in JNDI as /queue/testQueue
       [testng] DEBUG [org.jboss.jms.server.destination.QueueService] Queue[/queue/testQueue] security configuration: null
       [testng] INFO [org.jboss.jms.server.destination.QueueService] Queue[/queue/testQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000
       [testng] DEBUG [org.jboss.jms.server.destination.QueueService] Started jboss.mq.destination:service=Queue,name=testQueue


      And, here is the log *from above* from when Messaging starts:

      [testng] DEBUG [org.jboss.messaging.core.jmx.JDBCPersistenceManagerService] Creating jboss.messaging:service=PersistenceManager
       [testng] DEBUG [org.jboss.messaging.core.jmx.JDBCPersistenceManagerService] Created jboss.messaging:service=PersistenceManager
       [testng] DEBUG [org.jboss.messaging.core.jmx.JDBCPersistenceManagerService] Starting jboss.messaging:service=PersistenceManager
       [testng] DEBUG [org.jboss.messaging.core.impl.JDBCPersistenceManager] Adding record on JBM_DUAL
       [testng] DEBUG [org.jboss.messaging.core.impl.JDBCPersistenceManager] JDBCPersistenceManager[94c7c3] started
       [testng] DEBUG [org.jboss.messaging.core.jmx.JDBCPersistenceManagerService] Started jboss.messaging:service=PersistenceManager
       [testng] DEBUG [org.jboss.jms.server.plugin.JDBCJMSUserManagerService] Creating jboss.messaging:service=JMSUserManager
       [testng] DEBUG [org.jboss.jms.server.plugin.JDBCJMSUserManagerService] Created jboss.messaging:service=JMSUserManager
       [testng] DEBUG [org.jboss.jms.server.plugin.JDBCJMSUserManagerService] Starting jboss.messaging:service=JMSUserManager
       [testng] DEBUG [org.jboss.jms.server.plugin.JDBCJMSUserManagerService] Started jboss.messaging:service=JMSUserManager
       [testng] DEBUG [org.jboss.jms.jndi.JMSProviderLoader] Creating jboss.messaging:service=JMSProviderLoader,name=JMSProvider
       [testng] DEBUG [org.jboss.jms.jndi.JMSProviderLoader] Created jboss.messaging:service=JMSProviderLoader,name=JMSProvider
       [testng] DEBUG [org.jboss.jms.jndi.JMSProviderLoader] Starting jboss.messaging:service=JMSProviderLoader,name=JMSProvider
       [testng] DEBUG [org.jboss.jms.jndi.JMSProviderLoader] attempting to bind org.jboss.jms.jndi.JNDIProviderAdapter@9dc8a0 to java:/DefaultJMSProvider
       [testng] DEBUG [org.jboss.jms.jndi.JMSProviderLoader] Bound adapter to java:/DefaultJMSProvider
       [testng] DEBUG [org.jboss.jms.jndi.JMSProviderLoader] Started jboss.messaging:service=JMSProviderLoader,name=JMSProvider
       [testng] DEBUG [org.jboss.jms.server.ServerPeer] Creating jboss.messaging:service=ServerPeer
       [testng] DEBUG [org.jboss.jms.server.ServerPeer] Created jboss.messaging:service=ServerPeer
       [testng] DEBUG [org.jboss.messaging.core.jmx.MessagingPostOfficeService] Creating jboss.messaging:service=PostOffice
       [testng] DEBUG [org.jboss.messaging.core.jmx.MessagingPostOfficeService] Created jboss.messaging:service=PostOffice
       [testng] DEBUG [org.jboss.jms.server.destination.QueueService] Creating jboss.messaging.destination:service=Queue,name=DLQ
       [testng] DEBUG [org.jboss.jms.server.destination.QueueService] Created jboss.messaging.destination:service=Queue,name=DLQ
       [testng] DEBUG [org.jboss.jms.server.destination.QueueService] Creating jboss.messaging.destination:service=Queue,name=ExpiryQueue
       [testng] DEBUG [org.jboss.jms.server.destination.QueueService] Created jboss.messaging.destination:service=Queue,name=ExpiryQueue
       [testng] DEBUG [org.jboss.jms.server.connectionfactory.ConnectionFactory] Creating jboss.messaging.connectionfactory:service=ClusteredConnectionFactory
       [testng] DEBUG [org.jboss.jms.server.connectionfactory.ConnectionFactory] Created jboss.messaging.connectionfactory:service=ClusteredConnectionFactory
       [testng] DEBUG [org.jboss.jms.server.connectionfactory.ConnectionFactory] Creating jboss.messaging.connectionfactory:service=ConnectionFactory
       [testng] DEBUG [org.jboss.jms.server.connectionfactory.ConnectionFactory] Created jboss.messaging.connectionfactory:service=ConnectionFactory
       [testng] DEBUG [org.jboss.jms.server.connectionfactory.ConnectionFactory] Creating jboss.messaging.connectionfactory:service=ClusterPullConnectionFactory
       [testng] DEBUG [org.jboss.jms.server.connectionfactory.ConnectionFactory] Created jboss.messaging.connectionfactory:service=ClusterPullConnectionFactory
       [testng] DEBUG [org.jboss.jms.server.remoting.JMSServerInvocationHandler] set MBeanServer to org.jboss.mx.server.MBeanServerImpl@66f987[ defaultDomain='jboss' ]
       [testng] DEBUG [org.jboss.jms.server.remoting.JMSServerInvocationHandler] set ServerInvoker to SocketServerInvoker[UNINITIALIZED]
       [testng] DEBUG [org.jboss.jms.server.ServerPeer] Starting jboss.messaging:service=ServerPeer
       [testng] DEBUG [org.jboss.jms.server.ServerPeer] starting ServerPeer
       [testng] DEBUG [org.jboss.jms.server.ServerPeer] ServerPeer[0] starting
       [testng] DEBUG [jboss.messaging.core.impl.message.SimpleMessageStore] MemoryStore[1177103] initialized
       [testng] DEBUG [org.jboss.jms.server.DestinationJNDIMapper] /queue subcontext created
       [testng] DEBUG [org.jboss.jms.server.DestinationJNDIMapper] /topic subcontext created
       [testng] DEBUG [org.jboss.jms.server.connectionfactory.ConnectionFactoryJNDIMapper] started
       [testng] DEBUG [jboss.messaging.core.impl.memory.SimpleMemoryManager] Starting MemoryManager with MEASURE_INTERVAL: 3000 FREE_MEMORY_PERCENT: 25
       [testng] WARN [org.jboss.jms.server.security.SecurityMetadataStore] WARNING! POTENTIAL SECURITY RISK. It has been detected that the MessageSucker component which sucks messages from one node to another has not had its password changed from the installation default. Please see the JBoss Messaging user guide for instructions on how to do this.
       [testng] DEBUG [org.jboss.jms.server.security.SecurityMetadataStore] JaasSecurityManager is org.jboss.security.plugins.JaasSecurityManager@4b695b
       [testng] INFO [org.jboss.jms.server.ServerPeer] JBoss Messaging 1.4.0.SP1 server [0] started
       [testng] DEBUG [org.jboss.jms.server.ServerPeer] Started jboss.messaging:service=ServerPeer
       [testng] DEBUG [org.jboss.messaging.core.jmx.MessagingPostOfficeService] Starting jboss.messaging:service=PostOffice
       [testng] DEBUG [jboss.messaging.core.impl.postoffice.MessagingPostOffice] org.jboss.messaging.core.impl.postoffice.MessagingPostOffice@3f09d5 starting
       [testng] DEBUG [jboss.messaging.core.impl.postoffice.MessagingPostOffice] org.jboss.messaging.core.impl.postoffice.MessagingPostOffice@3f09d5 started
       [testng] DEBUG [org.jboss.messaging.core.jmx.MessagingPostOfficeService] Started jboss.messaging:service=PostOffice
       [testng] DEBUG [org.jboss.jms.server.destination.QueueService] Starting jboss.messaging.destination:service=Queue,name=DLQ
       [testng] DEBUG [org.jboss.jms.server.connectionfactory.ConnectionFactoryJNDIMapper] Server[0].ConnFactoryJNDIMapper received notification from node 0
       [testng] DEBUG [org.jboss.jms.server.DestinationJNDIMapper] queue DLQ registered
       [testng] DEBUG [org.jboss.jms.server.DestinationJNDIMapper] queue bound in JNDI as /queue/DLQ
       [testng] DEBUG [org.jboss.jms.server.destination.QueueService] Queue[/queue/DLQ] security configuration: null
       [testng] INFO [org.jboss.jms.server.destination.QueueService] Queue[/queue/DLQ] started, fullSize=200000, pageSize=2000, downCacheSize=2000
       [testng] DEBUG [org.jboss.jms.server.destination.QueueService] Started jboss.messaging.destination:service=Queue,name=DLQ
       [testng] DEBUG [org.jboss.jms.server.destination.QueueService] Starting jboss.messaging.destination:service=Queue,name=ExpiryQueue
       [testng] DEBUG [org.jboss.jms.server.connectionfactory.ConnectionFactoryJNDIMapper] Server[0].ConnFactoryJNDIMapper received notification from node 0
       [testng] DEBUG [org.jboss.jms.server.DestinationJNDIMapper] queue ExpiryQueue registered
       [testng] DEBUG [org.jboss.jms.server.DestinationJNDIMapper] queue bound in JNDI as /queue/ExpiryQueue
       [testng] DEBUG [org.jboss.jms.server.destination.QueueService] Queue[/queue/ExpiryQueue] security configuration: null
       [testng] INFO [org.jboss.jms.server.destination.QueueService] Queue[/queue/ExpiryQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000
       [testng] DEBUG [org.jboss.jms.server.destination.QueueService] Started jboss.messaging.destination:service=Queue,name=ExpiryQueue
       [testng] DEBUG [org.jboss.jms.server.connectionfactory.ConnectionFactory] Starting jboss.messaging.connectionfactory:service=ClusteredConnectionFactory
       [testng] DEBUG [org.jboss.jms.server.connectionfactory.ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@dc80f5 starting
       [testng] DEBUG [org.jboss.jms.server.connectionfactory.ConnectionFactoryJNDIMapper] Server[0].ConnFactoryJNDIMapper registering connection factory 'jboss.messaging.connectionfactory:service=ClusteredConnectionFactory', bindings: /ClusteredConnectionFactory, /ClusteredXAConnectionFactory, java:/ClusteredConnectionFactory, java:/ClusteredXAConnectionFactory
       [testng] WARN [org.jboss.jms.server.connectionfactory.ConnectionFactoryJNDIMapper] supportsFailover attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support failover
       [testng] WARN [org.jboss.jms.server.connectionfactory.ConnectionFactoryJNDIMapper] supportsLoadBalancing attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support load balancing
       [testng] DEBUG [org.jboss.jms.server.connectionfactory.ConnectionFactoryJNDIMapper] Server[0].ConnFactoryJNDIMapper created local delegate ConnectionFactoryDelegate[jboss.messaging.connectionfactory:service=ClusteredConnectionFactory, SID=0]
       [testng] DEBUG [org.jboss.jms.server.connectionfactory.ConnectionFactoryJNDIMapper] Server[0].ConnFactoryJNDIMapper rebinding JBossConnectionFactory->ConnectionFactoryDelegate[jboss.messaging.connectionfactory:service=ClusteredConnectionFactory, SID=0] as /ClusteredConnectionFactory
       [testng] DEBUG [org.jboss.jms.server.connectionfactory.ConnectionFactoryJNDIMapper] Server[0].ConnFactoryJNDIMapper rebinding JBossConnectionFactory->ConnectionFactoryDelegate[jboss.messaging.connectionfactory:service=ClusteredConnectionFactory, SID=0] as /ClusteredXAConnectionFactory
       [testng] DEBUG [org.jboss.jms.server.connectionfactory.ConnectionFactoryJNDIMapper] Server[0].ConnFactoryJNDIMapper rebinding JBossConnectionFactory->ConnectionFactoryDelegate[jboss.messaging.connectionfactory:service=ClusteredConnectionFactory, SID=0] as java:/ClusteredConnectionFactory
       [testng] DEBUG [org.jboss.jms.server.connectionfactory.ConnectionFactoryJNDIMapper] Server[0].ConnFactoryJNDIMapper rebinding JBossConnectionFactory->ConnectionFactoryDelegate[jboss.messaging.connectionfactory:service=ClusteredConnectionFactory, SID=0] as java:/ClusteredXAConnectionFactory
       [testng] INFO [org.jboss.jms.server.connectionfactory.ConnectionFactory] Connector bisocket://capercaillie.local:4457 has leasing enabled, lease period 10000 milliseconds
       [testng] INFO [org.jboss.jms.server.connectionfactory.ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@dc80f5 started
       [testng] DEBUG [org.jboss.jms.server.connectionfactory.ConnectionFactory] Started jboss.messaging.connectionfactory:service=ClusteredConnectionFactory
       [testng] DEBUG [org.jboss.jms.server.connectionfactory.ConnectionFactory] Starting jboss.messaging.connectionfactory:service=ConnectionFactory
       [testng] DEBUG [org.jboss.jms.server.connectionfactory.ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@2814f7 starting
       [testng] DEBUG [org.jboss.jms.server.connectionfactory.ConnectionFactoryJNDIMapper] Server[0].ConnFactoryJNDIMapper registering connection factory 'jboss.messaging.connectionfactory:service=ConnectionFactory', bindings: /ConnectionFactory, /XAConnectionFactory, java:/ConnectionFactory, java:/XAConnectionFactory
       [testng] DEBUG [org.jboss.jms.server.connectionfactory.ConnectionFactoryJNDIMapper] Server[0].ConnFactoryJNDIMapper created local delegate ConnectionFactoryDelegate[jboss.messaging.connectionfactory:service=ConnectionFactory, SID=0]
       [testng] DEBUG [org.jboss.jms.server.connectionfactory.ConnectionFactoryJNDIMapper] Server[0].ConnFactoryJNDIMapper rebinding JBossConnectionFactory->ConnectionFactoryDelegate[jboss.messaging.connectionfactory:service=ConnectionFactory, SID=0] as /ConnectionFactory
       [testng] DEBUG [org.jboss.jms.server.connectionfactory.ConnectionFactoryJNDIMapper] Server[0].ConnFactoryJNDIMapper rebinding JBossConnectionFactory->ConnectionFactoryDelegate[jboss.messaging.connectionfactory:service=ConnectionFactory, SID=0] as /XAConnectionFactory
       [testng] DEBUG [org.jboss.jms.server.connectionfactory.ConnectionFactoryJNDIMapper] Server[0].ConnFactoryJNDIMapper rebinding JBossConnectionFactory->ConnectionFactoryDelegate[jboss.messaging.connectionfactory:service=ConnectionFactory, SID=0] as java:/ConnectionFactory
       [testng] DEBUG [org.jboss.jms.server.connectionfactory.ConnectionFactoryJNDIMapper] Server[0].ConnFactoryJNDIMapper rebinding JBossConnectionFactory->ConnectionFactoryDelegate[jboss.messaging.connectionfactory:service=ConnectionFactory, SID=0] as java:/XAConnectionFactory
       [testng] INFO [org.jboss.jms.server.connectionfactory.ConnectionFactory] Connector bisocket://capercaillie.local:4457 has leasing enabled, lease period 10000 milliseconds
       [testng] INFO [org.jboss.jms.server.connectionfactory.ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@2814f7 started
       [testng] DEBUG [org.jboss.jms.server.connectionfactory.ConnectionFactory] Started jboss.messaging.connectionfactory:service=ConnectionFactory
       [testng] DEBUG [org.jboss.jms.server.connectionfactory.ConnectionFactory] Starting jboss.messaging.connectionfactory:service=ClusterPullConnectionFactory
       [testng] DEBUG [org.jboss.jms.server.connectionfactory.ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@5b55cf starting
       [testng] DEBUG [org.jboss.jms.server.connectionfactory.ConnectionFactoryJNDIMapper] Server[0].ConnFactoryJNDIMapper registering connection factory 'jboss.messaging.connectionfactory:service=ClusterPullConnectionFactory', bindings: null
       [testng] DEBUG [org.jboss.jms.server.connectionfactory.ConnectionFactoryJNDIMapper] Server[0].ConnFactoryJNDIMapper created local delegate ConnectionFactoryDelegate[jboss.messaging.connectionfactory:service=ClusterPullConnectionFactory, SID=0]
       [testng] INFO [org.jboss.jms.server.connectionfactory.ConnectionFactory] Connector bisocket://capercaillie.local:4457 has leasing enabled, lease period 10000 milliseconds
       [testng] INFO [org.jboss.jms.server.connectionfactory.ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@5b55cf started
       [testng] DEBUG [org.jboss.jms.server.connectionfactory.ConnectionFactory] Started jboss.messaging.connectionfactory:service=ClusterPullConnectionFactory
       [testng] INFO [org.jboss.resource.connectionmanager.ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
       [testng] INFO [org.jboss.ejb3.deployers.PersistenceUnitParsingDeployer] Found persistence units [org.jboss.ejb3.metadata.jpa.spec.PersistenceUnitMetaData@362c68{name=integration}]
       [testng] WARN [org.jboss.xb.builder.runtime.CollectionPropertyHandler] ClassInfo.getDeclaredConstructor(null) didn't work for org.jboss.metadata.ejb.spec.InterceptorClassesMetaData, found the default ctor in ClassInfo.getDeclaredConstructors()
       [testng] INFO [org.jboss.ejb3.MCKernelAbstraction] installing bean: persistence.units:jar=test-build.jar,unitName=integration with dependencies:
       [testng] INFO [org.jboss.ejb3.MCKernelAbstraction] and supplies:
       [testng] INFO [org.jboss.ejb3.MCKernelAbstraction] installing bean: jboss.j2ee:jar=test-build,name=TestQueueListener,service=EJB3 with dependencies:
       [testng] INFO [org.jboss.ejb3.MCKernelAbstraction] and supplies:
       [testng] INFO [org.jboss.ejb3.MCKernelAbstraction] Class:javax.jms.MessageListener
       [testng] INFO [org.jboss.ejb3.EJBContainer] STARTED EJB: org.jboss.seam.test.integration.MessagingTest$TestQueueListener ejbName: TestQueueListener
       [testng] WARN [org.jboss.ejb3.timerservice.jboss.JBossTimerServiceFactory] TIMER SERVICE IS NOT INSTALLED
       [testng] INFO [org.jboss.ejb3.MCKernelAbstraction] installing bean: jboss.j2ee:jar=test-build,name=TestTopicListener,service=EJB3 with dependencies:
       [testng] INFO [org.jboss.ejb3.MCKernelAbstraction] and supplies:
       [testng] INFO [org.jboss.ejb3.MCKernelAbstraction] Class:javax.jms.MessageListener


        • 1. Re: Naming Exception from Embedded
          Adrian Brock Master

          Looks like a dependency issue to me.

          Look at the location of this message:

           [testng] DEBUG [org.jboss.jms.server.destination.TopicService] Creating jboss.mq.destination:service=Topic,name=testTopic
          


          compared to when the lookup occurs.

          The resource adapter will try to activate the MDB again 10 seconds after the failure:
          "reconnect=10" in the activation config.



          • 2. Re: Naming Exception from Embedded
            Tim Fox Master

             

            "pete.muir@jboss.org" wrote:
            Another JMS/Embedded problem. This is using the beta3 tag of AS5, so JBM 1.4.0.SP1-brew.


            That's old, 1.4.0.SP3 is the latest and what is in EAP 4.3.


            [testng] DEBUG [org.jboss.jms.server.destination.TopicService] Creating jboss.mq.destination:service=Topic,name=testTopic


            jboss,mq?

            You're using the old JBoss MQ names?

            • 3. Re: Naming Exception from Embedded
              Pete Muir Master

               

              "adrian@jboss.org" wrote:
              Looks like a dependency issue to me.


              Yes. I subsequently tried placing the destinations into the embedded "bootstrap" folder, rather than deploying them from the classpath, and in this case the deployment order was correct.

              http://jira.jboss.org/jira/browse/EMB-6

              timfox wrote:
              That's old, 1.4.0.SP3 is the latest and what is in EAP 4.3.


              I'm trying to keep the library versions for Embedded beta3 in line with AS5 beta3 where possible.

              timfox wrote:
              jboss,mq?

              You're using the old JBoss MQ names?


              Sorry, mistake on my part. Updated to JBM names now :)