workers2.properties
上传用户:zhangkaihu
上传日期:2008-02-20
资源大小:3690k
文件大小:3k
源码类别:

Web服务器

开发平台:

Java

  1. [logger]
  2. level=DEBUG
  3. [config:]
  4. file=${serverRoot}/conf/workers2.properties
  5. debug=0
  6. debugEnv=0
  7. [uriMap:]
  8. info=Maps the requests. Options: debug
  9. debug=0
  10. # Alternate file logger
  11. #[logger.file:0]
  12. #level=DEBUG
  13. #file=${serverRoot}/logs/jk2.log
  14. [shm:]
  15. info=Scoreboard. Required for reconfiguration and status with multiprocess servers
  16. file=${serverRoot}/logs/jk2.shm
  17. size=1000000
  18. debug=0
  19. disabled=0
  20. [workerEnv:]
  21. info=Global server options
  22. timing=1
  23. debug=0
  24. # Default Native Logger (apache2 or win32 ) 
  25. # can be overriden to a file logger, useful 
  26. # when tracing win32 related issues
  27. #logger=logger.file:0
  28. [lb:lb]
  29. info=Default load balancer.
  30. debug=0
  31. [lb:lb_1]
  32. info=A second load balancer.
  33. debug=0
  34. [channel.socket:localhost:8009]
  35. info=Ajp13 forwarding over socket
  36. debug=0
  37. tomcatId=localhost:8009
  38. [channel.socket:localhost:8019]
  39. info=A second tomcat instance. 
  40. debug=0
  41. tomcatId=localhost:8019
  42. lb_factor=1
  43. #group=lb
  44. group:lb:lb
  45. #group=lb_1
  46. group:lb:lb_1
  47. disabled=0
  48. [channel.un:/opt/33/work/jk2.socket]
  49. info=A second channel connecting to localhost:8019 via unix socket
  50. tomcatId=localhost:8019
  51. lb_factor=1
  52. debug=0
  53. [channel.jni:jni]
  54. info=The jni channel, used if tomcat is started inprocess
  55. [status:]
  56. info=Status worker, displays runtime informations
  57. [vm:]
  58. info=Parameters used to load a JVM in the server process
  59. #JVM=C:jdkjrebinhotspotjvm.dll
  60. classpath=${TOMCAT_HOME}/bin/tomcat-jni.jar
  61. classpath=${TOMCAT_HOME}/server/lib/commons-logging.jar
  62. OPT=-Dtomcat.home=${TOMCAT_HOME}
  63. OPT=-Dcatalina.home=${TOMCAT_HOME}
  64. OPT=-Xmx128M
  65. #OPT=-Djava.compiler=NONE
  66. disabled=1
  67. [worker.jni:onStartup]
  68. info=Command to be executed by the VM on startup. This one will start tomcat.
  69. class=org/apache/jk/apr/TomcatStarter
  70. ARG=start
  71. # For Tomcat 5 use the 'stard' for startup argument
  72. # ARG=stard
  73. disabled=1
  74. stdout=${serverRoot}/logs/stdout.log
  75. stderr=${serverRoot}/logs/stderr.log
  76. [worker.jni:onShutdown]
  77. info=Command to be executed by the VM on shutdown. This one will stop tomcat.
  78. class=org/apache/jk/apr/TomcatStarter
  79. ARG=stop
  80. disabled=1
  81. [uri:/jkstatus/*]
  82. info=Display status information and checks the config file for changes.
  83. group=status:
  84. [uri:127.0.0.1:8003]
  85. info=Example virtual host. Make sure myVirtualHost is in /etc/hosts to test it
  86. alias=myVirtualHost:8003
  87. [uri:127.0.0.1:8003/ex]
  88. info=Example webapp in the virtual host. It'll go to lb_1 ( i.e. localhost:8019 )
  89. context=/ex
  90. group=lb_1
  91. [uri:/examples]
  92. info=Example webapp in the default context. 
  93. context=/examples
  94. debug=0
  95. [uri:/examples1/*]
  96. info=A second webapp, this time going to the second tomcat only.
  97. group=lb_1
  98. debug=0
  99. [uri:/examples/servlet/*]
  100. info=Prefix mapping
  101. [uri:/examples/*.jsp]
  102. info=Extension mapping
  103. [uri:/examples/*]
  104. info=Map the whole webapp
  105. [uri:/examples/servlet/HelloW]
  106. info=Example with debug enabled.
  107. debug=10