Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 80338 invoked from network); 10 Mar 2009 09:02:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Mar 2009 09:02:42 -0000 Received: (qmail 23848 invoked by uid 500); 10 Mar 2009 09:02:41 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 23815 invoked by uid 500); 10 Mar 2009 09:02:41 -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 23806 invoked by uid 99); 10 Mar 2009 09:02:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Mar 2009 02:02:41 -0700 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ricardo.peironcely@gmail.com designates 209.85.221.110 as permitted sender) Received: from [209.85.221.110] (HELO mail-qy0-f110.google.com) (209.85.221.110) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Mar 2009 09:02:32 +0000 Received: by qyk8 with SMTP id 8so2397668qyk.27 for ; Tue, 10 Mar 2009 02:02:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=TT+xEckR53EkM7AycVyVwQ4qo0dXtvlB2qPbEFft8MU=; b=Bv1KS7QDOgpB47ffgX+IN9gsm/5ZaZVFHda+Q2np4gDTfLO3I+qnu9sCiQpe051JXF 5orEIjqLuqHlSaPcZxta/8cGtAdf4RRt5vT3mQs2mN6MbtEhcsIDcO2lfp2tFw4MBwwW +VZg9diEd+pijcn3j70B7nGfZN7N5uFLJlyHs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=YVGM/9TCdOIM6yQfVZP1jeWZ+hZqDROlklocCUSyV0KQ6hteX4WQD9stcgvr4wXano 03YKAp7ObaDvxgnXK+Y/O+NIVuadiQiLRT42/PgKi1lwhRtq3NO8XS7G2O+fjLkwuGmD PX0EF+1OMw82VBSyTkPW7AFATcNinoTG0KiyU= MIME-Version: 1.0 Received: by 10.224.74.75 with SMTP id t11mr8776015qaj.331.1236675731613; Tue, 10 Mar 2009 02:02:11 -0700 (PDT) In-Reply-To: <680A1D82-6143-47D6-8C60-A0339651CE33@yahoo.com> References: <93f648c30903041225n374111c7va054229501353caa@mail.gmail.com> <42205CF3-7F75-49F1-AE61-09C641D64B0D@gmail.com> <93f648c30903050824x5c2cbae9i6be2e1c8b059ab3f@mail.gmail.com> <680A1D82-6143-47D6-8C60-A0339651CE33@yahoo.com> Date: Tue, 10 Mar 2009 10:02:11 +0100 Message-ID: <93f648c30903100202m445817cdtee5cfa85e2453aae@mail.gmail.com> Subject: Re: Newbie problem with Geronimo 2.1.3 From: Ricardo Peironcely To: user@geronimo.apache.org Content-Type: multipart/alternative; boundary=0015175d09f0af6aa00464c0013c X-Virus-Checked: Checked by ClamAV on apache.org --0015175d09f0af6aa00464c0013c Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thanks David. I've erased the modules form geronimo-application.xml and the project runs without problems. 2009/3/5 David Jencks > > On Mar 5, 2009, at 8:24 AM, Ricardo Peironcely wrote: > > I've found my error, but i don't know how to solve it. >> >> I'm working with eclipse geronimo adapter. And when I define the >> modules in geronimo-application.xml i wrote: >> >> >> PruebaGeronimoWeb.war >> PruebaGeronimoWeb.war >> >> >> PruebaGeronimoEjb.ejb >> PruebaGeronimoEjb.jar >> >> >> The error raises when try to open the jar file as an xml because is >> referenced by the tag. >> >> But I don't know what write in this tag. Must I create any >> new file in the EAR package? Is not enough with the openejb-jar.xml >> from EJB jar and geronimo-web.xml from WAR? >> > > - if you have individual module plans (openejb-jar.xml and > geronimo-web.xml) in the modules you should be able to completely leave o= ut > both app:module elements > > - I prefer to have all my geronimo configuration in one place. In this > case you would put the content of the module plans inside the app:module > elements in place of the app:alt-dd element. I actually prefer to keep t= his > single plan outside my ear file but this is certainly not necessary. > > thanks > david jencks > > >> >> Best regards and thanks. >> Ricardo Peironcely >> >> 2009/3/4 Kevan Miller : >> >>> >>> On Mar 4, 2009, at 3:25 PM, Ricardo Peironcely wrote: >>> >>> Hello all!! >>>> >>>> I've a problem with a very simple application. >>>> >>>> I've developed an war with a simple JSP that uses a simple method in a >>>> class of the same project. This class invoques a Stateless 3.0 EJB >>>> that always return hello world. The application is packed in an EAR. >>>> >>>> When I try to deply this app in Geronimo 2.1.3 with the "Deploy New" >>>> option in the console, always get the same error: >>>> >>> >>> That's certainly not a very helpful error message. Can you tell us what= 's >>> in >>> your EAR file? Or, can you share your EAR file with us? >>> >>> --kevan >>> >>> >>> > --=20 Un saludo / Best regards / =D0=A1 =D1=83=D0=B2=D0=B0=D0=B6=D0=B5=D0=BD=D0= =B8=D0=B5=D0=BC Ricardo Peironcely --0015175d09f0af6aa00464c0013c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thanks David.

I've erased the modules form geronimo-application.= xml and the project runs without problems.

2009/3/5 David Jencks <david_jencks@yahoo.com>

On Mar 5, 2009, at 8:24 AM, Ricardo Peironcely wrote:

I've found my error, but i don't know how to solve it.

I'm working with eclipse geronimo adapter. And when I define the
modules in geronimo-application.xml i wrote:

=C2=A0 <app:module>
=C2=A0 =C2=A0 =C2=A0 <app:web>PruebaGeronimoWeb.war</app:web><= br> =C2=A0 =C2=A0 =C2=A0 <app:alt-dd>PruebaGeronimoWeb.war</app:alt-d= d>
=C2=A0 </app:module>
=C2=A0 <app:module>
=C2=A0 =C2=A0 =C2=A0 <app:jar>PruebaGeronimoEjb.ejb</app:jar><= br> =C2=A0 =C2=A0 =C2=A0 <app:alt-dd>PruebaGeronimoEjb.jar</app:alt-d= d>
=C2=A0 </app:module>

The error raises when try to open the jar file as an xml because is
referenced by the <alt-dd> tag.

But I don't know what write in this <alt-dd> tag. Must I create a= ny
new file in the EAR package? Is not enough with the openejb-jar.xml
from EJB jar and geronimo-web.xml from WAR?

- if you have individual module plans (openejb-jar.xml and geronimo-web.xml= ) in the modules you should be able to completely leave out both app:module= elements

- I prefer to have all my geronimo configuration in one place. =C2=A0In thi= s case you would put the content of the module plans inside the app:module = elements in place of the app:alt-dd element. =C2=A0I actually prefer to kee= p this single plan outside my ear file but this is certainly not necessary.=

thanks
david jencks



Best regards and thanks.
Ricardo Peironcely

2009/3/4 Kevan Miller <kevan.miller@gmail.com>:

On Mar 4, 2009, at 3:25 PM, Ricardo Peironcely wrote:

Hello all!!

I've a problem with a very simple application.

I've developed an war with a simple JSP that uses a simple method in a<= br> class of the same project. This class invoques a Stateless 3.0 EJB
that always return hello world. The application is packed in an EAR.

When I try to deply this app in Geronimo 2.1.3 with the "Deploy New&qu= ot;
option in the console, always get the same error:

That's certainly not a very helpful error message. Can you tell us what= 's in
your EAR file? Or, can you share your EAR file with us?

--kevan






--
Un saludo /= Best regards / =D0=A1 =D1=83=D0=B2=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8=D0=B5=D0= =BC

Ricardo Peironcely
--0015175d09f0af6aa00464c0013c--