users@glassfish.java.net

jdbcRealm authentication not working?

From: Joy Wells <wellsj321_at_cfl.rr.com>
Date: Fri, 21 Aug 2009 19:27:44 -0400

If I sent something already I apologize. I am very new to this and I
appreciate everyone's help, consideration and patience. I am working with
Netbeans 6.5.1, JDBC, and glassfish v 2.1 that I downloaded as a bundle. I
followed the directions on the
http://blogs.sun.com/foo/entry/mort_learns_jdbc_realm_authentication site.
I chose the basic authentication with no hashing of the password to just try
it out. Anyway, when I run the application I get the login box. I put in
the username and password (there is only one account), it goes away for a
second and then comes right back. So, I put in the information again and it
goes away again and then comes back. I put the information back in and then
it errors out with:



 

If I use any other log in credentials it errors out right away with the same
error so it seems like it is communicating with the database. I have looked
through Glassfish logs put there just information notices. I also checked
paths and even copied the derby files into the Glassfish lib folder. Does
anyone have any ideas? Thanks for any help you can provide.

 

Respectfully,

J Wells







image002.jpg
(image/jpeg attachment: image002.jpg)