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

Reply via email to