Why don't you use the JBoss - Catalina association ...
JBoss provides Connection Pooling...via proper MBean configuration
I believe then you don't need to release the ***connection*** - at worst the
pooled connection :-)).
As I am working on the issue at the moment I cannot tell you more about it
but I guarantee you that this is the way to work ;-))
Rgds,
Thomas,
--
Thomas SMETS
rue J. Wytsmanstraat 62
1050 Bruxelles
yahoo-id : smetsthomas
----- Original Message -----
From: "Justin Clift" <justin@postgresql.org>
To: "Tony Grant" <tony@animaproductions.com>
Cc: <pgsql-jdbc@postgresql.org>; "Hari Yellina" <hyellina@iprimus.com.au>
Sent: 06 March, 2002 7:46 AM
Subject: Re: [JDBC] Connections with Tomcat 3.2.4 and PostgreSQL 7.1.3
> Hi Tony,
>
> The java guys here are wondering why it's necessary to explicitely close
> the connections to the database in their .jsp's, as the java garbage
> collector should do this automatically?
>
> :-)
>
> Regards and best wishes,
>
> Justin Clift
>
> --
> "My grandfather once told me that there are two kinds of people: those
> who work and those who take the credit. He told me to try to be in the
> first group; there was less competition there."
> - Indira Gandhi
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly
>