zhiqim.xml 2.2 KB

12345678910111213141516171819202122232425262728293031
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE ZHIQIM-CONFIG PUBLIC "-//ZHIQIM //DTD Zhiqim-Config Configuration 1.5.0//EN" "http://zhiqim.org/xmldtds/zhiqim_config_1_5_0.dtd">
  3. <zhiqim-config>
  4. <group id="boot" desc="系统启动引导配置">
  5. <item key="name" value="知启蒙会话管理器" type="protected" desc="系统名称" />
  6. <item key="version" value="V1.5.0" type="protected" desc="系统版本" />
  7. <item key="port" value="50180" type="protected" desc="系统监听端口,用于启动监听和命令关闭工程" />
  8. <item key="home" value="d:/Java/jdk1.7.0_80/" type="protected" desc="JDK根目录" />
  9. <item key="process" value="zhiqim_sessioner" type="protected" desc="使用的进程名" />
  10. <item key="args" value="-server -Xms64m -Xmx1024m" type="protected" desc="JVM参数" />
  11. </group>
  12. <group id="config" desc="系统其他配置文件,./开头表示工程相对路径下,绝对路径使用/或d:/等(Windows也使用顺斜杠作路径)">
  13. <item key="logging" value="./conf/logging.xml" type="protected" desc="日志配置"/>
  14. <item key="httpd" value="./conf/httpd.xml" type="protected" desc="HTTPD配置"/>
  15. </group>
  16. <group id="service" desc="系统服务配置,有依赖时注意顺序,系统按顺序加载,按倒序销毁">
  17. <item key="logging" value="org.zhiqim.kernel.logging.LogServer" type="protected" desc="日志服务"/>
  18. <item key="logcutter" value="org.zhiqim.kernel.logging.LogLinuxNohupCutter" type="protected" desc="日志LinuxNohup切割服务"/>
  19. <item key="httpd" value="org.zhiqim.httpd.HttpServer" type="protected" desc="HTTP服务"/>
  20. <item key="sessioner" value="org.zhiqim.httpd.sessioner.Sessioner" type="protected" desc="会话服务"/>
  21. </group>
  22. <group id="sessioner" desc="数据库映射服务">
  23. <item key="session.timeout" value="1800" type="protected" desc="会话超时时长,单位:秒,最小20秒,未配置缺省1800秒(30分钟)" />
  24. <item key="session.idName" value="jsessionid" type="protected" desc="cookie或redirect-url时的取sessionid的名称,未配置缺省jsessionid" />
  25. </group>
  26. </zhiqim-config>