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 2012/03/20 14:48:03 UTC

DO NOT REPLY [Bug 50660] Improve validationQuery error handling

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

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

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

--- Comment #5 from Filip Hanik <fh...@apache.org> 2012-03-20 13:48:03 UTC ---
(In reply to comment #3)
> What about adding an Interceptor to do the validation?  The attached
> interceptor would take the validation query and run it when the pool is
> created.  If there is a problem with the query it would report just that one
> time.
> 
> Dan

I'll add in logging when the pool starts. Right now, if initializing the pool
fails, it sends a JMX notification but doesn't log anything.  

looking in the code it does
            if (log.isDebugEnabled())
                log.debug("Unable to validate object:",ignore);

So that should already be taken care of

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