首页 新闻 搜索 专区 学院

java.lang.IllegalStateException: Cannot initialize context because there is already a root applicati

0
悬赏园豆:10 [已关闭问题] 关闭于 2015-09-15 11:09

信息: Set web app root system property: 'webapp.eipp.mspholy' = [D:\Program Files (x86)\apache-tomcat-6.0.36-windows-x64\apache-tomcat-6.0.36\webapps\eipp_msp_holy\]
2015-9-15 10:33:26 org.apache.catalina.core.ApplicationContext log
信息: Initializing log4j from [D:\Program Files (x86)\apache-tomcat-6.0.36-windows-x64\apache-tomcat-6.0.36\webapps\eipp_msp_holy\WEB-INF\conf\log4j.properties]
2015-9-15 10:33:26 org.apache.catalina.core.StandardContext listenerStart
严重: Exception sending context initialized event to listener instance of class com.holytax.base.listener.StartupListener
java.lang.IllegalStateException: Cannot initialize context because there is already a root application context present - check whether you have multiple ContextLoader* definitions in your web.xml!
    at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:179)
    at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
    at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1079)
    at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1002)
    at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:506)
    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
    at org.apache.catalina.core.StandardService.start(StandardService.java:525)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
    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:597)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
2015-9-15 10:33:26 org.apache.catalina.core.StandardContext start
严重: Error listenerStart
2015-9-15 10:33:26 org.apache.catalina.core.StandardContext start
严重: Context [/eipp_msp_holy] startup failed due to previous errors
2015-9-15 10:33:26 org.apache.catalina.core.ApplicationContext log
信息: Closing Spring root WebApplicationContext
2015-9-15 10:33:26 org.apache.catalina.core.ApplicationContext log
信息: Shutting down log4j
2015-9-15 10:33:26 org.apache.catalina.core.ApplicationContext log
信息: Closing Spring root WebApplicationContext
2015-9-15 10:33:26 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
严重: The web application [/eipp_msp_holy] registered the JDBC driver [oracle.jdbc.driver.OracleDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
2015-9-15 10:33:26 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/eipp_msp_holy] appears to have started a thread named [Timer-0] but has failed to stop it. This is very likely to create a memory leak.
2015-9-15 10:33:26 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/eipp_msp_holy] appears to have started a thread named [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0] but has failed to stop it. This is very likely to create a memory leak.
2015-9-15 10:33:26 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/eipp_msp_holy] appears to have started a thread named [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1] but has failed to stop it. This is very likely to create a memory leak.
2015-9-15 10:33:26 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/eipp_msp_holy] appears to have started a thread named [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2] but has failed to stop it. This is very likely to create a memory leak.
2015-9-15 10:33:28 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory examples
2015-9-15 10:33:28 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: contextInitialized()
2015-9-15 10:33:28 org.apache.catalina.core.ApplicationContext log
信息: SessionListener: contextInitialized()
2015-9-15 10:33:28 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory ROOT
2015-9-15 10:33:28 org.apache.coyote.http11.Http11AprProtocol start
信息: Starting Coyote HTTP/1.1 on http-8989
2015-9-15 10:33:28 org.apache.coyote.ajp.AjpAprProtocol start
信息: Starting Coyote AJP/1.3 on ajp-8009
2015-9-15 10:33:28 org.apache.catalina.startup.Catalina start
信息: Server startup in 21836 ms

Vip灬cnblog的主页 Vip灬cnblog | 初学一级 | 园豆:133
提问于:2015-09-15 10:37
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册