Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 7781 invoked from network); 13 Jun 2006 19:09:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Jun 2006 19:09:33 -0000 Received: (qmail 99470 invoked by uid 500); 13 Jun 2006 19:09:30 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 99438 invoked by uid 500); 13 Jun 2006 19:09:30 -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 99427 invoked by uid 99); 13 Jun 2006 19:09:30 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jun 2006 12:09:30 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [217.160.108.180] (HELO yukon.coderesearch.com) (217.160.108.180) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jun 2006 12:09:29 -0700 Received: (qmail 833 invoked from network); 13 Jun 2006 21:08:51 +0100 Received: from p54b845fd.dip0.t-ipconnect.de (HELO ?192.168.8.11?) (84.184.69.253) by coderesearch.com with (DHE-RSA-AES256-SHA encrypted) SMTP; 13 Jun 2006 21:08:51 +0100 Message-ID: <448F0D38.3090001@coderesearch.com> Date: Tue, 13 Jun 2006 21:08:40 +0200 From: =?ISO-8859-1?Q?Mario_R=FCbsam?= User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: user@geronimo.apache.org Subject: Re: 1.1-rc1 deployment References: <448CE41F.9000304@hogstrom.org> <448D4BEF.3000805@coderesearch.com> <4BA7ADC5-8B90-49E1-AC05-00E26975E745@yahoo.com> <448D903E.5000009@coderesearch.com> <448DD21A.9020602@coderesearch.com> <74e15baa0606130527o78873ca8pad13f547e1eb1349@mail.gmail.com> <448EB6EE.1030000@coderesearch.com> In-Reply-To: <448EB6EE.1030000@coderesearch.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Ok, something I not mentioned before is, that I deploy the web application packaged in an EAR. here the geronimo-application.xml: client.war META-INF/geronimo-web.xml and the application.xml: ei-Service client.war /ei-service client.war / Are there any differences in deploying between WAR and EAR in combination with the database pools? Thanks, Mario Mario R�bsam wrote: > Aaron Mulder wrote: >> I think we ought to try to figure this out for 1.1. >> >> Mario, are you sure the data source is deploying correctly? Do you >> see it listed as started in the "J2EE Connectors" screen of the >> console? > > Aaron, > > yes I'm sure, the datasource is available and the J2EE connector > is available for stop/uninstall. > > Thanks, > Mario > > >> >> Thanks, >> Aaron >> >> On 6/12/06, Mario R�bsam wrote: >>> Any new ideas about the problem? >>> >>> Thanks, >>> Mario >>> >>> >>> Mario R�bsam wrote: >>> > David Jencks wrote: >>> >> What happens if you change both this and the moduleId in the rar plan >>> >> to type car? >>> >>> >>> >>> coderesearch-jdbc >>> >>> ei-service-default >>> >>> 2.3 >>> >>> rar >>> >>> >>> > >>> > changed it to "car" but still no luck, I used the "rar" because the >>> console >>> > wizard uses "rar" too >>> > >>> >> It should work the way you have it.... but we might have some >>> >> hardcoded assumptions about car left. >>> > >>> > I get the same error message when I remove the dependency. I tried >>> > it also with or without the version and type. Always the same message. >>> > The db pool is deployed without problems I also checked the repository >>> > structure for the db rar/car. >>> > >>> > Thanks, >>> > Mario >>> > >>> > >>> >> should have type car >>> >> On Jun 12, 2006, at 4:11 AM, Mario R�bsam wrote: >>> >> >>> >>> Hi, >>> >>> >>> >>> with the current release candidate I still have problems >>> >>> linking to the deployed datasource. My dependencies should >>> >>> match the examples from the web console but still no >>> >>> luck when deploying. >>> >>> >>> >>> Using JRE_HOME: d:\opt\sdk\j2sdk-1.4.2 >>> >>> Error: Unable to distribute eiservice.ear: Unable to resolve >>> >>> resource reference 'jdbc/default' (Could not find resource >>> >>> 'jdbc/default'. Perhaps it has not yet been configured, or your >>> >>> application does not have a dependency declared for that >>> resource >>> >>> module?) >>> >>> >>> >>> What I'm doing wrong in with 1.1? It worked all fine in 1.0 >>> >>> >>> >>> Thanks, >>> >>> Mario >>> >>> >>> >>> >>> >>> here the geronimo-web.xml: >>> >>> >>> >>> >>> >>> >> >>> xmlns:naming="http://geronimo.apache.org/xml/ns/naming"> >>> >>> >>> >>> >> >>> xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.1"> >>> >>> >>> >>> coderesearch >>> >>> ei-service >>> >>> 2.3 >>> >>> war >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> coderesearch >>> >>> ei-service >>> >>> 2.3 >>> >>> car >>> >>> >>> >>> >>> >>> >>> >>> coderesearch-jdbc >>> >>> ei-service-default >>> >>> 2.3 >>> >>> rar >>> >>> >>> >>> >>> >>> >>> >>> commons-email >>> >>> commons-email >>> >>> 1.0 >>> >>> jar >>> >>> >>> >>> >>> >>> >>> >>> commons-codec >>> >>> commons-codec >>> >>> 1.3 >>> >>> jar >>> >>> >>> >>> >>> >>> >>> >>> commons-httpclient >>> >>> commons-httpclient >>> >>> 3.0 >>> >>> jar >>> >>> >>> >>> >>> >>> >>> >>> commons-fileupload >>> >>> commons-fileupload >>> >>> 1.0 >>> >>> jar >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> /CODERESEARCH.client/ei-service >>> >>> >>> >>> >>> >>> jdbc/default >>> >>> jdbc/default >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> and the web.xml: >>> >>> >>> >>> >>> >>> >> >>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >>> >>> xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee >>> >>> http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" >>> >>> version="2.4"> >>> >>> >>> >>> >>> >>> MainServlet >>> >>> MainServlet >>> >>> >>> >>> >>> com.coderesearch.abp.found.srv.MainServlet >>> >>> >>> >>> >>> 1 >>> >>> >>> >>> >>> >>> >>> >>> MainServlet >>> >>> /* >>> >>> >>> >>> >>> >>> >>> >>> server/ServerType >>> >>> java.lang.String >>> >>> Geronimo/Jetty >>> >>> >>> >>> >>> >>> >>> >>> jdbc/default >>> >>> javax.sql.DataSource >>> >>> Container >>> >>> Shareable >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> and the db deploy plan: >>> >>> >>> >>> >>> >>> >> xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector-1.1"> >>> >>> >> >>> xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.1"> >>> >>> >>> >>> coderesearch-jdbc >>> >>> ei-service-default >>> >>> 2.3 >>> >>> rar >>> >>> >>> >>> >>> >>> >>> >>> postgresql >>> >>> postgresql >>> >>> 8.1.jdbc3 >>> >>> jar >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> javax.sql.DataSource >>> >>> >>> >>> >>> >>> >>> jdbc/default >>> >>> >> >>> name="UserName">admin >>> >>> >> >>> name="Password">master >>> >>> >> >>> name="Driver">org.postgresql.Driver >>> >>> >> >>> >>> name="ConnectionURL">jdbc:postgresql://localhost:5432/eiservice >>> >>> >>> >>> >>> >> >>> name="CommitBeforeAutocommit">true >>> >>> >>> >>> >>> >>> >>> >>> 10 >>> >>> 5 >>> >>> 60000 >>> >>> >>> >>> 60 >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >> >>> >> >>> > >>> >> >