Re: pg73jdbc3.jar and Connection Pool properties

From: Paul Thomas <paul(at)tmsl(dot)demon(dot)co(dot)uk>
To: Moreno Mauri <Moreno(dot)Mauri(at)italtel(dot)it>
Cc: "pgsql-jdbc (at) postgresql (dot) org" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: pg73jdbc3.jar and Connection Pool properties
Date: 2003-10-06 08:48:01
Message-ID: 20031006094801.A10758@bacon
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc


On 06/10/2003 08:51 Moreno Mauri wrote:
> Hi all,
> I 'm working on a server linux with installed postgresql version 7.2.1.
> For my Java code I used (till now) pgjdbc2.jar: everything was ok.
>
> Now I need to use Connection Pool and so I downloaded
> pg73jdbc3.jar (pgjdbc2.jar doesn't contain Connection Pool
> classes).

The Connection pool should be provided by the application container.

>
> Can I use pg73jdbc3.jar for postgresql 7.2.1 without any problem ?
> (I did a little test and it seems to be ok)

It will work fine.

>
> ------------------
>
> Another question.
> Connection Pooling is required by Sun One Application Server
> (I'm facing with an EJB based application).
> I didn't find clear examples about Connection Pool's properties that I
> have
> to indicate to the Application Server.
> I tried with:
>
> Datasource Classname: org.postgresql.jdbc3.PoolingDataSource
> serverName: localhost
> user: <my user>
> password: <my password>
> database Name: <my db name>
>
> but it doesn't work :-(
>
> Can anybody help me ?

There's no such class or interface as
org.postgresql.jdbc3.PoolingDataSource. Have you tried
org.postgresql.Driver?
--
Paul Thomas
+------------------------------+---------------------------------------------+
| Thomas Micro Systems Limited | Software Solutions for the Smaller
Business |
| Computer Consultants |
http://www.thomas-micro-systems-ltd.co.uk |
+------------------------------+---------------------------------------------+

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Moreno Mauri 2003-10-06 12:21:04 Re: pg73jdbc3.jar and Connection Pool properties
Previous Message Moreno Mauri 2003-10-06 07:51:44 pg73jdbc3.jar and Connection Pool properties