[jboss-user] [EJB 3.0] - Unable to inject jndi dependency: env/.../queue into propert
ejb3workshop
do-not-reply at jboss.com
Mon Sep 24 10:49:11 EDT 2007
Deploying the beans without defining the queues via the services succeeds, but during the execution the following errors are reported on the second node :
anonymous wrote :
| 15:46:02,000 INFO [EJB3Deployer] Deployed: file:/C:/jboss-4.2.1.GA/server/all/farm/ThunderheadEJB.jar
| 15:48:28,703 INFO [BatchJobProcessor] Instantiating BatchJobProcessors
| 15:48:28,718 ERROR [JmsServerSession] Unexpected error delivering message org.jboss.mq.SpyMapMessage {
| Header {
| jmsDestination : QUEUE.BatchJobProcessors
| jmsDeliveryMode : 2
| jmsExpiration : 0
| jmsPriority : 4
| jmsMessageID : ID:13-11906453102031
| jmsTimeStamp : 1190645310203
| jmsCorrelationID: null
| jmsReplyTo : null
| jmsType : null
| jmsRedelivered : false
| jmsProperties : {}
| jmsPropReadWrite: false
| msgReadOnly : true
| producerClientId: ID:13
| }
| }
| java.lang.RuntimeException: Unable to inject jndi dependency: env/com.thunderhead.backend.BatchJobProcessor/queue into property com.thunderhead.backend.BatchJobProcessor.queue: queue not bound
| at org.jboss.injection.JndiPropertyInjector.lookup(JndiPropertyInjector.java:76)
| at org.jboss.injection.JndiPropertyInjector.inject(JndiPropertyInjector.java:88)
| at org.jboss.injection.JndiPropertyInjector.inject(JndiPropertyInjector.java:83)
| at org.jboss.injection.JndiPropertyInjector.inject(JndiPropertyInjector.java:55)
| at org.jboss.ejb3.AbstractPool.create(AbstractPool.java:111)
| at org.jboss.ejb3.StrictMaxPool.get(StrictMaxPool.java:141)
| at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:54)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.mdb.MessagingContainer.localInvoke(MessagingContainer.java:245)
| at org.jboss.ejb3.mdb.inflow.MessageInflowLocalProxy.delivery(MessageInflowLocalProxy.java:268)
| at org.jboss.ejb3.mdb.inflow.MessageInflowLocalProxy.invoke(MessageInflowLocalProxy.java:138)
| at $Proxy98.onMessage(Unknown Source)
| at org.jboss.resource.adapter.jms.inflow.JmsServerSession.onMessage(JmsServerSession.java:178)
| at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:891)
| at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:170)
| at org.jboss.mq.SpySession.run(SpySession.java:323)
| at org.jboss.resource.adapter.jms.inflow.JmsServerSession.run(JmsServerSession.java:237)
| at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:204)
| at org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:275)
| at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)
| at java.lang.Thread.run(Thread.java:619)
| Caused by: javax.naming.NamingException: Could not dereference object [Root exception is javax.naming.NameNotFoundException: queue not bound]
| at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:1069)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:702)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:589)
| at org.jboss.injection.JndiPropertyInjector.lookup(JndiPropertyInjector.java:69)
| ... 20 more
| Caused by: javax.naming.NameNotFoundException: queue not bound
| at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
| at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
| at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
| at org.jnp.server.NamingServer.lookup(NamingServer.java:267)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:589)
| at javax.naming.InitialContext.lookup(InitialContext.java:392)
| at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:1063)
| ... 23 more
| 15:48:28,859 INFO [BatchJobProcessor] Instantiating BatchJobProcessors
| 15:48:28,859 ERROR [JmsServerSession] Unexpected error delivering message org.jboss.mq.SpyMapMessage {
| Header {
| jmsDestination : QUEUE.BatchJobProcessors
| jmsDeliveryMode : 2
| jmsExpiration : 0
| jmsPriority : 4
| jmsMessageID : ID:13-11906453102031
| jmsTimeStamp : 1190645310203
| jmsCorrelationID: null
| jmsReplyTo : null
| jmsType : null
| jmsRedelivered : true
| jmsProperties : {JMS_JBOSS_REDELIVERY_COUNT=1}
| jmsPropReadWrite: false
| msgReadOnly : true
| producerClientId: ID:13
| }
| }
| java.lang.RuntimeException: Unable to inject jndi dependency: env/com.thunderhead.backend.BatchJobProcessor/queue into property com.thunderhead.backend.BatchJobProcessor.queue: queue not bound
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087974#4087974
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4087974
More information about the jboss-user
mailing list