tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From legolas <legola...@gmail.com>
Subject Re: problem with tomcat JDBC realm , i can not login and all configurati
Date Sun, 10 Sep 2006 09:38:41 GMT

Thank you for reply.
I checked to see whether case sensetivity is a problem or not.
for this i changed the table name in mapping section and it raise an
exception in log file that there is no such table.
so it have no problem with table and column names.
i can not figure it out what is the problem

Hassan Schroeder-2 wrote:
> 
> 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
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/problem-with-tomcat-JDBC-realm-%2C-i-can-not-login-and-all-configuration-are-correct-tf2243292.html#a6231895
Sent from the Tomcat - User forum at Nabble.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