tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hassan Schroeder" <hassan.schroe...@gmail.com>
Subject Re: problem with tomcat JDBC realm , i can not login and all configuration are correct
Date Sat, 09 Sep 2006 14:53:20 GMT
On 9/9/06, Legolas Woodland <legolas.w@gmail.com> wrote:

> I should say that i double check JDBC driver to be in place , double
> check connection url ...

"double check" as in, create a simple JSP or servlet that uses that
information to successfully access that table in the DB?

>           userTable="users" userNameCol="username"
>           userCredCol="password"
>           userRoleTable="users" roleNameCol="role_name" />

At least in my -- case-sensitive -- environment, "users" != "USERS",
"username" != "USERNAME", etc. :-)

>   CREATE TABLE "HR"."USERS"
>    (    "NAME" VARCHAR2(32 CHAR),
>     "USER_ID" NUMBER,
>     "LASTNAME" VARCHAR2(32 CHAR),
>     "USERNAME" VARCHAR2(32 CHAR), ...

And have you looked at your logs?

HTH,
-- 
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message