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, 14 Oct 2008 01:29:38 GMT

On Oct 13, 2008, at 5:10 PM, jklcom99 wrote:

>
> Hi Kevan,
>
> I tested out your sample with inPlace deplopment today and it works,  
> the
> ContextClassLoader is correct.
>
> In the sample deployment plan:
> <?xml version="1.0" encoding="UTF-8"?>
> <application xmlns="http://java.sun.com/xml/ns/javaee"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
> http://java.sun.com/xml/ns/javaee/application_5.xsd" version="5">
>  <description>Geronimo Sample EAR for jms-mdb</description>
>  <display-name>Geronimo Sample EAR for jms-mdb</display-name>
>  <module>
>    <ejb>jms-mdb-ejb-2.1.2-SNAPSHOT.jar</ejb>
>  </module>
>  <module>
>    <web>
>      <web-uri>jms-mdb-war-2.1.2-SNAPSHOT.war</web-uri>
>      <context-root>/order</context-root>
>    </web>
>  </module>
> </application>
>
> Where ejb reference is an actual jar jms-mdb-ejb-2.1.2-SNAPSHOT.jar  
> under
> jms-mdb.ear
>
> In MyApp deployment plan
>
> <application>
> ...
>
> <module>
>   <ejb>app-ejb.jar<ejb>
> </module>
>
> ...
> </application>
>
> where app-ejb.jar is another folder under:
> -> MyApp.ear
>    -> app-ejb.jar
>       -> META-INF
>           - manifest.mf
>           - openejb-jar.xml
>
> Is there something I'm missing in migrating from 1.1.1 to 2.1.2?

Hi Jeff,
Slowly, but surely.... :)  So, what does your openejb-jar.xml look  
like? FYI, I exploded my jar, ran an inplace deploy, and the  
ClassLoader looks correct. Still looking for a way to reproduce your  
problem...

--kevan
Mime
View raw message