tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ignacio J. Ortega" <na...@siapi.es>
Subject RE: JDBCRealm for Interbase
Date Thu, 08 Feb 2001 05:15:08 GMT
It's solved on CVS , it will work in 3.2.2 that it's soon to be released
( about a week or so perhaps a little more) 

Saludos ,
Ignacio J. Ortega


> -----Mensaje original-----
> De: Johnson Lim [mailto:jlim@thinkspice.com]
> Enviado el: jueves 8 de febrero de 2001 5:30
> Para: Tomcat-User
> Asunto: JDBCRealm for Interbase
> 
> 
> Hi all,
> 
> I have tried JDBCRealm for Hypersonic, it works very well, 
> thanks for the
> TOMCAT GUYS!!
> 
> When I tried to do it on Interbase, it seem not works (please help !)
> 
> on server.xml
> 
> <RequestInterceptor className="org.apache.tomcat.request.JDBCRealm"
>             debug="99"
> 	    driverName="interbase.interclient.Driver"
> 	    connectionURL="jdbc:interbase://localhost/c:\db\test.gdb"
> 	    connectionName="sysdba"
>             connectionPassword="masterkey"
> 	    userTable="users"
>             userNameCol="user_name"
>             userCredCol="user_pass"
> 	    userRoleTable="user_roles"
>             roleNameCol="role_name" />
> 
> when i run any authentication process an error occur:
> 
> Error: 500
> Location: /Secure/admin/index.html
> Internal Servlet Error:
> 
> java.lang.NullPointerException
> 	at 
> interbase.interclient.PreparedStatement.setString(Unknown Source)
> 	at 
> org.apache.tomcat.request.JDBCRealm.authenticate(JDBCRealm.java:306)
> 	at 
> org.apache.tomcat.request.JDBCRealm.authenticate(JDBCRealm.java:480)
> 	at
> org.apache.tomcat.core.ContextManager.doAuthenticate(ContextMa
> nager.java:839
> )
> 	at 
> org.apache.tomcat.core.RequestImpl.getRemoteUser(RequestImpl.java:341)
> 	at 
> org.apache.tomcat.request.JDBCRealm.authorize(JDBCRealm.java:501)
> 	at
> org.apache.tomcat.core.ContextManager.doAuthorize(ContextManag
> er.java:857)
> 	at
> org.apache.tomcat.core.ContextManager.internalService(ContextM
> anager.java:79
> 1)
> 	at 
> org.apache.tomcat.core.ContextManager.service(ContextManager.java:745)
> 	at
> org.apache.tomcat.service.http.HttpConnectionHandler.processCo
> nnection(HttpC
> onnectionHandler.java:210)
> 	at
> org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoin
> t.java:407)
> 	at
> org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPo
> ol.java:498)
> 	at java.lang.Thread.run(Thread.java:484)
> 
> 
> Thanks in advance, any one have the clues.
> 
> Regards
> Johnson
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, email: tomcat-user-help@jakarta.apache.org
> 
> 

Mime
View raw message