Originally posted by Sahil Sharma: 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.
I have included jms.jar in the classpath.
Any help will be appreciated..
Thanx in advance.
Try something like this to see what the actual type of the object is.