Return-Path: X-Original-To: apmail-openejb-users-archive@www.apache.org Delivered-To: apmail-openejb-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 326ED9D17 for ; Tue, 17 Jan 2012 17:24:59 +0000 (UTC) Received: (qmail 98965 invoked by uid 500); 17 Jan 2012 17:24:59 -0000 Delivered-To: apmail-openejb-users-archive@openejb.apache.org Received: (qmail 98916 invoked by uid 500); 17 Jan 2012 17:24:58 -0000 Mailing-List: contact users-help@openejb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@openejb.apache.org Delivered-To: mailing list users@openejb.apache.org Received: (qmail 98905 invoked by uid 99); 17 Jan 2012 17:24:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jan 2012 17:24:58 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mansour.alakeel@gmail.com designates 209.85.215.48 as permitted sender) Received: from [209.85.215.48] (HELO mail-lpp01m010-f48.google.com) (209.85.215.48) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jan 2012 17:24:51 +0000 Received: by lahl5 with SMTP id l5so1247238lah.35 for ; Tue, 17 Jan 2012 09:24:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=87Z0eQM1TVyvChMxYq8k8zV91He7PILUgeqw5TBH68E=; b=YXLa+ea06K018GoX3ai7Sk77r7DJ0UJAAJ3VQkHUmrtggdJxaI9bAGFblB2ECE7cAL asa56AuGmY64Dx1tVbUb+/l+CRyCyTlc7X7CAIBntdythYJclvqZivkGJooP6fIgKw4e AVgTOqe1aUdBp7vCBRJazwO8i9McKCU6M9TEk= MIME-Version: 1.0 Received: by 10.152.105.175 with SMTP id gn15mr8613032lab.23.1326821069146; Tue, 17 Jan 2012 09:24:29 -0800 (PST) Received: by 10.112.43.66 with HTTP; Tue, 17 Jan 2012 09:24:29 -0800 (PST) In-Reply-To: References: Date: Tue, 17 Jan 2012 12:24:29 -0500 Message-ID: Subject: Re: Deploy unpacked jar From: Mansour Al Akeel To: users@openejb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thank you Romain, can you please let me know if this info is still correct? As of 1.0 beta1, OpenEJB supports unpacked ejb jars. Simply meaning that you don't need to pack your ejb's into a jar file in order to use them in OpenEJB. You still need to follow the ejb jar layout and include an "META-INF/ejb-jar.xml" in the directory that contains your ejbs. On Tue, Jan 17, 2012 at 11:46 AM, Romain Manni-Bucau wrote: > the current code doesn't handle directories, it can probably be enhanced = in > next releases. > > My second sentence referred to some application servers which need to > unpack all archives (even jar files) to scan them which is not our case. > > - Romain > > > 2012/1/17 Mansour Al Akeel > >> Romain, sorry but I didn't get your answer. Can you please kindly >> elaborate, and give some details ? >> What do I need to do to deploy and redeploy an unpacked jar ? >> >> >> >> On Tue, Jan 17, 2012 at 11:33 AM, Romain Manni-Bucau >> wrote: >> > Hi, >> > >> > it only manages file, not directory. But some files have not to be >> unpacked >> > for scanning. >> > >> > - Romain >> > >> > >> > 2012/1/17 Mansour Al Akeel >> > >> >> From this page: >> >> >> >> http://openejb.apache.org/deployments.html >> >> >> >> An unpacked jar >> >> >> >> As of 1.0 beta1, OpenEJB supports unpacked ejb jars. Simply meaning >> >> that you don't need to pack your ejb's into a jar file in order to us= e >> >> them in OpenEJB. You still need to follow the ejb jar layout and >> >> include an "META-INF/ejb-jar.xml" in the directory that contains your >> >> ejbs. >> >> >> >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> >> >> >> Can someone please give me a step by step example. I am trying this >> >> with one of the examples. It's not working: >> >> >> >> 11:20:14 @ target $ pwd >> >> /home/mansour/workspace/openejb-examples-3.1.2/simple-stateless/targe= t >> >> 11:20:18 @ target $ openejb deploy myproject >> >> Unable to copy application to >> >> "/opt/Programs/openejb-3.1.4/apps/myproject". =A0Check that the >> >> directory is writable and that there is enough disk space. >> >> 11:20:23 @ target $ tree myproject >> >> myproject >> >> |-- META-INF >> >> | =A0 |-- MANIFEST.MF >> >> | =A0 `-- ejb-jar.xml >> >> `-- org >> >> =A0 =A0`-- superbiz >> >> =A0 =A0 =A0 =A0`-- calculator >> >> =A0 =A0 =A0 =A0 =A0 =A0|-- CalculatorImpl.class >> >> =A0 =A0 =A0 =A0 =A0 =A0|-- CalculatorLocal.class >> >> =A0 =A0 =A0 =A0 =A0 =A0`-- CalculatorRemote.class >> >> >> >> 4 directories, 5 files >> >> >> >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> >> >> >> This will be very good for development. If I can deploy/undeploy >> >> directories, it can be a time saver. >> >> Thank you. >> >> >>