Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 67970 invoked from network); 24 Nov 2005 14:33:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 24 Nov 2005 14:33:54 -0000 Received: (qmail 94965 invoked by uid 500); 24 Nov 2005 14:33:53 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 94521 invoked by uid 500); 24 Nov 2005 14:33:51 -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 94510 invoked by uid 99); 24 Nov 2005 14:33:51 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Nov 2005 06:33:51 -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 64.233.162.200 as permitted sender) Received: from [64.233.162.200] (HELO zproxy.gmail.com) (64.233.162.200) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Nov 2005 06:35:21 -0800 Received: by zproxy.gmail.com with SMTP id 9so466712nzo for ; Thu, 24 Nov 2005 06:33:29 -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=pPR4kCPT2yMmfuuDoELgZGEcK0niqDI2tbfSd+A+rX5QW0hvgzKLcgx05eOZgrXmDD5VrNDHBbc0PMRjTAhtnhDYWJAF/9RlyZb1yzYrMjHS47c/7mPg2iBn87j25icwS7Rz08BIJTsxVCNjvk3Nm/1PcyZUM7YPtIbhgTXYoP0= Received: by 10.36.82.9 with SMTP id f9mr378378nzb; Thu, 24 Nov 2005 06:33:28 -0800 (PST) Received: by 10.37.13.69 with HTTP; Thu, 24 Nov 2005 06:33:28 -0800 (PST) Message-ID: <74e15baa0511240633w5c24a0ebm3c0ae0590b15f3ad@mail.gmail.com> Date: Thu, 24 Nov 2005 09:33:28 -0500 From: Aaron Mulder Sender: ammulder@gmail.com To: user@geronimo.apache.org, bkbonner@gmail.com Subject: Re: deploying a database plan In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 11/24/05, Brian Bonner wrote: > Hi, I'm relatively new. I've been doing reading and I want to deploy > a datasource using this plan: > > > xmlns:sys=3D"http://geronimo.apache.org/xml/ns/deployment-1.0" > xmlns:naming=3D"http://geronimo.apache.org/xml/ns/naming-1.0" > configId=3D"net/sf/jt400" > parentId=3D"org/apache/geronimo/Server"> > > > > > > javax.sql.Da= taSource > > AS400Datasource > user > demo > > com.ibm.as400.access.AS40= 0JDBCDriver > > > jdbc:as400:192.168.1.15 > > > true > > > org.tranql.connector.NoEx= ceptionsAreFatalSorter > > > > > 10 > 0 > 5000 > 30 > > > > > > > > > > > I copied tranql-connector-1.0.rar from the /repository/tranql/rars > directory and placed it in the same directory as my plan. Is this > required? You don't need to copy the RAR. For example, if you ran this from the Geronimo install directory, you could run "java -jar deployer.jar deploy plan.xml repository/tranql/rars/tranql-connection-1.0.rar" > Am I using the correct namespaces to validate the database plan? That looks like the correct namespace for M5 and beyond. > Is this the correct way to generate the datasource on the server? If you have a source build, there's a portlet in the console that can walk you through the process (but it's new since M5). > Is there a way to reference the rar on the server? > > I run this command and I get this error: > deploy --user system --password manager deploy > tranql-connector-1.0.rar geronimo-ra.xml > Error: Unable to distribute tranql-connector-1.0.rar: No builder > found for namespace: > http://geronimo.apache.org/xml/ns/j2ee/connector-1.0 or default > namespace: http://geronimo.apache.org/xml/ns/j2ee/web/jetty-1.0 It sounds like perhaps the connector deployer isn't running? > I have started the tomcat instance and stopped jetty on the server > manually using deploy. Well, this might have caused you trouble. I think the deployer is configured to run against Tomcat or Jetty, whichever the server shipped with. So if you just disable one and enable the other your web apps are likely to be deployed the wrong way. The best way to switch between Tomcat and Jetty is to copy over the "config.product.xml" to "config.xml" in geronimo/var/config while the server is not running -- though that will have the side effect of resetting the list of running applications next time you start the server (so you may have to restart some of them). I'm not sure why this would have affected the connector deployer, unless maybe you stopped more that you realize. Can you run "java -jar deployer.jar list-modules" and post the output? It should show o/a/g/RuntimeDeployer and o/a/g/(WebServer)RuntimeDeployer as running. Aaron P.S. If you have a source build, you can also run "java -jar deployer.jar login" so you don't have to put the username and password on the command line every time. > Any help would be appreciated. > > Thanks. > > Brian >