please sendthe excerpt of your server.xml file with the
requestinterceptor 

Thanks

Saludos ,
Ignacio J. Ortega

-----Mensaje original-----
De: Vincent Harcq [mailto:[EMAIL PROTECTED]]
Enviado el: viernes 5 de enero de 2001 17:45
Para: [EMAIL PROTECTED]
Asunto: FORM based Authentication and JDBC Realm


Hi!
Tomcat 3.2.1 Interbase 6 Database.
I have setup JDBCRealm and I am trying to use the
/examples/jsp/security/protected/index.jsp that is provided with Tomcat
to validate it.
So I only change server.xml, I use the original web.xml from the example
application.

When I go to the 
I receive Exception
2001-01-05 05:27:31 - ContextManager: JDBCRealm: JDBCRealm.authenticate:
SELECT user_pass FROM j2eeusers WHERE user_name= ?
2001-01-05 05:27:31 - Ctx( /vmi ): Exception in: R( /vmi +
/jsp/protected/index.html + null) - java.lang.NullPointerException
 at
interbase.interclient.PreparedStatement.setString(PreparedStatement.java
:973)
 at org.apache.tomcat.request.JDBCRealm.authenticate(JDBCRealm.java:306)

When I first go to the login.jsp, I can log in and then go on the
protected resources.

Strange.

Any ideas ?

Vincent HARCQ





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

Reply via email to