Register / Login
File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
Win a copy of
Clojure in Action
this week in the
Other Open Source Projects
JMSException Error deserializing object
Priyaa V Kumar
posted 11 years ago
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:
Exception in receiving ObjectMessage in JMS
MDB onMessage method
Error deserializing Object
RE: Receiveing ObjectMessage in JMS
weblogic.jms. common.JMSException: Error deserializing object