zhiqim.xml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536
  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="1.0" type="protected" desc="系统版本" />
  7. <item key="port" value="60066" type="protected" desc="系统监听端口,用于启动监听和命令关闭工程" />
  8. <item key="process" value="zhiqim" type="protected" desc="使用的进程名,MAC系统下该配置无效" />
  9. <item key="args" value="-server -Xms64m -Xmx512m" type="protected" desc="JVM参数" />
  10. </group>
  11. <group id="config" desc="系统其他配置文件,./开头表示工程相对路径下,绝对路径使用/或d:/等(Windows也使用顺斜杠作路径)">
  12. <item key="logging" value="./conf/logging.xml" type="protected" desc="日志配置文件" />
  13. <item key="httpd" value="./conf/httpd.xml" type="protected" desc="WEB配置" />
  14. </group>
  15. <group id="service" desc="系统服务配置,有依赖时注意顺序,系统按顺序加载,按倒序销毁">
  16. <item key="logging" value="org.zhiqim.kernel.logging.LogServer" type="protected" desc="日志服务" />
  17. <item key="cutter" value="org.zhiqim.kernel.logging.LogLinuxNohupCutter" type="protected" desc="日志Linux切割服务" />
  18. <item key="orm" value="org.zhiqim.orm.ORMServer" type="protected" desc="主数据库服务" />
  19. <item key="resource" value="org.zhiqim.httpd.HttpServer" type="protected" desc="web服务" />
  20. </group>
  21. <group id="orm" desc="MYSQL数据库连接方式">
  22. <item key="dbType" value="mysql" type="protected" desc="数据库类型,支持mysql|oracle|mssql|postgresql|sqlite|hsql" />
  23. <item key="driver" value="org.zhiqim.mysql5_0_8.jdbc.Driver" type="protected" desc="数据库驱动" />
  24. <item key="url" value="jdbc:mysql://127.0.0.1:3306/zhiqim_plan?useUnicode=true&amp;characterEncoding=UTF-8" type="protected" desc="数据库Url" />
  25. <item key="user" value="root" type="protected" desc="数据库用户名" />
  26. <item key="pass" value="dxh@123" type="protected" desc="数据库密码" />
  27. <item key="minPoolSize" value="2" type="protected" desc="线程池最小值" />
  28. <item key="maxPoolSize" value="10" type="protected" desc="线程池最大值" />
  29. <item key="maxKeepTime" value="7001" type="protected" desc="每连接最大保持时长,大于该值将重建连接,单位秒" />
  30. </group>
  31. </zhiqim-config>