Hello again! I'm trying to use JMS and MDB. I used those tutorials:
http://cwiki.apache.org/GMOxDOC21/jms-mdb-jms-and-mdb-sample-application.html and http://cwiki.apache.org/GMOxDOC21/jms-application-with-message-driven-bean.html With the first one I always had an error because it find the geronimo-activemq-ra-2.1.4.rar file. It was strange because it is inside Geronimo. But I tried to make some changes using the second tutorial. Now I get this error: Deployment failed: org.apache.openejb.OpenEJBException: Cannot unmarshall the ejb-jar.xml file: jar:file:/C:/SERVIDORES/geronimo-tomcat6-javaee5-2.1.4/var/temp/geronimo-deploymentUtil8910761794523173248.jar!/META-INF/ejb-jar.xml: unexpected element (uri:"http://java.sun.com/xml/ns/javaee", local:"openejb-jar"). Expected elements are <{http://java.sun.com/xml/ns/javaee}destination-type>,<{http://java.sun.com/xml/ns/javaee}ejb-jar>,<{http://java.sun.com/xml/ns/javaee}handler-chains>,<{http://java.sun.com/xml/ns/javaee}message-driven-destination>,<{http://java.sun.com/xml/ns/javaee}subscription-durability> Any help? By the way, should my ejb-jar.xml have a "openejb-jar" tag, or a "ejb-jar", or what? And the last thing. Where should my "jms-resources.xml" file be? Is it necessary? Thank you very much. Antonio -- View this message in context: http://old.nabble.com/Trying-to-set-up-a-MDB-tp26137988s134p26137988.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
