信息: Initializing Coyote HTTP/1.1 on http-8080
2007-4-21 1:17:29 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 828 ms
2007-4-21 1:17:29 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2007-4-21 1:17:29 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/5.0.28
2007-4-21 1:17:29 org.apache.catalina.core.StandardHost start
信息: XML validation disabled
2007-4-21 1:17:29 org.apache.catalina.core.StandardHost getDeployer
信息: Create Host deployer for direct deployment ( non-jmx )
2007-4-21 1:17:29 org.apache.catalina.core.StandardHostDeployer install
信息: Processing Context configuration file URL file:C:\jakarta-tomcat-5.0.28\conf\Catalina\localhost\admin.xml
2007-4-21 1:17:29 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
2007-4-21 1:17:29 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
2007-4-21 1:17:30 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config='org.apache.webapp.admin.ApplicationResources', returnNull=true
2007-4-21 1:17:31 org.apache.catalina.core.StandardHostDeployer install
信息: Processing Context configuration file URL file:C:\jakarta-tomcat-5.0.28\conf\Catalina\localhost\balancer.xml
2007-4-21 1:17:32 org.apache.catalina.core.StandardHostDeployer install
信息: Processing Context configuration file URL file:C:\jakarta-tomcat-5.0.28\conf\Catalina\localhost\manager.xml
2007-4-21 1:17:32 org.apache.catalina.core.StandardHostDeployer install
信息: Installing web application at context path /jsp-examples from URL file:C:\jakarta-tomcat-5.0.28\webapps\jsp-examples
2007-4-21 1:17:32 org.apache.catalina.core.StandardHostDeployer install
信息: Installing web application at context path /k from URL file:C:\jakarta-tomcat-5.0.28\webapps\k
2007-4-21 1:17:32 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
2007-4-21 1:17:32 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
2007-4-21 1:17:32 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config='com.yourcompany.struts.ApplicationResources', returnNull=true
2007-4-21 1:17:32 org.apache.catalina.core.StandardHostDeployer install
信息: Installing web application at context path /myapp from URL file:C:\jakarta-tomcat-5.0.28\webapps\myapp
2007-4-21 1:17:32 org.apache.commons.digester.Digester fatalError
严重: Parse Fatal Error at line 1 column 1: Content is not allowed in prolog.
org.xml.sax.SAXParseException: Content is not allowed in prolog.
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
at org.apache.xerces.impl.XMLDocumentScannerImpl$PrologDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.commons.digester.Digester.parse(Digester.java:1548)
at org.apache.catalina.startup.ContextConfig.applicationConfig(ContextConfig.java:263)
at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:624)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:216)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent
2 个解决方案
#1
解析myapp工程的xml时候,出现了错误。 1行1列。
#2
Installing web application at context path /myapp from URL file:C:\jakarta-tomcat-5.0.28\webapps\myapp 说明解析myappxml文件时有错误,认真检查配置文件。
#1
解析myapp工程的xml时候,出现了错误。 1行1列。
#2
Installing web application at context path /myapp from URL file:C:\jakarta-tomcat-5.0.28\webapps\myapp 说明解析myappxml文件时有错误,认真检查配置文件。