How to serialize large message object in JMS?
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Deva_Raajan
Posted On:   Tuesday, December 16, 2003 04:53 AM

When I construct an object that comprises of 10 line items, the message is passed without any problem. But a message need to be sent for more than 20 line items, an error is thrown as:
javax.jms.JMSException: setObject: problem serializing copy

Please tell me how to fix out this.

Environment:
O/S - Windows 2000 professional
Apps server - WebLogic 5.1.0
JVM - jdk1.2.2

Re: How to serialize large message object in JMS?

Posted By:   Laurent_Mihalkovic  
Posted On:   Thursday, December 18, 2003 06:19 PM

if you still have some trouble, post the code for the object and someone will most likely point you in the right direction.

cheers

Re: How to serialize large message object in JMS?

Posted By:   Laurent_Mihalkovic  
Posted On:   Thursday, December 18, 2003 06:18 PM

the problem is not so much in the environment, but in the object that you are trying to serialize.... JMS has nothing to do with the problem either. i would suggest that you isolate the object and "play" with it until you have the serialization right. You may also want to read about serialization as you cannot do just anything. there are some strict rules and guidelines.
About | Sitemap | Contact