我现在用的室Tomact5.0 有个web程序已经运行,没有出现问题, 但是在Tomact5.0 关闭时候 打印了一下一段话
不知道是什么意思, Tomact5.0在关闭时候肯定无法复制,我是从日志里复制的2009-05-23 19:17:37 StandardContext[/servlets-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@1d56bbe')
2009-05-23 19:17:37 StandardContext[/servlets-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@94a28e')
2009-05-23 19:17:37 StandardContext[/servlets-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@3c40f0')
2009-05-23 19:17:37 StandardContext[/servlets-examples]SessionListener: contextDestroyed()
2009-05-23 19:17:37 StandardContext[/servlets-examples]ContextListener: contextDestroyed()
2009-05-23 19:17:37 StandardContext[/jsp-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@b98a06')
2009-05-23 19:17:37 StandardContext[/jsp-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@114a3c6')
2009-05-23 19:17:37 StandardContext[/jsp-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@c4cee')
2009-05-23 19:17:37 StandardContext[/jsp-examples]SessionListener: contextDestroyed()
2009-05-23 19:17:37 StandardContext[/jsp-examples]ContextListener: contextDestroyed()
2009-05-23 19:17:53 StandardContext[/balancer]org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]
2009-05-23 19:17:53 StandardContext[/jsp-examples]ContextListener: contextInitialized()
2009-05-23 19:17:53 StandardContext[/jsp-examples]SessionListener: contextInitialized()
2009-05-23 19:17:54 StandardContext[/servlets-examples]ContextListener: contextInitialized()
2009-05-23 19:17:54 StandardContext[/servlets-examples]SessionListener: contextInitialized()
2009-05-23 19:24:07 StandardContext[/servlets-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@a0187c')
2009-05-23 19:24:07 StandardContext[/servlets-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@a79c31')
2009-05-23 19:24:07 StandardContext[/servlets-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@1ff66bd')
2009-05-23 19:24:07 StandardContext[/servlets-examples]SessionListener: contextDestroyed()
2009-05-23 19:24:07 StandardContext[/servlets-examples]ContextListener: contextDestroyed()
2009-05-23 19:24:07 StandardContext[/jsp-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@3ac11b')
2009-05-23 19:24:07 StandardContext[/jsp-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@15be31e')
2009-05-23 19:24:07 StandardContext[/jsp-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@19bd8b4')
2009-05-23 19:24:07 StandardContext[/jsp-examples]SessionListener: contextDestroyed()
2009-05-23 19:24:07 StandardContext[/jsp-examples]ContextListener: contextDestroyed()
不知道是什么意思, Tomact5.0在关闭时候肯定无法复制,我是从日志里复制的2009-05-23 19:17:37 StandardContext[/servlets-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@1d56bbe')
2009-05-23 19:17:37 StandardContext[/servlets-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@94a28e')
2009-05-23 19:17:37 StandardContext[/servlets-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@3c40f0')
2009-05-23 19:17:37 StandardContext[/servlets-examples]SessionListener: contextDestroyed()
2009-05-23 19:17:37 StandardContext[/servlets-examples]ContextListener: contextDestroyed()
2009-05-23 19:17:37 StandardContext[/jsp-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@b98a06')
2009-05-23 19:17:37 StandardContext[/jsp-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@114a3c6')
2009-05-23 19:17:37 StandardContext[/jsp-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@c4cee')
2009-05-23 19:17:37 StandardContext[/jsp-examples]SessionListener: contextDestroyed()
2009-05-23 19:17:37 StandardContext[/jsp-examples]ContextListener: contextDestroyed()
2009-05-23 19:17:53 StandardContext[/balancer]org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]
2009-05-23 19:17:53 StandardContext[/jsp-examples]ContextListener: contextInitialized()
2009-05-23 19:17:53 StandardContext[/jsp-examples]SessionListener: contextInitialized()
2009-05-23 19:17:54 StandardContext[/servlets-examples]ContextListener: contextInitialized()
2009-05-23 19:17:54 StandardContext[/servlets-examples]SessionListener: contextInitialized()
2009-05-23 19:24:07 StandardContext[/servlets-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@a0187c')
2009-05-23 19:24:07 StandardContext[/servlets-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@a79c31')
2009-05-23 19:24:07 StandardContext[/servlets-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@1ff66bd')
2009-05-23 19:24:07 StandardContext[/servlets-examples]SessionListener: contextDestroyed()
2009-05-23 19:24:07 StandardContext[/servlets-examples]ContextListener: contextDestroyed()
2009-05-23 19:24:07 StandardContext[/jsp-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@3ac11b')
2009-05-23 19:24:07 StandardContext[/jsp-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@15be31e')
2009-05-23 19:24:07 StandardContext[/jsp-examples]ContextListener: attributeReplaced('org.apache.catalina.WELCOME_FILES', '[Ljava.lang.String;@19bd8b4')
2009-05-23 19:24:07 StandardContext[/jsp-examples]SessionListener: contextDestroyed()
2009-05-23 19:24:07 StandardContext[/jsp-examples]ContextListener: contextDestroyed()
解决方案 »
- OpenJpa的问题,请高手们帮帮忙
- mina 怎么判断 调用close方法关闭和网络断开关闭
- struts与hibernate整合时出现一个问题,百思不得其解
- Spring 的jdbcTemplete异常问题!
- 上海韩硕信息科技有限公司招贤纳士~请指教
- 想学习J2EE,请问有什么好的资料或者书籍推荐,谢谢
- 大家谁会CORBA啊?我是个初学者,望大哥大姐们给点帮助
- jdbc insert,delete access数据库的怪异问题
- 急!!! 求救 (LDAP&JNDI)
- 求助!关于WEB项目servlet启动出了问题。
- hibernate cascade="save-update" 的问题求教
- 这样结构的数据,怎么从 Action 里传到 页面的?
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
# log level: DEBUG<INFO<WARN<ERROR<FATAL
log4j.rootLogger=INFO, console, file### appender of console ###
log4j.appender.console=org.apache.log4j.ConsoleAppender
log4j.appender.console.layout=org.apache.log4j.PatternLayout
log4j.appender.console.layout.ConversionPattern=[%-5p %5r %c] -> %m%n### appender of file ###
log4j.appender.file=org.apache.log4j.RollingFileAppender
log4j.appender.file.File=example.log
log4j.appender.file.MaxFileSize=5KB
log4j.appender.file.MaxBackupIndex=1
log4j.appender.file.layout=org.apache.log4j.PatternLayout
log4j.appender.file.layout.ConversionPattern=[%-5p %5r %d{MM-dd HH\:mm\:ss} %c{5}] -> %m%nlog4j配置