启动tomcat,log中一只卡在Deploying web application directory。。。。。。

    每次启动或者重新启动tomcat,在启动之后的五六分钟内总是不能访问。查看日志,一只卡在Deploying web application directory...。查阅资料后很好地解决了,Linux或者部分Unix系统提供随机数设备是/dev/random和/dev/urandom。两者的区别是,urandom安全性没有random高,但是random需要时间间隔生成随机数,jdk默认是random,既然这样,我们去修改配置文件好了。目录是在jdk.xxx.xxx/jre/lib/security/java.security文件,在文件中找到secuerandom.source这个设置项,将其改为securerandom.source=file:/dev/./urandom,再重启tomcat试试,立马就可以访问了

严重: Error deploying web application directory Orde

02-24

2009-2-24 19:24:57 org.apache.commons.modeler.Registry registerComponentrn严重: Null component Catalina:type=JspMonitor,WebModule=//localhost/OrderTickets,J2EEApplication=none,J2EEServer=nonern2009-2-24 19:24:57 org.apache.catalina.startup.HostConfig deployDirectoriesrn严重: Error deploying web application directory OrderTicketsrnjava.lang.NoSuchMethodError: org.apache.log4j.Category.log(Ljava/lang/String;Lorg/apache/log4j/Level;Ljava/lang/Object;Ljava/lang/Throwable;)Vrn at org.apache.commons.logging.impl.Log4JCategoryLog.debug(Log4JCategoryLog.java:94)rn at org.apache.catalina.session.ManagerBase.init(ManagerBase.java:627)rn at org.apache.catalina.session.StandardManager.start(StandardManager.java:639)rn at org.apache.catalina.core.ContainerBase.setManager(ContainerBase.java:499)rn at org.apache.catalina.startup.ContextConfig.managerConfig(ContextConfig.java:315)rn at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:635)rn at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:216)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)rn at org.apache.catalina.core.StandardContext.start(StandardContext.java:4290)rn at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)rn at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)rn at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)rn at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:277)rn at org.apache.catalina.core.StandardHost.install(StandardHost.java:832)rn at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:701)rn at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:432)rn at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)rn at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)rn at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)rn at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)rn at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)rn at org.apache.catalina.core.StandardService.start(StandardService.java:480)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:556)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)rn2009-2-24 19:24:57 org.apache.coyote.http11.Http11Protocol startrn信息: Starting Coyote HTTP/1.1 on http-8080rn请各位大虾帮我解答一下,小弟不胜感激!!!!!n[b]问题补充:[/b]nclasspath路径:rnrnrn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rnrn

没有更多推荐了,返回首页

私密
私密原因:
请选择设置私密原因
  • 广告
  • 抄袭
  • 版权
  • 政治
  • 色情
  • 无意义
  • 其他
其他原因:
120
出错啦
系统繁忙,请稍后再试