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 2017/07/16 08:29:24 UTC

[Bug 61307] New: DBpool issue when upgrade from Tomcat6 to tomcat8.0.32

https://bz.apache.org/bugzilla/show_bug.cgi?id=61307

            Bug ID: 61307
           Summary: DBpool issue when upgrade from Tomcat6 to tomcat8.0.32
           Product: Tomcat 8
           Version: 8.0.32
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: avi13021991@gmail.com
  Target Milestone: ----

Hi Team,

I have recently deployed our enterprise .war in tomcat8.0.32 version ,without
any changes made to DB pool configuration .

Question : 
With Tomcat6 according to documentation when we have testOnBorrow=true
parameter without any ValidationQuery . testOnBorrow does not any effect as no
validation query.

Wereas in Tomcat8 ,if we donot have any ValidationQuery the documentation says
it checks for isValid() function.
But when i deployed the.war in tomcat8.0.32 with same DBpool config[without
ValidationQuery] , i could see intermediate connection errors with below
exception:
SQLException : Failed to validate newly established connection .

If i add the validationQuery to the configuration i doNot see any error.

DB used : db2
jar used : db2jcc4.jar 

I want to understand why is the isValid() not working in mycase .
Is this any issue with tomcat8.0.32?????

-- 
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


[Bug 61307] DBpool issue when upgrade from Tomcat6 to tomcat8.0.32

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

Michael Osipov <19...@gmx.net> changed:

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

--- Comment #1 from Michael Osipov <19...@gmx.net> ---
1. This is not a support forum.
2. No one seriously upgrades from 6 to 8.0.32, but to 8.5.x or at least 8.0.45.

Contact the mailing list for help

-- 
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