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.timo...@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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to