473,396 Members | 1,892 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

c3p0 error - A checked-out resource is overdue. Why please tell me checking the code.

I am trying to maintain an existing application and seeing some errors in the log file. Not sure what do these mean, Please suggest what could be causing this?

Expand|Select|Wrap|Line Numbers
  1. INFO - sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=20;_ThreadName=Timer-9;|
  2. INFO - Allocating session for http://www.fromdev.com, opening...
  3. INFO - Preparing Firefox profile...
  4. INFO BasicResourcePool :1392 A checked-out resource is overdue, and will be destroyed: com.mchange.v2.c3p0.impl.NewPooledConnection@1ee23c7
  5. |#]
  6.  
  7. [#|2010-11-05T02:21:04.623-0700|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=20;_ThreadName=Timer-9;|02:21:04,623 INFO BasicResourcePool :1395 Logging the stack trace by which the overdue resource was checked-out.
  8. java.lang.Exception: DEBUG ONLY: Overdue resource check-out stack trace.
  9. at com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicResourcePool.java:506)
  10. at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:525)
  11. at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:128)
  12. at org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider.getConnection(LocalDataSourceConnectionProvider.java:82)
  13. at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446)
  14. at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167)
  15. at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:161)
  16. at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1700)
  17. at org.hibernate.loader.Loader.doQuery(Loader.java:801)
  18. at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:274)
  19. at org.hibernate.loader.Loader.doList(Loader.java:2533)
  20. at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2276)
  21. at org.hibernate.loader.Loader.list(Loader.java:2271)
  22. at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:452)
  23. at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:363)
  24. at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:196)
  25. at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1268)
  26. at org.hibernate.impl.QueryImpl.list(QueryImpl.java:102)
  27. at com.fromdev.alerts.AlertJob.execute(AlertJob.java:51)
  28. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  29. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  30. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  31. at java.lang.reflect.Method.invoke(Method.java:597)
  32. at org.springframework.util.MethodInvoker.invoke(MethodInvoker.java:276)
  33. at org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean$MethodInvokingJob.executeInternal(MethodInvokingJobDetailFactoryBean.java:260)
  34. at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86)
  35. at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
  36. at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
  37. |#]
please check it, if it is fixed.
Jul 22 '12 #1
0 2661

Sign in to post your reply or Sign up for a free account.

Similar topics

9
by: Steve Battisti | last post by:
Hello all, I posted recently about a HTTP1.1/500 Server Error message I was getting. I was pointed to http://www.aspfaq.com/show.asp?id=2109. I did everything listed in that FAQ, and I still...
5
by: laszlo | last post by:
Please help me. I have a radio box set, name is in rname variable, want to change the checked status to the indexed box, index is in ii variable. I tried d = getElementById(rname); d.value...
5
by: NotGiven | last post by:
I have a form with several questions. Within each question there are several checkboxes. I need to ensure that the user checks at least one checkbox. They can check more but must check at least...
9
by: Jeff Louie | last post by:
I drank too much coffee last night and came up with a suggestion about how to add checked exceptions to C# http://www.geocities.com/jeff_louie/OOP/oop14.htm Comments expected <g> Regards,...
0
by: info | last post by:
Project copied daoenrol -- added 100 fields -- now returning error when I try to open database / form: Too few parameters. Expected 2. Access '95 database -- seen these error -- checked all...
3
by: Xerxes | last post by:
Hi, I have a script that is supposed to check if one of the radio buttons in a form is checked and either display an "alert" or go to another page. <html> <head> <title></title> </head>...
669
by: Xah Lee | last post by:
in March, i posted a essay “What is Expressiveness in a Computer Language”, archived at: http://xahlee.org/perl-python/what_is_expresiveness.html I was informed then that there is a academic...
1
by: solomon_13000 | last post by:
connection.asp: <% Sub RunQueryString (pSQL,parms) on error resume next Set conn = Server.CreateObject("ADODB.Connection") conn.open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" &...
1
by: sherifffruitfly | last post by:
Hi, I've got a checked list box, and a "go' button on the form. Each item in the checked list box is associated with a program (say notepad, calc, etc.). When the user clicks "go", every item...
1
by: misu101 | last post by:
Hi, I have a VS 6 project and I am trying to compile it using VS 2005. My program has the atlbase.h include which seems to trigger the errors. It used to compile OK using VS 6. The include...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.