Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Linux Archive
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-05-2008, 01:34 PM
Member
 
Join Date: Feb 2008
Posts: 1
piyushgpt1 is on a distinguished road
Error : Runnable did not complete within 10000ms
My company has a web application running on JBoss-2.4.4_Tomcat-4.0.1. It works fine for a few days, but once or twice in a week, getting the exception :- Error : Runnable did not complete within 10000ms.

I need to provide an answer as why this is happening. It happens one or twice evrryweek, I restart the server and the problem gets resolved. Please help.

When I see the nohup.out file, the detailed error message is as:-

Last Checkin : 1199788262742: Tue Jan 08 10:31:02 GMT 2008
Connection IS checked out.
Checkout Stack Trace: null
[ERROR,Default] ConnectionPoolcom.bitmechanic.util.TimeoutExceptio n: Runnable did not complete within 10000ms
[ERROR,Default] ConnectionPool: Warning: found timed-out connection
Connection: com.bitmechanic.sql.PooledConnection@36f6088c
Statements Requested: 0
Prepared Calls: 0
Prepared Statements Hits: 0
Prepared Statements Misses: 6
Checkout count: 2
Last Checkout: 1199788262742: Tue Jan 08 10:31:02 GMT 2008
Last Checkin : 1199788262742: Tue Jan 08 10:31:02 GMT 2008
Connection IS checked out.
Checkout Stack Trace: null
[INFO,EmbeddedCatalinaServiceSX] HttpConnector[7001] No processor available, rejecting this connection
[ERROR,Default] ConnectionPoolcom.bitmechanic.util.TimeoutExceptio n: Runnable did not complete within 10000ms
[ERROR,Default] ConnectionPool: Warning: found timed-out connection
Connection: com.bitmechanic.sql.PooledConnection@36f6088c
Statements Requested: 0
Prepared Calls: 0
Prepared Statements Hits: 0
Prepared Statements Misses: 6
Checkout count: 2
Last Checkout: 1199788262742: Tue Jan 08 10:31:02 GMT 2008
Last Checkin : 1199788262742: Tue Jan 08 10:31:02 GMT 2008
Connection IS checked out.
Checkout Stack Trace: null
[INFO,EmbeddedCatalinaServiceSX] HttpConnector[7001] No processor available, rejecting this connection
[INFO,EmbeddedCatalinaServiceSX] HttpConnector[7001] No processor available, rejecting this connection
[INFO,EmbeddedCatalinaServiceSX] HttpConnector[7001] No processor available, rejecting this connection
[INFO,EmbeddedCatalinaServiceSX] HttpConnector[7001] No processor available, rejecting this connection
<GC(1466): GC cycle started Tue Jan 8 10:58:41 2008
<GC(1466): freed 906128 bytes, 94% free (509456832/536869376), in 49 ms>
<GC(1466): mark: 40 ms, sweep: 9 ms, compact: 0 ms>
<GC(1466): refs: soft 0 (age >= 32), weak 0, final 40, phantom 0>
[INFO,EmbeddedCatalinaServiceSX] HttpConnector[7001] No processor available, rejecting this connection
[INFO,EmbeddedCatalinaServiceSX] HttpConnector[7001] No processor available, rejecting this connection
[ERROR,Default] ConnectionPoolcom.bitmechanic.util.TimeoutExceptio n: Runnable did not complete within 10000ms
[ERROR,Default] ConnectionPool: Warning: found timed-out connection
Connection: com.bitmechanic.sql.PooledConnection@36f6088c
Statements Requested: 0
Prepared Calls: 0
Prepared Statements Hits: 0
Prepared Statements Misses: 6
Checkout count: 2
Last Checkout: 1199788262742: Tue Jan 08 10:31:02 GMT 2008
Last Checkin : 1199788262742: Tue Jan 08 10:31:02 GMT 2008
Connection IS checked out.
Checkout Stack Trace: null
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 02-05-2008, 09:04 PM
roots's Avatar
Moderator
 
Join Date: Jan 2008
Location: Dallas
Posts: 263
roots is on a distinguished road
Go over the code and find out what is causing these things,

- Check the number of connection your database allows
- If your application is using connections manually and not releasing it
- If possible monitor the database server for few days
- Change the log level to TRACE
__________________
dont worry newbie, we got you covered.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating a Thread using the Runnable interface Java Tip java.lang 0 04-09-2008 08:31 PM
Developing a complete application in java, help needed omaradib New To Java 2 03-10-2008 02:24 PM
help to complete final part of project dirtycash New To Java 6 12-31-2007 08:21 AM
Creating a Thread (implementing Java Runnable Interface) JavaForums Java Blogs 0 12-19-2007 11:31 AM


All times are GMT +3. The time now is 11:33 PM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org