Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 79919 invoked from network); 14 Jan 2008 14:17:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Jan 2008 14:17:30 -0000 Received: (qmail 97117 invoked by uid 500); 14 Jan 2008 14:17:19 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 97089 invoked by uid 500); 14 Jan 2008 14:17:18 -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 97078 invoked by uid 99); 14 Jan 2008 14:17:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jan 2008 06:17:18 -0800 X-ASF-Spam-Status: No, hits=-1.0 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of wind22@wp.pl designates 212.77.101.5 as permitted sender) Received: from [212.77.101.5] (HELO mx1.wp.pl) (212.77.101.5) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jan 2008 14:16:53 +0000 Received: (wp-smtpd smtp.wp.pl 8666 invoked from network); 14 Jan 2008 15:16:58 +0100 Received: from ip-195.114.160.156.netia.pl (HELO [172.16.84.39]) (wind22@[195.114.160.156]) (envelope-sender ) by smtp.wp.pl (WP-SMTPD) with AES256-SHA encrypted SMTP for ; 14 Jan 2008 15:16:58 +0100 Message-ID: <478B6EDB.2060701@wp.pl> Date: Mon, 14 Jan 2008 15:16:59 +0100 From: Tomasz Mazan User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: user@geronimo.apache.org Subject: Re: AW: How to register a Datasource in GlobalJNDI Namespace? References: <5EF9ADF93DC4DA46ACD21782C13680CF12BF3A@dmc-l01-mx01.dmc.local> <3D94D1D5-6FF9-4BBD-84D3-83C6786A88B7@yahoo.com> <5EF9ADF93DC4DA46ACD21782C13680CF12BF3C@dmc-l01-mx01.dmc.local> <14800942.post@talk.nabble.com> In-Reply-To: <14800942.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-WP-AV: skaner antywirusowy poczty Wirtualnej Polski S. A. X-WP-SPAM: NO 0000000 [0ROk] X-Virus-Checked: Checked by ClamAV on apache.org lfbarragan pisze: > Hi, > > I'm using Geronimo 2.0.2 and I'm trying to use to solution you proposed > before, I created the java file with the code from above, I compiled it and > then I putted that class inside the jar that contains that package. Now I'm > trying to deploy the database pool with the following plan: > > > > xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2"> > > console.dbpool > Binding_Test_Pool > 1.0 > rar > > > > oracle > jdbc > 14 > jar > > > > > > > > javax.sql.DataSource > > Binding_Test_Pool > name="Password">mypassword > name="Driver">oracle.jdbc.OracleDriver > name="UserName">myuser > name="ConnectionURL">jdbc:oracle:thin:@wmsi001981:1521:db11 > > > > 10 > 0 > > > > > jdbc/MysqlDatabase > > > > > > class="org.apache.geronimo.connector.globaljndi.ConnectionFactoryBindings"> > jms:conn > javax.jms.ConnectionFactory > name="regularExpression">^JmsDispatcher.*ConnectionFactory$ > > > And on the command prompt screen I'm getting this error: > > > > C:\geronimo-tomcat6-jee5-2.0.2>java -jar bin/deployer.jar deploy > factorybinding_ > plan.xml > repository\org\tranql\tranql-connector-ra\1.4\tranql-connector-ra-1.4.r > ar > Username: system > Password: ******* > Error: Unable to distribute tranql-connector-ra-1.4.rar: > org.apache.geronimo.gbean.InvalidConfigurationException: Could not > get GBeanInfo from class: > org.apache.geronimo.connector.globaljndi.ConnectionFactoryBindings > > Could not get GBeanInfo from class: > org.apache.geronimo.connector.globaljndi.ConnectionFactoryBindings > > null > > Unresolved compilation problem: > > Can you help me out with this issue? > > Thanks in advanced > You need to use org.apache.geronimo.naming.ResourceSource instead of org.apache.geronimo.connector.outbound.ConnectionFactorySource for Geronimo 2.0.2 Beniamin