Anthony Hong wrote:
Hi. Have you tried enabling leak profiling? Do you have any symptoms of
pool leaks?
Joe
And I found it in your newsgroup that one person has such requirement for his
weblogic server 7.0.
<Jul 6, 2004 10:48:33 PM CST> <Warning> <Common> <BEA-000620> <Forcibly releasing
inactive resource "weblogic.jdbc.common.internal.ConnectionEnv@152b696" back into
the pool "jdbcpool".>
<Jul 6, 2004 10:48:48 PM CST> <Warning> <Common> <BEA-000631> <Unknown resource
"weblogic.jdbc.common.internal.ConnectionEnv@152b696" being released to pool "jdbcpool".
Printing out current pool contents.>
I think my program have connection leak, Am I right?
Joe Weinstein <joeN...@bea.com> wrote:
>
>
>
>Anthony Hong wrote:
>
>> I have following information given by weblogic server
>>
>> <Jul 6, 2004 10:48:33 PM CST> <Warning> <Common> <BEA-000620> <Forcibly
>releasing
>> inactive resource "weblogic.jdbc.common.internal.ConnectionEnv@152b696"
>back into
>> the pool "jdbcpool".>
>> <Jul 6, 2004 10:48:48 PM CST> <Warning> <Common> <BEA-000631> <Unknown
>resource
>> "weblogic.jdbc.common.internal.ConnectionEnv@152b696" being released
>to pool "jdbcpool".
>> Printing out current pool contents.>
>>
>> I think my program have connection leak, Am I right?
>
>Maybe. Please take the attached debug jar, and get it listed ahead of
>the weblogic.jar
>in the classpath created by the start script for the server. Then run
>as usual, and
>when that message is printed out, it should include a trace of where
>the connection
>was reserved. That way you can identify what code got a connection and
>didn't close it.
>Note though, that in 81sp2, the code that reclaims idle connections doesn't
>actually
>know if the connection is really idle or whether it is really waiting
>for a long time
>for a DBMS call to return...
>Joe
Anthony Hong wrote:
> Thanks Joe, It works fine.
> I found the connection leak.
> By the way, I have one more question about it.
> Each weblogic server version has its correspond connection leak debug lib?
> When I want to find problem in future version. I have to ask for this lib again?
Glad to help. If the pool is configured for Leak Profiling you should get this behavior.
Could you please send us the [81sp2conenv_pool.jar]
We are experiencing the same problem with our app under wls12 sp2 with oracle thin driver.
Regards,
nlo
n lo wrote:
WLS12?
Joe
Regards,
nlo
n lo wrote:
I attached it in my last newsgroup post. It is a debug jar of my own creation.
If you email me, I can resend it directly.
Joe
j
o
e
AT
b
e
a
DOT
c
o
m
I am also getting the following stacktrace with WLS81SP3. I am not sure how to find the actual connection leak. Is you debug jar helpful for Sp3 too?
<Aug 24, 2004 6:23:59 PM GMT> <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 t
he garbage collector and returned to the connection pool. The following stack tr
ace at create shows where the leaked connection was created. [Null exception pa
ssed, creating stack trace for offending caller]
at weblogic.utils.StackTraceUtils.throwable2StackTrace(Ljava.lang.Throwa
ble;)Ljava.lang.String;(StackTraceUtils.java:28)
at weblogic.jdbc.wrapper.JTSConnection.finalizeInternal()V(JTSConnection
java:115)
at weblogic.jdbc.wrapper.JTSConnection_oracle_jdbc_driver_T4CConnection.
finalize()V(Unknown Source)
at java.lang.Object.runFinalizer()V(Unknown Source)
at java.lang.LangAccessImpl.objectFinalize(Ljava.lang.Object;)V(Unknown
Source)
at java.lang.ref.Finalizer.runFinalizer()V(Unknown Source)
at java.lang.ref.Finalizer.access$100(Ljava.lang.ref.Finalizer;)V(Unknow
n Source)
at java.lang.ref.Finalizer$FinalizerThread.run()V(Unknown Source)
at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Sourc
e)
thanks
karma
I couldn't get the attachment here in newsgroups. Is it possible to email it to me to to_k...@yahoo.com.
Thanks
Karma
I got the jar, but I couldn't see any useful stacktrace with this too. I am seeing the same error message originated from connection's finalize method.
I saw that the Statement class is included in the jar. Do I need Connection class too?
<Aug 24, 2004 10:53:58 PM GMT> <Warning> <JDBC> <BEA-001074> <A JDBC pool connec
tion 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 t
race at create shows where the leaked connection was created. [Null exception p
assed, creating stack trace for offending caller]
Would appreciate if you can sent me the [81sp2conenv_pool.jar] debug jar too. I'm facing the same problem.
Thanks
Is it possible to send me 81sp2conenv_pool.jar
Do you have any instructions to configure that
Thank you
Dany
Dany Auclair wrote:
> Hi Joe
Show your pool config. This has nothing to do with that jar.
You have timout idle connections turned on. Turn it off. It
doesn't help.
thanks,
Malini
Malini Kaushik wrote:
Hi. Show me your symptoms. The jar has been attached to
previous posts. Send me a real email address.
Joe
I'm also having this problem for wl8 sp3 could someone email me this jar.
thanks, michael
michael mitchell wrote:
Hi. there are a few places where this could occur, and both in 81sp2
and 81sp3, so please send me your server version and your exact
symptom (full stacktrace).
Joe
Could you send me debug.jar file, please?
Thanks in advance.
I am having problems with getting into the site.
I also have the same problems, here is the stack -
<Aug 28, 2004 7:07:51 PM EDT> <Warning> <JDBC> <BEA-001074> <A JDBC pool connection 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. [Null exception passed, creating stack trace for offending caller]
at weblogic.utils.StackTraceUtils.throwable2StackTrace(StackTraceUtils.java:28)
at weblogic.jdbc.wrapper.PoolConnection.finalizeInternal(PoolConnection.java:84)
at weblogic.jdbc.wrapper.PoolConnection_COM_ibm_db2_jdbc_app_DB2Connection.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)
>
And what is the impact of the following property on performance? "Remove Infected Connections Enabled". I have been trying to get more understanding on the web and does it option work on any connection? Or only on infected connection? And what would define an infected connection?
If you can send me the jar at the following id - rajit.k...@capitalone.com that would be great.
Thanks,
Rajit.
Thanks for your reply.
The version I am running is - Version: WebLogic Server 8.1 SP3 Do you have any recommendations around - Single Threaded Servlet Pool Size:?
Thanks,
Rajit.
I have the same problem as Anthony, could you send me the 81sp2conenv_pool.jar or explain me how download it from forum?,
thanks a lot,
I am using Bea Weblogic 8.1 sp3 and facing the same connection leak problem, here is the stack:
<Warning> <JDBC> <BEA-001074> <A JDBC pool connection 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. [Null exception passed, creating stack trace for offending caller]
at weblogic.utils.StackTraceUtils.throwable2StackTrace(Ljava.lang.Throwable;)Ljava.lang.String;(StackTraceUtils.java:28)
at weblogic.jdbc.wrapper.JTSConnection.finalizeInternal()V(JTSConnection.java:115)
at weblogic.jdbc.wrapper.JTSConnection_weblogic_jdbc_mssqlserver4_MicrosoftConnection.finalize()V(Unknown Source)
at java.lang.Object.runFinalizer()V(Unknown Source)
at java.lang.LangAccessImpl.objectFinalize(Ljava.lang.Object;)V(Unknown Source)
at java.lang.ref.Finalizer.runFinalizer()V(Unknown Source)
at java.lang.ref.Finalizer.access$100(Ljava.lang.ref.Finalizer;)V(Unknown Source)
at java.lang.ref.Finalizer$FinalizerThread.run()V(Unknown Source)
at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)
I know you have the jar which can show the actual trace of the creation of the connection right? Can you please send to me? Thanks a lot.
The jar you posted worked nicely for me...
Found that (ofcaurse) have to close connection after handling some
resultsets :-)
Thanx
Mik Tuver
Could you please send the debug jar to trace the connection leaks
Thanks in advance
my email address : kur...@yahoo.com
Thx a lot.
Could you please send the debug jar to trace the connection leaks
Thanks in advance
my email address : chhim...@tcs.com
Thanks in advance,
Chhimi
Can you please send the jar file to me again? I can't receive it coz it is high risk extension file. Can you please zip it and send again? Can I download the file from bea website? Sorry for the trouble.
Anyone else who got the jar file, can you guys zip it and send to me? I need it urgently. Thanks a lot :)
P/S: I'm using weblogic 8.1 sp3. Email: sweeyu...@hotelinfosys.com
Could you please send me the jar file. my mail id is
We are using weblogic8.1/sp2.
Here is the stack trace.
[SerialConnection] : Connection Leak detected! java.lang.Throwable: [Null exception passed, creating stack trace for offending caller]
at weblogic.utils.StackTraceUtils.throwable2StackTrace(StackTraceUtils.java:28)
at weblogic.jdbc.rmi.SerialConnection.finalize(SerialConnection.java:84)
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)
[SerialConnection] : Connection Leak detected! java.lang.Throwable: [Null exception passed, creating stack trace for offending caller]
at weblogic.utils.StackTraceUtils.throwable2StackTrace(StackTraceUtils.java:28)
at weblogic.jdbc.rmi.SerialConnection.finalize(SerialConnection.java:84)
Jagdish Patil wrote:
> hi Joe,
>
> Could you please send me the jar file. my mail id is
>
> Jagdis...@med.ge.com
>
> We are using weblogic8.1/sp2.
Sure, but this is a slightly different case, it seems.
The exception you're getting below seems to be from
an external client, not from the Weblogic jvm, is that
correct?
thanks
Joe
I believe this is from Weblogic JVM.
We have eds-database.jar which is wrapper around jdbc api and it makes use of weblogic connection pool,
this connection pool resides on diffrent weblogic server. We use wrapper api's from this jar file in our web application which resides on another server to perform database logging functionality
This stack trace is from our weblogic console when ever our servelt calls database api's are from eds.database.jar file.
Hope this helps to visualize our issue.
Any inputs are highly appreciated.
Regards,
Jagdish
Jagdish Patil wrote:
Yes. it seems one server is getting pool connections (RMI proxies) from another server.
So did your warning show up on the server with the original pool, or in the 'client' weblogic?
thanks,
Joe
(and what version of weblogic again?)
sql = SELECT FACILITYID, FACILITYNAME FROM UCM.UCM_FACILITY WHERE HPG_FLAG='Y' ORDER BY FACILITYNAME
java.rmi.NoSuchObjectException: Unable to dispatch request to Remote object with id: '280'. The object has been garbage collected.
Start server side stack trace:
java.rmi.NoSuchObjectException: Unable to dispatch request to Remote object with id: '280'. The object has been garbage collected.
at weblogic.rjvm.RJVMImpl.dispatchRequest(RJVMImpl.java:766)
at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:738)
at weblogic.rjvm.ConnectionManagerServer.handleRJVM(ConnectionManagerServer.java:207)
at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:777)
at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:508)
at weblogic.socket.PosixSocketMuxer.deliverGoodNews(PosixSocketMuxer.java:770)
at weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:694)
at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
End server side stack trace
at weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:108)
at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:138)
at weblogic.jdbc.rmi.internal.ConnectionImpl_WLStub.rollback(Unknown Source)
at weblogic.jdbc.rmi.SerialConnection_weblogic_jdbc_rmi_internal_ConnectionImpl_WLStub.rollback(Unknown Source)
at com.ge.med.service.dataservices.DAC.SQL.SelectClass.executeQuery(SelectClass.java:244)
at com.ge.med.service.dataservices.DAC.SQL.QueryHandler.executeQuery(QueryHandler.java:273)
at com.ge.med.service.icenter.em.util.SearchCustomer.getCustomerList(SearchCustomer.java:77)
at jsp_servlet.__hpg_bottom._jspService(__hpg_bottom.java:217)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:446)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6350)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
--------------- nested within: ------------------
weblogic.rmi.extensions.RemoteRuntimeException: Unexpected Exception - with nested exception:
[java.rmi.NoSuchObjectException: Unable to dispatch request to Remote object with id: '280'. The object has been garbage collected.
Start server side stack trace:
java.rmi.NoSuchObjectException: Unable to dispatch request to Remote object with id: '280'. The object has been garbage collected.
at weblogic.rjvm.RJVMImpl.dispatchRequest(RJVMImpl.java:766)
at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:738)
at weblogic.rjvm.ConnectionManagerServer.handleRJVM(ConnectionManagerServer.java:207)
at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:777)
at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:508)
at weblogic.socket.PosixSocketMuxer.deliverGoodNews(PosixSocketMuxer.java:770)
at weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:694)
at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
End server side stack trace
]
at weblogic.jdbc.rmi.internal.ConnectionImpl_WLStub.rollback(Unknown Source)
at weblogic.jdbc.rmi.SerialConnection_weblogic_jdbc_rmi_internal_ConnectionImpl_WLStub.rollback(Unknown Source)
at com.ge.med.service.dataservices.DAC.SQL.SelectClass.executeQuery(SelectClass.java:244)
at com.ge.med.service.dataservices.DAC.SQL.QueryHandler.executeQuery(QueryHandler.java:273)
at com.ge.med.service.icenter.em.util.SearchCustomer.getCustomerList(SearchCustomer.java:77)
at jsp_servlet.__hpg_bottom._jspService(__hpg_bottom.java:217)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:446)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6350)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
[SerialConnection] : Connection Leak detected! java.lang.Throwable: [Null exception passed, creating stack trace for offending caller]
at weblogic.utils.StackTraceUtils.throwable2StackTrace(StackTraceUtils.java:28)
at weblogic.jdbc.rmi.SerialConnection.finalize(SerialConnection.java:84)
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)
2004-10-01 11:16:19,393 [ExecuteThread: '12' for queue: 'weblogic.kernel.Default'] {SelectClass:executeQuery:220} WARN - executeQuery():sql time:3369
In SearchCustomer.getCustomerList , Exception is: Unexpected Exception
<Oct 1, 2004 11:16:19 AM CDT> <Error> <HTTP> <BEA-101017> <[ServletContext(id=24349308,name=icenter,context-path=/icenter)] Root cause of ServletException.
java.lang.Exception
at com.ge.med.service.icenter.em.util.SearchCustomer.getCustomerList(SearchCustomer.java:85)
at jsp_servlet.__hpg_bottom._jspService(__hpg_bottom.java:217)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:446)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6350)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
I have been seeing the same error messages with very similar stack dumps. I am using WLS 8.1.2 and oracle 9.2.x driver. I think I need the 81sp2conenv_pool.jar file emailed to me. Please send me the file. thanks!
Thanks,
Jason
I turned on some WLS debugging and see the following when the connection leak occurs:
####<Oct 1, 2004 4:38:04 PM EDT> <Warning> <JDBC> <CCIC5748> <localDev> <Finalizer> <<anonymous>> <> <BEA-001074> <A JDBC pool connection 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. JTAConnection leaked due to using it in non-xa mode without close it.> ####<Oct 1, 2004 4:38:04 PM EDT> <Debug> <JDBC XA> <CCIC5748> <localDev> <Finalizer> <<anonymous>> <> <000000> < -tx:null- -pool:iSitePool- > JTA Connection.close - conn:[weblogic.jdbc.wrapper.JTAConnection_weblogic_jdbc_wrapper_XAConnection
_oracle_jdbc_driver_LogicalConnection-iSitePool-260, null]> ####<Oct 1, 2004 4:38:04 PM EDT> <Debug> <JDBC XA> <CCIC5748> <localDev> <Finalizer> <<anonymous>> <> <000000> < -tx:null- -pool:iSitePool- < JTA Connection.close>
However, I never see any stack trace in any of my log files?!?! Where is this supposed to be displayed/logged to?
Any ideas?
Some settings in my startWeblogic.cmd command:
set
CLASSPATH=D:\bea\user_projects\domains\localDomain\81sp2whereclosed.jar;D:\b
ea\user_projects\domains\localDomain\ojdbc14.jar;D:\bea\user_projects\domain
s\localDomain\jt400.jar;%WEBLOGIC_CLASSPATH%;%POINTBASE_CLASSPATH%;%JAVA_HOM
E%\jre\lib\rt.jar;%WL_HOME%\server\lib\webservices.jar;D:\bea\user_projects\
domains\localDomain;%CLASSPATH%
set JAVA_OPTIONS=-Xdebug -Xnoagent
-Xrunjdwp:transport=dt_socket,server=y,address=7777,suspend=n -Djava.compiler=NONE
%JAVA_HOME%\bin\java %JAVA_VM% %MEM_ARGS% %JAVA_OPTIONS% -Dweblogic.Name=%SERVER_NAME% -Djava.compiler=NONE -Dweblogic.ProductionModeEnabled=%PRODUCTION_MODE%
-Djava.security.policy="%WL_HOME%\server\lib\weblogic.policy"
-Dccic.environ=dev -Dlog4j.configuration=config/dev/log4j.properties
-DdomainLogDir=D:\bea\user_projects\domains\localDomain\logs
-Dweblogic.Debug=weblogic.JDBCConn="true",weblogic.JTAJDBC="true"
-DinstanceLogDir=D:\bea\user_projects\domains\localDomain\localDev\logs
weblogic.Server
..
And here is what I see on the console at server startup (as expected):
D:\bea\user_projects\domains\localDomain>startweblogic
CLASSPATH=D:\bea\user_projects\domains\localDomain\81sp2whereclosed.jar;D:\b
ea\u
ser_projects\domains\localDomain\ojdbc14.jar;D:\bea\user_projects\domains\lo
calD
omain\jt400.jar;C:\J2SDK1~1.2_0\lib\tools.jar;C:\bea\WEBLOG~1\server\lib\web
logi
c_sp.jar;C:\bea\WEBLOG~1\server\lib\weblogic.jar;C:\bea\WEBLOG~1\server\lib\
ojdb
c14.jar;C:\bea\WEBLOG~1\common\eval\pointbase\lib\pbserver44.jar;C:\bea\WEBL
OG~1
\common\eval\pointbase\lib\pbclient44.jar;C:\J2SDK1~1.2_0\jre\lib\rt.jar;C:\
bea\
WEBLOG~1\server\lib\webservices.jar;D:\bea\user_projects\domains\localDomain
;C:\
j2sdk1.4.2_04\lib\tools.jar;D:\Projects\CCIsites\src\external\junit\3.8.1\ju
nit.
jar;D:\Projects\CCIsites\src\external\bea\wlserver8.1\lib\weblogic.jar;D:\Pr
ojec
ts\CCIsites\src\external\bea\wlserver8.1\lib\webservices.jar
PATH=C:\bea\WEBLOG~1\server\bin;C:\J2SDK1~1.2_0\jre\bin;C:\J2SDK1~1.2_0\bin;
C:\j
2sdk1.4.2_04\bin;D:\Projects\CCIsites\src\external\ant\1.5.1\bin;C:\WINDOWS\
SYST
EM32;;C:\bea\WEBLOG~1\server\bin\oci920_8
Thanks,
Jason Goris
Crown Castle International
Pittsburgh, PA
"Jagdish Patil" <noad...@noaddress.given> wrote in message news:30431552.1096648212929.JavaMail.root@jserv5...
> Yes ... this is what we are getting at Client weblgoic when we first time access database api's which connect to
> our connection pool weblogic server and after this we start getting connection leak issues.
>
> sql = SELECT FACILITYID, FACILITYNAME FROM UCM.UCM_FACILITY WHERE HPG_FLAG='Y' ORDER BY FACILITYNAME
> java.rmi.NoSuchObjectException: Unable to dispatch request to Remote object with id: '280'. The object has been garbage collected.
A cause of this may be that your client didn't access weblogic
for a long time and the server considered the client dead and
released resources accociated with the request.
Is it possible that you have opened a connection on a remote
client, left it unused for a long time and then tried to use it again?
Please check this for handling JDBC in weblogic:
http://www.viewtier.com/newsgroups/thread.jspa?threadID=1&tstart=0
Regards,
Slava Imeshev
pls use the below mail id to send the same
With reg,
Kori
Could you send me 81sp2conenv_pool.jar for the same? we are using WL81 sp2.
pls use below id to send the same
With reg,
Kori
Could you send me your debug jar "81sp2connenv_pool.jar".
Thanks.
Can you please send the wl81sp2_conenv.jar to the following address I am getting the same problem.
Murali
Can you please send the wl81sp2_conenv.jar to the following address I am getting the same problem.
Murali
Thank you!
Thanks,
Lynn
I'm another person trying to track down a connection leak and unable to download the 81sp2conenv_pool.jar file.
If you could mail it to me that would be much appreciated.
Thanks
Using: Weblogic 8.1 SP3 with Sybase
<2004-11-10 上午09时59分43秒 CST> <Warning> <JDBC> <BEA-001074> <A JDBC pool con
nection leak was detected. A connection leak occurs when a connection obtained f
rom 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 stac
k trace at create shows where the leaked connection was created. Stack trace at
connection create:
at weblogic.jdbc.wrapper.PoolConnection.init(PoolConnection.java:56)
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:507)
at weblogic.jdbc.jts.Driver.connect(Driver.java:139)
at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSour
ce.java:305)
at weblogic.jdbc.common.internal.RmiDataSource_WLSkel.invoke(Unknown Sou
rce)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerR
ef.java:108)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
144)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
a:415)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
>
I am using one Weblogic, and a Tomcat Client.
Rayy
> Hi. Are you in a cluster, of are you connecting from
> one weblogic server to another?
> Joe
> >
>
Rayy Choi wrote:
> Thanks for reply.
>
> I am using one Weblogic, and a Tomcat Client.
>
> Rayy
>
Ok, then let's see your code that gets connections in
tomcat. I suspect you aren't closing connections.
Joe
Thanks for reply.
I had found out the unclose connections in tomcat.
I didn't know there had some connections in the Tomcat,
so I have not check the client code before.
Thanks,
Rayy
Rayy Choi wrote:
Glad to help.
Joe
Can you send the debug patch for identifying the class which has not closed the connection properly.
I have already enbaled Connection Leak Profiling
I am getting the following error in the application
<Warning> <JDBC> <BEA-001074> <A JDBC pool c
onnection leak was detected. A connection 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 leaked connection was created. [Null except
ion passed, creating stack trace for offending caller]
Thanks
Arun
arun.sr...@gmail.com
I have no business email address, could u try this one?
zhe...@gmail.com
best regards!
Sorry for the inconvinience; I had previously posted a reply for another message, but after reading the whole thread I'm wishing you could help me.
I would appretiate if you send me the debug jar to a_r...@yahoo.com
Thanks for your Help
Alex
Did you got the jars?
Can you send them to a_r...@yahoo.com ?
Because I am having trouble with Connection Leaking too.
Thanks
Alex
Thanks
Thank you
BEA-001074 Nov 30, 2004 11:16:01 AM PST REALM_MS1 Warning JDBC A JDBC pool connection 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. [Null exception passed, creating stack trace for offending caller]
at weblogic.utils.StackTraceUtils.throwable2StackTrace(Ljava.lang.Throwable;)Ljava.lang.String;(StackTraceUtils.java:28)
at weblogic.jdbc.wrapper.JTAConnection.finalizeInternal()V(JTAConnection.java:328)
at weblogic.jdbc.wrapper.JTAConnection_weblogic_jdbc_wrapper_XAConnection_weblogic_jdbcx_base_BaseConnectionWrapper.finalize()V(Unknown Source)
at java.lang.Object.runFinalizer()V(Unknown Source)
at java.lang.LangAccessImpl.objectFinalize(Ljava.lang.Object;)V(Unknown Source)
at java.lang.ref.Finalizer.runFinalizer()V(Unknown Source)
at java.lang.ref.Finalizer.access$100(Ljava.lang.ref.Finalizer;)V(Unknown Source)
at java.lang.ref.Finalizer$FinalizerThread.run()V(Unknown Source)
at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)
BEA-001074 Nov 30, 2004 11:16:01 AM PST REALM_MS1 Warning JDBC A JDBC pool connection 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. JTAConnection leaked due to using it in xa mode without close it.
Could u pls send me the required jar file as i'm also facing the same problem.
My email address is:
preeti...@siemens.com
Thanks
Vaishali Mahale wrote:
> Hi,
>
> I'm using weblogic 8.1 with sp3 and getting the same exception. Can you send me the debug jar for 8.1/sp3.
>
> Thanks
When we get a valid email address... Say what weblogic version. Show the symptoms....
Joe
We have the same issue with our application as well.
Can you send me the 81sp2conenv_pool.jar?
My email address is jsc...@yahoo.com
I got the same error in Weblogic 81sp2 which seem to be killing the server.
Thanks a lot,
James
I am getting the following stack trace with Weblogic 8.1sp3.
<Dec 6, 2004 8:35:11 AM EST> <Warning> <JDBC> <BEA-001074> <A JDBC pool connecti
on leak was detected. A connection leak occurs when a connection obtained from t
he pool was not closed explicitly by calling close() and then was disposed by th
e garbage collector and returned to the connection pool. The following stack tra
ce at create shows where the leaked connection was created. [Null exception pas
sed, creating stack trace for offending caller]
at weblogic.utils.StackTraceUtils.throwable2StackTrace(StackTraceUtils.j
ava:28)
at weblogic.jdbc.wrapper.JTSConnection.finalizeInternal(JTSConnection.ja
va: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)
>
Is your debug patch help me in to catch connection leak in the code? Can you send me the debug patch to the following email addressses.
rv...@yahoo.com
raju...@thehartford.com
Thanks
Raju
<Dec 6, 2004 4:44:46 PM PST> <Warning> <JDBC> <BEA-001074> <A JDBC pool connection 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. [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)
>
I have enabled connection leak profiling, but still the stack trace does not give me more information on the conenction leak.
Also I only see this warning when I use the JDBCTxDataSource.
Can you send me a patch (for weblogic 8.1/sp3 ) which will help me to detect all the connection leaks.
Here's my email id - vaishal...@neoforma.com
Thanks,
Vaishali.
my email is coolkn...@sina.com
thanks,
Malini
I am having a connection pool leak on WLP 8.1 sp3 and I was hoping you could email me your debug jar to help me pinpoint my issue. Please use: samuel....@accenture.com
Thank you!
Just wanted to inform you that our product JDBInsight ( JXInsight) has had connection, statement, and resultset leakage in the product for more than 2 years and works with all versions of BEA WebLogic Server as well as other containers and custom framework code. We provide stack traces, code sources, sql, and transaction context for every leakage.
The product can be downloaded from: http://www.jinspired.com/products/jdbinsight/downloads/index.html
Chapter 5 – Resource Perspective and Views: http://www.jinspired.com/products/jdbinsight/userguide.pdf
We have recently provided an update to our 3.0 release that includes an additional document describing the integration steps in getting JDBInsight/JXInsight profiling and monitoring BEA WebLogics Sample Medical Records (XA) J2EE Application: http://www.jinspired.com/products/jdbinsight/medrecguide.pdf
Regards,
William Louth
Product Architect
JInspired
"J2EE tuning, testing and tracing with real Insight"
http://www.jinspired.com
Got the same problem with Weblogic 8.1 SP3. Can you please send me the patch. My email address is shis...@yahoo.com.
Thanks in advance,
Kind Regards,
Shishank
Shishank Mathur wrote:
Hi. For any customer getting logged warnings like:
####<Jul 20, 2004 11:53:10 AM EDT> <Warning> <JDBC> <bigshop>
<myCluster> <Finalizer> <<anonymous>> <> <BEA-001074> <A JDBC pool
connection 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. [Null exception passed, creating stack trace for offending caller]
For WebLogic Server versions 8.1sp2 and 8.1sp3 there is a bug in the JTS/JTA
connections that creates an unhelpful exception when a connection is leaked.
There is supposed to be a stacktrace that shows where the connection was made,
in order to help trace the leak. For sp2 and sp3, there is instead a 'null'
stacktrace because these classes neglected to retain a 'where-created' trace
when they were initialized.
The official patches should be obtained by contacting support, and asking
for CR189281_81sp3.3.jar for 81sp3, or CR209251_81sp2.jar for 81sp2.
Please install this patch so it comes ahead of the weblogic.jar in the
classpath constructed by the startWebLogic script.
With this jar, these warnings will only be logged if leak tracing is
turned on for the pool, and they will contain the useful trace they intended
to have.
Joe
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)
Thanks,
Hardeep
har...@tiaa-cref.org