This content has been marked as final.
Show 2 replies
-
1. Re: classcast exception while using JMS with Jboss4.0.3 SP1
jaikiran May 15, 2006 3:22 PM (in response to csudhi)Check, if there are more than one jboss-j2ee.jar files in your classpath
-
2. Re: classcast exception while using JMS with Jboss4.0.3 SP1
csudhi May 15, 2006 5:11 PM (in response to csudhi)Thanks jaikiran for responding. I just figured out that i have both jboss-j2ee.jar and jbossall-client.jar in my classspath. Both have javax.jms.Queue in them and could be of different versions. jbossall-client.jar has both org.jboss.mq.SpyQueue and javax.jms.Queue.
I removed jboss-j2ee.jar from my classspath to resolve my issue.