Return-Path: X-Original-To: apmail-geronimo-user-archive@www.apache.org Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 96F4E2BEB for ; Fri, 22 Apr 2011 01:11:05 +0000 (UTC) Received: (qmail 56688 invoked by uid 500); 22 Apr 2011 01:11:05 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 56658 invoked by uid 500); 22 Apr 2011 01:11:05 -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 56651 invoked by uid 99); 22 Apr 2011 01:11:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Apr 2011 01:11:05 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of xhhsld@gmail.com designates 209.85.214.182 as permitted sender) Received: from [209.85.214.182] (HELO mail-iw0-f182.google.com) (209.85.214.182) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Apr 2011 01:10:58 +0000 Received: by iwn33 with SMTP id 33so269447iwn.13 for ; Thu, 21 Apr 2011 18:10:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=Qfi841ZZfwjYaSMXAnOtBn2Q6+Mb+/EsCzVVF7Pevik=; b=eyVm9HmDhAL/8SlSg4TFRqTTvetcGk6CIIBqaHeK/SRSuF2yI5f6yUlMV+r7SelUte CoJ2ndK4Od41Box1cVBdNa1qnsZLAZmOJwpK5vWKBxoouVZlxgCrgl1Cti6IMFhvs653 5AsBdgf2rgbv0nfOPozoisu1A95FG+x+rCl1A= 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=QqlGsE3Te5FwhKz8Vky8Cp7iNgfqKR/cBLrcqTFFlqmnng2JOx5BJHmPI5/Di3dWGk 2x5DYSK3vVwxtDOn2k442EuEzGlsQDZaqvluqYdINnWq5RVAOys/WZCOSXFj594DFVVZ 2LlJqJas5Awn3fsO5defkW9NGgmqKWtQcmpqw= MIME-Version: 1.0 Received: by 10.231.69.3 with SMTP id x3mr409950ibi.125.1303434637973; Thu, 21 Apr 2011 18:10:37 -0700 (PDT) Received: by 10.231.145.193 with HTTP; Thu, 21 Apr 2011 18:10:37 -0700 (PDT) In-Reply-To: <099A1ADF-9B5F-423C-9435-5C9E6DD5D974@gmail.com> References: <1303345475556-2844215.post@n3.nabble.com> <1303423232213-2848950.post@n3.nabble.com> <099A1ADF-9B5F-423C-9435-5C9E6DD5D974@gmail.com> Date: Fri, 22 Apr 2011 09:10:37 +0800 Message-ID: Subject: Re: EJB and Web tutorial 3.0 --> deplyment error From: Ivan To: user@geronimo.apache.org Content-Type: multipart/alternative; boundary=0015176f1bd0959a5204a1778620 --0015176f1bd0959a5204a1778620 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi, there is a simple typo error in your deployment plan file, in the openejb-jar.xml, the artifact id is default CurrencyConverterEJB <=3D=3D=3D= =3D=3D=3D=3D=3D=3D 1.0 car While in the geronimo-web.xml file, the dependency wrote : default CurrencyConvertEJB <=3D=3D=3D=3D=3D=3D=3D=3D=3D 1.0 car That is why the classes in the ejb module could not be found, I think that there should be some error messages showing "missing dependency". If not, w= e might need to improve the message output. And, it is better to try the new snapshot in Kevan's email, as there are many bug fix, also we improve a lot for the console, javaee 6 support, OSGi support and etc. thanks. 2011/4/22 Kevan Miller > > On Apr 21, 2011, at 6:00 PM, joquetaire wrote: > > > > > Forrest Xia wrote: > >> > >> Please try the latest 3.0 trunk. 3.0-M1 might not support that new > >> feature. > >> > >> Forrest > >> > > > > 'new feature' you say i'm sorry but... isn't accessing EJB from > > Servlets/JSP 'the basic feature" of Java EE ?? > > M1 was a while ago and definitely had it's share of bugs/missing features= . > > > > > the tutorial is simply copied from v2.2 and screenshots are actually fr= om > > v2.1 - anyway, you say it may not work just because it hasn't been > resolved > > in v3.0 yet... so the question is: > > + when v3.0-M2 will be available? > > or > > + where can download (COMPILED version of) latest trunk? - b'cos no way= i > > will manage to compile it by myself... > > Here's the latest 3.0-SNAPSHOT build: > > https://repository.apache.org/content/groups/snapshots/org/apache/geronim= o/assemblies/geronimo-tomcat7-javaee6-web/3.0-SNAPSHOT/geronimo-tomcat7-jav= aee6-web-3.0-20110421.083329-40-bin.tar.gz(you should be able to find the .= zip, full java ee, or jetty-based > alternatives relative to this url...) > > --kevan > > --=20 Ivan --0015176f1bd0959a5204a1778620 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi, there is a simple typo error in your deployment plan file, in the opene= jb-jar.xml, the artifact id is
=A0 <dep:moduleId>= ;
=A0 =A0 =A0 =A0 =A0 =A0<dep:groupId>default</dep:groupId>
<= div id=3D":1ul"> =A0 =A0 =A0 =A0 =A0 =A0<dep:artifactId>CurrencyConverterEJB</dep:= artifactId> <=3D=3D=3D=3D=3D=3D=3D=3D=3D
=A0 =A0 =A0 =A0 =A0 =A0<dep:version>1.0</dep:version>
=A0 =A0 =A0 =A0 =A0 =A0<dep:type>car</dep:type>
=A0 =A0 =A0 =A0</dep:moduleId>

While in the geronimo-web.xml = file, the dependency wrote :

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 <sys:= dependency>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0<sys:groupId>default</sys:groupId&= gt;
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0<sys:artifactId>CurrencyConve= rtEJB</sys:artifactId> <=3D=3D=3D=3D=3D=3D=3D=3D=3D
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0<sys:version>1.0</sys:vers= ion>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0<sys:type>car</sys:type>= ;
=A0 =A0 =A0 =A0 =A0 =A0</sys:dependency>

That is why the clas= ses in the ejb module could not be found, I think that there should be some= error messages showing "missing dependency". If not, we might ne= ed to improve the message output.

And,=A0 it is better to try the new snapshot in Kevan's email, as t= here are many bug fix, also we improve a lot for the console, javaee 6 supp= ort, OSGi support and etc.
thanks.


2011/4/22 Kevan Miller <kevan.miller@gmail.com>

On Apr 21, 2011, at 6:00 PM, joquetaire wrote:

>
> Forrest Xia wrote:
>>
>> Please try the latest 3.0 trunk. 3.0-M1 might not support that new=
>> feature.
>>
>> Forrest
>>
>
> 'new feature' you say =A0i'm sorry but... isn't access= ing EJB from
> Servlets/JSP 'the basic feature" of Java EE ??

M1 was a while ago and definitely had it's share of bugs/missing = features.

>
> the tutorial is simply copied from v2.2 and screenshots are actually f= rom
> v2.1 - anyway, you say it may not work just because it hasn't been= resolved
> in v3.0 yet... so the question is:
> + when v3.0-M2 will be available?
> or
> + where can download (COMPILED version of) latest trunk? - b'cos n= o way i
> will manage to compile it by myself...

Here's the latest 3.0-SNAPSHOT build:
http= s://repository.apache.org/content/groups/snapshots/org/apache/geronimo/asse= mblies/geronimo-tomcat7-javaee6-web/3.0-SNAPSHOT/geronimo-tomcat7-javaee6-w= eb-3.0-20110421.083329-40-bin.tar.gz (you should be able to find the .z= ip, full java ee, or jetty-based alternatives relative to this url...)

--kevan




--
Ivan
--0015176f1bd0959a5204a1778620--