Return-Path: Delivered-To: apmail-jakarta-avalon-dev-archive@jakarta.apache.org Received: (qmail 30567 invoked by uid 500); 2 Jul 2001 15:59:03 -0000 Mailing-List: contact avalon-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: "Avalon Development" Delivered-To: mailing list avalon-dev@jakarta.apache.org Received: (qmail 30526 invoked from network); 2 Jul 2001 15:58:59 -0000 Message-ID: <3B409A24.40001@bangstate.com> Date: Mon, 02 Jul 2001 10:58:28 -0500 From: Philip Antoniades Organization: Bangstate, Inc. User-Agent: Mozilla/5.0 (X11; U; Linux 2.4.2-2smp i686; en-US; rv:0.9.1) Gecko/20010622 X-Accept-Language: en-us MIME-Version: 1.0 To: Avalon Development Subject: Re: Problem creating/using JdbcConnectionPool References: <3B3B95C7.1010004@bangstate.com> <3B40939F.D0981500@apache.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N berin, thank you! i'm looking forward to your paper - if you want a 'guinea pig programmer' to read through it, i'd be more than happy to volunteer. i have many questions (that can probably be guessed by the one i asked) better suited for an 'avalon-user' list that i've been holding... philip Berin Loritsch wrote: > Philip Antoniades wrote: > >>hello, >> >>I've read about all the docs I can get my hands on, and i suspect i >>still dont get how to properly deploy Components through avalon. But why >>does this code: >> > > Because you didn't use the Component. Try this: > > DataSourceComponent ds = new JdbcDataSource(); > ds.setLogger(this.getLogger()); > ds.compose(this.manager); > ds.configure(conf); > ds.initialize(); > > > The configuration should look like this: > > > > > > jdbc:oracle:thin:@ORADB:localhost:1521 > joe > blow > > > > Also make sure you have already loaded the driver class into the > classloader. > --------------------------------------------------------------------- To unsubscribe, e-mail: avalon-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: avalon-dev-help@jakarta.apache.org