发帖    主题    评论    推荐    标签    作者    订阅    查搜    注册   登陆   关注
 
面向对象 设计模式 领域驱动设计 企业架构 框架 开发教程 微服务 大数据 扩展性 并发编程 事件驱动 分布式 CQRS

又:用tomcat部署时出现的错误

2004-07-20 19:11
赞助商链接

接上篇,我用tomcat调第四章程序,编译完全通过了
部署时出现以下错误。请教原因:
StandardManager[/web]: Seeding random number generator class java.security.SecureRandom

StandardManager[/web]: Seeding of random number generator has been completed

StandardWrapper[/web:default]: Loading container servlet default

log4j:WARN No appenders could be found for logger (org.apache.struts.util.PropertyMessageResources).

log4j:WARN Please initialize the log4j system properly.

StandardContext[/web]: Servlet /web threw load() exception: javax.servlet.ServletException: Servlet.init() for servlet action threw exception

javax.servlet.ServletException: Servlet.init() for servlet action threw exception

at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:963)

at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:823)

at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3421)

at org.apache.catalina.core.StandardContext.start(StandardContext.java:3609)

at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:821)

at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)

at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)

at org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.java:700)

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:324)

at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:252)

at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:256)

at org.apache.commons.digester.Rule.end(Rule.java:276)

at org.apache.commons.digester.Digester.endElement(Digester.java:1058)

at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1683)

at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:634)

at org.apache.crimson.parser.Parser2.parse(Parser2.java:333)

at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)

at org.apache.commons.digester.Digester.parse(Digester.java:1567)

at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:385)

at org.apache.catalina.core.StandardHost.install(StandardHost.java:803)

at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:442)

at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:399)

at org.apache.catalina.startup.HostConfig.start(HostConfig.java:718)

at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:358)

at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)

at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)

at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)

at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)

at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)

at org.apache.catalina.core.StandardService.start(StandardService.java:497)

at org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)

at org.apache.catalina.startup.Catalina.start(Catalina.java:512)

at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)

at org.apache.catalina.startup.Catalina.process(Catalina.java:180)

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:324)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

StandardWrapper[/web:invoker]: Loading container servlet invoker

2004-6-19 19:10:16 org.apache.coyote.http11.Http11Protocol start

信息: Starting Coyote HTTP/1.1 on port 8080

StandardHost[localhost]: MAPPING configuration error for request URI /

St

2004-07-21 09:54

贴的log不对,要在出错的log中找到程序的位置,你现在都是at org.apache.catalina,
找到at com.jdon.xxx的记录就可以知道出错点了

2004-07-22 10:22

to banq :
这是所有的错误信息了,
最后信息在一直出现在句话,没有你找到at com.jdom.。。。。
StandardHost[localhost]: MAPPING configuration error for request URI


F:\JBuilderX\jdk1.4\bin\javaw -classpath "F:\JBuilderX\thirdparty\jakarta-tomcat-4.0.6-LE-jdk14\bin\bootstrap.jar;F:\JBuilderX\jdk1.4\lib\tools.jar" -Dcatalina.home="F:/JBuilderX/thirdparty/jakarta-tomcat-4.0.6-LE-jdk14" org.apache.catalina.startup.Bootstrap -config G:\new\JdonCMS\Tomcat\conf\server8080.xml start
HttpConnector Opening server socket on all host IP addresses
Starting service Tomcat-Standalone
Apache Tomcat/4.0.6
WebappLoader[/web]: Deploying class repositories to work directory G:\new\JdonCMS\Tomcat\work\web
WebappLoader[/web]: Deploy JAR /WEB-INF/lib/castor-xml.jar to G:\new\JdonCMS\web\WEB-INF\lib\castor-xml.jar
WebappLoader[/web]: Deploy JAR /WEB-INF/lib/commons-beanutils.jar to G:\new\JdonCMS\web\WEB-INF\lib\commons-beanutils.jar
WebappLoader[/web]: Deploy JAR /WEB-INF/lib/commons-collections.jar to G:\new\JdonCMS\web\WEB-INF\lib\commons-collections.jar
WebappLoader[/web]: Deploy JAR /WEB-INF/lib/commons-digester.jar to G:\new\JdonCMS\web\WEB-INF\lib\commons-digester.jar
WebappLoader[/web]: Deploy JAR /WEB-INF/lib/commons-fileupload.jar to G:\new\JdonCMS\web\WEB-INF\lib\commons-fileupload.jar
WebappLoader[/web]: Deploy JAR /WEB-INF/lib/commons-lang.jar to G:\new\JdonCMS\web\WEB-INF\lib\commons-lang.jar
WebappLoader[/web]: Deploy JAR /WEB-INF/lib/commons-logging.jar to G:\new\JdonCMS\web\WEB-INF\lib\commons-logging.jar
WebappLoader[/web]: Deploy JAR /WEB-INF/lib/commons-validator.jar to G:\new\JdonCMS\web\WEB-INF\lib\commons-validator.jar
WebappLoader[/web]: Deploy JAR /WEB-INF/lib/jakarta-oro.jar to G:\new\JdonCMS\web\WEB-INF\lib\jakarta-oro.jar
WebappLoader[/web]: Deploy JAR /WEB-INF/lib/jakarta-regexp-1.1.jar to G:\new\JdonCMS\web\WEB-INF\lib\jakarta-regexp-1.1.jar
WebappLoader[/web]: Deploy JAR /WEB-INF/lib/jdom.jar to G:\new\JdonCMS\web\WEB-INF\lib\jdom.jar
WebappLoader[/web]: Deploy JAR /WEB-INF/lib/log4j.jar to G:\new\JdonCMS\web\WEB-INF\lib\log4j.jar
WebappLoader[/web]: Deploy JAR /WEB-INF/lib/struts.jar to G:\new\JdonCMS\web\WEB-INF\lib\struts.jar
WebappLoader[/web]: Deploy JAR /WEB-INF/lib/xercesImpl.jar to G:\new\JdonCMS\web\WEB-INF\lib\xercesImpl.jar
WebappLoader[/web]: Deploy JAR /WEB-INF/lib/xmlParserAPIs.jar to G:\new\JdonCMS\web\WEB-INF\lib\xmlParserAPIs.jar
WebappLoader[/web]: Reloading checks are enabled for this Context
StandardManager[/web]: Seeding random number generator class java.security.SecureRandom
StandardManager[/web]: Seeding of random number generator has been completed
ContextConfig[/web]: Added certificates -> request attribute Valve
StandardWrapper[/web:default]: Loading container servlet default
log4j:WARN No appenders could be found for logger (org.apache.struts.util.PropertyMessageResources).
log4j:WARN Please initialize the log4j system properly.
StandardContext[/web]: Servlet /web threw load() exception: javax.servlet.ServletException: Servlet.init() for servlet action threw exception
javax.servlet.ServletException: Servlet.init() for servlet action threw exception
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:946)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:810)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3279)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3421)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:638)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343)
at org.apache.catalina.core.StandardService.start(StandardService.java:388)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:506)
at org.apache.catalina.startup.Catalina.start(Catalina.java:781)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
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:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
StandardWrapper[/web:invoker]: Loading container servlet invoker
HttpConnector[8080] Starting background thread
StandardHost[localhost]: MAPPING configuration error for request URI
StandardHost[localhost]: MAPPING configuration error for request URI
StandardHost[localhost]: MAPPING configuration error for request URI
StandardHost[localhost]: MAPPING configuration error for request URI
StandardHost[localhost]: MAPPING configuration error for request URI
StandardHost[localhost]: MAPPING configuration error for request URI
StandardHost[localhost]: MAPPING configuration error for request URI
StandardHost[localhost]: MAPPING configuration error for request URI
StandardHost[localhost]: MAPPING configuration error for request URI
StandardHost[localhost]: MAPPING configuration error for request URI
StandardHost[localhost]: MAPPING configuration error for request URI
StandardHost[localhost]: MAPPING configuration error for request URI
StandardHost[localhost]: MAPPING configuration error for request URI

2004-07-22 15:57

这是某个servlet有问题,具体无法判断、

赞助商链接

赞助商链接

返回顶部

移动版 关于本站 使用帮助 联系管理员 最佳分辨率1366x768
OpenSource JIVEJDON Powered by JdonFramework Code © 2002-20 jdon.com