求帮助,遇到一个棘手问题,更新了一个jar ,tomcat 6.0启动时无法更新它,导致程序无法更新。

dlkkkk1 2015-08-09 07:15:26
遇到一个棘手问题,更新了一个jar ,tomcat 6.0启动时无法更新它,导致程序无法更新。 本地运行完全正常。
错误日志如下:
Aug 9, 2015 6:32:09 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/jdk1.6.0_37/jre/lib/amd64/server:/usr/java/jdk1.6.0_37/jre/lib/amd64:/usr/java/jdk1.6.0_37/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
Aug 9, 2015 6:32:09 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-20143
Aug 9, 2015 6:32:09 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 456 ms
Aug 9, 2015 6:32:09 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Aug 9, 2015 6:32:09 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.20
06:32:10,029 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
06:32:10,029 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [file:/home/shouyiadmin/tomcat6.0.20/webapps/ShouYi/WEB-INF/classes/logback.xml]
06:32:10,030 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs multiple times on the classpath.
06:32:10,030 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [file:/home/shouyiadmin/tomcat6.0.20/webapps/ShouYi/WEB-INF/classes/logback.xml]
06:32:10,030 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [jar:file:/home/shouyiadmin/tomcat6.0.20/webapps/ShouYi/WEB-INF/lib/sServ.jar!/logback.xml]
06:32:10,081 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
06:32:10,081 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
06:32:10,085 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [stdout]
06:32:10,126 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing component [layout] on top of the object stack.
06:32:10,146 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Popping appender named [stdout] from the object stack
06:32:10,146 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
06:32:10,148 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [file]
06:32:10,156 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing component [rollingPolicy] on top of the object stack.
06:32:10,160 |-INFO in ch.qos.logback.core.rolling.FixedWindowRollingPolicy@5fe8ce8 - Adding parent to RollingPolicy: file
06:32:10,162 |-INFO in ch.qos.logback.core.rolling.FixedWindowRollingPolicy@5fe8ce8 - No compression will be used
06:32:10,164 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing component [triggeringPolicy] on top of the object stack.
06:32:10,170 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing component [layout] on top of the object stack.
06:32:10,172 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[file] - Active log file name: ./logs/shouyi.log
06:32:10,172 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[file] - File property is set to [./logs/shouyi.log]
06:32:10,173 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Popping appender named [file] from the object stack
06:32:10,173 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.mwm] to ERROR
06:32:10,173 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting additivity of logger [com.mwm] to true
06:32:10,173 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [file] to Logger[com.mwm]
06:32:10,175 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [java.sql.Connection] to ERROR
06:32:10,175 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting additivity of logger [java.sql.Connection] to true
06:32:10,175 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [file] to Logger[java.sql.Connection]
06:32:10,175 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [java.sql.Statement] to ERROR
06:32:10,175 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting additivity of logger [java.sql.Statement] to true
06:32:10,175 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [file] to Logger[java.sql.Statement]
06:32:10,175 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [java.sql.PreparedStatement] to ERROR
06:32:10,175 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting additivity of logger [java.sql.PreparedStatement] to true
06:32:10,175 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [file] to Logger[java.sql.PreparedStatement]

Aug 9, 2015 6:32:15 AM org.apache.catalina.core.StandardContext start
SEVERE: Error filterStart
Aug 9, 2015 6:32:15 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/host-manager] startup failed due to previous errors
Aug 9, 2015 6:32:15 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive saaa.war
06:32:16,266 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
06:32:16,267 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [file:/home/shouyiadmin/tomcat6.0.20/webapps/ShouYi/WEB-INF/classes/logback.xml]
06:32:16,268 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs multiple times on the classpath.
06:32:16,268 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [file:/home/shouyiadmin/tomcat6.0.20/webapps/ShouYi/WEB-INF/classes/logback.xml]
06:32:16,268 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [jar:file:/home/shouyiadmin/tomcat6.0.20/webapps/ShouYi/WEB-INF/lib/shouyiServ.jar!/logback.xml]
06:32:16,312 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
06:32:16,312 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
06:32:16,316 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [stdout]
06:32:16,345 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing component [layout] on top of the object stack.
06:32:16,363 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Popping appender named [stdout] from the object stack
06:32:16,363 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
06:32:16,366 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [file]
06:32:16,373 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing component [rollingPolicy] on top of the object stack.
06:32:16,380 |-INFO in ch.qos.logback.core.rolling.FixedWindowRollingPolicy@573577ca - Adding parent to RollingPolicy: file
06:32:16,383 |-INFO in ch.qos.logback.core.rolling.FixedWindowRollingPolicy@573577ca - No compression will be used
06:32:16,384 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing component [triggeringPolicy] on top of the object stack.
06:32:16,388 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Pushing component [layout] on top of the object stack.
06:32:16,389 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[file] - Active log file name: ./logs/shouyi.log
06:32:16,389 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[file] - File property is set to [./logs/shouyi.log]
06:32:16,390 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Popping appender named [file] from the object stack
06:32:16,390 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.mwm] to ERROR
06:32:16,390 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting additivity of logger [com.mwm] to true
06:32:16,390 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [file] to Logger[com.mwm]
06:32:16,391 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [java.sql.Connection] to ERROR
06:32:16,391 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting additivity of logger [java.sql.Connection] to true
06:32:16,391 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [file] to Logger[java.sql.Connection]
06:32:16,391 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [java.sql.Statement] to ERROR
06:32:16,391 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting additivity of logger [java.sql.Statement] to true
06:32:16,391 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [file] to Logger[java.sql.Statement]
06:32:16,392 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [java.sql.PreparedStatement] to ERROR
06:32:16,392 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting additivity of logger [java.sql.PreparedStatement] to true
06:32:16,392 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [file] to Logger[java.sql.PreparedStatement]

...全文
130 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
  • 打赏
  • 举报
回复
把tomcat停掉,删除webapp下面的项目,重新导入,并且删除tomcat的work——>Catalina——>localhost目录下的项目文件试试
dlkkkk1 2015-08-09
  • 打赏
  • 举报
回复
日志中 加亮的jar,确认替换的 并且无重复
Defonds 2015-08-09
  • 打赏
  • 举报
回复
1. 老 jar 删了没? 2. 检查其他 jar,看看类名有没有重复。
yzsunlight 2015-08-09
  • 打赏
  • 举报
回复
更新了一个什么 JAR?

81,092

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧