Results 1 to 2 of 2
  1. #1
    piyushgpt1 is offline Member
    Join Date
    Feb 2008
    Posts
    1
    Rep Power
    0

    Exclamation 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

  2. #2
    roots's Avatar
    roots is offline Moderator
    Join Date
    Jan 2008
    Location
    Dallas
    Posts
    293
    Rep Power
    7

    Default

    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.

Similar Threads

  1. Creating a Thread using the Runnable interface
    By Java Tip in forum java.lang
    Replies: 0
    Last Post: 04-09-2008, 06:31 PM
  2. Replies: 2
    Last Post: 03-10-2008, 12:24 PM
  3. help to complete final part of project
    By dirtycash in forum New To Java
    Replies: 6
    Last Post: 12-31-2007, 06:21 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •