Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 55735 invoked from network); 14 Feb 2006 15:22:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Feb 2006 15:22:44 -0000 Received: (qmail 13426 invoked by uid 500); 14 Feb 2006 15:22:43 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 13109 invoked by uid 500); 14 Feb 2006 15:22: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 13098 invoked by uid 99); 14 Feb 2006 15:22:41 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Feb 2006 07:22:41 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of ammulder@gmail.com designates 66.249.92.194 as permitted sender) Received: from [66.249.92.194] (HELO uproxy.gmail.com) (66.249.92.194) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Feb 2006 07:22:41 -0800 Received: by uproxy.gmail.com with SMTP id y2so747527uge for ; Tue, 14 Feb 2006 07:22:19 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ORyy3ooYn9Hunt6KBGmSb09DlFTvSbQRetAgD2W/+2H/JrwYU2CP0a8BBYZgrk+p1CZIUz8Cah/MBIfFNSofN4YjD97t08NgfC9r+LIfqNpHKZwOgB4wV4DWEphzVLP8+CIGQK0HZrC+0mZ9+SulRSwiXXCpSFFXov7SLDHPwxQ= Received: by 10.66.219.10 with SMTP id r10mr1711175ugg; Tue, 14 Feb 2006 07:22:19 -0800 (PST) Received: by 10.66.219.2 with HTTP; Tue, 14 Feb 2006 07:22:19 -0800 (PST) Message-ID: <74e15baa0602140722w2ddc6da5k7b14c9966812db5a@mail.gmail.com> Date: Tue, 14 Feb 2006 10:22:19 -0500 From: Aaron Mulder Sender: ammulder@gmail.com To: user@geronimo.apache.org Subject: Re: Datasource for Hot Deploy In-Reply-To: <419beb980602140516t7b9d6c63jb234a7a7a2f7fc44@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <419beb980602140516t7b9d6c63jb234a7a7a2f7fc44@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N It's really hard to make sense if this without seeing the plans in full, but the one thing that jumped out at me was: in element connector@http://geronimo.apache.org/xml/ns/j2ee/aconnector-1.0, .../aconnector-1.0 is not the correct namespace. Aaron On 2/14/06, David Carew wrote: > I have an EAR file with a web app and an EJB jar. I've been deploying it > with an external deployment plan that has a Datasource defined in it as w= ell > as the info for the web app and the EJB. I'm trying to change it to use t= he > internal deployment plans so I can Hot Deploy it. I created a > geronimo-web.xml, openejb-jar.xml and a geronimo-application.xml. My > application plan has the Datasource def like this > > > > > ... > > > > > Both Hot Deploy and command line deploy are barfing at the Datasource > definition. Here's part of the error > > > > Invalid deployment descriptor: [error: cvc-complex-type.2.4b: > Element not allowed: > > dependency@http://geronimo.apache.org/xml/ns/deployment-1.0 > in > element > > connector@http://geronimo.apache.org/xml/ns/j2ee/aconnector-1.0, > error: cvc-complex-type.2.4b: Element not allowed: > > resourceadapter@http://geronimo.apache.org/xml/ns/j2ee/application-1.0 > in element > > connector@http://geronimo.apache.org/xml/ns/j2ee/connector-1.0, > error: cvc-complex-type.2.4c: Expected elements > > 'internal-path@http://geronimo.apache.org/xml/ns/j2ee/application-1.0 > > external-path@http://geronimo.apache.org/xml/ns/j2ee/application-1.0' > before the end of the content in element > > ext-module@http://geronimo.apache.org/xml/ns/j2ee/application-1.0] > > Descriptor: configId=3D"webbank-1.0" > > xmlns:sec=3D"http://geronimo.apache.org/xml/ns/security-1.1 " > > xmlns:sys=3D"http://geronimo.apache.org/xml/ns/deployment-1.0" > xmlns:app=3D" > http://geronimo.apache.org/xml/ns/j2ee/application-1.0"> > If I deploy the Datasource separately and change the > geromino-application.xml to this > > > > it works as expected. > > My question is that if I have a Datasource and use the internal plans do = I > have to put everything in geronimo-application.xml or is there a way to h= ave > the Datasource in geronimo-application.xml and separate plans ( i.e. > geronimo-web.xml, openejb-jar.xml) for everything else ? >