强制提交ADE数据源和日志配置文件
This commit is contained in:
parent
b2081b925f
commit
ff6431ea59
3
WebContent/META-INF/MANIFEST.MF
Normal file
3
WebContent/META-INF/MANIFEST.MF
Normal file
@ -0,0 +1,3 @@
|
||||
Manifest-Version: 1.0
|
||||
Class-Path:
|
||||
|
||||
19
WebContent/META-INF/context.xml
Normal file
19
WebContent/META-INF/context.xml
Normal file
@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Context>
|
||||
<!-- <Resource name="jdbc/als" auth="Container" type="javax.sql.DataSource"
|
||||
maxActive="30" maxIdle="2" maxWait="10000" username="tel6" password="tel6_123"
|
||||
driverClassName="com.mysql.jdbc.Driver" url="jdbc:mysql://192.168.0.16:3306/tel6?useUnicode=true&characterEncoding=GBK&autoReconnect=true"
|
||||
/> <Resource name="jdbc/als" auth="Container" type="javax.sql.DataSource"
|
||||
maxActive="30" maxIdle="2" maxWait="10000" username="tel6_test" password="tel6_123"
|
||||
driverClassName="com.mysql.jdbc.Driver" url="jdbc:mysql://127.0.0.1:3306/tel6_test?rewriteBatchedStatements=true&useUnicode=true&characterEncoding=GBK&autoReconnect=true"
|
||||
/> -->
|
||||
<Resource name="jdbc/als" auth="Container" type="javax.sql.DataSource"
|
||||
maxActive="30" maxIdle="2" maxWait="10000" username="tel6" password="tel6_123"
|
||||
driverClassName="com.mysql.jdbc.Driver"
|
||||
url="jdbc:mysql://localhost:3306/apzl?rewriteBatchedStatements=true&useUnicode=true&characterEncoding=GBK&autoReconnectForPools=true&autoReconnect=true" />
|
||||
<!-- <Resource name="jdbc/als" auth="Container" type="javax.sql.DataSource"
|
||||
maxActive="30" maxIdle="2" maxWait="10000" username="tel6" password="tel6_123"
|
||||
driverClassName="com.mysql.jdbc.Driver" url="jdbc:mysql://192.168.0.25:3306/tel6?rewriteBatchedStatements=true&useUnicode=true&characterEncoding=GBK&autoReconnect=true"
|
||||
/> -->
|
||||
</Context>
|
||||
|
||||
24
WebContent/WEB-INF/etc/simplelog.properties
Normal file
24
WebContent/WEB-INF/etc/simplelog.properties
Normal file
@ -0,0 +1,24 @@
|
||||
############################################################
|
||||
# Simple properties
|
||||
############################################################
|
||||
com.amarsoft.are.log.SimpleLog.level=all
|
||||
#handlers Can be com.amarsoft.are.log.impl.ConsoleHandler,com.amarsoft.are.log.impl.FileHandler
|
||||
com.amarsoft.are.log.SimpleLog.handlers=com.amarsoft.are.log.impl.ConsoleHandler,com.amarsoft.are.log.impl.FileHandler,com.amarsoft.are.log.impl.simple.WarnFileHandler
|
||||
|
||||
com.amarsoft.are.log.impl.simple.WarnFileHandler.level = error;
|
||||
|
||||
com.amarsoft.are.log.impl.simple.WarnFileHandler.pattern = d:/tmp/log/a3web_warn_%g.log
|
||||
|
||||
com.amarsoft.are.log.impl.simple.WarnFileHandler.limit = 1024000
|
||||
|
||||
com.amarsoft.are.log.impl.FileHandler.level = debug
|
||||
#com.amarsoft.are.log.impl.FileHandler.pattern = {$ARE.APP_HOME}/log/a3web_%D_%g.log
|
||||
|
||||
com.amarsoft.are.log.impl.FileHandler.pattern = d:/tmp/log/a3web_%D_%g.log
|
||||
|
||||
com.amarsoft.are.log.impl.FileHandler.limit = 10240000
|
||||
com.amarsoft.are.log.impl.FileHandler.count = 10
|
||||
com.amarsoft.are.log.impl.FileHandler.append = true
|
||||
com.amarsoft.are.log.impl.FileHandler.formatter = com.amarsoft.are.log.impl.simple.SimpleFormatter
|
||||
|
||||
com.amarsoft.are.log.impl.ConsoleHandler.level = all
|
||||
Loading…
x
Reference in New Issue
Block a user