ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » Exception at onMessage in MDB

Post new topic  Reply to topic
 Exception at onMessage in MDB « View previous topic :: View next topic » 
Author Message
prasannal
PostPosted: Wed Nov 19, 2003 4:08 am    Post subject: Exception at onMessage in MDB Reply with quote

Apprentice

Joined: 04 Aug 2003
Posts: 44

Hi,
I am getting ClassCastException at onMessage method in MDB.
Exception detail says: com.ibm.jms.JMSNullMessage

What should be the reason?
Pls let me know ASAP.
Thanks.
Pras
Back to top
View user's profile Send private message
bower5932
PostPosted: Wed Nov 19, 2003 6:33 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

Could be a bug. What version of MQ are you running (use mqver)? Is this embedded JMS or full MQ? Can you put the top part of the stack trace here?
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
jefflowrey
PostPosted: Wed Nov 19, 2003 6:35 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Are you workiing in WebSphere Application Server (presumably version 5, since v4 and earlier don't support MDBs)? Or something else?

Can we see the actual code that throws the error?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Exception at onMessage in MDB
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.