Put it in the common/lib mit freundlichen Gr�ssen
Galexis AG Beat Friedli � SW-Entwicklung (DDIS/ASW) Grubenstrasse 11 � CH-3322 Schoenbuehl tel: +41 (0)31 858 72 32 � fax: +41 (0)31 858 78 81 > -----Urspr�ngliche Nachricht----- > Von: Urtzi Larrazabal [mailto:[EMAIL PROTECTED]] > Gesendet: Freitag, 7. Juni 2002 13:43 > An: Tomcat Users List (E-mail) > Betreff: RE:access to secure aplications with JDBCRealm > authentification > > > > > 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(JDBCRe > alm.java:307) > > at > org.apache.tomcat.modules.aaa.JDBCRealm.getCredentials(JDBCRea > lm.java:239) > > at > org.apache.tomcat.modules.aaa.RealmBase.checkPassword(RealmBas > e.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(Acce > ssInterceptor.java:359) > > at > org.apache.tomcat.core.ContextManager.internalService(ContextM > anager.java:902) > > at > org.apache.tomcat.core.ContextManager.service(ContextManager.java:833) > > at > org.apache.tomcat.modules.server.Ajp13Interceptor.processConne > ction(Ajp13Interceptor.java:341) > > at > org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoi > nt.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]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
