摘要: log4j.rootLogger=debug, appenderName1, appenderName2#将日志输出到控制台log4j.appender.appenderName1=org.apache.log4j.ConsoleAppenderlog4j.appender.appenderName1.layout=org.apache.log4j.PatternLayoutlog4j.appender.appenderName1.layout.ConversionPattern=********{%5p} [%t] (%F:%L)******** - %m%n#将日志输出到文件系统log4j 阅读全文
posted @ 2012-02-25 14:44 Paul.Lau 阅读(173) 评论(0) 推荐(0) 编辑
摘要: <Resource name="oracle/blah" auth="Container" type="javax.sql.DataSource"driverClassName="oracle.jdbc.OracleDriver"url="jdbc:oracle:thin:@localhost:1521:TEST"username="scott" password="scott"maxIdle="5"maxWait="5 阅读全文
posted @ 2012-02-25 14:43 Paul.Lau 阅读(219) 评论(0) 推荐(0) 编辑