1 Reply Latest reply on May 27, 2002 2:56 AM by Slava

    Connection to mdb from client failed

    Slava Newbie

      I am trying to connect from client to mdb
      bean and I get this error
      javax.naming.NameNotFoundException: JTCF not bound
      at org.jnp.server.NamingServer.getBinding(NamingServer.java:495)
      at org.jnp.server.NamingServer.getBinding(NamingServer.java:503)
      at org.jnp.server.NamingServer.getObject(NamingServer.java:509)
      at org.jnp.server.NamingServer.lookup(NamingServer.java:282)
      at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
      at sun.rmi.transport.Transport$1.run(Transport.java:148)
      at java.security.AccessController.doPrivileged(Native Method)

      The error message above I got when I run client .

      When I deploy Mdb.jar on server console I see the next
      [EjbModule] Deploying Mdb
      23:42:32,951 WARN [JMSContainerInvoker] destination not found: topic/sampleTopic reason: javax.naming.NameNotFoundException: sampleTopic not bound
      23:42:32,952 WARN [JMSContainerInvoker] creating a new temporary destination: topic/sampleTopic
      23:42:32,971 INFO [sampleTopic] Creating
      23:42:32,972 INFO [sampleTopic] Created
      23:42:32,973 INFO [sampleTopic] Starting
      23:42:33,092 INFO [sampleTopic] Bound to JNDI name: topic/sampleTopic
      23:42:33,093 INFO [sampleTopic] Started
      23:42:33,844 WARN [SecurityManager] No SecurityMetadadata was available for sampleTopic adding default security conf
      23:42:33,895 INFO [EjbModule] Created
      23:42:33,897 INFO [EjbModule] Starting
      23:42:33,901 WARN [MessageDrivenContainer] No resource manager found for jms/JTCF
      23:42:33,904 INFO [EjbModule] Started

      I am attaching my Mdb.jar and MdbClient.java