Hi
Objects,
This is regarding Weblogic 8.1 SP5 and MVC based application.
We have an application(MVC based) deployed on Weblogic 8.1 prod server.
We have created the Data Source and Connection Pool as well.
Few days we are facing some problems.
During transaction,suddenly the application site gets down.
While looking at the server's log, it states:
<Sep 1, 2007 11:50:03 AM IST> <Warning> <JDBC> <BEA-001074> <A JDBC pool connect
ion leak was detected. A connection leak occurs when a connection obtained from the pool was not closed explicitly by calling close() and then was disposed by the garbage collector and returned to the connection pool. The following stack trace at create shows where the leaked connection was created. Stack trace at connection create:
at weblogic.jdbc.wrapper.PoolConnection.init(PoolConnection.java:61)
at weblogic.jdbc.pool.Driver.allocateConnection(Driver.java:254)
at weblogic.jdbc.pool.Driver.connect(Driver.java:164)
at weblogic.jdbc.jts.Driver.getNonTxConnection(Driver.java:540)
at weblogic.jdbc.jts.Driver.connect(Driver.java:139)
at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:329) And the Weblogic instance for this particular application got shutdown.
And we have to restart it to recover from the problem.
In the application's log file the following message appears:
java.lang.OutOfMemoryError
OutOfMemoryError occured on server Please suggest what can be done to overcome this problem.
We have searched on Bea's website,but the link for this is not available at present.
"Investigating JDBC Connection Leaks" --not available
Thank you in advance.
Baseet Ahmed
***********************************
Tip:
Sincerity is mother of all acheivements. ***********************************