
启动tomcat报错:log4j:WARN No appenders could be found for logger
log4j:WARNNoappenderscouldbefoundforlogger(com.opensymphony.xwork2.config.providers.X...
log4j:WARN No appenders could be found for logger (com.opensymphony.xwork2.config.providers.XmlConfigurationProvider).
log4j:WARN Please initialize the log4j system properly.
重新部署又会报如下的错误:
2015-1-15 10:18:37 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [/NETCTOSS] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@2264da]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@b34b1]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
2015-1-15 10:18:37 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [/NETCTOSS] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@2264da]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@107dcfe]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
log4j:WARN No appenders could be found for logger (com.opensymphony.xwork2.config.providers.XmlConfigurationProvider).
log4j:WARN Please initialize the log4j system properly. 展开
log4j:WARN Please initialize the log4j system properly.
重新部署又会报如下的错误:
2015-1-15 10:18:37 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [/NETCTOSS] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@2264da]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@b34b1]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
2015-1-15 10:18:37 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [/NETCTOSS] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@2264da]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@107dcfe]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
log4j:WARN No appenders could be found for logger (com.opensymphony.xwork2.config.providers.XmlConfigurationProvider).
log4j:WARN Please initialize the log4j system properly. 展开
1个回答
展开全部
你贴的这些内容不是 root cause
这只是说被 shutdown 的时候,xwork2 退出不了
但是,主要的问题应该是这个 app 启动的时候,出错了
这只是说被 shutdown 的时候,xwork2 退出不了
但是,主要的问题应该是这个 app 启动的时候,出错了
追问
启动的时候只有这个
log4j:WARN No appenders could be found for logger (com.opensymphony.xwork2.config.providers.XmlConfigurationProvider).
log4j:WARN Please initialize the log4j system properly.
追答
你把 log 配好,再看
另外,看一下 tomcat 本身的日志
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询