users@glassfish.java.net

Re: Problem using JDBC Data Source userid/passwd cannot be null

From: <glassfish_at_javadesktop.org>
Date: Tue, 12 Jun 2007 01:06:50 PDT

I think you have specified your res-auth as "Application"
<res-auth>Application</res-auth>

in your deployment descriptor.

If so, you need to use, dataSource.getConnection("USERNAME","PASSWORD") in your application to work.

Thanks,
-Jagadish
[Message sent by forum member 'jr158900' (jr158900)]

http://forums.java.net/jive/thread.jspa?messageID=221645