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:[EMAIL PROTECTED]]
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" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
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:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to