rubyfox-server 2.13.4.1 → 2.16.0.0

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