RE: Serialization error
"Tim Anderson" <[email protected]> Thu, 1 Jun 2006 22:15:34 +1000
| Newsgroups | gmane.comp.java.openjms.user |
|---|---|
| Message-ID | <[email protected]> |
Its most likely a classloader issue. Search back through the archives for related posts: http://search.gmane.org/search.php?group=gmane.comp.java.openjms.user&query= MessageFormatException > From: Andrea Cerisara > > Hi. I'm using ObjectMessage wrapping a custom value object. > The object implements Serializable interface and, in my > development systems (OSX and Windows with Java 1.5), all works good. > I'm trying now to setup a test environment based on Linux and > the latest Sun JVM, but OpenJMS throws an exception > (MessageFormatException) when I get back the value object > from the ObjectMessage (getObject()). > It's seems that the JVM don't find the class (the related > exception of MessageFormatException is > ClassNotFoundException) but the value object is serialized by > another thread of the same application. > Any suggestion? > > Thanks, > Andrea. ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642