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 Mon, 13 Oct 2008 21:10:26 GMT

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?

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


Mime
View raw message