deepak mk [
http://community.jboss.org/people/deepak.mk] created the discussion
"PLEASE HELP ME JBOSS QUEUE NOT BOUND EXCEPTION"
To view the discussion, visit:
http://community.jboss.org/message/544525#544525
--------------------------------------------------------------
Hi,
Please anyone here help me in resolving the exception coming below ,:-
07:05:23,970 ERROR [JmsActivation] Unable to reconnect
mailto:org.jboss.resource.adapter.jms.inflow.JmsActivationSpec@707b124c(ra=org.jboss.resource.adapter.jms.JmsResourceAdapter@cba816c
org.jboss.resource.adapter.jms.inflow.JmsActivationSpec@707b124c(ra=org.jboss.resource.adapter.jms.JmsResourceAdapter(a)cba816c
destination=NewsProcessorQueue destinationType=javax.jms.Queue selector= tx=true
durable=false reconnect=10 provider=DefaultJMSProvider user=null maxMessages=1
minSession=1 maxSession=15 keepAlive=30000 useDLQ=true
DLQHandler=org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler
DLQJndiName=queue/DLQ DLQUser=null DLQMaxResent=10)
javax.naming.NameNotFoundException: NewsProcessorQueue not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:771)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:779)
at org.jnp.server.NamingServer.getObject(NamingServer.java:785)
at org.jnp.server.NamingServer.lookup(NamingServer.java:443)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:726)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:686)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at org.jboss.util.naming.Util.lookup(Util.java:222)
at
org.jboss.resource.adapter.jms.inflow.JmsActivation.setupDestination(JmsActivation.java:464)
at
org.jboss.resource.adapter.jms.inflow.JmsActivation.setup(JmsActivation.java:352)
at
org.jboss.resource.adapter.jms.inflow.JmsActivation.handleFailure(JmsActivation.java:292)
at
org.jboss.resource.adapter.jms.inflow.JmsActivation$SetupActivation.run(JmsActivation.java:733)
at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:205)
at org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:260)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
I migrated from jboss 4 to jboss 5.1 GA , i am getting the exeception above as queue not
bound . I have the configured the queue name in destinations-service.xml as follows :-
<mbean code="org.jboss.jms.server.destination.QueueService"
name="jboss.messaging.destination:service=Queue,name=NewsProcessorQueue"
xmbean-dd="xmdesc/Queue-xmbean.xml">
<depends
optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
<depends>jboss.messaging:service=PostOffice</depends>
</mbean>
I also tried including <create-destiantion>true</create-destination> tag in
jboss.xml . Not able to resolve this exception. Can anyone please help me
in this regard.
Deepak
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/544525#544525]
Start a new discussion in JBoss Messaging at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]