• Post Reply Bookmark Topic Watch Topic
  • New Topic

Exception in JMS

 
bhuvan sundar
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi friends,

I'm new to JMS and working on a simple point-to-point domain. When i run the client, i get ClassCastException.

//code where the exception occurs

QueueConnectionFactory queueConFactory =(QueueConnectionFactory)ctx.lookup(JNDIname);

Please help me in resolving this...

Thanks in advance...
 
Annie Smith
Ranch Hand
Posts: 172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The information you have posted is quite less. I guess it has something to do with adding a required JAR to the CLASSPATH.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!