RE: Getting MessageFormatException while consuming message

"Tim Anderson" <[email protected]>
Newsgroups gmane.comp.java.openjms.user
Message-ID <[email protected]>
> From: Archana Deshmukh
> 
> Hi,
> We use  Publish/Subscribe (Topic destination) jms messageing 
> model ,  openjms version 0.7.7 and Type of message published 
> is  Object Messages (serializeable java object)
> 
> 
> While consuming message i am getting MessageFormatException.
> Same program works fine as individual but doesn't work if 
> deployed as a part of application.
> 
> Any help would be greatly appreciated.
> 

Possibly a classloader issue. JMSException.getLinkedException()
should return the cause.
One likely cause is that the class of the serialized object cannot
be seen by the classloader used to load openjms.
You can get around this by deploying the openjms jars with your
application.

-Tim


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.