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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to