强制提交ADE数据源和日志配置文件

This commit is contained in:
zhouyahui 2018-06-03 22:36:54 +08:00
parent b2081b925f
commit ff6431ea59
3 changed files with 46 additions and 0 deletions

View File

@ -0,0 +1,3 @@
Manifest-Version: 1.0
Class-Path:

View 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&amp;characterEncoding=GBK&amp;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&amp;useUnicode=true&amp;characterEncoding=GBK&amp;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&amp;useUnicode=true&amp;characterEncoding=GBK&amp;autoReconnectForPools=true&amp;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&amp;useUnicode=true&amp;characterEncoding=GBK&amp;autoReconnect=true"
/> -->
</Context>

View 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