> Hi ! > > I am trying to secure my application thought JDBCRealm > > When I access to my application and after introducing the required user and password >I have the following error. > > # 2002-06-07 12:24:05 - Ctx(/Myaplication) : Exception in R( /Myaplication + + >null) - java.lang.RuntimeException: JDBCRealm.checkConnection: >java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver > at >org.apache.tomcat.modules.aaa.JDBCRealm.checkConnection(JDBCRealm.java:307) > at org.apache.tomcat.modules.aaa.JDBCRealm.getCredentials(JDBCRealm.java:239) > at org.apache.tomcat.modules.aaa.RealmBase.checkPassword(RealmBase.java:212) > at org.apache.tomcat.modules.aaa.RealmBase.authenticate(RealmBase.java:193) > at org.apache.tomcat.core.Request.getRemoteUser(Request.java:575) > at >org.apache.tomcat.modules.aaa.AccessInterceptor.authorize(AccessInterceptor.java:359) > at >org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:902) > at org.apache.tomcat.core.ContextManager.service(ContextManager.java:833) > at >org.apache.tomcat.modules.server.Ajp13Interceptor.processConnection(Ajp13Interceptor.java:341) > at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494) > at >org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:516) > at java.lang.Thread.run(Thread.java:479) > > > where should be the org.gjt.mm.mysql.Driver driver? > and where is especified the location of the driver? > > > > server.xml > > <JDBCRealm > debug="99" > driverName="org.gjt.mm.mysql.Driver" > connectionURL="jdbc:mysql://myhost.dec.es/tomcat" > userTable="user" > userNameCol="user_name" > userCredCol="user_pass" > userRoleTable="user_roles" > roleNameCol="role_name" /> >
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
