https://bz.apache.org/bugzilla/show_bug.cgi?id=62652
Bug ID: 62652
Summary: DBCP documentation to fix/clarify
Product: Tomcat 8
Version: 8.0.x-trunk
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: Documentation
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ----
First of all, for none experts, trying to figure out how to set consistently a
DB connection into a context file, has become difficult.
We have DBCP 1, DBCP 2... Tomcat implements its own implementation and there's
no spot clearly specifying what to choose or set...
Resource factory attribute is not enough mentioned but it's a corner stone.
According to where you look into Tomcat 8+ documentation, at first sight it
seems to be contradictory, because of the fact that old pool implementation
still coexists with the new one, but if it's not clear for you, you don't know
what to believe...
Well, a table clearly identifying all the modifications about this concern
between Tomcat versions, would have been very useful.
But, before that, there's at least one mistake to fix, here
https://tomcat.apache.org/tomcat-8.0-doc/jndi-resources-howto.html#JDBC_Data_Sources
(and onward versions)
because, according to DBCP documentation and Tomcat upgrade guides,
removeAbandoned attribute has become removeAbandonedOnBorrow /
removeAbandonedOnMAintenance.
Thank you
--
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]