Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 22465 invoked from network); 6 Jun 2008 18:57:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Jun 2008 18:57:33 -0000 Received: (qmail 13922 invoked by uid 500); 6 Jun 2008 18:57:34 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 13901 invoked by uid 500); 6 Jun 2008 18:57:34 -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 13890 invoked by uid 99); 6 Jun 2008 18:57:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Jun 2008 11:57:34 -0700 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of david.blevins@visi.com designates 208.42.176.213 as permitted sender) Received: from [208.42.176.213] (HELO g2host.com) (208.42.176.213) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Jun 2008 18:56:42 +0000 Received: from [71.106.104.69] (account dblevins@visi.com HELO [192.168.42.13]) by mailfront2.g2host.com (CommuniGate Pro SMTP 5.1.14) with ESMTPSA id 52035650 for user@geronimo.apache.org; Fri, 06 Jun 2008 13:56:50 -0500 Message-Id: <98E1F1BD-E18B-4BA1-92E7-54E282CACA8B@visi.com> From: David Blevins To: user@geronimo.apache.org In-Reply-To: <17698446.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v919.2) Subject: Re: DeploymentException: Module was not an EJB: EntitiesES.jar Date: Fri, 6 Jun 2008 11:56:54 -0700 References: <698404.33221.qm@web25501.mail.ukl.yahoo.com> <586BB031-8140-4D5D-BCB9-D4E08CFF9C2D@gmail.com> <247871.32658.qm@web25502.mail.ukl.yahoo.com> <17698446.post@talk.nabble.com> X-Mailer: Apple Mail (2.919.2) X-Virus-Checked: Checked by ClamAV on apache.org On Jun 6, 2008, at 11:23 AM, hofmanndavid wrote: > > Hmm, I have exactly the same problem. > > Doesn't the EJB3 spec state that there shoud be at least one =20 > session bean > in a ejb module ? Yes. It has to have an ejb-jar.xml (with at least on ejb in it) or at =20= least one bean annotated with either @javax.ejb.MessageDriven, =20 @javax.ejb.Stateful, or @javax.ejb.Stateless -David > ismael GranPoll=FFfffff3n wrote: >> >> Hello, and thanks for answering. I solved the problem: I had the =20 >> entity >> beans in "EntitiesES.jar" and the session beans in =20 >> "EJBModelES.jar". When >> I did put them together inside the same jar the problem dissapeared. >> >> I don't know why this procedure solved the problem, so if someone =20 >> knows >> about this, the information is welcome. >> >> >> --- El mi=E9, 14/5/08, Kevan Miller = escribi=F3: >> >>> De: Kevan Miller >>> Asunto: Re: DeploymentException: Module was not an EJB: =20 >>> EntitiesES.jar >>> Para: user@geronimo.apache.org >>> Fecha: mi=E9rcoles, 14 mayo, 2008 12:07 >>> On May 9, 2008, at 12:18 PM, ismael GranPoll=FFfffff3n wrote: >>> >>>> >>>> Hello. I am trying to migrate from JBoss to Geronimo, >>> and I am >>>> having difficulties with my EJB jars. I am using >>> Geronimo 2.1.1 and >>>> Geronimo 2.0.2, both of them with Tomcat. I get the >>> following error: >>>> >>>> Unable to deploy: >>> org.apache.geronimo.common.DeploymentException: >>>> Module was not an EJB: EntitiesES.jar >>>> >>>> I am trying to migrate an Ear application, I followed >>> the EJB >>>> example from the wiki, but I cannot make my >>> application to run. I >>>> hope someone can help, please ask me any doubt about >>> the problem >>>> The directories of my Ear are as follows: >>>> >>>> EJBAplicationES.ear >>>> + META-INF >>>> + EJBModelES.jar >>>> + EJBAplicationES.war >>>> + EntitiesES.jar >>>> + database.xml >>>> >>>> >>>> >>>> The "EntitiesES.jar" contains this: >>>> + es >>>> + META-INF >>>> >>>> "es" folder have my ejbs, META-INF holds the >>> "openejb-jar.xml" and >>>> "persistence.xml" archives. The contents of >>> these are: >>>> >>>> OPENEJB-JAR.XML: >>>> >>>> >> encoding=3D"UTF-8"?> >>>> >>>> >> xmlns=3D"http://www.openejb.org/xml/ns/openejb-jar-2.1"> >>>> >> xmlns:dep=3D"http://geronimo.apache.org/xml/ns/deployment-1.2 >>> >>>> "> >>>> >>>> >>>> >>>> >>> EntitiesES >>>> >>>> jar >>>> >>>> >>>> >>>> >>>> >>> org.apache.geronimo.configs >>>> >>> openjpa >>>> car >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> PERSISTENCE.XML: >>>> >>>> >> encoding=3D"UTF-8"?> >>>> >> xmlns=3D"http://java.sun.com/xml/ns/persistence" >>>> >>> xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" >>> >>>> version=3D"1.0" >>>> >>> xsi:schemaLocation=3D"http://java.sun.com/xml/ns/persistence >>> >>>> >>> http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"> >>>> >>>> >> name=3D"EJBAplicationES"> >>>> >>>> Entity Beans for >>> EJBAplicationES >>>> >>>> >>>> >>>> >>> org.apache.openjpa.persistence.PersistenceProviderImpl>> >>>> provider> >>>> >>>> >>> es.model.document.entity.Document >>>> >>> es.model.user.entity.Language >>>> >>> es.model.user.entity.User >>>> >>> es.model.util.parameter.entity.Parameter >>>> >>>> >>>> >> name=3D"openjpa.jdbc.SynchronizeMappings" >>>> value=3D"false" /> >>>> >>>> >>>> >>> database >>>> >>> database >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> In the last one I declare the "database" >>> datasource, I have that >>>> files but I think that there are too much code in this >>> e-mail; feel >>>> free to ask me for this or other configuration files. >>> Thank you for >>>> reading! >>> >>> >>> Hi, >>> I don't see anything obviously wrong. Are you certain >>> about the layout >>> of your EntitiesES.jar? >>> >>> You are welcom to create a Jira issue >>> (https://issues.apache.org/jira/browse/GERONIMO >>> ) and attach your ear file there ("Attach File"). >>> >>> --kevan >> >> >> ______________________________________________ >> Enviado desde Correo Yahoo! La bandeja de entrada m=E1s inteligente. >> >> > > --=20 > View this message in context: = http://www.nabble.com/DeploymentException%3A-Module-was-not-an-EJB%3A-Enti= tiesES.jar-tp17151462s134p17698446.html > Sent from the Apache Geronimo - Users mailing list archive at =20 > Nabble.com. > >