【问题标题】:WSServletContextLi stener contextDestroyed while deploying war using coberturaWSServletContextLi stener contextDestroyed while deploying war using cobertura
【发布时间】:2012-04-02 08:48:24
【问题描述】:

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

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

【问题讨论】:

  • 你使用的java版本是什么???如果你的 java 版本是 1.7 然后恢复到 1.6 并尝试
  • 如果你的应用支持1.5你可以试试

标签: java ant code-coverage cobertura


【解决方案1】:

我只是将我的 java 版本更改为 1.6,我曾经用 1.7 编译源代码以用于 Cobertura 仪器。

【讨论】:

    猜你喜欢
    • 2022-11-27
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-11-19
    • 2019-12-01
    • 1970-01-01
    • 2018-11-30
    • 1970-01-01
    相关资源
    最近更新 更多