home *** CD-ROM | disk | FTP | other *** search
/ PC Online 1999 November / PCONLINE_11_99.ISO / filesbbs / OS2 / APCHSSL2.ZIP / OS2HTTPD / conf / system.properties < prev   
Encoding:
Text File  |  1999-01-16  |  5.3 KB  |  143 lines

  1. ###############################################################################
  2. #                        Servlet Zone Configuration File                      #
  3. ###############################################################################
  4.  
  5. ################################ W A R N I N G ################################
  6. #
  7. # Unlike normal Java properties, JServ configurations have some important 
  8. # extentions:
  9. #
  10. #    1) commas are used as token separators
  11. #    2) multiple definitions of the same key are concatenated in a 
  12. #       comma-separated list.
  13. #
  14. ###############################################################################
  15.  
  16. # List of Repositories
  17. #######################
  18.  
  19. # The list of servlet repositories controlled by this servlet zone
  20. # Syntax: repositories=[repository],[repository]...
  21. # Default: NONE
  22. repositories=/os2httpd/servlets/system
  23.  
  24. # Classloader parameters
  25. #########################
  26.  
  27. # Enable servlet class autoreloading.
  28. # Syntax: autoreload.classes=[true,false] (boolean)
  29. # Default: true
  30. autoreload.classes=true
  31.  
  32. # Enable servlet resourced autoreloading (properties and other loaded resources)
  33. # Syntax: autoreload.file=[true,false] (boolean)
  34. # Default: true
  35. autoreload.file=true
  36.  
  37. # Set the number of millisecond to wait before giving up on initializing a servlet.
  38. # (a timeout of zero means no timeout)
  39. # Syntax: init.timeout=(long)>0
  40. # Default: 10000 (10 secs)
  41. init.timeout=10000
  42.  
  43. # Set the number of millisecond to wait before giving up on destroying a servlet.
  44. # (a timeout of zero means no timeout)
  45. # Syntax: destroy.timeout=(long)>0
  46. # Default: 10000 (10 secs)
  47. destroy.timeout=10000
  48.  
  49. # Set the number of millisecond to wait before invalidating an unused session.
  50. # Syntax: session.timeout=(long)>0
  51. # Default: 1800000 (30 mins)
  52. session.timeout=1800000
  53.  
  54. # Set how frequently (milliseconds) to check for timed-out sessions.
  55. # Syntax: session.checkFrequency=(long)>0
  56. # Default: 30000 (30 secs)
  57. session.checkFrequency=30000
  58.  
  59. # SingleThreadModel Servlets parameters
  60. ########################################
  61.  
  62. # Set the initial capacity of the STM servlets pool.
  63. # Syntax: singleThreadModelServlet.initialCapacity=(int)>1
  64. # Default: 5
  65. singleThreadModelServlet.initialCapacity=5
  66.  
  67. # Set the number of servlet instances should be added to the pool if found empty.
  68. # Syntax: singleThreadModelServlet.incrementCapacity=(int)>1
  69. # Default: 5
  70. singleThreadModelServlet.incrementCapacity=5
  71.  
  72. # Set the maximum capacity of the STM pool
  73. # Syntax: singleThreadModelServlet.maximumCapacity=(int)>1
  74. # Default: 10
  75. singleThreadModelServlet.maximumCapacity=10
  76.  
  77. ################### S E R V L E T    P A R A M E T E R S ######################
  78.  
  79. ################################## N O T E ####################################
  80. # When "classname" is specified, it means a Java dot-formatter full class name
  81. # without the ".class". For example, a class with source file named 
  82. # "Dummy.java" with a package name "org.fool" is defined as "org.fool.Dummy".
  83. #
  84. # Since each servlet may have lots of private initialization data, Apache JServ
  85. # allows you to store those servlet initArgs in a separate file. To do this,
  86. # simply do not set any initArgs in this file: Apache JServ will then look for
  87. # a file named "[servlet classname].initargs" in the same directory of that 
  88. # class. Note that this may work with even class archives.
  89. ###############################################################################
  90.  
  91. # Startup Servlets
  92. ###################
  93.  
  94. # Comma or space delimited list of servlets to launch on startup.
  95. # This can either be a class name or alias.
  96. # Syntax: servlets.startup=[classname or alias],[classname or alias],...
  97. # Default: NONE
  98. # servlets.startup=hello,snoop,org.fool.Dummy
  99.  
  100. # Servlet Aliases
  101. ##################
  102.  
  103. # This defines aliases from which servlets can be invoked.
  104. # Each alias give a new instance of the servlet. This means that if a servlet 
  105. # is invoked both by class name and by alias name, it will result in _TWO_ 
  106. # instances of the servlet being created.
  107. # Syntax: servlet.[alias].code=[classname] (String)
  108. # Default: NONE
  109. # servlet.snoop.code=SnoopServlet
  110. # servlet.hello.code=org.fool.Dummy
  111.  
  112. # Global Init Parameters
  113. #########################
  114.  
  115. # Parameters passed here are given to each of servlets. You should put 
  116. # configuration information that is common to all servlets.
  117. #
  118. # The value of the property is a comma delimited list of "name=value" pairs 
  119. # that are accessible to the servlet via the method getInitParameter() 
  120. # in ServletConfig.
  121. # Syntax: servlets.default.initArgs=[name]=[value],[name]=[value],...
  122. # Default: NONE
  123. # servlets.default.initArgs=common.to.everybody=Hi everybody!
  124.  
  125. # Servlet Init Parameters
  126. ##########################
  127.  
  128. # These properties define init parameters for each servlet that is invoked 
  129. # by its classname.
  130. # Syntax: servlet.[classname].initArgs=[name]=[value],[name]=[value],...
  131. # Default: NONE
  132. # servlet.org.fool.Dummy.initArgs=message=I'm a dummy servlet
  133.  
  134. # Aliased Servlet Init Parameters
  135. ##################################
  136.  
  137. # These properties define init parameters for each servlet that is invoked 
  138. # by its alias.
  139. # Syntax: servlet.[alias].initArgs=[name]=[value],[name]=[value],...
  140. # Default: NONE
  141. # servlet.snoop.initArgs=message=I'm a snoop servlet
  142. # servlet.hello.initArgs=message=I say hello world to everyone
  143.