users@glassfish.java.net

Re: Glassfish v2 ur2 DB connection pooling problem

From: <glassfish_at_javadesktop.org>
Date: Mon, 07 Jul 2008 02:39:00 PDT

Physical Connection is got by doing

com.sun.appserv.jdbc.DataSource ds = .........
Connection con = ds. getConnection();
physicalCon = ds.getConnection(con);

There is a connection leak and should be fixed in the code where these exceptions are generated:

hraps.Connect_1.getConnection(Connect_1.java:64)
hraps.Connect_1.execSelect(Connect_1.java:132)
hraps.SessionBean1.<init>(SessionBean1.java:80)

If the pool works fine even when these errors are generated, then leak reclaim has been enabled in your pool configuration.

Thanks,
Shalini.
[Message sent by forum member 'sm157516' (sm157516)]

http://forums.java.net/jive/thread.jspa?messageID=284643