geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Blevins <david.blev...@visi.com>
Subject Re: Pass EJBObject - serialization/deserialization
Date Sat, 01 Dec 2007 22:38:29 GMT
On Dec 1, 2007, at 4:34 AM, Tomasz Mazan wrote:

> Driver which receives JmsRequest and send JmsResponse have to get  
> some data
> from JmsRequest, but Handle is only get from JmsRequest and put to
> JmsResponse. In fact it doesn't, but it should.
>
> Where is cause of that JMSException ?
>

> javax.jms.JMSException: Failed to build body from bytes. Reason:
> java.io.IOException:  
> myapp.dispatcher.feedback.FeedbackGateEjbRemoteObject
> 	at
> org 
> .apache 
> .activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:33)
> 	at
> org 
> .apache 
> .activemq 
> .command.ActiveMQObjectMessage.getObject(ActiveMQObjectMessage.java: 
> 172)


As I suspected in IRC, it seems ActiveMQ cannot see the  
myapp.dispatcher.feedback.FeedbackGateEjbRemoteObject class and  
therefore cannot deserialize the ObjectMessage.

You should try serializing and deserializing the Handle in your bean  
code where the class is visible.

-David



Mime
View raw message