I m using JBoss 4.0.3 and i am getting a class cast exception when i try to 
look up any thing in the context...
e.g. when i say:
myQueue = (Queue) ctx.lookup("queue/A")
i get a class cast exception although org.jboss.mq.SpyQueue implements 
javax.jms.Queue:

java.lang.ClassCastException: org.jboss.mq.SpyQueue



I have included jboss-j2ee.jar in the classpath.

Any help will be appreciated.

-Sudheer.


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3943638


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to