• Post Reply Bookmark Topic Watch Topic
  • New Topic

JMS problem  RSS feed

 
Jayadev Pulaparty
Ranch Hand
Posts: 662
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to create a queue and make a client send messages to it. A message driven EJB will be listening to the messages. The queue name is jms/MyQueue and it gets created successfully from the J2EE admin. I'm running the samples given in J2EE1.3 tutorial on MessageDriven beans. When i deploy the application and run the client to post the messages to the queue, i get the following error -
D:\PulapartyBackup\suresh\j2eetutorial13\examples\ears>runclient -client SimpleM
essageApp.ear -name SimpleMessageClient -textauth
Initiating login ...
Enter Username:guest
Enter Password:guest123
Binding name:`java:comp/env/jms/MyQueue`
Binding name:`java:comp/env/jms/MyQueue`
Application threw an exception:java.lang.ClassCastException: com.sun.jms.QueueImpl
Can someone please help.
Thanks.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!