Hello Sasi, thank you for your reply.
I am using the JDBC realm in order to configure a
pay site. As we already have setup a database (in
which we add all the new users that register) using
the memory realm would not do. The thing is that I
have set up all the roles and the usernames in the
database but unexpected exception is thrown everytime
the <role-name> tag in the web.xml file is encountered
by Tomcat.
Any more help?
Regards
Panos
--- P Sasidhar <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Create the role name which you have mentioned in
> your web.xml in
> tomcat_users.xml under TOMCAT-HOME/conf directory.
> I think this should solve the problem
>
> sasi
>
> -----Original Message-----
> From: Panos Konstantinidis
> [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, November 27, 2002 5:25 PM
> To: Tomcat Users List
> Subject: Re: "Unexpected excpetion..." error message
> with web.xml file
>
> Further information, I just figured out that the
> exception is thrown in the following lines of my
> web.xml file:
>
> <auth-constraint>
> <role-name>dasreiseportal</role-name>
> </auth-constraint>
>
> If I completely take out the <role-name> tag then
> the web application works fine (but I do not have
> the
> Realm, at least I can see it running). If I have it
> there- even if it is empty- an unexpected exception
> occurs. Any thoughts/suggestions?
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up
> now.
> http://mailplus.yahoo.com
>
> --
> 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]>
>
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>