Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 44856 invoked from network); 30 Oct 2009 22:51:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 30 Oct 2009 22:51:33 -0000 Received: (qmail 57731 invoked by uid 500); 30 Oct 2009 22:51:32 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 57686 invoked by uid 500); 30 Oct 2009 22:51:32 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 57678 invoked by uid 99); 30 Oct 2009 22:51:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Oct 2009 22:51:32 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Oct 2009 22:51:28 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1N40JH-0003Ax-LH for user@geronimo.apache.org; Fri, 30 Oct 2009 15:51:07 -0700 Message-ID: <26137988.post@talk.nabble.com> Date: Fri, 30 Oct 2009 15:51:07 -0700 (PDT) From: =?UTF-8?Q?Antonio_Forni=C3=A9?= To: user@geronimo.apache.org Subject: Trying to set up a MDB MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: sitaronocturnal@gmail.com 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.