Greetings,
In a simple piece of code Im doing the following:
InitialContext ctx = new InitialContext();
| Queue q = (Queue)ctx.lookup ("queue/B");
This raises the following exception:
Exception in thread "main" java.lang.ClassCastException: javax.naming.Reference
| at
ro.happytour.happyledger.jms.client.JMSProviderClient.main(JMSProviderClient.java:13)
Looking at the object returned by the lookup, it appears to be of type
javax.naming.Reference. Could someone please help as I already posted this
message several time, without any reply ?
Many thanks in advance,
Nicolas
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4055101#4055101
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4055101
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user