On Thursday 14 October 2004 9:13 am, Larry Meadors wrote: > Just curious...Why are you using a symlink?
I'm setting it up so that I can have multiple instances of tomcat running and I don't want many different copies of the files floating around if at all possible. It also makes it easy for me to perform upgrades on tomcat etc. when I use symlinks to some of the files (app specific) that don't change. --Kaleb > >>> [EMAIL PROTECTED] 10/14/04 9:59 AM >>> > > Hello! I'm having an interesting problem wherein about 5-10% of the > time, for > no apparent reason whatsover, the MySQL driver just can not be found. I > have > a symlink to it in TOMCAT_DIR/common/lib. I just replaced the symlink > with a > copy of the actual library to see if that would make a difference, but > it > doesn't make sense that it would work 90-95% of the time and then fail > the > rest of the time if that were the problem. > > The traceback I get is as follows: > > // NOTE: replaced org.apache. with ''. > Cannot load JDBC driver class > 'com.mysql.jdbc.jdbc2.optional.MysqlDataSource' > java.lang.ClassNotFoundException: > com.mysql.jdbc.jdbc2.optional.MysqlDataSource > at > catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:854) > at > catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:721) > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) > at java.lang.Class.forName0(Native Method) > at java.lang.Class.forName(Class.java:141) > at > commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:760) > at > commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540) > at > RequestFilterServlet.getUrlMapping(RequestFilterServlet.java:187) > at RequestFilterServlet.doFilter(RequestFilterServlet.java:277) > at > catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChai >n.java:186) at > catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:1 >57) at > catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) > at > catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104 >) at > catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) > at > catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java >:198) at > catalina.core.StandardContextValve.invoke(StandardContextValve.java:144) > at > catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104 >) at > catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) > at > catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) > at > catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104 >) at > catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118) > at > catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102 >) at > catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) > at > catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) > at > catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104 >) at > catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) > at catalina.core.ContainerBase.invoke(ContainerBase.java:929) > at coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) > at jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300) > at jk.common.HandlerRequest.invoke(HandlerRequest.java:374) > at jk.common.ChannelSocket.invoke(ChannelSocket.java:743) > at > jk.common.ChannelSocket.processConnection(ChannelSocket.java:675) > at jk.common.SocketConnection.runIt(ChannelSocket.java:866) > at > tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) > at java.lang.Thread.run(Thread.java:534) > > Any suggestions welcome. Thanks. > > --Kaleb > > PS: I'm using tomcat 5.0.28 and version 3.0.15 of the MySQL connector. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]