geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevan Miller <kevan.mil...@gmail.com>
Subject Re: javax.jms.JMSException: Failed to build body from bytes
Date Tue, 16 Sep 2008 16:45:18 GMT

On Sep 16, 2008, at 11:24 AM, jklcom99 wrote:

>
> Kevan,
>
> I'm in a process of adding all dependencies to appJMS module.  I'm  
> getting
> the following error even with
>        <hidden-classes>
>            <filter>org.jdom</filter>
>        </hidden-classes>
>
> j2eeType=GBean,name=RMI_Startup"java.lang.LinkageError: loading  
> constraint
> violation: loader
> "org/apache/geronimo/kernel/classloader/JarFileClassLoader@78ea78ea"
> previously initiated loading for a different type with name
> "org/jdom/Document" defined by loader
> "org/apache/geronimo/kernel/classloader/JarFileClassLoader@5de95de9"

Heh. I've never seen that before... What's the stacktrace for the Error?

>
>
> By the way,
> It has the correct id
> [org.apache.geronimo.kernel.config.MultiParentClassLoader
> id=test/ear/1.0/car] right before the message gets sent by
> javax.jms.MessageProducer.

The ClassLoader problem wouldn't be in your MessageProducer, it will  
be in your MDB. We need to know the contextClassLoader when  
onMessage() is invoked on your MDB.

--kevan

Mime
View raw message