0 Replies Latest reply on May 24, 2010 11:24 AM by deepak mk

    PLEASE HELP ME JBOSS QUEUE NOT BOUND EXCEPTION

    deepak mk Newbie

      Hi,

       

      Please anyone here help me in resolving the exception coming below ,:-

       

       

      07:05:23,970 ERROR [JmsActivation] Unable to reconnect org.jboss.resource.adapter.jms.inflow.JmsActivationSpec@707b124c(ra=org.jboss.resource.adapter.jms.JmsResourceAdapter@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