Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Getting class cast exception in JBOSS  RSS feed

karimkhan pathan
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ima getting a class cast exception when i try to cast javax.jms.objectmessage to my local interface.
the error trace is this ..
Exception in thread "Thread-172"
2008-10-30 05:00:07,132 ERROR [STDERR] java.lang.ClassCastException: com.tanlamobile.mms.dr.EAIFDRAdapter
2008-10-30 05:00:07,132 ERROR [STDERR] at com.tanlamobile.mms.dr.MerchantNotificationConsumerThread.onMessage(

onMessage is just a method with a receiving a javax.jms.Message object from a message consumer.
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!