tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Mohrig <andreas.moh...@cadooz.de>
Subject AW: One more thing --> JDBC Realm Error --Form-> Looking both Dat abase and tomcat-user.xml
Date Mon, 12 Aug 2002 14:08:27 GMT
I'm not 100 percent sure about this, but I always thought the whole point
was having one realm and one realm only. Otherwise the semantics would be
quite unclear: Would any legal user have to be defined in both realms or
would any one of the realms suffice? Your problems seem to point in this
direction. Try to choose one of the realms and deactivate the other.

greetings

Andreas Mohrig
-----Urspr√ľngliche Nachricht-----
Von: Polly Poon [mailto:pollypoon@optushome.com.au]
Gesendet: Montag, 12. August 2002 15:57
An: Tomcat Users List
Betreff: One more thing --> JDBC Realm Error --Form-> Looking both
Database and tomcat-user.xml


If i try to insert a name in tomcat-user.xml that doesnt exist in database
it will redirect me to error.html. And if i try to login using a name only
exists in database not in tomcat-users.xml, it redirects me to error.html as
well

Thanks again!

From,
Polly

----- Original Message -----
From: "Polly Poon" <pollypoon@optushome.com.au>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
Sent: Monday, August 12, 2002 11:51 PM
Subject: JDBC Realm Error --Form-> Looking both Database and tomcat-user.xml


> Hi all,
>
> I have got this error from tomcat JDBC Realm.
>
> My Config
> Tomcat 3.2.4
> MySQL 3.2.3
> Red Hat Linux
>
> Problem
> JDBC Realm look up both database and tomcat-users.xml. The error is like
> this(This is when the tomcat-users.xml is empty)
>
> 2002-08-12 23:01:28 - ContextManager: JDBCRealm: Authentication successful
> for user polly
> 2002-08-12 23:01:28 - ContextManager: JDBCRealm: Auth ok, user=polly
>
> It suppose to look up the role next but somehow it stops.
>
> And then it redirects me to the error.html, the error page that i specific
> in web.xml.
>
> IF i insert the user details into tomcat-users.xml, it works perfect.
>
> The JDBC Realm was started successfully. I wonder what this problem could
> be.
>
> Thanks in advanced.
>
> From,
> Polly
>
>
> --
> To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:tomcat-user-help@jakarta.apache.org>
>


--
To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:tomcat-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message