Greetings,

In a simple JMS producer I'm doing the following

    InitialContext ctx = new InitialContext();
  |     Queue q = (Queue)ctx.lookup ("queue/B");

This raises the following exception:

Exception in thread "main" javax.naming.CommunicationException [Root exception 
is java.rmi.NoSuchObjectException: no such object in table]
  |         at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:722)
  |         at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
  |         at javax.naming.InitialContext.lookup(InitialContext.java:351)
  |         at 
ro.happytour.happyledger.jms.client.JMSProviderClient.main(JMSProviderClient.java:11)
  | Caused by: java.rmi.NoSuchObjectException: no such object in table

Could anybody please help ?

Kind regards,

Nicolas


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054723#4054723

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054723
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to