使用cobertura部署war时WSServletContextLi stener contextDestroyed

时间:2012-04-02 08:48:25

标签: java ant code-coverage cobertura

您好我是cobertura的新手,我使用cobertura创建了一场战争,同时在tomcat中部署此战争我收到以下错误消息

INFO: Initializing Mojarra 2.0.4 (FCS b09) for context '/victor'
Apr 02, 2012 1:22:07 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Apr 02, 2012 1:22:07 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/victor] startup failed due to previous errors
Apr 02, 2012 1:22:07 PM com.sun.xml.ws.transport.http.servlet.WSServletContextLi
stener contextDestroyed enter code here`
INFO: WSSERVLET13: JAX-WS context listener destroyed
Apr 02, 2012 1:22:08 PM org.apache.catalina.loader.WebappClassLoader clearRefere
ncesThreads
SEVERE: The web application [/victor] appears to have started a thread named [Th
read-3] but has failed to stop it. This is very likely to create a memory leak.
Apr 02, 2012 1:22:08 PM org.apache.catalina.loader.WebappClassLoader clearThread
LocalMap
SEVERE: The web application [/victor] created a ThreadLocal with key of type [nu
ll] (value [com.sun.faces.util.Util$1@14ec141]) and a value of type [java.util.H
ashMap] (value [{com.sun.faces.patternCache={ = }}]) but failed to remove it whe
n the web application was stopped. This is very likely to create a memory leak.
Apr 02, 2012 1:22:16 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory docs
Apr 02, 2012 1:22:16 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory examples
Apr 02, 2012 1:22:17 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
Apr 02, 2012 1:22:17 PM org.apache.coyote.http11.Http11AprProtocol start
INFO: Starting Coyote HTTP/1.1 on http-9009
Apr 02, 2012 1:22:17 PM org.apache.coyote.ajp.AjpAprProtocol start
INFO: Starting Coyote AJP/1.3 on ajp-8009
Apr 02, 2012 1:22:17 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 276800 ms

1 个答案:

答案 0 :(得分:1)

我刚刚将我的java版本改为1.6,用于编译源代码为1.7的Cobertura工具。