File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Tomcat Startup Issues Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat Startup Issues" Watch "Tomcat Startup Issues" New topic

Tomcat Startup Issues

Josh Anderson

Joined: Nov 24, 2003
Posts: 3
I am having problems getting Tomcat 4.1 to start. I had been using Struts 1.1 and have successfully configured the Tomcat server to handle the DataSource connection pooling in the server.xml file. Unfortunately one of my coworkers has a strong desire to use the validwhen function of the more recent struts package. I installed the nightly build of Struts and I keep getting this message.
Nov 24, 2003 7:14:23 PM org.apache.struts.action.ActionServlet initModuleDataSources
SEVERE: Initializing application data source org.apache.struts.action.DATA_SOURCE
at Method)
at java.lang.ClassLoader.loadClass(
at java.lang.ClassLoader.loadClass(
at sun.misc.Launcher$AppClassLoader.loadClass(
at java.lang.ClassLoader.loadClass(
at org.apache.catalina.loader.WebappClassLoader.loadClass(
at org.apache.catalina.loader.WebappClassLoader.loadClass(
at org.apache.struts.util.RequestUtils.applicationClass(
at org.apache.struts.util.RequestUtils.applicationInstance(
at org.apache.struts.action.ActionServlet.initModuleDataSources(
at org.apache.struts.action.ActionServlet.init(
at javax.servlet.GenericServlet.init(
at org.apache.catalina.core.StandardWrapper.loadServlet(
at org.apache.catalina.core.StandardWrapper.load(
at org.apache.catalina.core.StandardContext.loadOnStartup(
at org.apache.catalina.core.StandardContext.start(
at org.apache.catalina.core.ContainerBase.start(
at org.apache.catalina.core.StandardHost.start(
at org.apache.catalina.core.ContainerBase.start(
at org.apache.catalina.core.StandardEngine.start(
at org.apache.catalina.core.StandardService.start(
at org.apache.catalina.core.StandardServer.start(
at org.apache.catalina.startup.Catalina.start(
at org.apache.catalina.startup.Catalina.execute(
at org.apache.catalina.startup.Catalina.process(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at org.apache.catalina.startup.Bootstrap.main(
I am running Tomcat 4.1. Struts nightly build and am using Oracle's Database drivers. All of this works fine in 1.1. I guess I have two questions then, one does anyone know how to fix this error and if not can I load the validator-rules from new struts package so it can be used.
Thanks in advance

Nothing is obvious to the uninformed.
I agree. Here's the link:
subject: Tomcat Startup Issues
It's not a secret anymore!