ndy40
11-05-2006, 11:06 AM
Hi i got a little problem with configuring the tomcat jdbc realm to help authenticate users.. u c am developing a webapp and there are different users with different roles.. i intend to use this feature with mysql database... now i have followed all instructions,search the web but still no hope... i placed the mysql-connector.jar file in the common/lib folder, i have edited the server.xml file by adding the <realm> tag, i have commented the userDatabaseRealm,memoryRealm,set u p the necessary tables as instructed but still no result .. please can someone direct me on how to go about this.. the class for mysq driver is "com.mysql.jdbc.Driver" atleast this is what i use in my regular application... the default that comes with tomcat is "or.git......something".. please help i need this quick thanks..