Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / JavaBeans / June 2004

Tip: Looking for answers? Try searching our database.

JMS Deserialization Error

Thread view: 
goldilocks25 - 14 Jun 2004 11:48 GMT
Hi, I am encountering the JMS Exception 'Error deserializing object'
in weblogic . I do not have the stack trace. The same code works
perfectly fine 99% of the time. It throws exception at random very
rarely. Can anyone help me with the possible causes of this exception.

Thanks in advance.
Murray - 16 Jun 2004 12:22 GMT
> Hi, I am encountering the JMS Exception 'Error deserializing object'
> in weblogic . I do not have the stack trace. The same code works
> perfectly fine 99% of the time. It throws exception at random very
> rarely. Can anyone help me with the possible causes of this exception.
>
> Thanks in advance.

Well it is difficult to know without having the stack trace. It's possible
that a class in the model:
   a) is not Serializable
   b) is not found in the classpath
   c) is a different version to the class that was used to create the
original serialized data (it has been modified and hence the serial numbers
of the classes don't match)

As for why it's only occurring sometimes, who knows? Maybe the particular
piece of code isn't always called, or the object model may not always
contain a reference to the troublesome class. It could also be a standard IO
error like corrupted stream

Is there no way of getting at the stack trace? You've checked the server
logs?


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.