users@glassfish.java.net

Re: How to: use Form based auth via JDBCRealm:oracle in Glassfish 3.0

From: <glassfish_at_javadesktop.org>
Date: Thu, 14 Jan 2010 04:07:28 PST

Hi,
Thanks for the response.
I enabled security but still cannot login.
I think I have everything configured but then again thats probably what i'm asking.
i also just copied the ojdbc14.jar to the lib/ext folder - I had it under glassfish/lib and my web-inf/lib already and maybe also on my classpath.

Now I am getting this message in my server log:
javax.security.auth.login.LoginException: Failed file login for any
at com.sun.enterprise.security.auth.login.FileLoginModule.authenticate(FileLoginModule.java:80)

Earlier I was getting an error about class not found for JDBCRealm such as
[#|2010-01-14T06:48:39.340-0500|SEVERE|glassfishv3.0|org.apache.catalina.startup.ContextConfig|_ThreadID=25;_ThreadName=Thread-1;| PWC3026: Parse error in default web.xml^M
 3362 java.lang.ClassNotFoundException: org.apache.catalina.realm.JDBCRealm^M
[Message sent by forum member 'cal41' (calgach_at_yahoo.ca)]

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