> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Subject: JDBC Realm doesn't work properly > > I'm using a self extended class of JDBC realm to realize a > user authentication.
Would you care to tell us the version of Tomcat you're using, or should we guess? > So I've put this realm-configuration into a context-element: Where is your <Context> element located? > <Context docBase="${catalina.home}/webapps/app" A docBase pointing into webapps is never correct; for that matter, the docBase attribute is usually not allowed. > java.lang.SecurityException: > Anmeldekonfiguration kann nicht gefunden werden. > ... > at org.apache.catalina.realm.JAASRealm.authenticate(JAASRealm.java:347) This looks like you've subclassed the JAAS realm, not the JDBC one, and it's hunting for the JAAS configuration file. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]