tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Fincher" <...@tbird.com>
Subject Re: JDBC realm problems
Date Mon, 22 Apr 2002 18:13:42 GMT
Hi Ken,

Have you tried setting the debug level to 99 in the realm tag in server.xml?
You may have already done this, but it will add a lot more info to the log
about the process of getting into the realm.

Rick

> Hi,
>
> I've spent many hours last week and a few more today trying to get JDBC
> security realm to work and keep stumbling on this error:
> java.sql.SQLException: General error: Access denied for user:
> 'localhost.localdomain' to database 'tomcatusers';
>
> I'm sure many people have problems getting this to work right off and I've
> read a fair amount about various solutions. But what I can't figure out is
> why the access denied error doesn't include a user name but only
> localhost.localdomain. I've put user and password in server.xm; there is a
> tomcatusers table with what i believe are the correct entries. In fact
> they're copied/modified from the Goodwill book. I wouldn't be surprised by
a
> bad username or bad password error but this indicates that the user name
> just isn't being passed along. Anyway I assume that I'll find the answer
to
> the authentication problem if I can find out why the user name doesn't
seem
> to be passed along to the database call.
>
> Does anyone have any clues?
>
> Thanks,
>
> Ken
>
>
>
> --
> To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
>
>


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message