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 5.5.7 starting problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat 5.5.7 starting problem" Watch "Tomcat 5.5.7 starting problem" New topic

Tomcat 5.5.7 starting problem

Ragav Seth

Joined: Jan 17, 2005
Posts: 16
Hi all,

Iam using netbeans 4.1 IDE on Fedora 4 linux.I have problems starting the tomcat server(tomcat-5.5.7) which comes bundled with the IDE.

I developed a sample application in windows and successfully deployed it in tomcat 5.0. I used the same sample application in the Linux environment.

The tomcat 5.5.7 server throws the error trace given below.

Listening for transport dt_socket at address: 11555
Aug 31, 2005 5:42:09 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8084
Aug 31, 2005 5:42:09 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 2099 ms
Aug 31, 2005 5:42:10 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Aug 31, 2005 5:42:10 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.7
Aug 31, 2005 5:42:10 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Aug 31, 2005 5:42:12 PM org.apache.catalina.core.ApplicationContext log
INFO: Marking servlet action as unavailable
Aug 31, 2005 5:42:12 PM org.apache.catalina.core.ApplicationContext log
SEVERE: Servlet /Fundamentals threw load() exception
javax.servlet.ServletException: Error instantiating servlet class org.apache.struts.action.ActionServlet
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.addChildInternal(
at org.apache.catalina.core.ContainerBase.addChild(
at org.apache.catalina.core.StandardHost.addChild(
at org.apache.catalina.startup.HostConfig.deployDescriptor(
at org.apache.catalina.startup.HostConfig.deployDescriptors(
at org.apache.catalina.startup.HostConfig.deployApps(
at org.apache.catalina.startup.HostConfig.start(
at org.apache.catalina.startup.HostConfig.lifecycleEvent(
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(
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 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.start(
at org.apache.catalina.startup.Bootstrap.main(
Aug 31, 2005 5:42:13 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8084
Aug 31, 2005 5:42:14 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /
Aug 31, 2005 5:42:14 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/73 config=null
Aug 31, 2005 5:42:14 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Aug 31, 2005 5:42:15 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 5451 ms

I copied the same web.xml file which i used in tomcat 5.0 and its structure is as follows

<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"


<!-- Action Servlet Configuration -->

<!-- Action Servlet Mapping -->

<!-- The Usual Welcome File List -->

<!-- Struts Tag Library Descriptors -->




I guess the web.xml is the problem.

sorry for the long post.Can anyone help me on this please??

I agree. Here's the link:
subject: Tomcat 5.5.7 starting problem
jQuery in Action, 3rd edition