geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jklcom99 <jeff_k...@yahoo.com>
Subject Re: javax.jms.JMSException: Failed to build body from bytes
Date Wed, 10 Sep 2008 20:42:14 GMT

Kevan,

Is this classloader problem fixed?

Thanks


Kevan Miller wrote:
> 
> 
> On Jul 16, 2008, at 6:27 PM, jklcom99 wrote:
> 
>>
>> Kevan,
>> Your assumption is correct.  I've moved the jms connector into my ear
>> deployment plan as you suggested.  JMS is now happy.
>> I'll see if I can mock up some artifacts for you.
> 
> I spoke with David Blevins about this problem. Looks like OpenEJB is  
> not setting the MDB classloader before the message is delivered to the  
> MDB, by ActiveMQ. Thus the ClassLoader in effect, when the connector  
> is deployed separately, is the Connector ClassLoader, instead of the  
> MDB ClassLoader.
> 
> By the way, there's another potential work-around -- add a dependency  
> in your appJMS module for the necessary jar files (which you have  
> installed into your repository).
> 
> --kevan
> 
> 

-- 
View this message in context: http://www.nabble.com/javax.jms.JMSException%3A-Failed-to-build-body-from-bytes-tp18404327s134p19422719.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Mime
View raw message