当前位置: 代码迷 >> Java相关 >> tomcat启动异常
  详细解决方案

tomcat启动异常

热度:6233   发布时间:2013-02-25 21:47:39.0
tomcat启动错误
我在myeclipse中部署好项目,重启之后出现以下异常:
信息: Initializing Log4J from [E:\apache-tomcat-6.0.10\webapps\management\WEB-INF\log4j.properties]
2011-10-27 16:43:26 org.apache.catalina.core.StandardContext listenerStart
严重: Exception sending context initialized event to listener instance of class com.hurraytimes.odp.management.listener.SystemListener
java.lang.NullPointerException
at com.hurraytimes.odp.management.listener.SystemListener.loadMessageQueue(SystemListener.java:72)
at com.hurraytimes.odp.management.listener.SystemListener.contextInitialized(SystemListener.java:60)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4336)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1023)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1015)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:448)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
2011-10-27 16:43:26 org.apache.catalina.core.ApplicationContext log

哪位高手帮帮忙啊!

------解决方案--------------------------------------------------------
java.lang.NullPointerException
at com.hurraytimes.odp.management.listener.SystemListener.loadMessageQueue(SystemListener.java:72)

检查程序
------解决方案--------------------------------------------------------
可以把你tomcat中的work文件夹里面的都删除了在试试,然后部署!
实在不行就把tomcat删了,在重新安装一次!
so。easy
  相关解决方案