https://issues.apache.org/bugzilla/show_bug.cgi?id=54395
Bug ID: 54395
Summary: JdbcInterceptor config parameter parsing errors
Product: Tomcat Modules
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: jdbc-pool
Assignee: [email protected]
Reporter: [email protected]
Classification: Unclassified
The parameter value for a JdbcInterceptor config is parsed incorrectly if there
is any white-space following the closing parentheses (it includes the closing
paren in the parameter value).
I will be attaching two items momentarily:
* a patch to resolve the issue
* a unit test that fails in TRUNK but passes post-patch.
The parser can behave unpredictably in several other boundary cases (extra
white-space, spurious semicolons, empty parm lists, etc.) so I have attempted
to document the current behavior in the unit test for clarity. It may be worth
considering a more uniform response to incorrect config(s), but I skipped that
here to keep it simple. I may submit an enhancement request later (with some
suggestions as a patch).
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]