rubyfox-server 2.13.6.1 → 2.16.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (575) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +2 -1
  3. data/README.md +19 -0
  4. data/lib/rubyfox/server/cli.rb +39 -5
  5. data/lib/rubyfox/server/data/config/UploadsLock.txt +1 -1
  6. data/lib/rubyfox/server/data/config/admin/admintool.xml +1 -0
  7. data/lib/rubyfox/server/data/config/admin/descriptors/config_room.txt +97 -43
  8. data/lib/rubyfox/server/data/config/admin/descriptors/config_server.txt +307 -93
  9. data/lib/rubyfox/server/data/config/admin/descriptors/config_zone.txt +311 -95
  10. data/lib/rubyfox/server/data/config/admin/descriptors/runtime_game.txt +5 -5
  11. data/lib/rubyfox/server/data/config/admin/descriptors/runtime_mmo.txt +6 -6
  12. data/lib/rubyfox/server/data/config/admin/descriptors/runtime_room.txt +69 -44
  13. data/lib/rubyfox/server/data/config/admin/descriptors/runtime_user.txt +55 -43
  14. data/lib/rubyfox/server/data/config/admin/descriptors/runtime_zone.txt +81 -36
  15. data/lib/rubyfox/server/data/config/admin/gmc/gmc.py +55 -18
  16. data/lib/rubyfox/server/data/config/admin/icons/Analytics.png +0 -0
  17. data/lib/rubyfox/server/data/config/admin/icons/Analytics.svg +1 -0
  18. data/lib/rubyfox/server/data/config/admin/icons/BanManager.png +0 -0
  19. data/lib/rubyfox/server/data/config/admin/icons/BanManager.svg +1 -0
  20. data/lib/rubyfox/server/data/config/admin/icons/BlueBoxMonitor.png +0 -0
  21. data/lib/rubyfox/server/data/config/admin/icons/BlueBoxMonitor.svg +1 -0
  22. data/lib/rubyfox/server/data/config/admin/icons/Console.png +0 -0
  23. data/lib/rubyfox/server/data/config/admin/icons/Console.svg +9 -0
  24. data/lib/rubyfox/server/data/config/admin/icons/Dashboard.png +0 -0
  25. data/lib/rubyfox/server/data/config/admin/icons/Dashboard.svg +1 -0
  26. data/lib/rubyfox/server/data/config/admin/icons/ExtensionManager.png +0 -0
  27. data/lib/rubyfox/server/data/config/admin/icons/ExtensionManager.svg +1 -0
  28. data/lib/rubyfox/server/data/config/admin/icons/LicenseManager.png +0 -0
  29. data/lib/rubyfox/server/data/config/admin/icons/LicenseManager.svg +1 -0
  30. data/lib/rubyfox/server/data/config/admin/icons/LogViewer.png +0 -0
  31. data/lib/rubyfox/server/data/config/admin/icons/LogViewer.svg +1 -0
  32. data/lib/rubyfox/server/data/config/admin/icons/ServerConfigurator.png +0 -0
  33. data/lib/rubyfox/server/data/config/admin/icons/ServerConfigurator.svg +1 -0
  34. data/lib/rubyfox/server/data/config/admin/icons/ServletManager.svg +1 -0
  35. data/lib/rubyfox/server/data/config/admin/icons/ZoneConfigurator.png +0 -0
  36. data/lib/rubyfox/server/data/config/admin/icons/ZoneConfigurator.svg +1 -0
  37. data/lib/rubyfox/server/data/config/admin/icons/ZoneMonitor.png +0 -0
  38. data/lib/rubyfox/server/data/config/admin/icons/ZoneMonitor.svg +1 -0
  39. data/lib/rubyfox/server/data/config/core.xml +2 -2
  40. data/lib/rubyfox/server/data/config/log4j.properties +7 -7
  41. data/lib/rubyfox/server/data/config/server.xml +9 -10
  42. data/lib/rubyfox/server/data/config/wordsFile.txt +0 -2
  43. data/lib/rubyfox/server/data/data/GeoLite2-Country.mmdb +0 -0
  44. data/lib/rubyfox/server/data/{config → data/buddylists/BasicExamples}/.keep +0 -0
  45. data/lib/rubyfox/server/data/data/{buddylists → uploads}/.keep +0 -0
  46. data/lib/rubyfox/server/data/lib/BlueBox.war +0 -0
  47. data/lib/rubyfox/server/data/lib/apache-tomcat/LICENSE +1061 -0
  48. data/lib/rubyfox/server/data/lib/apache-tomcat/NOTICE +68 -0
  49. data/lib/rubyfox/server/data/lib/apache-tomcat/README.md +79 -0
  50. data/lib/rubyfox/server/data/lib/apache-tomcat/RELEASE-NOTES +174 -0
  51. data/lib/rubyfox/server/data/lib/apache-tomcat/bin/bootstrap.jar +0 -0
  52. data/lib/rubyfox/server/data/lib/apache-tomcat/bin/catalina-tasks.xml +39 -0
  53. data/lib/rubyfox/server/data/lib/apache-tomcat/bin/catalina.bat +386 -0
  54. data/lib/rubyfox/server/data/lib/apache-tomcat/bin/catalina.sh +689 -0
  55. data/lib/rubyfox/server/data/lib/apache-tomcat/bin/ciphers.bat +58 -0
  56. data/lib/rubyfox/server/data/lib/apache-tomcat/bin/ciphers.sh +60 -0
  57. data/lib/rubyfox/server/data/lib/apache-tomcat/bin/commons-daemon-native.tar.gz +0 -0
  58. data/lib/rubyfox/server/data/lib/apache-tomcat/bin/commons-daemon.jar +0 -0
  59. data/lib/rubyfox/server/data/lib/apache-tomcat/bin/configtest.bat +58 -0
  60. data/lib/rubyfox/server/data/lib/apache-tomcat/bin/configtest.sh +60 -0
  61. data/lib/rubyfox/server/data/lib/apache-tomcat/bin/daemon.sh +293 -0
  62. data/lib/rubyfox/server/data/lib/apache-tomcat/bin/digest.bat +58 -0
  63. data/lib/rubyfox/server/data/lib/apache-tomcat/bin/digest.sh +60 -0
  64. data/lib/rubyfox/server/data/lib/apache-tomcat/bin/makebase.bat +114 -0
  65. data/lib/rubyfox/server/data/lib/apache-tomcat/bin/makebase.sh +115 -0
  66. data/lib/rubyfox/server/data/lib/apache-tomcat/bin/setclasspath.bat +94 -0
  67. data/lib/rubyfox/server/data/lib/apache-tomcat/bin/setclasspath.sh +98 -0
  68. data/lib/rubyfox/server/data/lib/apache-tomcat/bin/shutdown.bat +58 -0
  69. data/lib/rubyfox/server/data/lib/apache-tomcat/bin/shutdown.sh +60 -0
  70. data/lib/rubyfox/server/data/lib/apache-tomcat/bin/startup.bat +58 -0
  71. data/lib/rubyfox/server/data/lib/apache-tomcat/bin/startup.sh +60 -0
  72. data/lib/rubyfox/server/data/lib/apache-tomcat/bin/tomcat-juli.jar +0 -0
  73. data/lib/rubyfox/server/data/lib/apache-tomcat/bin/tomcat-native.tar.gz +0 -0
  74. data/lib/rubyfox/server/data/lib/apache-tomcat/bin/tool-wrapper.bat +110 -0
  75. data/lib/rubyfox/server/data/lib/apache-tomcat/bin/tool-wrapper.sh +153 -0
  76. data/lib/rubyfox/server/data/lib/apache-tomcat/bin/version.bat +58 -0
  77. data/lib/rubyfox/server/data/lib/apache-tomcat/bin/version.sh +60 -0
  78. data/lib/rubyfox/server/data/lib/apache-tomcat/conf/Catalina/localhost/rewrite.config +1 -0
  79. data/lib/rubyfox/server/data/lib/apache-tomcat/conf/catalina.policy +260 -0
  80. data/lib/rubyfox/server/data/lib/apache-tomcat/conf/catalina.properties +206 -0
  81. data/lib/rubyfox/server/data/lib/apache-tomcat/conf/context.xml +31 -0
  82. data/lib/rubyfox/server/data/lib/apache-tomcat/conf/jaspic-providers.xml +23 -0
  83. data/lib/rubyfox/server/data/lib/apache-tomcat/conf/jaspic-providers.xsd +53 -0
  84. data/lib/rubyfox/server/data/lib/apache-tomcat/conf/keystore.jks +0 -0
  85. data/lib/rubyfox/server/data/lib/apache-tomcat/conf/logging.properties +79 -0
  86. data/lib/rubyfox/server/data/lib/apache-tomcat/conf/server.xml +161 -0
  87. data/lib/rubyfox/server/data/lib/apache-tomcat/conf/tomcat-users.xml +41 -0
  88. data/lib/rubyfox/server/data/lib/apache-tomcat/conf/tomcat-users.xsd +59 -0
  89. data/lib/rubyfox/server/data/lib/apache-tomcat/conf/web.xml +4733 -0
  90. data/lib/rubyfox/server/data/lib/apache-tomcat/lib/annotations-api.jar +0 -0
  91. data/lib/rubyfox/server/data/lib/apache-tomcat/lib/catalina-ant.jar +0 -0
  92. data/lib/rubyfox/server/data/lib/apache-tomcat/lib/catalina-ha.jar +0 -0
  93. data/lib/rubyfox/server/data/lib/apache-tomcat/lib/catalina-ssi.jar +0 -0
  94. data/lib/rubyfox/server/data/lib/apache-tomcat/lib/catalina-storeconfig.jar +0 -0
  95. data/lib/rubyfox/server/data/lib/apache-tomcat/lib/catalina-tribes.jar +0 -0
  96. data/lib/rubyfox/server/data/lib/apache-tomcat/lib/catalina.jar +0 -0
  97. data/lib/rubyfox/server/data/lib/apache-tomcat/lib/ecj-4.15.jar +0 -0
  98. data/lib/rubyfox/server/data/lib/apache-tomcat/lib/el-api.jar +0 -0
  99. data/lib/rubyfox/server/data/lib/apache-tomcat/lib/jasper-el.jar +0 -0
  100. data/lib/rubyfox/server/data/lib/apache-tomcat/lib/jasper.jar +0 -0
  101. data/lib/rubyfox/server/data/lib/apache-tomcat/lib/jaspic-api.jar +0 -0
  102. data/lib/rubyfox/server/data/lib/apache-tomcat/lib/jsp-api.jar +0 -0
  103. data/lib/rubyfox/server/data/lib/apache-tomcat/lib/servlet-api.jar +0 -0
  104. data/lib/rubyfox/server/data/lib/apache-tomcat/lib/sfs2x-ws-helper.jar +0 -0
  105. data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-api.jar +0 -0
  106. data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-coyote.jar +0 -0
  107. data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-dbcp.jar +0 -0
  108. data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-i18n-cs.jar +0 -0
  109. data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-i18n-de.jar +0 -0
  110. data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-i18n-es.jar +0 -0
  111. data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-i18n-fr.jar +0 -0
  112. data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-i18n-ja.jar +0 -0
  113. data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-i18n-ko.jar +0 -0
  114. data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-i18n-pt-BR.jar +0 -0
  115. data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-i18n-ru.jar +0 -0
  116. data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-i18n-zh-CN.jar +0 -0
  117. data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-jdbc.jar +0 -0
  118. data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-jni.jar +0 -0
  119. data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-util-scan.jar +0 -0
  120. data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-util.jar +0 -0
  121. data/lib/rubyfox/server/data/lib/apache-tomcat/lib/tomcat-websocket.jar +0 -0
  122. data/lib/rubyfox/server/data/lib/apache-tomcat/lib/websocket-api.jar +0 -0
  123. data/lib/rubyfox/server/data/{extensions → lib/apache-tomcat/logs}/.keep +0 -0
  124. data/lib/rubyfox/server/data/lib/{jetty/lib/ext/.donotdelete → apache-tomcat/temp/safeToDelete.tmp} +0 -0
  125. data/lib/rubyfox/server/data/lib/{jetty/resources → apache-tomcat/work}/.keep +0 -0
  126. data/lib/rubyfox/server/data/lib/commons-collections-3.2.2.jar +0 -0
  127. data/lib/rubyfox/server/data/lib/commons-compress-1.19.jar +0 -0
  128. data/lib/rubyfox/server/data/lib/js/LibApi.js +48 -181
  129. data/lib/rubyfox/server/data/lib/sfs2x-admin.jar +0 -0
  130. data/lib/rubyfox/server/data/lib/sfs2x-core.jar +0 -0
  131. data/lib/rubyfox/server/data/lib/sfs2x-lib.jar +0 -0
  132. data/lib/rubyfox/server/data/lib/sfs2x-util.jar +0 -0
  133. data/lib/rubyfox/server/data/lib/sfs2x.jar +0 -0
  134. data/lib/rubyfox/server/data/sfs2x-service +6 -6
  135. data/lib/rubyfox/server/data/sfs2x-service.vmoptions +1 -1
  136. data/lib/rubyfox/server/data/sfs2x.sh +1 -1
  137. data/lib/rubyfox/server/data/www/BlueBox.war +0 -0
  138. data/lib/rubyfox/server/data/www/HelloServlet/index.jsp +1 -1
  139. data/lib/rubyfox/server/data/www/{root → ROOT}/_css_/default.css +0 -0
  140. data/lib/rubyfox/server/data/www/{root → ROOT}/_css_/reset.css +0 -0
  141. data/lib/rubyfox/server/data/www/{root → ROOT}/_images_/background_gradient.png +0 -0
  142. data/lib/rubyfox/server/data/www/{root → ROOT}/_images_/background_logo.png +0 -0
  143. data/lib/rubyfox/server/data/www/{root → ROOT}/_images_/favicon.png +0 -0
  144. data/lib/rubyfox/server/data/www/{root → ROOT}/_images_/logo_smartfoxserver.png +0 -0
  145. data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/_changes-to-default-themes_.txt +15 -0
  146. data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/bootstrap.min.css +7 -0
  147. data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/custom-bootstrap.min.css +1 -0
  148. data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/fontawesome/css/all.min.css +5 -0
  149. data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/fontawesome/webfonts/fa-brands-400.eot +0 -0
  150. data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/fontawesome/webfonts/fa-brands-400.svg +3459 -0
  151. data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/fontawesome/webfonts/fa-brands-400.ttf +0 -0
  152. data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/fontawesome/webfonts/fa-brands-400.woff +0 -0
  153. data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/fontawesome/webfonts/fa-brands-400.woff2 +0 -0
  154. data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/fontawesome/webfonts/fa-regular-400.eot +0 -0
  155. data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/fontawesome/webfonts/fa-regular-400.svg +803 -0
  156. data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/fontawesome/webfonts/fa-regular-400.ttf +0 -0
  157. data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/fontawesome/webfonts/fa-regular-400.woff +0 -0
  158. data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/fontawesome/webfonts/fa-regular-400.woff2 +0 -0
  159. data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/fontawesome/webfonts/fa-solid-900.eot +0 -0
  160. data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/fontawesome/webfonts/fa-solid-900.svg +4527 -0
  161. data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/fontawesome/webfonts/fa-solid-900.ttf +0 -0
  162. data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/fontawesome/webfonts/fa-solid-900.woff +0 -0
  163. data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/fontawesome/webfonts/fa-solid-900.woff2 +0 -0
  164. data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/fonts.css +175 -0
  165. data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/jquery.scrolling-tabs.min.css +8 -0
  166. data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/kendo.custom-bootstrap-v4.css +15280 -0
  167. data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/reset.css +54 -0
  168. data/lib/rubyfox/server/data/www/ROOT/admin/assets/css/style.css +1428 -0
  169. data/lib/rubyfox/server/data/www/ROOT/admin/assets/data/countries.geo.json +178 -0
  170. data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/FreeMono.otf +0 -0
  171. data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/FreeMono.ttf +0 -0
  172. data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/FreeMono.woff +0 -0
  173. data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/FreeMono.woff2 +0 -0
  174. data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-300.ttf +0 -0
  175. data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-300.woff +0 -0
  176. data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-300.woff2 +0 -0
  177. data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-300italic.ttf +0 -0
  178. data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-300italic.woff +0 -0
  179. data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-300italic.woff2 +0 -0
  180. data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-600.ttf +0 -0
  181. data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-600.woff +0 -0
  182. data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-600.woff2 +0 -0
  183. data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-600italic.ttf +0 -0
  184. data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-600italic.woff +0 -0
  185. data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-600italic.woff2 +0 -0
  186. data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-700.ttf +0 -0
  187. data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-700.woff +0 -0
  188. data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-700.woff2 +0 -0
  189. data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-700italic.ttf +0 -0
  190. data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-700italic.woff +0 -0
  191. data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-700italic.woff2 +0 -0
  192. data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-800.ttf +0 -0
  193. data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-800.woff +0 -0
  194. data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-800.woff2 +0 -0
  195. data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-800italic.ttf +0 -0
  196. data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-800italic.woff +0 -0
  197. data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-800italic.woff2 +0 -0
  198. data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-italic.ttf +0 -0
  199. data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-italic.woff +0 -0
  200. data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-italic.woff2 +0 -0
  201. data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-regular.ttf +0 -0
  202. data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-regular.woff +0 -0
  203. data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/open-sans-v15-cyrillic_greek_cyrillic-ext_vietnamese_latin_latin-ext_greek-ext-regular.woff2 +0 -0
  204. data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/roboto-condensed-v16-latin-300.ttf +0 -0
  205. data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/roboto-condensed-v16-latin-300.woff +0 -0
  206. data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/roboto-condensed-v16-latin-300.woff2 +0 -0
  207. data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/roboto-condensed-v16-latin-700.ttf +0 -0
  208. data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/roboto-condensed-v16-latin-700.woff +0 -0
  209. data/lib/rubyfox/server/data/www/ROOT/admin/assets/fonts/roboto-condensed-v16-latin-700.woff2 +0 -0
  210. data/lib/rubyfox/server/data/www/ROOT/admin/assets/images/analytics-adv/compare.png +0 -0
  211. data/lib/rubyfox/server/data/www/ROOT/admin/assets/images/analytics-adv/demographicsChart.png +0 -0
  212. data/lib/rubyfox/server/data/www/ROOT/admin/assets/images/analytics-adv/demographicsCompare.png +0 -0
  213. data/lib/rubyfox/server/data/www/ROOT/admin/assets/images/analytics-adv/demographicsFilter.png +0 -0
  214. data/lib/rubyfox/server/data/www/ROOT/admin/assets/images/analytics-adv/demographicsMap.png +0 -0
  215. data/lib/rubyfox/server/data/www/ROOT/admin/assets/images/analytics-adv/demographicsTable.png +0 -0
  216. data/lib/rubyfox/server/data/www/ROOT/admin/assets/images/analytics-adv/technologyChart.png +0 -0
  217. data/lib/rubyfox/server/data/www/ROOT/admin/assets/images/analytics-adv/technologyCompare.png +0 -0
  218. data/lib/rubyfox/server/data/www/ROOT/admin/assets/images/analytics-adv/technologyFilter.png +0 -0
  219. data/lib/rubyfox/server/data/www/ROOT/admin/assets/images/analytics-adv/technologyTable.png +0 -0
  220. data/lib/rubyfox/server/data/www/ROOT/admin/assets/images/apple-touch-icon-180x180.png +0 -0
  221. data/lib/rubyfox/server/data/www/ROOT/admin/assets/images/favicon-16x16.png +0 -0
  222. data/lib/rubyfox/server/data/www/ROOT/admin/assets/images/favicon-32x32.png +0 -0
  223. data/lib/rubyfox/server/data/www/ROOT/admin/assets/images/favicon-64x64.png +0 -0
  224. data/lib/rubyfox/server/data/www/ROOT/admin/assets/images/logo.png +0 -0
  225. data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/application.bundle.js +2208 -0
  226. data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/module-0.bundle.js +7662 -0
  227. data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/module-1.bundle.js +929 -0
  228. data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/module-10.bundle.js +766 -0
  229. data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/module-11.bundle.js +71 -0
  230. data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/module-12.bundle.js +1184 -0
  231. data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/module-12~module-13~module-9.bundle.js +2618 -0
  232. data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/module-13.bundle.js +3315 -0
  233. data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/module-3.bundle.js +280 -0
  234. data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/module-4.bundle.js +1122 -0
  235. data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/module-5.bundle.js +2624 -0
  236. data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/module-6.bundle.js +801 -0
  237. data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/module-7.bundle.js +607 -0
  238. data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/module-8.bundle.js +1221 -0
  239. data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/module-9.bundle.js +847 -0
  240. data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/vendors~module-0.bundle.js +3240 -0
  241. data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/vendors~module-0~module-1~module-13~module-4~module-5~module-7~module-8.bundle.js +17357 -0
  242. data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/core/modules/vendors~module-9.bundle.js +807 -0
  243. data/lib/rubyfox/server/data/{lib/jetty/webapps → www/ROOT/admin/assets/js/custom-modules}/.keep +0 -0
  244. data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/libs/bootstrap.min.js +7 -0
  245. data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/libs/jquery-3.3.1.min.js +2 -0
  246. data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/libs/jquery.scrolling-tabs.min.js +8 -0
  247. data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/libs/js.cookie.min.js +8 -0
  248. data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/libs/kendo.all.min.js +136 -0
  249. data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/libs/popper.min.js +5 -0
  250. data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/libs/sfs2x-api-1.7.15.js +8 -0
  251. data/lib/rubyfox/server/data/www/ROOT/admin/assets/js/libs/versions-readme.txt +16 -0
  252. data/lib/rubyfox/server/data/www/ROOT/admin/index.html +244 -0
  253. data/lib/rubyfox/server/data/www/ROOT/admin/manifest.json +25 -0
  254. data/lib/rubyfox/server/data/www/ROOT/admin/modules/analytics.html +328 -0
  255. data/lib/rubyfox/server/data/www/ROOT/admin/modules/ban-manager.html +160 -0
  256. data/lib/rubyfox/server/data/www/ROOT/admin/modules/blue-box-monitor.html +37 -0
  257. data/lib/rubyfox/server/data/www/ROOT/admin/modules/console.html +135 -0
  258. data/lib/rubyfox/server/data/www/ROOT/admin/modules/dashboard.html +368 -0
  259. data/lib/rubyfox/server/data/www/ROOT/admin/modules/extension-manager.html +98 -0
  260. data/lib/rubyfox/server/data/www/ROOT/admin/modules/license-manager.html +117 -0
  261. data/lib/rubyfox/server/data/www/ROOT/admin/modules/log-viewer.html +194 -0
  262. data/lib/rubyfox/server/data/www/ROOT/admin/modules/server-configurator.html +55 -0
  263. data/lib/rubyfox/server/data/www/ROOT/admin/modules/servlet-manager.html +98 -0
  264. data/lib/rubyfox/server/data/www/ROOT/admin/modules/zone-configurator.html +62 -0
  265. data/lib/rubyfox/server/data/www/ROOT/admin/modules/zone-monitor.html +346 -0
  266. data/lib/rubyfox/server/data/www/{root → ROOT}/crossdomain.xml +0 -0
  267. data/lib/rubyfox/server/data/www/{root → ROOT}/examples/index.html +0 -0
  268. data/lib/rubyfox/server/data/www/{root → ROOT}/favicon.ico +0 -0
  269. data/lib/rubyfox/server/data/www/{root → ROOT}/favicon.png +0 -0
  270. data/lib/rubyfox/server/data/www/{root → ROOT}/index.html +0 -0
  271. data/lib/rubyfox/server/data/www/host-manager/META-INF/context.xml +24 -0
  272. data/lib/rubyfox/server/data/www/host-manager/WEB-INF/jsp/401.jsp +71 -0
  273. data/lib/rubyfox/server/data/www/host-manager/WEB-INF/jsp/403.jsp +90 -0
  274. data/lib/rubyfox/server/data/www/host-manager/WEB-INF/jsp/404.jsp +62 -0
  275. data/lib/rubyfox/server/data/www/host-manager/WEB-INF/web.xml +131 -0
  276. data/lib/rubyfox/server/data/www/host-manager/images/asf-logo.svg +226 -0
  277. data/lib/rubyfox/server/data/www/host-manager/images/tomcat.gif +0 -0
  278. data/lib/rubyfox/server/data/www/host-manager/index.jsp +18 -0
  279. data/lib/rubyfox/server/data/www/host-manager/manager.xml +26 -0
  280. data/lib/rubyfox/server/data/{logs → www/logsBackup}/.keep +0 -0
  281. data/lib/rubyfox/server/data/www/manager/META-INF/context.xml +24 -0
  282. data/lib/rubyfox/server/data/www/manager/WEB-INF/jsp/401.jsp +80 -0
  283. data/lib/rubyfox/server/data/www/manager/WEB-INF/jsp/403.jsp +100 -0
  284. data/lib/rubyfox/server/data/www/manager/WEB-INF/jsp/404.jsp +63 -0
  285. data/lib/rubyfox/server/data/www/manager/WEB-INF/jsp/connectorCerts.jsp +92 -0
  286. data/lib/rubyfox/server/data/www/manager/WEB-INF/jsp/connectorCiphers.jsp +92 -0
  287. data/lib/rubyfox/server/data/www/manager/WEB-INF/jsp/connectorTrustedCerts.jsp +92 -0
  288. data/lib/rubyfox/server/data/www/manager/WEB-INF/jsp/sessionDetail.jsp +197 -0
  289. data/lib/rubyfox/server/data/www/manager/WEB-INF/jsp/sessionsList.jsp +170 -0
  290. data/lib/rubyfox/server/data/www/manager/WEB-INF/web.xml +195 -0
  291. data/lib/rubyfox/server/data/www/manager/images/asf-logo.svg +226 -0
  292. data/lib/rubyfox/server/data/www/manager/images/tomcat.gif +0 -0
  293. data/lib/rubyfox/server/data/www/manager/index.jsp +18 -0
  294. data/lib/rubyfox/server/data/www/manager/status.xsd +84 -0
  295. data/lib/rubyfox/server/data/www/manager/xform.xsl +125 -0
  296. data/lib/rubyfox/server/version.rb +1 -1
  297. metadata +256 -299
  298. data/lib/rubyfox/server/data/config/ExtensionManagerLock.txt +0 -2
  299. data/lib/rubyfox/server/data/lib/Lib/reindex$py.class +0 -0
  300. data/lib/rubyfox/server/data/lib/jetty/VERSION.txt +0 -9320
  301. data/lib/rubyfox/server/data/lib/jetty/etc/README.spnego +0 -62
  302. data/lib/rubyfox/server/data/lib/jetty/etc/jamon.xml +0 -32
  303. data/lib/rubyfox/server/data/lib/jetty/etc/jdbcRealm.properties +0 -72
  304. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-alpn.xml +0 -32
  305. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-annotations.xml +0 -20
  306. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-cdi.xml +0 -19
  307. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-debug.xml +0 -36
  308. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-debuglog.xml +0 -25
  309. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-deploy.xml +0 -76
  310. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-gcloud-memcached-sessions.xml +0 -27
  311. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-gcloud-session-idmgr.xml +0 -19
  312. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-gcloud-sessions.xml +0 -27
  313. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-gzip.xml +0 -67
  314. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-http-forwarded.xml +0 -17
  315. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-http.xml +0 -47
  316. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-http2.xml +0 -26
  317. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-http2c.xml +0 -18
  318. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-https.xml +0 -29
  319. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-infinispan.xml +0 -39
  320. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-ipaccess.xml +0 -28
  321. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-jaas.xml +0 -16
  322. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-jdbc-sessions.xml +0 -34
  323. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-jmx-remote.xml +0 -40
  324. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-jmx.xml +0 -32
  325. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-logging.xml +0 -36
  326. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-lowresources.xml +0 -22
  327. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-monitor.xml +0 -30
  328. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-nosql.xml +0 -19
  329. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-plus.xml +0 -26
  330. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-proxy-protocol-ssl.xml +0 -10
  331. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-proxy-protocol.xml +0 -10
  332. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-proxy.xml +0 -35
  333. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-requestlog.xml +0 -30
  334. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-rewrite-customizer.xml +0 -17
  335. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-rewrite.xml +0 -31
  336. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-setuid.xml +0 -30
  337. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-spring.xml +0 -61
  338. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-ssl-context.xml +0 -29
  339. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-ssl.xml +0 -58
  340. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-started.xml +0 -15
  341. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-stats.xml +0 -18
  342. data/lib/rubyfox/server/data/lib/jetty/etc/jetty.conf +0 -12
  343. data/lib/rubyfox/server/data/lib/jetty/etc/jetty.xml +0 -195
  344. data/lib/rubyfox/server/data/lib/jetty/etc/jminix.xml +0 -12
  345. data/lib/rubyfox/server/data/lib/jetty/etc/jolokia.xml +0 -16
  346. data/lib/rubyfox/server/data/lib/jetty/etc/keystore +0 -0
  347. data/lib/rubyfox/server/data/lib/jetty/etc/krb5.ini +0 -23
  348. data/lib/rubyfox/server/data/lib/jetty/etc/rewrite-compactpath.xml +0 -10
  349. data/lib/rubyfox/server/data/lib/jetty/etc/spnego.conf +0 -19
  350. data/lib/rubyfox/server/data/lib/jetty/etc/spnego.properties +0 -1
  351. data/lib/rubyfox/server/data/lib/jetty/etc/webdefault.xml +0 -539
  352. data/lib/rubyfox/server/data/lib/jetty/lib/asm-5.0.1.jar +0 -0
  353. data/lib/rubyfox/server/data/lib/jetty/lib/asm-commons-5.0.1.jar +0 -0
  354. data/lib/rubyfox/server/data/lib/jetty/lib/fcgi/fcgi-client-9.3.11.v20160721.jar +0 -0
  355. data/lib/rubyfox/server/data/lib/jetty/lib/fcgi/fcgi-server-9.3.11.v20160721.jar +0 -0
  356. data/lib/rubyfox/server/data/lib/jetty/lib/http2-common-9.3.11.v20160721.jar +0 -0
  357. data/lib/rubyfox/server/data/lib/jetty/lib/http2-hpack-9.3.11.v20160721.jar +0 -0
  358. data/lib/rubyfox/server/data/lib/jetty/lib/http2-server-9.3.11.v20160721.jar +0 -0
  359. data/lib/rubyfox/server/data/lib/jetty/lib/jaspi/javax.security.auth.message-1.0.0.v201108011116.jar +0 -0
  360. data/lib/rubyfox/server/data/lib/jetty/lib/javax-websocket-client-impl-9.3.11.v20160721.jar +0 -0
  361. data/lib/rubyfox/server/data/lib/jetty/lib/javax-websocket-server-impl-9.3.11.v20160721.jar +0 -0
  362. data/lib/rubyfox/server/data/lib/jetty/lib/javax.annotation-api-1.2.jar +0 -0
  363. data/lib/rubyfox/server/data/lib/jetty/lib/javax.websocket-api-1.0.jar +0 -0
  364. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-alpn-server-9.3.11.v20160721.jar +0 -0
  365. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-annotations-9.3.11.v20160721.jar +0 -0
  366. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-client-9.3.11.v20160721.jar +0 -0
  367. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-continuation-9.3.11.v20160721.jar +0 -0
  368. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-deploy-9.3.11.v20160721.jar +0 -0
  369. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-gcloud-memcached-session-manager-9.3.11.v20160721.jar +0 -0
  370. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-gcloud-session-manager-9.3.11.v20160721.jar +0 -0
  371. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-http-9.3.11.v20160721.jar +0 -0
  372. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-infinispan-9.3.11.v20160721.jar +0 -0
  373. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-io-9.3.11.v20160721.jar +0 -0
  374. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-jaas-9.3.11.v20160721.jar +0 -0
  375. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-jaspi-9.3.11.v20160721.jar +0 -0
  376. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-jmx-9.3.11.v20160721.jar +0 -0
  377. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-jndi-9.3.11.v20160721.jar +0 -0
  378. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-nosql-9.3.11.v20160721.jar +0 -0
  379. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-plus-9.3.11.v20160721.jar +0 -0
  380. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-proxy-9.3.11.v20160721.jar +0 -0
  381. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-quickstart-9.3.11.v20160721.jar +0 -0
  382. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-rewrite-9.3.11.v20160721.jar +0 -0
  383. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-schemas-3.1.jar +0 -0
  384. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-security-9.3.11.v20160721.jar +0 -0
  385. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-server-9.3.11.v20160721.jar +0 -0
  386. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-servlet-9.3.11.v20160721.jar +0 -0
  387. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-servlets-9.3.11.v20160721.jar +0 -0
  388. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-util-9.3.11.v20160721.jar +0 -0
  389. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-webapp-9.3.11.v20160721.jar +0 -0
  390. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-xml-9.3.11.v20160721.jar +0 -0
  391. data/lib/rubyfox/server/data/lib/jetty/lib/jndi/javax.mail.glassfish-1.4.1.v201005082020.jar +0 -0
  392. data/lib/rubyfox/server/data/lib/jetty/lib/jndi/javax.transaction-api-1.2.jar +0 -0
  393. data/lib/rubyfox/server/data/lib/jetty/lib/monitor/jetty-monitor-9.3.11.v20160721.jar +0 -0
  394. data/lib/rubyfox/server/data/lib/jetty/lib/org.apache.taglibs.taglibs-standard-impl-1.2.5.jar +0 -0
  395. data/lib/rubyfox/server/data/lib/jetty/lib/org.apache.taglibs.taglibs-standard-spec-1.2.5.jar +0 -0
  396. data/lib/rubyfox/server/data/lib/jetty/lib/org.eclipse.jdt.core.compiler.ecj-4.4.2.jar +0 -0
  397. data/lib/rubyfox/server/data/lib/jetty/lib/org.eclipse.jetty.apache-jsp-9.3.11.v20160721.jar +0 -0
  398. data/lib/rubyfox/server/data/lib/jetty/lib/org.mortbay.jasper.apache-el-8.0.33.jar +0 -0
  399. data/lib/rubyfox/server/data/lib/jetty/lib/org.mortbay.jasper.apache-jsp-8.0.33.jar +0 -0
  400. data/lib/rubyfox/server/data/lib/jetty/lib/servlet-api-3.1.jar +0 -0
  401. data/lib/rubyfox/server/data/lib/jetty/lib/setuid/jetty-setuid-java-1.0.3.jar +0 -0
  402. data/lib/rubyfox/server/data/lib/jetty/lib/setuid/libsetuid-linux.so +0 -0
  403. data/lib/rubyfox/server/data/lib/jetty/lib/setuid/libsetuid-osx.so +0 -0
  404. data/lib/rubyfox/server/data/lib/jetty/lib/spring/jetty-spring-9.3.11.v20160721.jar +0 -0
  405. data/lib/rubyfox/server/data/lib/jetty/lib/start.jar +0 -0
  406. data/lib/rubyfox/server/data/lib/jetty/lib/websocket-api-9.3.11.v20160721.jar +0 -0
  407. data/lib/rubyfox/server/data/lib/jetty/lib/websocket-client-9.3.11.v20160721.jar +0 -0
  408. data/lib/rubyfox/server/data/lib/jetty/lib/websocket-common-9.3.11h.v20160721.jar +0 -0
  409. data/lib/rubyfox/server/data/lib/jetty/lib/websocket-server-9.3.11.v20160721.jar +0 -0
  410. data/lib/rubyfox/server/data/lib/jetty/lib/websocket-servlet-9.3.11.v20160721.jar +0 -0
  411. data/lib/rubyfox/server/data/lib/jetty/license-eplv10-aslv20.html +0 -576
  412. data/lib/rubyfox/server/data/lib/jetty/modules/.donotdelete +0 -0
  413. data/lib/rubyfox/server/data/lib/jetty/modules/alpn-impl/alpn-1.8.0.mod +0 -8
  414. data/lib/rubyfox/server/data/lib/jetty/modules/alpn-impl/alpn-1.8.0_05.mod +0 -8
  415. data/lib/rubyfox/server/data/lib/jetty/modules/alpn-impl/alpn-1.8.0_101.mod +0 -8
  416. data/lib/rubyfox/server/data/lib/jetty/modules/alpn-impl/alpn-1.8.0_102.mod +0 -8
  417. data/lib/rubyfox/server/data/lib/jetty/modules/alpn-impl/alpn-1.8.0_11.mod +0 -8
  418. data/lib/rubyfox/server/data/lib/jetty/modules/alpn-impl/alpn-1.8.0_20.mod +0 -8
  419. data/lib/rubyfox/server/data/lib/jetty/modules/alpn-impl/alpn-1.8.0_25.mod +0 -8
  420. data/lib/rubyfox/server/data/lib/jetty/modules/alpn-impl/alpn-1.8.0_31.mod +0 -8
  421. data/lib/rubyfox/server/data/lib/jetty/modules/alpn-impl/alpn-1.8.0_40.mod +0 -8
  422. data/lib/rubyfox/server/data/lib/jetty/modules/alpn-impl/alpn-1.8.0_45.mod +0 -8
  423. data/lib/rubyfox/server/data/lib/jetty/modules/alpn-impl/alpn-1.8.0_51.mod +0 -8
  424. data/lib/rubyfox/server/data/lib/jetty/modules/alpn-impl/alpn-1.8.0_60.mod +0 -8
  425. data/lib/rubyfox/server/data/lib/jetty/modules/alpn-impl/alpn-1.8.0_65.mod +0 -8
  426. data/lib/rubyfox/server/data/lib/jetty/modules/alpn-impl/alpn-1.8.0_66.mod +0 -8
  427. data/lib/rubyfox/server/data/lib/jetty/modules/alpn-impl/alpn-1.8.0_71.mod +0 -8
  428. data/lib/rubyfox/server/data/lib/jetty/modules/alpn-impl/alpn-1.8.0_72.mod +0 -8
  429. data/lib/rubyfox/server/data/lib/jetty/modules/alpn-impl/alpn-1.8.0_73.mod +0 -8
  430. data/lib/rubyfox/server/data/lib/jetty/modules/alpn-impl/alpn-1.8.0_74.mod +0 -8
  431. data/lib/rubyfox/server/data/lib/jetty/modules/alpn-impl/alpn-1.8.0_77.mod +0 -8
  432. data/lib/rubyfox/server/data/lib/jetty/modules/alpn-impl/alpn-1.8.0_91.mod +0 -8
  433. data/lib/rubyfox/server/data/lib/jetty/modules/alpn-impl/alpn-1.8.0_92.mod +0 -8
  434. data/lib/rubyfox/server/data/lib/jetty/modules/alpn.mod +0 -53
  435. data/lib/rubyfox/server/data/lib/jetty/modules/annotations.mod +0 -17
  436. data/lib/rubyfox/server/data/lib/jetty/modules/apache-jsp.mod +0 -10
  437. data/lib/rubyfox/server/data/lib/jetty/modules/apache-jstl.mod +0 -9
  438. data/lib/rubyfox/server/data/lib/jetty/modules/cdi.mod +0 -39
  439. data/lib/rubyfox/server/data/lib/jetty/modules/client.mod +0 -6
  440. data/lib/rubyfox/server/data/lib/jetty/modules/continuation.mod +0 -6
  441. data/lib/rubyfox/server/data/lib/jetty/modules/debug.mod +0 -29
  442. data/lib/rubyfox/server/data/lib/jetty/modules/debuglog.mod +0 -25
  443. data/lib/rubyfox/server/data/lib/jetty/modules/deploy.mod +0 -31
  444. data/lib/rubyfox/server/data/lib/jetty/modules/ext.mod +0 -11
  445. data/lib/rubyfox/server/data/lib/jetty/modules/fcgi.mod +0 -15
  446. data/lib/rubyfox/server/data/lib/jetty/modules/gcloud-memcached-sessions.mod +0 -26
  447. data/lib/rubyfox/server/data/lib/jetty/modules/gcloud-session-idmgr.mod +0 -63
  448. data/lib/rubyfox/server/data/lib/jetty/modules/gcloud-sessions.mod +0 -11
  449. data/lib/rubyfox/server/data/lib/jetty/modules/gzip.mod +0 -23
  450. data/lib/rubyfox/server/data/lib/jetty/modules/hawtio.mod +0 -28
  451. data/lib/rubyfox/server/data/lib/jetty/modules/home-base-warning.mod +0 -7
  452. data/lib/rubyfox/server/data/lib/jetty/modules/http-forwarded.mod +0 -20
  453. data/lib/rubyfox/server/data/lib/jetty/modules/http.mod +0 -39
  454. data/lib/rubyfox/server/data/lib/jetty/modules/http2.mod +0 -20
  455. data/lib/rubyfox/server/data/lib/jetty/modules/http2c.mod +0 -22
  456. data/lib/rubyfox/server/data/lib/jetty/modules/https.mod +0 -14
  457. data/lib/rubyfox/server/data/lib/jetty/modules/infinispan.mod +0 -33
  458. data/lib/rubyfox/server/data/lib/jetty/modules/ipaccess.mod +0 -9
  459. data/lib/rubyfox/server/data/lib/jetty/modules/jaas.mod +0 -17
  460. data/lib/rubyfox/server/data/lib/jetty/modules/jamon.mod +0 -31
  461. data/lib/rubyfox/server/data/lib/jetty/modules/jaspi.mod +0 -10
  462. data/lib/rubyfox/server/data/lib/jetty/modules/jdbc-sessions.mod +0 -27
  463. data/lib/rubyfox/server/data/lib/jetty/modules/jminix.mod +0 -41
  464. data/lib/rubyfox/server/data/lib/jetty/modules/jmx-remote.mod +0 -16
  465. data/lib/rubyfox/server/data/lib/jetty/modules/jmx.mod +0 -13
  466. data/lib/rubyfox/server/data/lib/jetty/modules/jndi.mod +0 -11
  467. data/lib/rubyfox/server/data/lib/jetty/modules/jolokia.mod +0 -19
  468. data/lib/rubyfox/server/data/lib/jetty/modules/jsp.mod +0 -9
  469. data/lib/rubyfox/server/data/lib/jetty/modules/jstl.mod +0 -8
  470. data/lib/rubyfox/server/data/lib/jetty/modules/jvm.mod +0 -22
  471. data/lib/rubyfox/server/data/lib/jetty/modules/logging.mod +0 -36
  472. data/lib/rubyfox/server/data/lib/jetty/modules/lowresources.mod +0 -28
  473. data/lib/rubyfox/server/data/lib/jetty/modules/monitor.mod +0 -13
  474. data/lib/rubyfox/server/data/lib/jetty/modules/nosql.mod +0 -31
  475. data/lib/rubyfox/server/data/lib/jetty/modules/plus.mod +0 -15
  476. data/lib/rubyfox/server/data/lib/jetty/modules/proxy-protocol-ssl.mod +0 -9
  477. data/lib/rubyfox/server/data/lib/jetty/modules/proxy-protocol.mod +0 -9
  478. data/lib/rubyfox/server/data/lib/jetty/modules/proxy.mod +0 -22
  479. data/lib/rubyfox/server/data/lib/jetty/modules/quickstart.mod +0 -11
  480. data/lib/rubyfox/server/data/lib/jetty/modules/requestlog.mod +0 -40
  481. data/lib/rubyfox/server/data/lib/jetty/modules/resources.mod +0 -10
  482. data/lib/rubyfox/server/data/lib/jetty/modules/rewrite-compactpath.mod +0 -10
  483. data/lib/rubyfox/server/data/lib/jetty/modules/rewrite-customizer.mod +0 -24
  484. data/lib/rubyfox/server/data/lib/jetty/modules/rewrite.mod +0 -23
  485. data/lib/rubyfox/server/data/lib/jetty/modules/security.mod +0 -9
  486. data/lib/rubyfox/server/data/lib/jetty/modules/server.mod +0 -79
  487. data/lib/rubyfox/server/data/lib/jetty/modules/servlet.mod +0 -9
  488. data/lib/rubyfox/server/data/lib/jetty/modules/servlets.mod +0 -11
  489. data/lib/rubyfox/server/data/lib/jetty/modules/setuid.mod +0 -19
  490. data/lib/rubyfox/server/data/lib/jetty/modules/spring.mod +0 -17
  491. data/lib/rubyfox/server/data/lib/jetty/modules/ssl.mod +0 -97
  492. data/lib/rubyfox/server/data/lib/jetty/modules/stats.mod +0 -9
  493. data/lib/rubyfox/server/data/lib/jetty/modules/webapp.mod +0 -10
  494. data/lib/rubyfox/server/data/lib/jetty/modules/websocket.mod +0 -12
  495. data/lib/rubyfox/server/data/lib/jetty/notice.html +0 -111
  496. data/lib/rubyfox/server/data/lib/jetty/start.d/README.TXT +0 -24
  497. data/lib/rubyfox/server/data/lib/jetty/start.d/http.ini +0 -7
  498. data/lib/rubyfox/server/data/lib/jetty/start.d/https.ini +0 -10
  499. data/lib/rubyfox/server/data/lib/jetty/start.d/ssl.ini +0 -19
  500. data/lib/rubyfox/server/data/lib/jetty/start.ini +0 -83
  501. data/lib/rubyfox/server/data/www/.keep +0 -0
  502. data/lib/rubyfox/server/data/www/HelloServlet/META-INF/context.xml +0 -2
  503. data/lib/rubyfox/server/data/www/PyServletExample/MyModule$py.class +0 -0
  504. data/lib/rubyfox/server/data/www/PyServletExample/MyModule.py +0 -5
  505. data/lib/rubyfox/server/data/www/PyServletExample/WEB-INF/web.xml +0 -37
  506. data/lib/rubyfox/server/data/www/PyServletExample/errors/404.htm +0 -20
  507. data/lib/rubyfox/server/data/www/PyServletExample/index.py +0 -42
  508. data/lib/rubyfox/server/data/www/root/admin/.keep +0 -0
  509. data/lib/rubyfox/server/data/www/root/admin/AdminTool.swf +0 -0
  510. data/lib/rubyfox/server/data/www/root/admin/ReleaseNotes.txt +0 -201
  511. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/adobeFlashPlayer.png +0 -0
  512. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/advanced.png +0 -0
  513. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/analytics.png +0 -0
  514. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/banManager.png +0 -0
  515. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/bannedIPs.png +0 -0
  516. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/bannedUsernames.png +0 -0
  517. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/bookmarks.png +0 -0
  518. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/bootLog.png +0 -0
  519. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/buddyList.png +0 -0
  520. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/buddyProperties.png +0 -0
  521. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/connection.png +0 -0
  522. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/databaseManager.png +0 -0
  523. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/floodFilter.png +0 -0
  524. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/gameSettings.png +0 -0
  525. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/general.png +0 -0
  526. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/globalServerStatus.png +0 -0
  527. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/hTML5WebSockets.png +0 -0
  528. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/iPDiscovery.png +0 -0
  529. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/iPFilter.png +0 -0
  530. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/jVMSettings.png +0 -0
  531. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/logsDownload.png +0 -0
  532. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/mMOSettings.png +0 -0
  533. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/mailer.png +0 -0
  534. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/permissionsAndEvents.png +0 -0
  535. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/privilegeManager.png +0 -0
  536. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/remoteAdmin.png +0 -0
  537. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/roomExtension.png +0 -0
  538. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/roomVariables.png +0 -0
  539. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/roomsAndGroups.png +0 -0
  540. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/runtimeLog.png +0 -0
  541. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/runtimeRoomSettings.png +0 -0
  542. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/runtimeUserSettings.png +0 -0
  543. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/runtimeZoneSettings.png +0 -0
  544. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/statsApplication.png +0 -0
  545. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/statsDemographics.png +0 -0
  546. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/statsExceptions.png +0 -0
  547. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/statsOverview.png +0 -0
  548. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/statsTechnology.png +0 -0
  549. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/systemQueueStatus.png +0 -0
  550. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/threadPools.png +0 -0
  551. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/userManagement.png +0 -0
  552. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/userVariables.png +0 -0
  553. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/webServer.png +0 -0
  554. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/wordsFilter.png +0 -0
  555. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/zoneExtension.png +0 -0
  556. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/zoneTraffic.png +0 -0
  557. data/lib/rubyfox/server/data/www/root/admin/expressInstall.swf +0 -0
  558. data/lib/rubyfox/server/data/www/root/admin/index.html +0 -124
  559. data/lib/rubyfox/server/data/www/root/admin/modules/Analytics.swf +0 -0
  560. data/lib/rubyfox/server/data/www/root/admin/modules/BanManager.swf +0 -0
  561. data/lib/rubyfox/server/data/www/root/admin/modules/BlueBoxMonitor.swf +0 -0
  562. data/lib/rubyfox/server/data/www/root/admin/modules/Console.swf +0 -0
  563. data/lib/rubyfox/server/data/www/root/admin/modules/Dashboard.swf +0 -0
  564. data/lib/rubyfox/server/data/www/root/admin/modules/ExtensionManager.swf +0 -0
  565. data/lib/rubyfox/server/data/www/root/admin/modules/LicenseManager.swf +0 -0
  566. data/lib/rubyfox/server/data/www/root/admin/modules/LogViewer.swf +0 -0
  567. data/lib/rubyfox/server/data/www/root/admin/modules/ServerConfigurator.swf +0 -0
  568. data/lib/rubyfox/server/data/www/root/admin/modules/ServletManager.swf +0 -0
  569. data/lib/rubyfox/server/data/www/root/admin/modules/ZoneConfigurator.swf +0 -0
  570. data/lib/rubyfox/server/data/www/root/admin/modules/ZoneMonitor.swf +0 -0
  571. data/lib/rubyfox/server/data/www/root/admin/swfobject.js +0 -4
  572. data/lib/rubyfox/server/data/www/root/examples/.keep +0 -0
  573. data/lib/rubyfox/server/data/www/sfs2x-ws.war +0 -0
  574. data/lib/rubyfox/server/data/www/sfs2x-ws.xml +0 -30
  575. data/lib/rubyfox/server/data/zones/BasicExamples.zone.xml +0 -147
@@ -0,0 +1,689 @@
1
+ #!/bin/sh
2
+
3
+ # Licensed to the Apache Software Foundation (ASF) under one or more
4
+ # contributor license agreements. See the NOTICE file distributed with
5
+ # this work for additional information regarding copyright ownership.
6
+ # The ASF licenses this file to You under the Apache License, Version 2.0
7
+ # (the "License"); you may not use this file except in compliance with
8
+ # the License. You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+
18
+ # -----------------------------------------------------------------------------
19
+ # Control Script for the CATALINA Server
20
+ #
21
+ # For supported commands call "catalina.sh help" or see the usage section at
22
+ # the end of this file.
23
+ #
24
+ # Environment Variable Prerequisites
25
+ #
26
+ # Do not set the variables in this script. Instead put them into a script
27
+ # setenv.sh in CATALINA_BASE/bin to keep your customizations separate.
28
+ #
29
+ # CATALINA_HOME May point at your Catalina "build" directory.
30
+ #
31
+ # CATALINA_BASE (Optional) Base directory for resolving dynamic portions
32
+ # of a Catalina installation. If not present, resolves to
33
+ # the same directory that CATALINA_HOME points to.
34
+ #
35
+ # CATALINA_OUT (Optional) Full path to a file where stdout and stderr
36
+ # will be redirected.
37
+ # Default is $CATALINA_BASE/logs/catalina.out
38
+ #
39
+ # CATALINA_OUT_CMD (Optional) Command which will be executed and receive
40
+ # as its stdin the stdout and stderr from the Tomcat java
41
+ # process. If CATALINA_OUT_CMD is set, the value of
42
+ # CATALINA_OUT will be used as a named pipe.
43
+ # No default.
44
+ # Example (all one line)
45
+ # CATALINA_OUT_CMD="/usr/bin/rotatelogs -f $CATALINA_BASE/logs/catalina.out.%Y-%m-%d.log 86400"
46
+ #
47
+ # CATALINA_OPTS (Optional) Java runtime options used when the "start",
48
+ # "run" or "debug" command is executed.
49
+ # Include here and not in JAVA_OPTS all options, that should
50
+ # only be used by Tomcat itself, not by the stop process,
51
+ # the version command etc.
52
+ # Examples are heap size, GC logging, JMX ports etc.
53
+ #
54
+ # CATALINA_TMPDIR (Optional) Directory path location of temporary directory
55
+ # the JVM should use (java.io.tmpdir). Defaults to
56
+ # $CATALINA_BASE/temp.
57
+ #
58
+ # JAVA_HOME Must point at your Java Development Kit installation.
59
+ # Required to run the with the "debug" argument.
60
+ #
61
+ # JRE_HOME Must point at your Java Runtime installation.
62
+ # Defaults to JAVA_HOME if empty. If JRE_HOME and JAVA_HOME
63
+ # are both set, JRE_HOME is used.
64
+ #
65
+ # JAVA_OPTS (Optional) Java runtime options used when any command
66
+ # is executed.
67
+ # Include here and not in CATALINA_OPTS all options, that
68
+ # should be used by Tomcat and also by the stop process,
69
+ # the version command etc.
70
+ # Most options should go into CATALINA_OPTS.
71
+ #
72
+ # JAVA_ENDORSED_DIRS (Optional) Lists of of colon separated directories
73
+ # containing some jars in order to allow replacement of APIs
74
+ # created outside of the JCP (i.e. DOM and SAX from W3C).
75
+ # It can also be used to update the XML parser implementation.
76
+ # This is only supported for Java <= 8.
77
+ # Defaults to $CATALINA_HOME/endorsed.
78
+ #
79
+ # JPDA_TRANSPORT (Optional) JPDA transport used when the "jpda start"
80
+ # command is executed. The default is "dt_socket".
81
+ #
82
+ # JPDA_ADDRESS (Optional) Java runtime options used when the "jpda start"
83
+ # command is executed. The default is localhost:8000.
84
+ #
85
+ # JPDA_SUSPEND (Optional) Java runtime options used when the "jpda start"
86
+ # command is executed. Specifies whether JVM should suspend
87
+ # execution immediately after startup. Default is "n".
88
+ #
89
+ # JPDA_OPTS (Optional) Java runtime options used when the "jpda start"
90
+ # command is executed. If used, JPDA_TRANSPORT, JPDA_ADDRESS,
91
+ # and JPDA_SUSPEND are ignored. Thus, all required jpda
92
+ # options MUST be specified. The default is:
93
+ #
94
+ # -agentlib:jdwp=transport=$JPDA_TRANSPORT,
95
+ # address=$JPDA_ADDRESS,server=y,suspend=$JPDA_SUSPEND
96
+ #
97
+ # JSSE_OPTS (Optional) Java runtime options used to control the TLS
98
+ # implementation when JSSE is used. Default is:
99
+ # "-Djdk.tls.ephemeralDHKeySize=2048"
100
+ #
101
+ # CATALINA_PID (Optional) Path of the file which should contains the pid
102
+ # of the catalina startup java process, when start (fork) is
103
+ # used
104
+ #
105
+ # CATALINA_LOGGING_CONFIG (Optional) Override Tomcat's logging config file
106
+ # Example (all one line)
107
+ # CATALINA_LOGGING_CONFIG="-Djava.util.logging.config.file=$CATALINA_BASE/conf/logging.properties"
108
+ #
109
+ # LOGGING_CONFIG Deprecated
110
+ # Use CATALINA_LOGGING_CONFIG
111
+ # This is only used if CATALINA_LOGGING_CONFIG is not set
112
+ # and LOGGING_CONFIG starts with "-D..."
113
+ #
114
+ # LOGGING_MANAGER (Optional) Override Tomcat's logging manager
115
+ # Example (all one line)
116
+ # LOGGING_MANAGER="-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager"
117
+ #
118
+ # UMASK (Optional) Override Tomcat's default UMASK of 0027
119
+ #
120
+ # USE_NOHUP (Optional) If set to the string true the start command will
121
+ # use nohup so that the Tomcat process will ignore any hangup
122
+ # signals. Default is "false" unless running on HP-UX in which
123
+ # case the default is "true"
124
+ # -----------------------------------------------------------------------------
125
+
126
+ # OS specific support. $var _must_ be set to either true or false.
127
+ cygwin=false
128
+ darwin=false
129
+ os400=false
130
+ hpux=false
131
+ case "`uname`" in
132
+ CYGWIN*) cygwin=true;;
133
+ Darwin*) darwin=true;;
134
+ OS400*) os400=true;;
135
+ HP-UX*) hpux=true;;
136
+ esac
137
+
138
+ # resolve links - $0 may be a softlink
139
+ PRG="$0"
140
+
141
+ while [ -h "$PRG" ]; do
142
+ ls=`ls -ld "$PRG"`
143
+ link=`expr "$ls" : '.*-> \(.*\)$'`
144
+ if expr "$link" : '/.*' > /dev/null; then
145
+ PRG="$link"
146
+ else
147
+ PRG=`dirname "$PRG"`/"$link"
148
+ fi
149
+ done
150
+
151
+ # Get standard environment variables
152
+ PRGDIR=`dirname "$PRG"`
153
+
154
+ # Only set CATALINA_HOME if not already set
155
+ [ -z "$CATALINA_HOME" ] && CATALINA_HOME=`cd "$PRGDIR/.." >/dev/null; pwd`
156
+
157
+ # Copy CATALINA_BASE from CATALINA_HOME if not already set
158
+ [ -z "$CATALINA_BASE" ] && CATALINA_BASE="$CATALINA_HOME"
159
+
160
+ # Ensure that any user defined CLASSPATH variables are not used on startup,
161
+ # but allow them to be specified in setenv.sh, in rare case when it is needed.
162
+ CLASSPATH=
163
+
164
+ if [ -r "$CATALINA_BASE/bin/setenv.sh" ]; then
165
+ . "$CATALINA_BASE/bin/setenv.sh"
166
+ elif [ -r "$CATALINA_HOME/bin/setenv.sh" ]; then
167
+ . "$CATALINA_HOME/bin/setenv.sh"
168
+ fi
169
+
170
+ # For Cygwin, ensure paths are in UNIX format before anything is touched
171
+ if $cygwin; then
172
+ [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
173
+ [ -n "$JRE_HOME" ] && JRE_HOME=`cygpath --unix "$JRE_HOME"`
174
+ [ -n "$CATALINA_HOME" ] && CATALINA_HOME=`cygpath --unix "$CATALINA_HOME"`
175
+ [ -n "$CATALINA_BASE" ] && CATALINA_BASE=`cygpath --unix "$CATALINA_BASE"`
176
+ [ -n "$CLASSPATH" ] && CLASSPATH=`cygpath --path --unix "$CLASSPATH"`
177
+ fi
178
+
179
+ # Ensure that neither CATALINA_HOME nor CATALINA_BASE contains a colon
180
+ # as this is used as the separator in the classpath and Java provides no
181
+ # mechanism for escaping if the same character appears in the path.
182
+ case $CATALINA_HOME in
183
+ *:*) echo "Using CATALINA_HOME: $CATALINA_HOME";
184
+ echo "Unable to start as CATALINA_HOME contains a colon (:) character";
185
+ exit 1;
186
+ esac
187
+ case $CATALINA_BASE in
188
+ *:*) echo "Using CATALINA_BASE: $CATALINA_BASE";
189
+ echo "Unable to start as CATALINA_BASE contains a colon (:) character";
190
+ exit 1;
191
+ esac
192
+
193
+ # For OS400
194
+ if $os400; then
195
+ # Set job priority to standard for interactive (interactive - 6) by using
196
+ # the interactive priority - 6, the helper threads that respond to requests
197
+ # will be running at the same priority as interactive jobs.
198
+ COMMAND='chgjob job('$JOBNAME') runpty(6)'
199
+ system $COMMAND
200
+
201
+ # Enable multi threading
202
+ export QIBM_MULTI_THREADED=Y
203
+ fi
204
+
205
+ # Get standard Java environment variables
206
+ if $os400; then
207
+ # -r will Only work on the os400 if the files are:
208
+ # 1. owned by the user
209
+ # 2. owned by the PRIMARY group of the user
210
+ # this will not work if the user belongs in secondary groups
211
+ . "$CATALINA_HOME"/bin/setclasspath.sh
212
+ else
213
+ if [ -r "$CATALINA_HOME"/bin/setclasspath.sh ]; then
214
+ . "$CATALINA_HOME"/bin/setclasspath.sh
215
+ else
216
+ echo "Cannot find $CATALINA_HOME/bin/setclasspath.sh"
217
+ echo "This file is needed to run this program"
218
+ exit 1
219
+ fi
220
+ fi
221
+
222
+ # Add on extra jar files to CLASSPATH
223
+ if [ ! -z "$CLASSPATH" ] ; then
224
+ CLASSPATH="$CLASSPATH":
225
+ fi
226
+ CLASSPATH="$CLASSPATH""$CATALINA_HOME"/bin/bootstrap.jar
227
+
228
+ if [ -z "$CATALINA_OUT" ] ; then
229
+ CATALINA_OUT="$CATALINA_BASE"/logs/catalina.out
230
+ fi
231
+
232
+ if [ -z "$CATALINA_TMPDIR" ] ; then
233
+ # Define the java.io.tmpdir to use for Catalina
234
+ CATALINA_TMPDIR="$CATALINA_BASE"/temp
235
+ fi
236
+
237
+ # Add tomcat-juli.jar to classpath
238
+ # tomcat-juli.jar can be over-ridden per instance
239
+ if [ -r "$CATALINA_BASE/bin/tomcat-juli.jar" ] ; then
240
+ CLASSPATH=$CLASSPATH:$CATALINA_BASE/bin/tomcat-juli.jar
241
+ else
242
+ CLASSPATH=$CLASSPATH:$CATALINA_HOME/bin/tomcat-juli.jar
243
+ fi
244
+
245
+ # Bugzilla 37848: When no TTY is available, don't output to console
246
+ have_tty=0
247
+ if [ -t 0 ]; then
248
+ have_tty=1
249
+ fi
250
+
251
+ # For Cygwin, switch paths to Windows format before running java
252
+ if $cygwin; then
253
+ JAVA_HOME=`cygpath --absolute --windows "$JAVA_HOME"`
254
+ JRE_HOME=`cygpath --absolute --windows "$JRE_HOME"`
255
+ CATALINA_HOME=`cygpath --absolute --windows "$CATALINA_HOME"`
256
+ CATALINA_BASE=`cygpath --absolute --windows "$CATALINA_BASE"`
257
+ CATALINA_TMPDIR=`cygpath --absolute --windows "$CATALINA_TMPDIR"`
258
+ CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
259
+ [ -n "$JAVA_ENDORSED_DIRS" ] && JAVA_ENDORSED_DIRS=`cygpath --path --windows "$JAVA_ENDORSED_DIRS"`
260
+ fi
261
+
262
+ if [ -z "$JSSE_OPTS" ] ; then
263
+ JSSE_OPTS="-Djdk.tls.ephemeralDHKeySize=2048"
264
+ fi
265
+ JAVA_OPTS="$JAVA_OPTS $JSSE_OPTS"
266
+
267
+ # Register custom URL handlers
268
+ # Do this here so custom URL handles (specifically 'war:...') can be used in the security policy
269
+ JAVA_OPTS="$JAVA_OPTS -Djava.protocol.handler.pkgs=org.apache.catalina.webresources"
270
+
271
+ # Check for the deprecated LOGGING_CONFIG
272
+ # Only use it if CATALINA_LOGGING_CONFIG is not set and LOGGING_CONFIG starts with "-D..."
273
+ if [ -z "$CATALINA_LOGGING_CONFIG" ]; then
274
+ if [ "${LOGGING_CONFIG#*-D}" != "$LOGGING_CONFIG" ]; then
275
+ CATALINA_LOGGING_CONFIG="$LOGGING_CONFIG"
276
+ fi
277
+ fi
278
+
279
+ # Set juli LogManager config file if it is present and an override has not been issued
280
+ if [ -z "$CATALINA_LOGGING_CONFIG" ]; then
281
+ if [ -r "$CATALINA_BASE"/conf/logging.properties ]; then
282
+ CATALINA_LOGGING_CONFIG="-Djava.util.logging.config.file=$CATALINA_BASE/conf/logging.properties"
283
+ else
284
+ # Bugzilla 45585
285
+ CATALINA_LOGGING_CONFIG="-Dnop"
286
+ fi
287
+ fi
288
+
289
+ if [ -z "$LOGGING_MANAGER" ]; then
290
+ LOGGING_MANAGER="-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager"
291
+ fi
292
+
293
+ # Set UMASK unless it has been overridden
294
+ if [ -z "$UMASK" ]; then
295
+ UMASK="0027"
296
+ fi
297
+ umask $UMASK
298
+
299
+ # Java 9 no longer supports the java.endorsed.dirs
300
+ # system property. Only try to use it if
301
+ # JAVA_ENDORSED_DIRS was explicitly set
302
+ # or CATALINA_HOME/endorsed exists.
303
+ ENDORSED_PROP=ignore.endorsed.dirs
304
+ if [ -n "$JAVA_ENDORSED_DIRS" ]; then
305
+ ENDORSED_PROP=java.endorsed.dirs
306
+ fi
307
+ if [ -d "$CATALINA_HOME/endorsed" ]; then
308
+ ENDORSED_PROP=java.endorsed.dirs
309
+ fi
310
+
311
+ # Make the umask available when using the org.apache.catalina.security.SecurityListener
312
+ JAVA_OPTS="$JAVA_OPTS -Dorg.apache.catalina.security.SecurityListener.UMASK=`umask`"
313
+
314
+ if [ -z "$USE_NOHUP" ]; then
315
+ if $hpux; then
316
+ USE_NOHUP="true"
317
+ else
318
+ USE_NOHUP="false"
319
+ fi
320
+ fi
321
+ unset _NOHUP
322
+ if [ "$USE_NOHUP" = "true" ]; then
323
+ _NOHUP="nohup"
324
+ fi
325
+
326
+ # Add the JAVA 9 specific start-up parameters required by Tomcat
327
+ JDK_JAVA_OPTIONS="$JDK_JAVA_OPTIONS --add-opens=java.base/java.lang=ALL-UNNAMED"
328
+ JDK_JAVA_OPTIONS="$JDK_JAVA_OPTIONS --add-opens=java.base/java.io=ALL-UNNAMED"
329
+ JDK_JAVA_OPTIONS="$JDK_JAVA_OPTIONS --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED"
330
+ export JDK_JAVA_OPTIONS
331
+
332
+ # ----- Execute The Requested Command -----------------------------------------
333
+
334
+ # Bugzilla 37848: only output this if we have a TTY
335
+ if [ $have_tty -eq 1 ]; then
336
+ echo "Using CATALINA_BASE: $CATALINA_BASE"
337
+ echo "Using CATALINA_HOME: $CATALINA_HOME"
338
+ echo "Using CATALINA_TMPDIR: $CATALINA_TMPDIR"
339
+ if [ "$1" = "debug" ] ; then
340
+ echo "Using JAVA_HOME: $JAVA_HOME"
341
+ else
342
+ echo "Using JRE_HOME: $JRE_HOME"
343
+ fi
344
+ echo "Using CLASSPATH: $CLASSPATH"
345
+ if [ ! -z "$CATALINA_PID" ]; then
346
+ echo "Using CATALINA_PID: $CATALINA_PID"
347
+ fi
348
+ fi
349
+
350
+ if [ "$1" = "jpda" ] ; then
351
+ if [ -z "$JPDA_TRANSPORT" ]; then
352
+ JPDA_TRANSPORT="dt_socket"
353
+ fi
354
+ if [ -z "$JPDA_ADDRESS" ]; then
355
+ JPDA_ADDRESS="localhost:8000"
356
+ fi
357
+ if [ -z "$JPDA_SUSPEND" ]; then
358
+ JPDA_SUSPEND="n"
359
+ fi
360
+ if [ -z "$JPDA_OPTS" ]; then
361
+ JPDA_OPTS="-agentlib:jdwp=transport=$JPDA_TRANSPORT,address=$JPDA_ADDRESS,server=y,suspend=$JPDA_SUSPEND"
362
+ fi
363
+ CATALINA_OPTS="$JPDA_OPTS $CATALINA_OPTS"
364
+ shift
365
+ fi
366
+
367
+ # TODO: Bugzilla 63815
368
+ # This doesn't currently work (and can't be made to work) if values used in
369
+ # CATALINA_OPTS and/or JAVA_OPTS require quoting. See:
370
+ # https://bugs.openjdk.java.net/browse/JDK-8234808
371
+ if [ "$1" = "debug" ] ; then
372
+ if $os400; then
373
+ echo "Debug command not available on OS400"
374
+ exit 1
375
+ else
376
+ shift
377
+ if [ "$1" = "-security" ] ; then
378
+ if [ $have_tty -eq 1 ]; then
379
+ echo "Using Security Manager"
380
+ fi
381
+ shift
382
+ exec "$_RUNJDB" "$CATALINA_LOGGING_CONFIG" $LOGGING_MANAGER $JAVA_OPTS $CATALINA_OPTS \
383
+ -D$ENDORSED_PROP="$JAVA_ENDORSED_DIRS" \
384
+ -classpath "$CLASSPATH" \
385
+ -sourcepath "$CATALINA_HOME"/../../java \
386
+ -Djava.security.manager \
387
+ -Djava.security.policy=="$CATALINA_BASE"/conf/catalina.policy \
388
+ -Dcatalina.base="$CATALINA_BASE" \
389
+ -Dcatalina.home="$CATALINA_HOME" \
390
+ -Djava.io.tmpdir="$CATALINA_TMPDIR" \
391
+ org.apache.catalina.startup.Bootstrap "$@" start
392
+ else
393
+ exec "$_RUNJDB" "$CATALINA_LOGGING_CONFIG" $LOGGING_MANAGER $JAVA_OPTS $CATALINA_OPTS \
394
+ -D$ENDORSED_PROP="$JAVA_ENDORSED_DIRS" \
395
+ -classpath "$CLASSPATH" \
396
+ -sourcepath "$CATALINA_HOME"/../../java \
397
+ -Dcatalina.base="$CATALINA_BASE" \
398
+ -Dcatalina.home="$CATALINA_HOME" \
399
+ -Djava.io.tmpdir="$CATALINA_TMPDIR" \
400
+ org.apache.catalina.startup.Bootstrap "$@" start
401
+ fi
402
+ fi
403
+
404
+ elif [ "$1" = "run" ]; then
405
+
406
+ shift
407
+ if [ "$1" = "-security" ] ; then
408
+ if [ $have_tty -eq 1 ]; then
409
+ echo "Using Security Manager"
410
+ fi
411
+ shift
412
+ eval exec "\"$_RUNJAVA\"" "\"$CATALINA_LOGGING_CONFIG\"" $LOGGING_MANAGER "$JAVA_OPTS" "$CATALINA_OPTS" \
413
+ -D$ENDORSED_PROP="\"$JAVA_ENDORSED_DIRS\"" \
414
+ -classpath "\"$CLASSPATH\"" \
415
+ -Djava.security.manager \
416
+ -Djava.security.policy=="\"$CATALINA_BASE/conf/catalina.policy\"" \
417
+ -Dcatalina.base="\"$CATALINA_BASE\"" \
418
+ -Dcatalina.home="\"$CATALINA_HOME\"" \
419
+ -Djava.io.tmpdir="\"$CATALINA_TMPDIR\"" \
420
+ org.apache.catalina.startup.Bootstrap "$@" start
421
+ else
422
+ eval exec "\"$_RUNJAVA\"" "\"$CATALINA_LOGGING_CONFIG\"" $LOGGING_MANAGER "$JAVA_OPTS" "$CATALINA_OPTS" \
423
+ -D$ENDORSED_PROP="\"$JAVA_ENDORSED_DIRS\"" \
424
+ -classpath "\"$CLASSPATH\"" \
425
+ -Dcatalina.base="\"$CATALINA_BASE\"" \
426
+ -Dcatalina.home="\"$CATALINA_HOME\"" \
427
+ -Djava.io.tmpdir="\"$CATALINA_TMPDIR\"" \
428
+ org.apache.catalina.startup.Bootstrap "$@" start
429
+ fi
430
+
431
+ elif [ "$1" = "start" ] ; then
432
+
433
+ if [ ! -z "$CATALINA_PID" ]; then
434
+ if [ -f "$CATALINA_PID" ]; then
435
+ if [ -s "$CATALINA_PID" ]; then
436
+ echo "Existing PID file found during start."
437
+ if [ -r "$CATALINA_PID" ]; then
438
+ PID=`cat "$CATALINA_PID"`
439
+ ps -p $PID >/dev/null 2>&1
440
+ if [ $? -eq 0 ] ; then
441
+ echo "Tomcat appears to still be running with PID $PID. Start aborted."
442
+ echo "If the following process is not a Tomcat process, remove the PID file and try again:"
443
+ ps -f -p $PID
444
+ exit 1
445
+ else
446
+ echo "Removing/clearing stale PID file."
447
+ rm -f "$CATALINA_PID" >/dev/null 2>&1
448
+ if [ $? != 0 ]; then
449
+ if [ -w "$CATALINA_PID" ]; then
450
+ cat /dev/null > "$CATALINA_PID"
451
+ else
452
+ echo "Unable to remove or clear stale PID file. Start aborted."
453
+ exit 1
454
+ fi
455
+ fi
456
+ fi
457
+ else
458
+ echo "Unable to read PID file. Start aborted."
459
+ exit 1
460
+ fi
461
+ else
462
+ rm -f "$CATALINA_PID" >/dev/null 2>&1
463
+ if [ $? != 0 ]; then
464
+ if [ ! -w "$CATALINA_PID" ]; then
465
+ echo "Unable to remove or write to empty PID file. Start aborted."
466
+ exit 1
467
+ fi
468
+ fi
469
+ fi
470
+ fi
471
+ fi
472
+
473
+ shift
474
+ if [ -z "$CATALINA_OUT_CMD" ] ; then
475
+ touch "$CATALINA_OUT"
476
+ else
477
+ if [ ! -e "$CATALINA_OUT" ]; then
478
+ if ! mkfifo "$CATALINA_OUT"; then
479
+ echo "cannot create named pipe $CATALINA_OUT. Start aborted."
480
+ exit 1
481
+ fi
482
+ elif [ ! -p "$CATALINA_OUT" ]; then
483
+ echo "$CATALINA_OUT exists and is not a named pipe. Start aborted."
484
+ exit 1
485
+ fi
486
+ $CATALINA_OUT_CMD <"$CATALINA_OUT" &
487
+ fi
488
+ if [ "$1" = "-security" ] ; then
489
+ if [ $have_tty -eq 1 ]; then
490
+ echo "Using Security Manager"
491
+ fi
492
+ shift
493
+ eval $_NOHUP "\"$_RUNJAVA\"" "\"$CATALINA_LOGGING_CONFIG\"" $LOGGING_MANAGER "$JAVA_OPTS" "$CATALINA_OPTS" \
494
+ -D$ENDORSED_PROP="\"$JAVA_ENDORSED_DIRS\"" \
495
+ -classpath "\"$CLASSPATH\"" \
496
+ -Djava.security.manager \
497
+ -Djava.security.policy=="\"$CATALINA_BASE/conf/catalina.policy\"" \
498
+ -Dcatalina.base="\"$CATALINA_BASE\"" \
499
+ -Dcatalina.home="\"$CATALINA_HOME\"" \
500
+ -Djava.io.tmpdir="\"$CATALINA_TMPDIR\"" \
501
+ org.apache.catalina.startup.Bootstrap "$@" start \
502
+ >> "$CATALINA_OUT" 2>&1 "&"
503
+
504
+ else
505
+ eval $_NOHUP "\"$_RUNJAVA\"" "\"$CATALINA_LOGGING_CONFIG\"" $LOGGING_MANAGER "$JAVA_OPTS" "$CATALINA_OPTS" \
506
+ -D$ENDORSED_PROP="\"$JAVA_ENDORSED_DIRS\"" \
507
+ -classpath "\"$CLASSPATH\"" \
508
+ -Dcatalina.base="\"$CATALINA_BASE\"" \
509
+ -Dcatalina.home="\"$CATALINA_HOME\"" \
510
+ -Djava.io.tmpdir="\"$CATALINA_TMPDIR\"" \
511
+ org.apache.catalina.startup.Bootstrap "$@" start \
512
+ >> "$CATALINA_OUT" 2>&1 "&"
513
+
514
+ fi
515
+
516
+ if [ ! -z "$CATALINA_PID" ]; then
517
+ echo $! > "$CATALINA_PID"
518
+ fi
519
+
520
+ echo "Tomcat started."
521
+
522
+ elif [ "$1" = "stop" ] ; then
523
+
524
+ shift
525
+
526
+ SLEEP=5
527
+ if [ ! -z "$1" ]; then
528
+ echo $1 | grep "[^0-9]" >/dev/null 2>&1
529
+ if [ $? -gt 0 ]; then
530
+ SLEEP=$1
531
+ shift
532
+ fi
533
+ fi
534
+
535
+ FORCE=0
536
+ if [ "$1" = "-force" ]; then
537
+ shift
538
+ FORCE=1
539
+ fi
540
+
541
+ if [ ! -z "$CATALINA_PID" ]; then
542
+ if [ -f "$CATALINA_PID" ]; then
543
+ if [ -s "$CATALINA_PID" ]; then
544
+ kill -0 `cat "$CATALINA_PID"` >/dev/null 2>&1
545
+ if [ $? -gt 0 ]; then
546
+ echo "PID file found but either no matching process was found or the current user does not have permission to stop the process. Stop aborted."
547
+ exit 1
548
+ fi
549
+ else
550
+ echo "PID file is empty and has been ignored."
551
+ fi
552
+ else
553
+ echo "\$CATALINA_PID was set but the specified file does not exist. Is Tomcat running? Stop aborted."
554
+ exit 1
555
+ fi
556
+ fi
557
+
558
+ eval "\"$_RUNJAVA\"" $LOGGING_MANAGER "$JAVA_OPTS" \
559
+ -D$ENDORSED_PROP="\"$JAVA_ENDORSED_DIRS\"" \
560
+ -classpath "\"$CLASSPATH\"" \
561
+ -Dcatalina.base="\"$CATALINA_BASE\"" \
562
+ -Dcatalina.home="\"$CATALINA_HOME\"" \
563
+ -Djava.io.tmpdir="\"$CATALINA_TMPDIR\"" \
564
+ org.apache.catalina.startup.Bootstrap "$@" stop
565
+
566
+ # stop failed. Shutdown port disabled? Try a normal kill.
567
+ if [ $? != 0 ]; then
568
+ if [ ! -z "$CATALINA_PID" ]; then
569
+ echo "The stop command failed. Attempting to signal the process to stop through OS signal."
570
+ kill -15 `cat "$CATALINA_PID"` >/dev/null 2>&1
571
+ fi
572
+ fi
573
+
574
+ if [ ! -z "$CATALINA_PID" ]; then
575
+ if [ -f "$CATALINA_PID" ]; then
576
+ while [ $SLEEP -ge 0 ]; do
577
+ kill -0 `cat "$CATALINA_PID"` >/dev/null 2>&1
578
+ if [ $? -gt 0 ]; then
579
+ rm -f "$CATALINA_PID" >/dev/null 2>&1
580
+ if [ $? != 0 ]; then
581
+ if [ -w "$CATALINA_PID" ]; then
582
+ cat /dev/null > "$CATALINA_PID"
583
+ # If Tomcat has stopped don't try and force a stop with an empty PID file
584
+ FORCE=0
585
+ else
586
+ echo "The PID file could not be removed or cleared."
587
+ fi
588
+ fi
589
+ echo "Tomcat stopped."
590
+ break
591
+ fi
592
+ if [ $SLEEP -gt 0 ]; then
593
+ sleep 1
594
+ fi
595
+ if [ $SLEEP -eq 0 ]; then
596
+ echo "Tomcat did not stop in time."
597
+ if [ $FORCE -eq 0 ]; then
598
+ echo "PID file was not removed."
599
+ fi
600
+ echo "To aid diagnostics a thread dump has been written to standard out."
601
+ kill -3 `cat "$CATALINA_PID"`
602
+ fi
603
+ SLEEP=`expr $SLEEP - 1 `
604
+ done
605
+ fi
606
+ fi
607
+
608
+ KILL_SLEEP_INTERVAL=5
609
+ if [ $FORCE -eq 1 ]; then
610
+ if [ -z "$CATALINA_PID" ]; then
611
+ echo "Kill failed: \$CATALINA_PID not set"
612
+ else
613
+ if [ -f "$CATALINA_PID" ]; then
614
+ PID=`cat "$CATALINA_PID"`
615
+ echo "Killing Tomcat with the PID: $PID"
616
+ kill -9 $PID
617
+ while [ $KILL_SLEEP_INTERVAL -ge 0 ]; do
618
+ kill -0 `cat "$CATALINA_PID"` >/dev/null 2>&1
619
+ if [ $? -gt 0 ]; then
620
+ rm -f "$CATALINA_PID" >/dev/null 2>&1
621
+ if [ $? != 0 ]; then
622
+ if [ -w "$CATALINA_PID" ]; then
623
+ cat /dev/null > "$CATALINA_PID"
624
+ else
625
+ echo "The PID file could not be removed."
626
+ fi
627
+ fi
628
+ echo "The Tomcat process has been killed."
629
+ break
630
+ fi
631
+ if [ $KILL_SLEEP_INTERVAL -gt 0 ]; then
632
+ sleep 1
633
+ fi
634
+ KILL_SLEEP_INTERVAL=`expr $KILL_SLEEP_INTERVAL - 1 `
635
+ done
636
+ if [ $KILL_SLEEP_INTERVAL -lt 0 ]; then
637
+ echo "Tomcat has not been killed completely yet. The process might be waiting on some system call or might be UNINTERRUPTIBLE."
638
+ fi
639
+ fi
640
+ fi
641
+ fi
642
+
643
+ elif [ "$1" = "configtest" ] ; then
644
+
645
+ eval "\"$_RUNJAVA\"" $LOGGING_MANAGER "$JAVA_OPTS" \
646
+ -D$ENDORSED_PROP="\"$JAVA_ENDORSED_DIRS\"" \
647
+ -classpath "\"$CLASSPATH\"" \
648
+ -Dcatalina.base="\"$CATALINA_BASE\"" \
649
+ -Dcatalina.home="\"$CATALINA_HOME\"" \
650
+ -Djava.io.tmpdir="\"$CATALINA_TMPDIR\"" \
651
+ org.apache.catalina.startup.Bootstrap configtest
652
+ result=$?
653
+ if [ $result -ne 0 ]; then
654
+ echo "Configuration error detected!"
655
+ fi
656
+ exit $result
657
+
658
+ elif [ "$1" = "version" ] ; then
659
+
660
+ "$_RUNJAVA" \
661
+ -classpath "$CATALINA_HOME/lib/catalina.jar" \
662
+ org.apache.catalina.util.ServerInfo
663
+
664
+ else
665
+
666
+ echo "Usage: catalina.sh ( commands ... )"
667
+ echo "commands:"
668
+ if $os400; then
669
+ echo " debug Start Catalina in a debugger (not available on OS400)"
670
+ echo " debug -security Debug Catalina with a security manager (not available on OS400)"
671
+ else
672
+ echo " debug Start Catalina in a debugger"
673
+ echo " debug -security Debug Catalina with a security manager"
674
+ fi
675
+ echo " jpda start Start Catalina under JPDA debugger"
676
+ echo " run Start Catalina in the current window"
677
+ echo " run -security Start in the current window with security manager"
678
+ echo " start Start Catalina in a separate window"
679
+ echo " start -security Start in a separate window with security manager"
680
+ echo " stop Stop Catalina, waiting up to 5 seconds for the process to end"
681
+ echo " stop n Stop Catalina, waiting up to n seconds for the process to end"
682
+ echo " stop -force Stop Catalina, wait up to 5 seconds and then use kill -KILL if still running"
683
+ echo " stop n -force Stop Catalina, wait up to n seconds and then use kill -KILL if still running"
684
+ echo " configtest Run a basic syntax check on server.xml - check exit code for result"
685
+ echo " version What version of tomcat are you running?"
686
+ echo "Note: Waiting for the process to end and use of the -force option require that \$CATALINA_PID is defined"
687
+ exit 1
688
+
689
+ fi