• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Connection leak

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello ,

i am using weblogic8.1SP3 , i am having a arch of DAO's , from where i call the database , i am using connection pooling of weblogic , but suddenly i am getting an exception which says , the follwoing ..

<Sep 23, 2005 6:21:34 PM GMT+05:30> <Warning> <JDBC> <BEA-001074> <A JDBC pool connection leak was detected. A connectio
n leak occurs when a connection obtained from the pool was not closed explicitly by calling close() and then was dispose
d by the garbage collector and returned to the connection pool. The following stack trace at create shows where the leak
ed connection was created. [Null exception passed, creating stack trace for offending caller]
at weblogic.utils.StackTraceUtils.throwable2StackTrace(StackTraceUtils.java:28)
at weblogic.jdbc.wrapper.JTSConnection.finalizeInternal(JTSConnection.java:115)
at weblogic.jdbc.wrapper.JTSConnection_oracle_jdbc_driver_T4CConnection.finalize(Unknown Source)
at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)
at java.lang.ref.Finalizer.access$100(Finalizer.java:14)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160)
>

can someone help , i have tried all options , and used all the startup options of weblogic, is there a patch which can atleast give me full stack trace ! as to where the exception started from ....

thanx in advance
 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Check whether you are closing the connection at right time or not.
I mean it might be possible that you are closing connection after transaction commited.
 
Ranch Hand
Posts: 226
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
here is the simillar problem along with the solution

http://forums.bea.com/bea/message.jspa?messageID=202174580&tstart=0

this might help you

Thanks,
Santosh
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic