33 regels
2.2 KiB
XML
33 regels
2.2 KiB
XML
<?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="知启蒙WEB容器" type="protected" desc="系统名称" />
|
|
<item key="version" value="V1.5.0" type="protected" desc="系统版本" />
|
|
<item key="port" value="50080" type="private" desc="系统监听端口,用于启动监听和命令关闭工程" />
|
|
</group>
|
|
|
|
<group id="config" desc="系统其他配置文件,./开头表示工程相对路径下,绝对路径使用/或d:/等(Windows也使用顺斜杠作路径)">
|
|
<item key="httpd" value="./conf/http_all/httpd.xml" type="protected" desc="HTTP服务配置"/>
|
|
<item key="logging" value="./conf/logging.xml" type="protected" desc="日志服务配置"/>
|
|
</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="HTTP服务"/>
|
|
</group>
|
|
|
|
<group id="orm" desc="数据库映射服务">
|
|
<item key="dbType" value="sqlite" type="protected" desc="数据库类型,支持oracle|mysql|mssql|hsql|sqlite" />
|
|
<item key="driver" value="org.sqlite.JDBC" type="protected" desc="数据库驱动" />
|
|
<item key="url" value="jdbc:sqlite:./database/zhiqim.db" type="protected" desc="数据库Url" />
|
|
<item key="user" value="root" type="protected" desc="数据库用户名" />
|
|
<item key="pass" value="root" type="private" desc="数据库密码" />
|
|
<item key="minPoolSize" value="2" type="protected" desc="线程池最小值" />
|
|
<item key="maxPoolSize" value="10" type="protected" desc="线程池最大值" />
|
|
<item key="maxKeepTime" value="7001" type="protected" desc="每连接最大保持时长,大于该值将重建连接,单位秒" />
|
|
</group>
|
|
|
|
</zhiqim-config> |