A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
REST with Spring (video course)
this week in the
Other Open Source Projects
JMSException Error deserializing object
Priyaa V Kumar
Joined: Aug 12, 2004
Aug 30, 2004 07:35:00
I created a class called Result that implements the Serializable interface.
I send this serializable object to a Topic using Log4J's JMSAppender.
in my client prg that uses log4j to send message to a topic, I write
When I deploy the message driven bean, i include the Result class in the jar.
On the MDB, I try to get the Result object like this
if (message instanceof ObjectMessage)
ObjectMessage m = (ObjectMessage) message;
Result rslt = (Result) m.getObject();
I get a
" Error deserializing object" ... Why is the Result class not available to the bean to deserialise? I unjared the deployed mdb and found the Result.class
I agree. Here's the link:
subject: JMSException Error deserializing object
Exception in receiving ObjectMessage in JMS
MDB onMessage method
Error deserializing Object
RE: Receiveing ObjectMessage in JMS
weblogic.jms. common.JMSException: Error deserializing object
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015