users@glassfish.java.net

SQLException does not drop JDBC connection from pool

From: Markus Karg <karg_at_quipsy.de>
Date: Tue, 14 Oct 2008 16:13:13 +0200

Dear Community,

 

I have enabled "table" type connection check and added an existing table. "DROP ALL" is DISABLED, so the failing connection only should be dropped. Minimum pool size is 8, maximum is 32. Due to IDLE settings, the DBMS drops the connections, so they result in exceptions when trying to use them. The exceptions are shown in server.log from GlassFish.

 

But: I can try hundreds of times and never get a new connection, but always get SQLException in the calling client. Neither are connections dropped nor are new connections opened.

 

What am I doing wroing? Or is that a bug?

 

Thanks

Markus

 

QUIPSY QUALITY GmbH & Co. KG

Ein Unternehmen der MES-Gruppe

Stuttgarter Strasse 23

D-75179 Pforzheim

Tel: 07231-9189-52

Fax: 07231-9189-59

www.quipsy.de

karg_at_quipsy.de

Registergericht Mannheim HRA 701214

Geschäftsführer: Nils Schroeder

 

Diese E-Mail enthält persönliche, vertrauliche und vor Weitergabe geschützte Informationen und ist ausschließlich für den vorgesehenen o.g. Empfänger (Adressaten) bestimmt. Falls Sie diese E-Mail versehentlich erhalten haben und nicht der vorgesehene Empfänger sind, bitten wir Sie, die E-Mail und deren Anhänge nicht aufzubewahren, nicht zu vervielfältigen, nicht zu nutzen und nicht weiterzugeben. Bitte informieren Sie uns als Absender über diesen Zustellungsfehler und löschen Sie die E-Mail.

 

 

 

 








image001.jpg
(image/jpeg attachment: image001.jpg)