tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Goking" <>
Subject JDCB realm problem
Date Wed, 14 Aug 2002 10:53:46 GMT

im using tomcat 4.04

and this is my code for using the jdbc realm in the server.xml

<Realm  className="org.apache.catalina.realm.JDBCRealm" debug="99"
              userTable="custcare.users" userNameCol="username" userCredCol="password"
          userRoleTable="custcare.groups" roleNameCol="groupid" />

however once i log in it always gives a null pointer exception and i cant trace the source
of the error coz it goes directly to the error page itself.

im not sure but my doubt is that this will only work with 4.03 or maybe less. it wont work
with the 4.04 version

now i also tried the 4.04 sample code

<Realm  className="org.apache.catalina.realm.JDBCRealm" debug="99"
              userTable="users" userNameCol="username" userCredCol="password"
          userRoleTable="groups" roleNameCol="groupid" />

this gives me a different error. invalid call argument. anyone help me with this? would be
appreciated. thanks

-- mark

Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (
Version: 6.0.380 / Virus Database: 213 - Release Date: 7/24/2002

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message