You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2002/04/03 19:20:05 UTC
DO NOT REPLY [Bug 7727] New: -
Infinite loop (stack overflow) in BasicDataSource
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7727>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7727
Infinite loop (stack overflow) in BasicDataSource
Summary: Infinite loop (stack overflow) in BasicDataSource
Product: Commons
Version: Nightly Builds
Platform: Other
OS/Version: All
Status: NEW
Severity: Major
Priority: Other
Component: Dbcp
AssignedTo: commons-dev@jakarta.apache.org
ReportedBy: james@interobjective.com
The if method createDataSource() encounters a problem loading or instantiating
the JDBC driver, it calls the method getLogWriter().
The method getLogWriter() in turn calls createDataSource(), thus creating an
infinite loop, and a stack-overflow exception. Perhaps createDataSource()
needs to simply log it's errors to stderr - or simply throw an exception, and
not log at all.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>