first commit
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE ZHIQIM-CONFIG PUBLIC "-//ZHIQIM //DTD Zhiqim-Config Configuration 1.5.0//EN" "http://zhiqim.org/xmldtds/zhiqim_config_1_5_0.dtd">
|
||||
<zhiqim-config>
|
||||
|
||||
<group id="httpd" desc="HTTP服务">
|
||||
<item key="context" value="httpd.root" type="protected" desc="HTTP服务下包括的上下文环境,多个用逗号隔开" />
|
||||
<item key="scheme" value="HTTP" type="protected" desc="HTTP或HTTPS协议" />
|
||||
<item key="port" value="8999" type="protected" desc="监听端口" />
|
||||
<item key="io" value="NIO" type="protected" desc="可选,IO方式,AIO|BIO|NIO,默认NIO" />
|
||||
<item key="minPoolSize" value="20" type="protected" desc="HTTP处理线程池最小值" />
|
||||
<item key="maxPoolSize" value="500" type="protected" desc="HTTP处理线程池最大值" />
|
||||
</group>
|
||||
|
||||
<group id="httpd.root" desc="HTTP根上下文环境">
|
||||
<item key="path" value="/admin" type="protected" desc="必须,上下文环境路径" />
|
||||
<item key="resourceType" value="directory" type="protected" desc="资源目录类型classpath|directory" />
|
||||
<item key="resourcePath" value="./resource" type="protected" desc="资源目录" />
|
||||
<item key="welcomeUrl" value="/index.htm" type="protected" desc="欢迎页" />
|
||||
<item key="zmr.orm" value="orm" type="protected" desc="管理台对应的数据库映射" />
|
||||
<item key="zmr.orm.opr" value="orm" type="protected" desc="管理台对应的操作员与组织数据库映射,用于共享" />
|
||||
</group>
|
||||
|
||||
</zhiqim-config>
|
||||
@@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE ZHIQIM-CONFIG PUBLIC "-//ZHIQIM //DTD Zhiqim-Config Configuration 1.5.0//EN" "http://zhiqim.org/xmldtds/zhiqim_config_1_5_0.dtd">
|
||||
<zhiqim-config>
|
||||
|
||||
<group id="logging" desc="信息日志配置">
|
||||
<item key="logging.info" value="debug-info" type="protected" desc="信息日志配置" />
|
||||
<item key="logging.error" value="error-fatal" type="protected" desc="错误日志配置" />
|
||||
<item key="logging.database" value="debug-fatal" type="protected" desc="数据库日志配置" />
|
||||
</group>
|
||||
|
||||
<group id="logging.info" desc="信息日志配置">
|
||||
<item key="console.out" value="true" type="protected" desc="是否输出到控制台" />
|
||||
<item key="file.out" value="true" type="protected" desc="是否输出到文件" />
|
||||
<item key="file.path" value="./logs/info.log" type="protected" desc="输出到文件路径" />
|
||||
</group>
|
||||
|
||||
<group id="logging.error" desc="错误日志配置">
|
||||
<item key="console.out" value="true" type="protected" desc="是否输出到控制台" />
|
||||
<item key="file.out" value="true" type="protected" desc="是否输出到文件" />
|
||||
<item key="file.path" value="./logs/error.log" type="protected" desc="输出到文件路径" />
|
||||
</group>
|
||||
|
||||
<group id="logging.database" desc="数据库日志配置">
|
||||
<item key="must.name" value="database.log" type="protected" desc="指定日志名称,为空表示不指定" />
|
||||
<item key="console.out" value="true" type="protected" desc="是否输出到控制台" />
|
||||
<item key="file.out" value="true" type="protected" desc="是否输出到文件" />
|
||||
<item key="file.path" value="./logs/database/database.log" type="protected" desc="输出到文件路径" />
|
||||
</group>
|
||||
|
||||
</zhiqim-config>
|
||||
@@ -0,0 +1,53 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE ZHIQIM-CONFIG PUBLIC "-//ZHIQIM //DTD Zhiqim-Config Configuration 1.5.0//EN" "http://zhiqim.org/xmldtds/zhiqim_config_1_5_0.dtd">
|
||||
<zhiqim-config>
|
||||
|
||||
<group id="boot" desc="系统启动配置">
|
||||
<item key="name" value="zhiqim_manager" type="protected" desc="系统名称" />
|
||||
<item key="version" value="V3.0" type="protected" desc="系统版本" />
|
||||
<item key="port" value="50080" type="protected" desc="系统监听端口,用于启动监听和命令关闭工程" />
|
||||
<item key="process" value="zhiqim" type="protected" desc="使用的进程名,MAC系统下该配置无效" />
|
||||
<item key="args" value="-server -Xms64m -Xmx1024m" type="protected" desc="JVM参数" />
|
||||
<item key="home" value="C:\\Program Files\\Java\\jdk1.8.0_202\\" type="protected" desc="JDK根目录" />
|
||||
<item key="libext" value="./libext" type="protected" desc="加载的库目录" />
|
||||
<item key="include" value="*/bin,*/lib/*" type="protected" desc="扫描包含库模式,多个用逗号隔开,星号表示通配符" />
|
||||
</group>
|
||||
|
||||
<group id="config" desc="系统其他配置文件,./开头表示工程相对路径下,绝对路径使用/或d:/等(Windows也使用顺斜杠作路径)">
|
||||
<item key="logging" value="./conf/logging.xml" type="protected" desc="日志配置文件" />
|
||||
<item key="httpd" value="./conf/httpd.xml" type="protected" desc="WEB配置" />
|
||||
</group>
|
||||
|
||||
<group id="service" desc="系统服务配置,有依赖时注意顺序,系统按顺序加载,按倒序销毁">
|
||||
<item key="logging" value="org.zhiqim.kernel.logging.LogServer" type="protected" desc="日志服务" />
|
||||
<item key="orm" value="org.zhiqim.orm.ORMServer" type="protected" desc="主数据库服务" />
|
||||
<item key="httpd" value="org.zhiqim.httpd.HttpServer" type="protected" desc="web服务" />
|
||||
</group>
|
||||
|
||||
<group id="orm" desc="MYSQL数据库连接方式">
|
||||
<item key="dbType" value="mysql" type="protected" desc="数据库类型,支持mysql|oracle|mssql|postgresql|sqlite|hsql" />
|
||||
<item key="driver" value="org.zhiqim.mysql5_0_8.jdbc.Driver" type="protected" desc="数据库驱动" />
|
||||
<!-- <item key="url" value="jdbc:mysql://localhost:3306/yangcai365_design?useUnicode=true&characterEncoding=UTF-8" type="protected" desc="数据库Url" />
|
||||
<item key="user" value="root" type="protected" desc="数据库用户名" />
|
||||
<item key="pass" value="123456" type="protected" desc="数据库密码" /> -->
|
||||
<item key="url" value="jdbc:mysql://127.0.0.1:3306/yangcai_design?useUnicode=true&characterEncoding=UTF-8" type="protected" desc="数据库Url" />
|
||||
<item key="user" value="root" type="protected" desc="数据库用户名" />
|
||||
<item key="pass" value="RdCcZOL1QxdYqEot" type="protected" desc="数据库密码" />
|
||||
<item key="minPoolSize" value="20" type="protected" desc="线程池最小值" />
|
||||
<item key="maxPoolSize" value="200" type="protected" desc="线程池最大值" />
|
||||
<item key="maxKeepTime" value="7001" type="protected" desc="每连接最大保持时长,大于该值将重建连接,单位秒" />
|
||||
<item key="isUpdateSqlLog" value="false" type="protected" desc="组装更新SQL语句,用于打印日志" />
|
||||
<item key="isQuerySqlLog" value="false" type="protected" desc="组装查询SQL语句,用于打印日志" />
|
||||
</group>
|
||||
|
||||
<group id="orm.cache" desc="数据库缓存表">
|
||||
<item key="ZmrParam" value="{name:Day,time:6/7/11}" type="protected" desc="参数表,每天06:07:11刷新一次" />
|
||||
<item key="ZmrDept" value="{name:Day,time:6/7/11}" type="protected" desc="部门表,每天06:07:11刷新一次" />
|
||||
</group>
|
||||
|
||||
<group id="aliyun.sms" desc="阿里云sms服务">
|
||||
<item key="accessKeyId" value="LTAI4GH2Pofy8FtAMPibPvj5" type="protected" desc="访问KEY" />
|
||||
<item key="accessKeySecret" value="BhxUaxBQnsMEZZEHDCVb0rK5wiEKRm" type="protected" desc="访问密钥" />
|
||||
</group>
|
||||
|
||||
</zhiqim-config>
|
||||
Reference in New Issue
Block a user