2 Replies Latest reply on Nov 8, 2002 2:21 PM by adrian.brock

    QueueConnectionFactory not bound

    jdsys

      I am using JBoss 3.0.2 on Win2K using JDK 1.4. I am trying to run the MDB sample found in the "JBoss Administration and Development" book. I have been able to compile and deploy the MDB, but when I attempt to run the client I get the following exceptions:

      run-example2:
      [copy] Copying 1 file to C:\JBoss-3.0.2\server\default\deploy
      [echo] Waiting for deploy...
      [java] Begin sendRecvAsync
      [java] javax.naming.NameNotFoundException: QueueConnectionFactory not bound

      [java] at org.jnp.server.NamingServer.getBinding(NamingServer.java:495)

      [java] at org.jnp.server.NamingServer.getBinding(NamingServer.java:503)

      [java] at org.jnp.server.NamingServer.getObject(NamingServer.java:509)
      [java] at org.jnp.server.NamingServer.lookup(NamingServer.java:282)
      [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
      sorImpl.java:39)
      [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
      hodAccessorImpl.java:25)
      [java] at java.lang.reflect.Method.invoke(Method.java:324)
      [java] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.jav
      a:261)
      [java] at sun.rmi.transport.Transport$1.run(Transport.java:148)
      [java] at java.security.AccessController.doPrivileged(Native Method)
      [java] at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
      [java] at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTranspor
      t.java:460)
      [java] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPT
      ransport.java:701)
      [java] at java.lang.Thread.run(Thread.java:536)
      [java] at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServe
      r(StreamRemoteCall.java:247)
      [java] at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCa
      ll.java:223)
      [java] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:133)
      [java] at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
      [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:45
      6)
      [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:44
      0)
      [java] at javax.naming.InitialContext.lookup(InitialContext.java:347)
      [java] at org.jboss.chap4.ex2.SendRecvClient.setupPTP(SendRecvClient.ja
      va:55)
      [java] at org.jboss.chap4.ex2.SendRecvClient.sendRecvAsync(SendRecvClie
      nt.java:70)
      [java] at org.jboss.chap4.ex2.SendRecvClient.main(SendRecvClient.java:9
      4)
      [java] Exception in thread "main"
      [java] Java Result: 1

      I have looked at several posts and I am not sure where do I configure the JBossMQ (jms-service.xml, jbossmq-state.xml, or jboss.jcml). Any help to solve this issue will be greatly appreciated. Thanks in advance. :)