日期:2014-05-18  浏览次数:20745 次

我的站点在Resin下运行得好好的,放到Tomcat下却出错(错误内容见内),主要是加载log4j配置文件时出错,怎么办???
启动Tomcat时的信息如下:
2007-4-18   9:54:03   org.apache.catalina.core.AprLifecycleListener   lifecycleEvent
信息:   The   Apache   Tomcat   Native   library   which   allows   optimal   performance   in   produ
ction   environments   was   not   found   on   the   java.library.path:   C:\jdk1.5.0_04\bin;.;
C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System3
2\Wbem;C:\jdk1.5.0_04\bin;C:\jdk1.5.0_04\jre\bin;C:\Program   Files\Microsoft   SQL
Server\80\Tools\BINN;C:\Program   Files\Symantec\pcAnywhere\
2007-4-18   9:54:03   org.apache.coyote.http11.Http11BaseProtocol   init
信息:   Initializing   Coyote   HTTP/1.1   on   http-8080
2007-4-18   9:54:03   org.apache.catalina.startup.Catalina   load
信息:   Initialization   processed   in   656   ms
2007-4-18   9:54:03   org.apache.catalina.core.StandardService   start
信息:   Starting   service   Catalina
2007-4-18   9:54:03   org.apache.catalina.core.StandardEngine   start
信息:   Starting   Servlet   Engine:   Apache   Tomcat/5.5.23
2007-4-18   9:54:04   org.apache.catalina.core.StandardHost   start
信息:   XML   validation   disabled
log4j:WARN   No   appenders   could   be   found   for   logger   (org.apache.commons.digester.D
igester.sax).
log4j:WARN   Please   initialize   the   log4j   system   properly.
Log4j   started.
log4j:ERROR   Could   not   parse   input   source   [org.xml.sax.InputSource@1f17e77].
java.net.MalformedURLException:   unknown   protocol:   dummy
                at   java.net.URL. <init> (URL.java:574)
                at   java.net.URL. <init> (URL.java:464)
                at   java.net.URL. <init> (URL.java:413)
                at   gnu.xml.aelfred2.SAXDriver.absolutize(SAXDriver.java:610)
                at   gnu.xml.aelfred2.SAXDriver.resolveEntity(SAXDriver.java:585)
                at   gnu.xml.aelfred2.XmlParser.pushURL(XmlParser.java:3336)
                at   gnu.xml.aelfred2.XmlParser.parseDoctypedecl(XmlParser.java:845)
                at   gnu.xml.aelfred2.XmlParser.parseProlog(XmlParser.java:522)
                at   gnu.xml.aelfred2.XmlParser.parseDocument(XmlParser.java:414)
                at   gnu.xml.aelfred2.XmlParser.doParse(XmlParser.java:167)
                at   gnu.xml.aelfred2.SAXDriver.parse(SAXDriver.java:320)
                at   gnu.xml.aelfred2.XmlReader.parse(XmlReader.java:294)
                at   gnu.xml.dom.JAXPFactory$JAXPBuilder.parse(JAXPFactory.java:186)
      &nb