DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38337>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38337





------- Additional Comments From [EMAIL PROTECTED]  2006-01-24 00:01 -------
It's not sure. The SQLNestedException is a subclass containing another
Throwable. That other throwable is perhaps a NullPointerException if they don't
throw explicitely an Exception during the DataSource intialization.

try {
    InitialContext ctx = new InitialContext();
    ds = (DataSource)ctx.lookup("java:comp/env/jdbc/MySQL");
} catch(NamingException e) {
    // The next line is frequently forgotten.
    throw new ServletException(e);
}
To be sure it's a true bug, we need the complete stack trace.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to