You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2010/03/18 15:35:03 UTC

DO NOT REPLY [Bug 48935] New: Eviction thread trouble

https://issues.apache.org/bugzilla/show_bug.cgi?id=48935

           Summary: Eviction thread trouble
           Product: Tomcat 6
           Version: 6.0.26
          Platform: PC
        OS/Version: Windows Vista
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Modules: jdbc-pool
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: p.u.timofey@gmail.com


When I reinit my application, tomcat throws the message:

"SEVERE: A web application appears to have started a TimerThread named
[Timer-0] via the java.util.Timer API but has failed to stop it. To prevent a
memory leak, the timer (and hence the associated thread) has been forcibly
cancelled."

Timer-0 thread is created if the param "timeBetweenEvictionRunsMillis" is added
to the Resource tag. Otherwise, it is not created.

<Resource auth="Container" driverClassName="oracle.jdbc.OracleDriver"
maxActive="2" maxIdle="2" maxWait="10000"
timeBetweenEvictionRunsMillis="600000" name="jdbc/xxxConnection"
password="xxx_xxx" testOnBorrow="true" type="javax.sql.DataSource"
url="jdbc:oracle:thin:@//X.X.X.X:1521/xxxxxx" username="xxx"
validationQuery="SELECT 1 FROM DUAL"/>

{jdk:"1.6.0_18",tomcat:"6.0.26",commons-dbcp:"1.2.2"}

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 48935] Eviction thread trouble

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48935

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Modules: jdbc-pool          |jdbc-pool
            Version|6.0.26                      |unspecified
            Product|Tomcat 6                    |Tomcat Modules
   Target Milestone|default                     |---

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 48935] Eviction thread trouble

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48935

Filip Hanik <fh...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #1 from Filip Hanik <fh...@apache.org> 2010-03-18 15:22:37 UTC ---
It's your job to close connections pools
http://markmail.org/message/rl64trmptgivqptn

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org