• Post Reply Bookmark Topic Watch Topic
  • New Topic

Getting class cast exception in JBOSS

 
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(MerchantNotificationConsumerThread.java:38)

onMessage is just a method with a receiving a javax.jms.Message object from a message consumer.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!