You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by ajay brar <aj...@hotmail.com> on 2003/10/30 09:55:52 UTC

jdbc realms: cannot log into tomcat manager

hello

i just got a problem implementing JDBC realms
i have setup a mysql database with tables:
roles, users, user_roles with all feilds specified....
i have populated the database with user role mappings
but now i cant log into tomcat manager:

from looking around i found out that i had to add the role "manager"
to be able to login, but this doesnt seem to help things

any suggestions will be greatly appreciated
thanks

_________________________________________________________________
Hot chart ringtones and polyphonics. Go to  
http://ninemsn.com.au/mobilemania/default.asp


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


RE: jdbc realms: cannot log into tomcat manager

Posted by David Friedman <hu...@ix.netcom.com>.
Ajay,

I tried a JDBC realm with MySQL (on Tomcat 4.1.24) earlier this week and had
to add the keys 'connectionName="MySQLusername"' and
'connectionPassword="MySQLpassword"'.  Using a jdbc realm had no effect on
my ability to login to the tomcat manager.

Did you put the JDBC realm in the "<Context...> ... </Context>" section of
your server.xml Tomcat configuration files or another section?  When it is
in the context section, it applies only to your application context.  If it
is somewhere else in the server.xml configuration files, it may wreak havok
on other applications.  This could possibly also affect your Tomcat manager,
which normally uses the flat text file "conf/tomcat-managers.xml".

Regards,
David

-----Original Message-----
From: ajay brar [mailto:ajaybrar1@hotmail.com]
Sent: Thursday, October 30, 2003 3:56 AM
To: struts-user@jakarta.apache.org
Subject: jdbc realms: cannot log into tomcat manager


hello

i just got a problem implementing JDBC realms
i have setup a mysql database with tables:
roles, users, user_roles with all feilds specified....
i have populated the database with user role mappings
but now i cant log into tomcat manager:

from looking around i found out that i had to add the role "manager"
to be able to login, but this doesnt seem to help things

any suggestions will be greatly appreciated
thanks

_________________________________________________________________
Hot chart ringtones and polyphonics. Go to
http://ninemsn.com.au/mobilemania/default.asp


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org