1 Reply Latest reply on Apr 9, 2010 9:57 AM by ilango gurusamy

    javax.naming.NameNotFoundException: env not bound while sarting the server Jboss 5.1.0

    Prakash M Novice

      Hi,

      Am migrating the jboss 4.2.3 to jboss 5.

      After deploying the ear file named application engine (which was working fine in jboss 4.2.3), tried to start the jboss server. Following exception has thrown while starting the server in console.

       

      19:05:16,568 DEBUG [JmsActivation] Setup DLQ org.jboss.resource.adapter.jms.inflow.JmsActivation@6480d7(spec=org.jboss.resource.adapter.jms.inflow.JmsActivationSpec@d3776e mepf=org.jboss.ejb.plugins.jms.JMSContainerInvoker@46bf27 active=true dlq=org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler@38aa1e transacted=true)
      19:05:16,568 DEBUG [JmsActivation] Destination type defined as javax.jms.Queue
      19:05:16,568 DEBUG [JmsActivation] Retrieving destination java:comp/env/jms/input.queue of type javax.jms.Queue
      19:05:16,568 ERROR [JmsActivation] Unable to reconnect org.jboss.resource.adapter.jms.inflow.JmsActivationSpec@d3776e(ra=org.jboss.resource.adapter.jms.JmsResourceAdapter@122effd destination=java:comp/env/jms/input.queue destinationType=javax.jms.Queue selector=targetEngine = 'application engine' tx=true durable=false reconnect=10 provider=DefaultJMSProvider user=null maxMessages=1 minSession=1 maxSession=75 keepAlive=30000 useDLQ=true DLQHandler=org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler DLQJndiName=queue/DLQ DLQUser=null DLQMaxResent=10)
      javax.naming.NameNotFoundException: env 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:396)
          at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:726)
          at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:833)
          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:886)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
          at java.lang.Thread.run(Thread.java:619)
      19:05:22,099 DEBUG [ServerInvoker] SocketServerInvoker[192.168.30.223:746797732] stopped

       

      Could you please anyone help on this issue?

       

      Regards,

      Prakash