zhiqim.xml 4.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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="zhiqim_manager" type="protected" desc="系统名称" />
  6. <item key="version" value="V3.0" type="protected" desc="系统版本" />
  7. <item key="port" value="50080" type="protected" desc="系统监听端口,用于启动监听和命令关闭工程" />
  8. <item key="process" value="zhiqim" type="protected" desc="使用的进程名,MAC系统下该配置无效" />
  9. <item key="args" value="-server -Xms64m -Xmx1024m" type="protected" desc="JVM参数" />
  10. <item key="home" value="C:\\Program Files\\Java\\jdk1.8.0_202\\" type="protected" desc="JDK根目录" />
  11. <item key="libext" value="./libext" type="protected" desc="加载的库目录" />
  12. <item key="include" value="*/bin,*/lib/*" type="protected" desc="扫描包含库模式,多个用逗号隔开,星号表示通配符" />
  13. </group>
  14. <group id="config" desc="系统其他配置文件,./开头表示工程相对路径下,绝对路径使用/或d:/等(Windows也使用顺斜杠作路径)">
  15. <item key="logging" value="./conf/logging.xml" type="protected" desc="日志配置文件" />
  16. <item key="httpd" value="./conf/httpd.xml" type="protected" desc="WEB配置" />
  17. </group>
  18. <group id="service" desc="系统服务配置,有依赖时注意顺序,系统按顺序加载,按倒序销毁">
  19. <item key="logging" value="org.zhiqim.kernel.logging.LogServer" type="protected" desc="日志服务" />
  20. <item key="orm" value="org.zhiqim.orm.ORMServer" type="protected" desc="主数据库服务" />
  21. <item key="httpd" value="org.zhiqim.httpd.HttpServer" type="protected" desc="web服务" />
  22. </group>
  23. <group id="orm" desc="MYSQL数据库连接方式">
  24. <item key="dbType" value="mysql" type="protected" desc="数据库类型,支持mysql|oracle|mssql|postgresql|sqlite|hsql" />
  25. <item key="driver" value="org.zhiqim.mysql5_0_8.jdbc.Driver" type="protected" desc="数据库驱动" />
  26. <!-- <item key="url" value="jdbc:mysql://localhost:3306/yangcai365_design?useUnicode=true&amp;characterEncoding=UTF-8" type="protected" desc="数据库Url" />
  27. <item key="user" value="root" type="protected" desc="数据库用户名" />
  28. <item key="pass" value="123456" type="protected" desc="数据库密码" /> -->
  29. <item key="url" value="jdbc:mysql://127.0.0.1:3306/yangcai_design?useUnicode=true&amp;characterEncoding=UTF-8" type="protected" desc="数据库Url" />
  30. <item key="user" value="root" type="protected" desc="数据库用户名" />
  31. <item key="pass" value="RdCcZOL1QxdYqEot" type="protected" desc="数据库密码" />
  32. <item key="minPoolSize" value="20" type="protected" desc="线程池最小值" />
  33. <item key="maxPoolSize" value="200" type="protected" desc="线程池最大值" />
  34. <item key="maxKeepTime" value="7001" type="protected" desc="每连接最大保持时长,大于该值将重建连接,单位秒" />
  35. <item key="isUpdateSqlLog" value="false" type="protected" desc="组装更新SQL语句,用于打印日志" />
  36. <item key="isQuerySqlLog" value="false" type="protected" desc="组装查询SQL语句,用于打印日志" />
  37. </group>
  38. <group id="orm.cache" desc="数据库缓存表">
  39. <item key="ZmrParam" value="{name:Day,time:6/7/11}" type="protected" desc="参数表,每天06:07:11刷新一次" />
  40. <item key="ZmrDept" value="{name:Day,time:6/7/11}" type="protected" desc="部门表,每天06:07:11刷新一次" />
  41. </group>
  42. <group id="aliyun.sms" desc="阿里云sms服务">
  43. <item key="accessKeyId" value="LTAI4GH2Pofy8FtAMPibPvj5" type="protected" desc="访问KEY" />
  44. <item key="accessKeySecret" value="BhxUaxBQnsMEZZEHDCVb0rK5wiEKRm" type="protected" desc="访问密钥" />
  45. </group>
  46. </zhiqim-config>