first commit
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
<?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="WEB服务器">
|
||||
<item key="context" value="httpd.root" type="protected" desc="必须,WEB服务下包括的上下文环境表,多个用逗号隔开" />
|
||||
<item key="scheme" value="HTTP" type="protected" desc="HTTP或HTTPS协议" />
|
||||
<item key="port" value="10180" type="protected" desc="监听端口" />
|
||||
<item key="minPoolSize" value="5" type="protected" desc="HTTP处理线程池最小值" />
|
||||
<item key="maxPoolSize" value="10" type="protected" desc="HTTP处理线程池最大值" />
|
||||
</group>
|
||||
|
||||
<group id="httpd.root" desc="WEB服务根上下文环境">
|
||||
<item key="path" value="/" 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="rmi.sessioner" value="58fda2df" type="protected" desc="管理台对应的数据库映射" />
|
||||
</group>
|
||||
|
||||
</zhiqim-config>
|
||||
@@ -0,0 +1,22 @@
|
||||
<?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="错误日志配置" />
|
||||
</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>
|
||||
|
||||
</zhiqim-config>
|
||||
@@ -0,0 +1,31 @@
|
||||
<?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="知启蒙会话管理器" type="protected" desc="系统名称" />
|
||||
<item key="version" value="V1.5.0" type="protected" desc="系统版本" />
|
||||
<item key="port" value="50180" type="protected" desc="系统监听端口,用于启动监听和命令关闭工程" />
|
||||
<item key="home" value="d:/Java/jdk1.7.0_80/" type="protected" desc="JDK根目录" />
|
||||
<item key="process" value="zhiqim_sessioner" type="protected" desc="使用的进程名" />
|
||||
<item key="args" value="-server -Xms64m -Xmx1024m" type="protected" desc="JVM参数" />
|
||||
</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="HTTPD配置"/>
|
||||
</group>
|
||||
|
||||
<group id="service" desc="系统服务配置,有依赖时注意顺序,系统按顺序加载,按倒序销毁">
|
||||
<item key="logging" value="org.zhiqim.kernel.logging.LogServer" type="protected" desc="日志服务"/>
|
||||
<item key="logcutter" value="org.zhiqim.kernel.logging.LogLinuxNohupCutter" type="protected" desc="日志LinuxNohup切割服务"/>
|
||||
<item key="httpd" value="org.zhiqim.httpd.HttpServer" type="protected" desc="HTTP服务"/>
|
||||
<item key="sessioner" value="org.zhiqim.httpd.sessioner.Sessioner" type="protected" desc="会话服务"/>
|
||||
</group>
|
||||
|
||||
<group id="sessioner" desc="数据库映射服务">
|
||||
<item key="session.timeout" value="1800" type="protected" desc="会话超时时长,单位:秒,最小20秒,未配置缺省1800秒(30分钟)" />
|
||||
<item key="session.idName" value="jsessionid" type="protected" desc="cookie或redirect-url时的取sessionid的名称,未配置缺省jsessionid" />
|
||||
</group>
|
||||
|
||||
</zhiqim-config>
|
||||
Reference in New Issue
Block a user