Home > Default > Errors when starting tomcat5.5

Errors when starting tomcat5.5

November 30Hits:0
Advertisement
Errors when starting tomcat5.5
I found below errors message when starting tomcat5.5 every time, does anyone know what cause it?
Thanks in advance.
JDK 1.5.0 & Struts 1.2 were installed on my machine, running on win XP home edition.
validation.xml file is here:
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE form-validation PUBLIC
          "-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.1.3//EN"
          "http://jakarta.apache.org/commons/dtds/validator_1_1_3.dtd">
<form-validation>
     <formset>            
          <form name="loginFormBean">
                 <field property="userId" depends="required">
                   <msg name="required" key="loginFormBean.error.userId.missing"/>     
                 </field> 
                 <field property="password" depends="required">
                   <msg name="required" key="loginFormBean.error.password.missing"/>     
                 </field> 
          </form>       
     </formset>  
</form-validation>
Error message:
INFO: Loading validation rules file from '/WEB-INF/validation.xml'
Nov 18, 2005 9:26:37 AM org.apache.commons.digester.Digester error
SEVERE: Parse Error at line 39 column 17: Document is invalid: no grammar found.
org.xml.sax.SAXParseException: Document is invalid: no grammar found.
     at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(
ErrorHandlerWrapper.java:236)
     at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.
java:172)
     at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.
java:382)
     at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.
java:316)
     at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(
XMLNSDocumentScannerImpl.java:177)
     at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.
scanRootElementHook(XMLNSDocumentScannerImpl.java:779)
     at com.sun.org.apache.xerces.internal.impl.
XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.
java:1794)
     at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(
XMLDocumentFragmentScannerImpl.java:368)
     at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.
java:834)
     at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.
java:764)
     at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
     at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java
:1242)
     at org.apache.commons.digester.Digester.parse(Digester.java:1591)
     at org.apache.commons.validator.ValidatorResources.<init>(ValidatorResources.java:159)
     at org.apache.struts.validator.ValidatorPlugIn.initResources(ValidatorPlugIn.java:237)
     at org.apache.struts.validator.ValidatorPlugIn.init(ValidatorPlugIn.java:162)
     at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:869)
     at org.apache.struts.action.ActionServlet.init(ActionServlet.java:336)
     at javax.servlet.GenericServlet.init(GenericServlet.java:211)
     at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1091)
     at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:925)
     at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3857)
     at org.apache.catalina.core.StandardContext.start(StandardContext.java:4118)
     at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
     at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
     at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
     at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:894)
     at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:857)
     at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:475)
     at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1102)
     at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
     at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
     at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
     at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
     at org.apache.catalina.core.StandardService.start(StandardService.java:450)
     at org.apache.catalina.core.StandardServer.start(StandardServer.java:683)
     at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:585)
     at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
     at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
Nov 18, 2005 9:26:37 AM org.apache.commons.digester.Digester error
SEVERE: Parse Error at line 39 column 17: Document root element "form-validation", must match DOCTYPE
root "null".
org.xml.sax.SAXParseException: Document root element "form-validation", must match DOCTYPE root "
null".
     at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(
ErrorHandlerWrapper.java:236)
     at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.
java:172)
     at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.
java:382)
     at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.
java:316)
     at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(
XMLNSDocumentScannerImpl.java:183)
     at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.
scanRootElementHook(XMLNSDocumentScannerImpl.java:779)
     at com.sun.org.apache.xerces.internal.impl.
XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.
java:1794)
     at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(
XMLDocumentFragmentScannerImpl.java:368)
     at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.
java:834)
     at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.
java:764)
     at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
     at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java
:1242)
     at org.apache.commons.digester.Digester.parse(Digester.java:1591)
     at org.apache.commons.validator.ValidatorResources.<init>(ValidatorResources.java:159)
     at org.apache.struts.validator.ValidatorPlugIn.initResources(ValidatorPlugIn.java:237)
     at org.apache.struts.validator.ValidatorPlugIn.init(ValidatorPlugIn.java:162)
     at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:869)
     at org.apache.struts.action.ActionServlet.init(ActionServlet.java:336)
     at javax.servlet.GenericServlet.init(GenericServlet.java:211)
     at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1091)
     at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:925)
     at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3857)
     at org.apache.catalina.core.StandardContext.start(StandardContext.java:4118)
     at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
     at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
     at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
     at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:894)
     at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:857)
     at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:475)
     at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1102)
     at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
     at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
     at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
     at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
     at org.apache.catalina.core.StandardService.start(StandardService.java:450)
     at org.apache.catalina.core.StandardServer.start(StandardServer.java:683)
     at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:585)
     at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
     at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)

Answers

I have not done anything myself, but our desktops do have group policy settings and software/updates do get downloaded sometimes.

Read other 4 answers

Tags:

Related Articles

  • Errors when starting tomcat5.5November 30

    Errors when starting tomcat5.5 I found below errors message when starting tomcat5.5 every time, does anyone know what cause it? Thanks in advance. JDK 1.5.0 & Struts 1.2 were installed on my machine, running on win XP home edition. validation.xml fil

  • Error, package does not exist, thrown when calling jsp pageOctober 11

    Hi I have downloaded sample jsp pages for interaction with Crystal reports. When I compile these jsp pages in NetBeans 3.6 there are no problems. When I deploy these pages and associated libraries to Tomcat 5, I get the following error when attemptin

  • Unable to fix this error : Can any one help!!November 30

    This error is comming: org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 13 in the jsp file: /form1.jsp Generated servlet error: C:\Apache\Tomcat5.0\work\Catalina\localhost\Bidding\org\apache\jsp\form1_jsp.

  • JSP MigrationNovember 30

    I am trying to move a site to a new server, and am having multiple troubles in accomplishing what I thought would be an easy task. I believe one of the problems is the old server had Tomcat 4 or earlier, and we are now working with Tomcat 5. Here is

  • Help! -why can't start Tomcat --Installation problem??November 30

    I downloaded Tomcat 5.0.30.exe and installed Tomcat 5 and JDK 5 on my local computer (I also have IIS installed, and Java App Server (from J2EE); yes I have plenty of space lol); I did this in the command line: Set JAVA_HOME=C:\jdk1.5_03; and I also

  • Struts putList Problem  - UrgentNovember 30

    Hai all am using putList as my menu folloing are my codes in tiles-defs.xml <putList name="items" > <item value="Home" link="/Welcome.do" /> <item value="Products" link="/Welcome.do" /> &

  • Error in JDBC with Apache Tomcat5.0October 11

    Hi...... Now am using Tomcat5.0..Here database connnection is not working...(But all other jsp and servlets are working)....But in Tomcat 4.0 database connections are working well.Now i want to execute the connection using Apache Tomcat5.0...using To

  • Errors tracking through log file(tomcat5)/jspOctober 11

    Hi All! Can anyone find out errors in this log file ..pls its urgent.. I got to make jsp package run perfectly ...but its not finding out class files. log4j: Finished configuring. Oct 12, 2005 2:04:24 PM org.apache.catalina.core.StandardHostDeployer

  • Errors occurs when localizing an Struts webapps in Tomcat5.0 under Linux.November 30

    I have an Struts webapps,which was deployed correctly and ran well in my Tomat5.0 under win2K. Then i copied the webapps to the Tomcat5.0_HOME/webapps/ under Linux. Then i copied all the struts *.jar files to the Tomcat5.0_HOME/common/lib. With the w

  • Unable to Compile Error in Tomcat5 & JSPNovember 30

    Hi, I just installed Tomcat5 on my 2nd System, and trying to run the same application that I'm running on tomcat4 on my first system. Here's the Error org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: -1 in

Copyright (C) 2019 wisumpire.com, All Rights Reserved. webmaster#wisumpire.com 14 q. 0.544 s.