Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 56054 invoked from network); 25 Jan 2007 01:41:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Jan 2007 01:41:07 -0000 Received: (qmail 4608 invoked by uid 500); 25 Jan 2007 01:41:11 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 4407 invoked by uid 500); 25 Jan 2007 01:41:10 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 4396 invoked by uid 99); 25 Jan 2007 01:41:10 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Jan 2007 17:41:10 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [208.97.132.5] (HELO spaceymail-a2.g.dreamhost.com) (208.97.132.5) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Jan 2007 17:41:01 -0800 Received: from [192.168.15.102] (cpe-76-167-174-30.socal.res.rr.com [76.167.174.30]) by spaceymail-a2.g.dreamhost.com (Postfix) with ESMTP id 6BD831060CA for ; Wed, 24 Jan 2007 17:40:39 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <68EDE477-0BB6-49C7-8644-75DC7E9C9107@gmail.com> References: <6E4833BE-8ADB-45E0-9ECF-FF28B4E31E2B@visi.com> <8681D0EE-D3CA-432E-98BC-72799410A5AC@gmail.com> <68EDE477-0BB6-49C7-8644-75DC7E9C9107@gmail.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <42718460-B75B-4871-ACFE-16778BCA997E@iq80.com> Content-Transfer-Encoding: 7bit From: Dain Sundstrom Subject: Re: Unable to deploy an EJB3.0 sample app -- Thank you Prasad Date: Wed, 24 Jan 2007 17:40:36 -0800 To: dev@geronimo.apache.org X-Mailer: Apple Mail (2.752.3) X-Virus-Checked: Checked by ClamAV on apache.org Only ejb modules are identified by scanning for annotations. IIRC from the jee5 spec the following rules are used to identify modules: Web - filenames ends with .war Connector - filename ends with .rar Persistence - contains META-INF/persistence.xml EJB - scan for EJB annotations AppClient - does not contain EJB annotations, and has a Main-Class declared in the manifest Library - none of the above, and in the proper location in the ear (don't remember the list) As you can see, only EJB modules are scanned the rest have very simple rules and cheap rules. -dain On Jan 24, 2007, at 1:24 PM, Sachin Patel wrote: > As I mentioned before, what I think needs to be done is rename > EjbConfigBuilder.isEjbAnnotatedModule() to isAnnotatedModule > (JarFile jar) and introduce this in the ModuleBuilder interface > since the other ModuleBuilders will need to implement it. > EARConfigBuilder can then invoke the method through the interface > on each of the ModuleBuilder's to identify the module type. > > If there are no objections to this doing it this way, I'll take > care of it. > > On Jan 24, 2007, at 4:16 PM, Sachin Patel wrote: > >> No I mean an ear with no applicaiton.xml and the ear contains a >> ejbjar, with no ejb-jar.xml >> >> On Jan 24, 2007, at 4:06 PM, Prasad Kashyap wrote: >> >>> You mean geronimo-openejb free deploy. >>> >>> The latest revisions do support ejb-jar.xml free deployments >>> >>> Cheers >>> Prasad >>> >>> On 1/24/07, Sachin Patel wrote: >>>> but not yet a ejb-jar.xml & application.xml free deploy >>>> >>>> >>>> On Jan 23, 2007, at 9:54 PM, Prasad Kashyap wrote: >>>> >>>> >>>> We can now have a ejb-jar.xml free deployment and openejb- >>>> jar.xml free >>>> >>>> deployment. >>>> >>>> -sachin >>>> >>>> >> >> >> -sachin >> >> > > > -sachin > >