I'm getting this when trying to connect to JBossmq when trying to build the
MessageDrivenBean example in the documentation:

javax.naming.NameNotFoundException: TopicConnectionFactory not bound
        at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:349)
        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:333)
        at javax.naming.InitialContext.lookup(InitialContext.java:350)
        at messagedrivenejb.bean.Main.main(Main.java:34)

I have the jndi.properties in the client directory and I can see the
TopicConnectionFactory value in the JBossmq.xml file. But the following
creates the exception

// Get access to JNDI
      Context context = new InitialContext();

      // Lookup the managed connection factory for a topic
      TopicConnectionFactory topicFactory =
         (TopicConnectionFactory)context.lookup("TopicConnectionFactory");


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to