hi all,

                i am making jdbc connectioin init method of servlets , and then i am
passing connection obect in bean's constructor where i am using it to create
statement and executeQuery stuff.The idea is to use one connection in entire
project , but my problem is that i am able to pass connection object ,
statement obect is also created but when i make call to executeQuery it
throws exception from execSQL() method (some internal function which is
called by executeQuery internally ,its not in my code ).

but if i make connection in bean itself instead of passing it from servlet
it works perfectly ok , but in that case
i will have to make more number of connection.i want to use only one
connection.

if anyone can suggest other way round , it would be great help.

nikhil








-----Original Message-----
From: Ricardo [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 26, 2001 12:13 PM
To: [EMAIL PROTECTED]
Subject: Re: Tomcat 4.0 & Apache with Client Certs


This property is actually set to TRUE, but i can't get SSL properties.

============================
Ricardo Borillo Domenech
Programaci� - Servei d'Inform�tica
Universitat Jaume I
----- Original Message -----
From: "Craig R. McClanahan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 25, 2001 10:13 PM
Subject: Re: Tomcat 4.0 & Apache with Client Certs




On Tue, 25 Sep 2001, Ricardo wrote:

> Date: Tue, 25 Sep 2001 12:54:45 +0200
> From: Ricardo <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: Re: Tomcat 4.0 & Apache with Client Certs
>
> I'm using Tomcat 4.0 b5 standalone with client authentication.
> In this situation Tomcat only exports information about the CIPHER_SUITE
and
> KEY_SIZE ... what about client certificate ?!?!?!
>

Tomcat 4 (stand alone) will only export client certificates if you tell
the SSL connector that you require them.  To do so, change the
"clientAuth" property to "true".

> Thanks,
> ============================
> Ricardo Borillo Domenech
> Programaci� - Servei d'Inform�tica
> Universitat Jaume I

Craig McClanahan

Reply via email to