[jboss-user] [EJB/JBoss] - Can't lookup queue/B
happytour
do-not-reply at jboss.com
Fri Jun 15 08:35:21 EDT 2007
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
More information about the jboss-user
mailing list