rubyfox-server 2.8.4.0 → 2.9.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (272) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE.txt +2 -2
  3. data/lib/rubyfox/server/data/config/ExtensionManagerLock.txt +2 -0
  4. data/lib/rubyfox/server/data/config/core.xml +9 -9
  5. data/lib/rubyfox/server/data/config/crossdomain.xml +1 -1
  6. data/lib/rubyfox/server/data/config/descriptors/config_room.txt +112 -3
  7. data/lib/rubyfox/server/data/config/descriptors/config_server.txt +550 -73
  8. data/lib/rubyfox/server/data/config/descriptors/config_zone.txt +11 -2
  9. data/lib/rubyfox/server/data/config/descriptors/runtime_mmo.txt +74 -0
  10. data/lib/rubyfox/server/data/config/descriptors/runtime_room.txt +33 -4
  11. data/lib/rubyfox/server/data/config/descriptors/runtime_user.txt +1 -1
  12. data/lib/rubyfox/server/data/config/descriptors/runtime_zone.txt +37 -5
  13. data/lib/rubyfox/server/data/config/keystore.jks +0 -0
  14. data/lib/rubyfox/server/data/config/log4j.properties +5 -1
  15. data/lib/rubyfox/server/data/config/logParser.properties +30 -0
  16. data/lib/rubyfox/server/data/config/server.xml +51 -9
  17. data/lib/rubyfox/server/data/config/templates/templates.dat +0 -0
  18. data/lib/rubyfox/server/data/lib/Lib/sfs2x-lib.jar +0 -0
  19. data/lib/rubyfox/server/data/lib/httpclient-4.3.3.jar +0 -0
  20. data/lib/rubyfox/server/data/lib/httpcore-4.3.2.jar +0 -0
  21. data/lib/rubyfox/server/data/lib/jetty/VERSION.txt +7576 -0
  22. data/lib/rubyfox/server/data/lib/jetty/etc/README.spnego +62 -0
  23. data/lib/rubyfox/server/data/lib/jetty/etc/jdbcRealm.properties +72 -0
  24. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-annotations.xml +20 -0
  25. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-debug.xml +23 -0
  26. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-deploy.xml +62 -0
  27. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-http.xml +41 -0
  28. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-https.xml +47 -0
  29. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-ipaccess.xml +31 -0
  30. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-jaas.xml +17 -0
  31. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-jmx-remote.xml +27 -0
  32. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-jmx.xml +43 -0
  33. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-logging.xml +36 -0
  34. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-lowresources.xml +22 -0
  35. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-monitor.xml +30 -0
  36. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-plus.xml +26 -0
  37. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-proxy.xml +35 -0
  38. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-requestlog.xml +32 -0
  39. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-rewrite.xml +41 -0
  40. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-setuid.xml +30 -0
  41. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-spdy-proxy.xml +158 -0
  42. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-spdy.xml +153 -0
  43. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-ssl.xml +41 -0
  44. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-started.xml +15 -0
  45. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-stats.xml +18 -0
  46. data/lib/rubyfox/server/data/lib/jetty/etc/jetty-xinetd.xml +54 -0
  47. data/lib/rubyfox/server/data/lib/jetty/etc/jetty.conf +12 -0
  48. data/lib/rubyfox/server/data/lib/jetty/etc/jetty.xml +160 -0
  49. data/lib/rubyfox/server/data/lib/jetty/etc/keystore +0 -0
  50. data/lib/rubyfox/server/data/lib/jetty/etc/krb5.ini +23 -0
  51. data/lib/rubyfox/server/data/lib/jetty/etc/spnego.conf +19 -0
  52. data/lib/rubyfox/server/data/lib/jetty/etc/spnego.properties +1 -0
  53. data/lib/rubyfox/server/data/lib/jetty/etc/webdefault.xml +540 -0
  54. data/lib/rubyfox/server/data/lib/jetty/lib/asm-4.1.jar +0 -0
  55. data/lib/rubyfox/server/data/lib/jetty/lib/asm-commons-4.1.jar +0 -0
  56. data/lib/rubyfox/server/data/lib/jetty/lib/ext/.donotdelete +0 -0
  57. data/lib/rubyfox/server/data/lib/jetty/lib/jaspi/javax.security.auth.message-1.0.0.v201108011116.jar +0 -0
  58. data/lib/rubyfox/server/data/lib/jetty/lib/javax.annotation-api-1.2.jar +0 -0
  59. data/lib/rubyfox/server/data/lib/jetty/lib/javax.el-3.0.0.jar +0 -0
  60. data/lib/rubyfox/server/data/lib/jetty/lib/javax.servlet.jsp-2.3.2.jar +0 -0
  61. data/lib/rubyfox/server/data/lib/jetty/lib/javax.servlet.jsp-api-2.3.1.jar +0 -0
  62. data/lib/rubyfox/server/data/lib/jetty/lib/javax.servlet.jsp.jstl-1.2.0.v201105211821.jar +0 -0
  63. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-annotations-9.1.1.v20140108.jar +0 -0
  64. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-client-9.1.1.v20140108.jar +0 -0
  65. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-continuation-9.1.1.v20140108.jar +0 -0
  66. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-deploy-9.1.1.v20140108.jar +0 -0
  67. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-http-9.1.1.v20140108.jar +0 -0
  68. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-io-9.1.1.v20140108.jar +0 -0
  69. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-jaas-9.1.1.v20140108.jar +0 -0
  70. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-jaspi-9.1.1.v20140108.jar +0 -0
  71. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-jmx-9.1.1.v20140108.jar +0 -0
  72. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-jndi-9.1.1.v20140108.jar +0 -0
  73. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-jsp-jdt-2.3.3.jar +0 -0
  74. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-plus-9.1.1.v20140108.jar +0 -0
  75. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-proxy-9.1.1.v20140108.jar +0 -0
  76. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-rewrite-9.1.1.v20140108.jar +0 -0
  77. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-schemas-3.1.jar +0 -0
  78. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-security-9.1.1.v20140108.jar +0 -0
  79. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-server-9.1.1.v20140108.jar +0 -0
  80. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-servlet-9.1.1.v20140108.jar +0 -0
  81. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-servlets-9.1.1.v20140108.jar +0 -0
  82. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-util-9.1.1.v20140108.jar +0 -0
  83. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-webapp-9.1.1.v20140108.jar +0 -0
  84. data/lib/rubyfox/server/data/lib/jetty/lib/jetty-xml-9.1.1.v20140108.jar +0 -0
  85. data/lib/rubyfox/server/data/lib/jetty/lib/jndi/javax.activation-1.1.0.v201105071233.jar +0 -0
  86. data/lib/rubyfox/server/data/lib/jetty/lib/jndi/javax.mail.glassfish-1.4.1.v201005082020.jar +0 -0
  87. data/lib/rubyfox/server/data/lib/jetty/lib/jndi/javax.transaction-api-1.2.jar +0 -0
  88. data/lib/rubyfox/server/data/lib/jetty/lib/monitor/jetty-monitor-9.1.1.v20140108.jar +0 -0
  89. data/lib/rubyfox/server/data/lib/jetty/lib/org.apache.taglibs.standard.glassfish-1.2.0.v201112081803.jar +0 -0
  90. data/lib/rubyfox/server/data/lib/jetty/lib/org.eclipse.jdt.core-3.8.2.v20130121.jar +0 -0
  91. data/lib/rubyfox/server/data/lib/jetty/lib/servlet-api-3.1.jar +0 -0
  92. data/lib/rubyfox/server/data/lib/jetty/lib/setuid/jetty-setuid-java-1.0.1.jar +0 -0
  93. data/lib/rubyfox/server/data/lib/jetty/lib/setuid/libsetuid-linux.so +0 -0
  94. data/lib/rubyfox/server/data/lib/jetty/lib/setuid/libsetuid-osx.so +0 -0
  95. data/lib/rubyfox/server/data/lib/jetty/lib/spdy/spdy-client-9.1.1.v20140108.jar +0 -0
  96. data/lib/rubyfox/server/data/lib/jetty/lib/spdy/spdy-core-9.1.1.v20140108.jar +0 -0
  97. data/lib/rubyfox/server/data/lib/jetty/lib/spdy/spdy-http-common-9.1.1.v20140108.jar +0 -0
  98. data/lib/rubyfox/server/data/lib/jetty/lib/spdy/spdy-http-server-9.1.1.v20140108.jar +0 -0
  99. data/lib/rubyfox/server/data/lib/jetty/lib/spdy/spdy-server-9.1.1.v20140108.jar +0 -0
  100. data/lib/rubyfox/server/data/lib/jetty/lib/start.jar +0 -0
  101. data/lib/rubyfox/server/data/lib/jetty/lib/websocket-api-9.1.1.v20140108.jar +0 -0
  102. data/lib/rubyfox/server/data/lib/jetty/lib/websocket/javax-websocket-client-impl-9.1.1.v20140108.jar +0 -0
  103. data/lib/rubyfox/server/data/lib/jetty/lib/websocket/javax-websocket-server-impl-9.1.1.v20140108.jar +0 -0
  104. data/lib/rubyfox/server/data/lib/jetty/lib/websocket/javax.websocket-api-1.0.jar +0 -0
  105. data/lib/rubyfox/server/data/lib/jetty/lib/websocket/websocket-client-9.1.1.v20140108.jar +0 -0
  106. data/lib/rubyfox/server/data/lib/jetty/lib/websocket/websocket-common-9.1.1.v20140108.jar +0 -0
  107. data/lib/rubyfox/server/data/lib/jetty/lib/websocket/websocket-server-9.1.1.v20140108.jar +0 -0
  108. data/lib/rubyfox/server/data/lib/jetty/lib/websocket/websocket-servlet-9.1.1.v20140108.jar +0 -0
  109. data/lib/rubyfox/server/data/lib/jetty/license-eplv10-aslv20.html +576 -0
  110. data/lib/rubyfox/server/data/lib/jetty/modules/.donotdelete +0 -0
  111. data/lib/rubyfox/server/data/lib/jetty/modules/annotations.mod +17 -0
  112. data/lib/rubyfox/server/data/lib/jetty/modules/client.mod +6 -0
  113. data/lib/rubyfox/server/data/lib/jetty/modules/continuation.mod +6 -0
  114. data/lib/rubyfox/server/data/lib/jetty/modules/debug.mod +9 -0
  115. data/lib/rubyfox/server/data/lib/jetty/modules/deploy.mod +15 -0
  116. data/lib/rubyfox/server/data/lib/jetty/modules/ext.mod +11 -0
  117. data/lib/rubyfox/server/data/lib/jetty/modules/http.mod +14 -0
  118. data/lib/rubyfox/server/data/lib/jetty/modules/https.mod +16 -0
  119. data/lib/rubyfox/server/data/lib/jetty/modules/ipaccess.mod +9 -0
  120. data/lib/rubyfox/server/data/lib/jetty/modules/jaas.mod +16 -0
  121. data/lib/rubyfox/server/data/lib/jetty/modules/jaspi.mod +10 -0
  122. data/lib/rubyfox/server/data/lib/jetty/modules/jmx-remote.mod +18 -0
  123. data/lib/rubyfox/server/data/lib/jetty/modules/jmx.mod +10 -0
  124. data/lib/rubyfox/server/data/lib/jetty/modules/jndi.mod +11 -0
  125. data/lib/rubyfox/server/data/lib/jetty/modules/jsp.mod +14 -0
  126. data/lib/rubyfox/server/data/lib/jetty/modules/jvm.mod +23 -0
  127. data/lib/rubyfox/server/data/lib/jetty/modules/logging.mod +27 -0
  128. data/lib/rubyfox/server/data/lib/jetty/modules/lowresources.mod +18 -0
  129. data/lib/rubyfox/server/data/lib/jetty/modules/monitor.mod +13 -0
  130. data/lib/rubyfox/server/data/lib/jetty/modules/npn.mod +32 -0
  131. data/lib/rubyfox/server/data/lib/jetty/modules/npn/npn-1.7.0_10.mod +9 -0
  132. data/lib/rubyfox/server/data/lib/jetty/modules/npn/npn-1.7.0_11.mod +9 -0
  133. data/lib/rubyfox/server/data/lib/jetty/modules/npn/npn-1.7.0_13.mod +9 -0
  134. data/lib/rubyfox/server/data/lib/jetty/modules/npn/npn-1.7.0_15.mod +9 -0
  135. data/lib/rubyfox/server/data/lib/jetty/modules/npn/npn-1.7.0_17.mod +9 -0
  136. data/lib/rubyfox/server/data/lib/jetty/modules/npn/npn-1.7.0_21.mod +9 -0
  137. data/lib/rubyfox/server/data/lib/jetty/modules/npn/npn-1.7.0_25.mod +9 -0
  138. data/lib/rubyfox/server/data/lib/jetty/modules/npn/npn-1.7.0_4.mod +9 -0
  139. data/lib/rubyfox/server/data/lib/jetty/modules/npn/npn-1.7.0_40.mod +9 -0
  140. data/lib/rubyfox/server/data/lib/jetty/modules/npn/npn-1.7.0_45.mod +9 -0
  141. data/lib/rubyfox/server/data/lib/jetty/modules/npn/npn-1.7.0_5.mod +9 -0
  142. data/lib/rubyfox/server/data/lib/jetty/modules/npn/npn-1.7.0_6.mod +9 -0
  143. data/lib/rubyfox/server/data/lib/jetty/modules/npn/npn-1.7.0_7.mod +9 -0
  144. data/lib/rubyfox/server/data/lib/jetty/modules/npn/npn-1.7.0_9.mod +9 -0
  145. data/lib/rubyfox/server/data/lib/jetty/modules/plus.mod +14 -0
  146. data/lib/rubyfox/server/data/lib/jetty/modules/proxy.mod +22 -0
  147. data/lib/rubyfox/server/data/lib/jetty/modules/requestlog.mod +26 -0
  148. data/lib/rubyfox/server/data/lib/jetty/modules/resources.mod +10 -0
  149. data/lib/rubyfox/server/data/lib/jetty/modules/rewrite.mod +12 -0
  150. data/lib/rubyfox/server/data/lib/jetty/modules/security.mod +9 -0
  151. data/lib/rubyfox/server/data/lib/jetty/modules/server.mod +38 -0
  152. data/lib/rubyfox/server/data/lib/jetty/modules/servlet.mod +9 -0
  153. data/lib/rubyfox/server/data/lib/jetty/modules/servlets.mod +10 -0
  154. data/lib/rubyfox/server/data/lib/jetty/modules/setuid.mod +19 -0
  155. data/lib/rubyfox/server/data/lib/jetty/modules/spdy.mod +23 -0
  156. data/lib/rubyfox/server/data/lib/jetty/modules/ssl.mod +29 -0
  157. data/lib/rubyfox/server/data/lib/jetty/modules/stats.mod +9 -0
  158. data/lib/rubyfox/server/data/lib/jetty/modules/webapp.mod +10 -0
  159. data/lib/rubyfox/server/data/lib/jetty/modules/websocket.mod +12 -0
  160. data/lib/rubyfox/server/data/lib/jetty/modules/xinetd.mod +17 -0
  161. data/lib/rubyfox/server/data/lib/jetty/notice.html +111 -0
  162. data/lib/rubyfox/server/data/lib/jetty/resources/.keep +0 -0
  163. data/lib/rubyfox/server/data/lib/jetty/start.d/README.TXT +24 -0
  164. data/lib/rubyfox/server/data/lib/jetty/start.d/http.ini +7 -0
  165. data/lib/rubyfox/server/data/lib/jetty/start.d/https.ini +9 -0
  166. data/lib/rubyfox/server/data/lib/jetty/start.d/ssl.ini +19 -0
  167. data/lib/rubyfox/server/data/lib/jetty/start.ini +84 -0
  168. data/lib/rubyfox/server/data/lib/jetty/webapps/.keep +0 -0
  169. data/lib/rubyfox/server/data/lib/logs-analysis-app.jar +0 -0
  170. data/lib/rubyfox/server/data/lib/netty-3.9.0.Final.jar +0 -0
  171. data/lib/rubyfox/server/data/lib/scala-library.jar +0 -0
  172. data/lib/rubyfox/server/data/lib/sfs2x-admin.jar +0 -0
  173. data/lib/rubyfox/server/data/lib/sfs2x-core.jar +0 -0
  174. data/lib/rubyfox/server/data/lib/sfs2x-lib.jar +0 -0
  175. data/lib/rubyfox/server/data/lib/sfs2x-util.jar +0 -0
  176. data/lib/rubyfox/server/data/lib/sfs2x.jar +0 -0
  177. data/lib/rubyfox/server/data/lib/slf4j-api-1.7.5.jar +0 -0
  178. data/lib/rubyfox/server/data/lib/slf4j-log4j12-1.7.5.jar +0 -0
  179. data/lib/rubyfox/server/data/sfs2x-service +9 -9
  180. data/lib/rubyfox/server/data/sfs2x-service.vmoptions +1 -1
  181. data/lib/rubyfox/server/data/sfs2x.sh +6 -6
  182. data/lib/rubyfox/server/data/www/root/admin/AdminTool.swf +0 -0
  183. data/lib/rubyfox/server/data/www/root/admin/ReleaseNotes.txt +23 -0
  184. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/bannedIPs.png +0 -0
  185. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/bannedUsernames.png +0 -0
  186. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/bookmarks.png +0 -0
  187. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/bootLog.png +0 -0
  188. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/connection.png +0 -0
  189. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/globalServerStatus.png +0 -0
  190. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/logsDownload.png +0 -0
  191. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/mMOSettings.png +0 -0
  192. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/permissionsAndEvents.png +0 -0
  193. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/roomExtension.png +0 -0
  194. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/roomVariables.png +0 -0
  195. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/runtimeLog.png +0 -0
  196. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/runtimeRoomSettings.png +0 -0
  197. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/runtimeUserSettings.png +0 -0
  198. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/runtimeZoneSettings.png +0 -0
  199. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/statsApplication.png +0 -0
  200. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/statsDemographics.png +0 -0
  201. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/statsExceptions.png +0 -0
  202. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/statsOverview.png +0 -0
  203. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/statsTechnology.png +0 -0
  204. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/systemQueueStatus.png +0 -0
  205. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/threadPools.png +0 -0
  206. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/userManagement.png +0 -0
  207. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/zoneExtension.png +0 -0
  208. data/lib/rubyfox/server/data/www/root/admin/assets/icons/tabs/zoneTraffic.png +0 -0
  209. data/lib/rubyfox/server/data/www/root/admin/index.html +4 -16
  210. data/lib/rubyfox/server/data/www/root/admin/modules/Analytics/Analytics.swf +0 -0
  211. data/lib/rubyfox/server/data/www/root/admin/modules/BanManager/BanManager.swf +0 -0
  212. data/lib/rubyfox/server/data/www/root/admin/modules/BlueBoxMonitor/BlueBoxMonitor.swf +0 -0
  213. data/lib/rubyfox/server/data/www/root/admin/modules/Dashboard/Dashboard.swf +0 -0
  214. data/lib/rubyfox/server/data/www/root/admin/modules/ExtensionManager/ExtensionManager.swf +0 -0
  215. data/lib/rubyfox/server/data/www/root/admin/modules/ExtensionManager/icon.png +0 -0
  216. data/lib/rubyfox/server/data/www/root/admin/modules/LicenseManager/LicenseManager.swf +0 -0
  217. data/lib/rubyfox/server/data/www/root/admin/modules/LogViewer/LogViewer.swf +0 -0
  218. data/lib/rubyfox/server/data/www/root/admin/modules/ServerConfigurator/ServerConfigurator.swf +0 -0
  219. data/lib/rubyfox/server/data/www/root/admin/modules/ZoneConfigurator/ZoneConfigurator.swf +0 -0
  220. data/lib/rubyfox/server/data/www/root/admin/modules/ZoneMonitor/ZoneMonitor.swf +0 -0
  221. data/lib/rubyfox/server/data/www/root/admin/modules/config.xml +1 -0
  222. data/lib/rubyfox/server/data/www/root/favicon.ico +0 -0
  223. data/lib/rubyfox/server/data/www/root/favicon.png +0 -0
  224. data/lib/rubyfox/server/data/www/sfs2x-ws.war +0 -0
  225. data/lib/rubyfox/server/data/www/sfs2x-ws.xml +30 -0
  226. data/lib/rubyfox/server/version.rb +1 -1
  227. data/rubyfox-server.gemspec +1 -0
  228. metadata +171 -48
  229. data/.rvmrc +0 -1
  230. data/lib/rubyfox/server/data/config/jetty/jetty.xml +0 -214
  231. data/lib/rubyfox/server/data/config/jetty/realm.properties +0 -21
  232. data/lib/rubyfox/server/data/config/jetty/webdefault.xml +0 -410
  233. data/lib/rubyfox/server/data/config/myprop.properties +0 -5
  234. data/lib/rubyfox/server/data/data/bannedusers/users.bin +0 -0
  235. data/lib/rubyfox/server/data/data/buddylists/BasicExamples/7364666773646667 +0 -0
  236. data/lib/rubyfox/server/data/lib/Jetty/ant-1.6.5.jar +0 -0
  237. data/lib/rubyfox/server/data/lib/Jetty/core-3.1.1.jar +0 -0
  238. data/lib/rubyfox/server/data/lib/Jetty/jetty-6.1.26.jar +0 -0
  239. data/lib/rubyfox/server/data/lib/Jetty/jetty-util-6.1.26.jar +0 -0
  240. data/lib/rubyfox/server/data/lib/Jetty/jsp-2.1-glassfish-2.1.v20091210.jar +0 -0
  241. data/lib/rubyfox/server/data/lib/Jetty/jsp-2.1-jetty-6.1.26.jar +0 -0
  242. data/lib/rubyfox/server/data/lib/Jetty/jsp-api-2.1-glassfish-2.1.v20091210.jar +0 -0
  243. data/lib/rubyfox/server/data/lib/Jetty/servlet-api-2.5-20081211.jar +0 -0
  244. data/lib/rubyfox/server/data/lib/extras/slf4j-jdk14-1.5.10.jar +0 -0
  245. data/lib/rubyfox/server/data/lib/httpclient-4.0.3.jar +0 -0
  246. data/lib/rubyfox/server/data/lib/httpcore-4.0.1.jar +0 -0
  247. data/lib/rubyfox/server/data/lib/jconsole/COPYING.txt +0 -504
  248. data/lib/rubyfox/server/data/lib/jconsole/bug_test_case.py +0 -49
  249. data/lib/rubyfox/server/data/lib/jconsole/console$py.class +0 -0
  250. data/lib/rubyfox/server/data/lib/jconsole/console.py +0 -439
  251. data/lib/rubyfox/server/data/lib/jconsole/history$py.class +0 -0
  252. data/lib/rubyfox/server/data/lib/jconsole/history.py +0 -82
  253. data/lib/rubyfox/server/data/lib/jconsole/history_test_case.py +0 -133
  254. data/lib/rubyfox/server/data/lib/jconsole/introspect$py.class +0 -0
  255. data/lib/rubyfox/server/data/lib/jconsole/introspect.py +0 -373
  256. data/lib/rubyfox/server/data/lib/jconsole/introspect_test_case.py +0 -19
  257. data/lib/rubyfox/server/data/lib/jconsole/issue_17_test_case.py +0 -36
  258. data/lib/rubyfox/server/data/lib/jconsole/jintrospect$py.class +0 -0
  259. data/lib/rubyfox/server/data/lib/jconsole/jintrospect.py +0 -316
  260. data/lib/rubyfox/server/data/lib/jconsole/jintrospect_test_case.py +0 -107
  261. data/lib/rubyfox/server/data/lib/jconsole/popup$py.class +0 -0
  262. data/lib/rubyfox/server/data/lib/jconsole/popup.py +0 -178
  263. data/lib/rubyfox/server/data/lib/jconsole/run_tests.py +0 -8
  264. data/lib/rubyfox/server/data/lib/jconsole/static_test_case.py +0 -36
  265. data/lib/rubyfox/server/data/lib/jconsole/testcase.py +0 -38
  266. data/lib/rubyfox/server/data/lib/jconsole/tip$py.class +0 -0
  267. data/lib/rubyfox/server/data/lib/jconsole/tip.py +0 -47
  268. data/lib/rubyfox/server/data/lib/slf4j-api-1.5.10.jar +0 -0
  269. data/lib/rubyfox/server/data/lib/slf4j-log4j12.jar +0 -0
  270. data/lib/rubyfox/server/data/lib/ws-engine.jar +0 -0
  271. data/lib/rubyfox/server/data/www/BlueBox.war +0 -0
  272. data/lib/rubyfox/server/data/www/root/admin/AdminTool.html +0 -120
@@ -0,0 +1,41 @@
1
+ <?xml version="1.0"?>
2
+ <!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_0.dtd">
3
+
4
+ <!-- ============================================================= -->
5
+ <!-- Configure a TLS (SSL) Context Factory -->
6
+ <!-- This configuration must be used in conjunction with jetty.xml -->
7
+ <!-- and either jetty-https.xml or jetty-spdy.xml (but not both) -->
8
+ <!-- ============================================================= -->
9
+ <Configure id="sslContextFactory" class="org.eclipse.jetty.util.ssl.SslContextFactory">
10
+ <Set name="KeyStorePath"><Property name="jetty.base" default="." />/<Property name="jetty.keystore" default="etc/keystore"/></Set>
11
+ <Set name="KeyStorePassword"><Property name="jetty.keystore.password" default="OBF:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4"/></Set>
12
+ <Set name="KeyManagerPassword"><Property name="jetty.keymanager.password" default="OBF:1u2u1wml1z7s1z7a1wnl1u2g"/></Set>
13
+ <Set name="TrustStorePath"><Property name="jetty.base" default="." />/<Property name="jetty.truststore" default="etc/keystore"/></Set>
14
+ <Set name="TrustStorePassword"><Property name="jetty.truststore.password" default="OBF:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4"/></Set>
15
+ <Set name="EndpointIdentificationAlgorithm"></Set>
16
+ <Set name="ExcludeCipherSuites">
17
+ <Array type="String">
18
+ <Item>SSL_RSA_WITH_DES_CBC_SHA</Item>
19
+ <Item>SSL_DHE_RSA_WITH_DES_CBC_SHA</Item>
20
+ <Item>SSL_DHE_DSS_WITH_DES_CBC_SHA</Item>
21
+ <Item>SSL_RSA_EXPORT_WITH_RC4_40_MD5</Item>
22
+ <Item>SSL_RSA_EXPORT_WITH_DES40_CBC_SHA</Item>
23
+ <Item>SSL_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA</Item>
24
+ <Item>SSL_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA</Item>
25
+ </Array>
26
+ </Set>
27
+
28
+ <!-- =========================================================== -->
29
+ <!-- Create a TLS specific HttpConfiguration based on the -->
30
+ <!-- common HttpConfiguration defined in jetty.xml -->
31
+ <!-- Add a SecureRequestCustomizer to extract certificate and -->
32
+ <!-- session information -->
33
+ <!-- =========================================================== -->
34
+ <New id="sslHttpConfig" class="org.eclipse.jetty.server.HttpConfiguration">
35
+ <Arg><Ref refid="httpConfig"/></Arg>
36
+ <Call name="addCustomizer">
37
+ <Arg><New class="org.eclipse.jetty.server.SecureRequestCustomizer"/></Arg>
38
+ </Call>
39
+ </New>
40
+
41
+ </Configure>
@@ -0,0 +1,15 @@
1
+ <?xml version="1.0"?>
2
+ <!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_0.dtd">
3
+
4
+ <!-- =============================================================== -->
5
+ <!-- Mixin the Start FileNoticeLifeCycleListener -->
6
+ <!-- =============================================================== -->
7
+ <Configure id="Server" class="org.eclipse.jetty.server.Server">
8
+ <Call name="addLifeCycleListener">
9
+ <Arg>
10
+ <New class="org.eclipse.jetty.util.component.FileNoticeLifeCycleListener">
11
+ <Arg><SystemProperty name="jetty.state" default="./jetty.state"/></Arg>
12
+ </New>
13
+ </Arg>
14
+ </Call>
15
+ </Configure>
@@ -0,0 +1,18 @@
1
+ <?xml version="1.0"?>
2
+ <!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_0.dtd">
3
+
4
+ <!-- =============================================================== -->
5
+ <!-- Mixin the Statistics Handler -->
6
+ <!-- =============================================================== -->
7
+
8
+ <Configure id="Server" class="org.eclipse.jetty.server.Server">
9
+ <Get id="oldhandler" name="handler" />
10
+ <Set name="handler">
11
+ <New id="StatsHandler" class="org.eclipse.jetty.server.handler.StatisticsHandler">
12
+ <Set name="handler"><Ref refid="oldhandler" /></Set>
13
+ </New>
14
+ </Set>
15
+ <Call class="org.eclipse.jetty.server.ConnectorStatistics" name="addToAllConnectors">
16
+ <Arg><Ref refid="Server"/></Arg>
17
+ </Call>
18
+ </Configure>
@@ -0,0 +1,54 @@
1
+ <?xml version="1.0"?>
2
+ <!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_0.dtd">
3
+
4
+ <!-- =============================================================== -->
5
+ <!-- Configuration for starting up Jetty using inetd/xinetd -->
6
+ <!-- This feature requires at least Java 5 -->
7
+ <!-- -->
8
+ <!-- Making it a mixin for convenience, but note that if used -->
9
+ <!-- with jetty.xml, Jetty will use multiple connectors -->
10
+ <!-- =============================================================== -->
11
+
12
+ <!-- Sample xinetd configuration (restart xinetd after adding the configuration file)
13
+
14
+ service jetty
15
+ {
16
+ disable = no
17
+
18
+ id = jetty
19
+ type = UNLISTED
20
+ wait = yes
21
+ socket_type = stream
22
+
23
+ # change this
24
+ user = username
25
+ group = groupname
26
+ port = 2001
27
+
28
+ # sample script for running jetty as a service
29
+ # replace $JETTY_HOME with /path/to/jetty_home/
30
+ server = $JETTY_HOME/bin/jetty-xinetd.sh
31
+ }
32
+
33
+ -->
34
+
35
+ <Configure id="Server" class="org.eclipse.jetty.server.Server">
36
+ <Call name="addConnector">
37
+ <Arg>
38
+ <!-- Inherited channel (from inetd/xinetd) -->
39
+ <New class="org.eclipse.jetty.server.nio.InheritedChannelConnector">
40
+
41
+
42
+ <!-- Optional. Fallback in case System.inheritedChannel() does not give a ServerSocketChannel
43
+ <Set name="port"><Property name="jetty.service.port" default="8082"/></Set>
44
+ -->
45
+
46
+ <!-- sane defaults -->
47
+ <Set name="idleTimeout"><Property name="jetty.xinetd.idleTimeout" default="300000"/></Set>
48
+ <Set name="Acceptors"><Property name="jetty.xinetd.acceptors" default="2"/></Set>
49
+ <Set name="statsOn"><Property name="jetty.xinetd.statsOn" default="false"/></Set>
50
+ </New>
51
+ </Arg>
52
+ </Call>
53
+ </Configure>
54
+
@@ -0,0 +1,12 @@
1
+ # ========================================================
2
+ # jetty.conf Configuration for jetty.sh script
3
+ # --------------------------------------------------------
4
+ # This file is used by the jetty.sh script to provide
5
+ # extra configuration arguments for the start.jar command
6
+ # created by that script.
7
+ #
8
+ # Each line in this file becomes an arguement to start.jar
9
+ # in addition to those found in the start.ini file
10
+ # =======================================================
11
+ jetty-logging.xml
12
+ jetty-started.xml
@@ -0,0 +1,160 @@
1
+ <?xml version="1.0"?>
2
+ <!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_0.dtd">
3
+
4
+ <!-- =============================================================== -->
5
+ <!-- Documentation of this file format can be found at: -->
6
+ <!-- http://wiki.eclipse.org/Jetty/Reference/jetty.xml_syntax -->
7
+ <!-- -->
8
+ <!-- Additional configuration files are available in $JETTY_HOME/etc -->
9
+ <!-- and can be mixed in. See start.ini file for the default -->
10
+ <!-- configuration files. -->
11
+ <!-- -->
12
+ <!-- For a description of the configuration mechanism, see the -->
13
+ <!-- output of: -->
14
+ <!-- java -jar start.jar -? -->
15
+ <!-- =============================================================== -->
16
+
17
+ <!-- =============================================================== -->
18
+ <!-- Configure a Jetty Server instance with an ID "Server" -->
19
+ <!-- Other configuration files may also configure the "Server" -->
20
+ <!-- ID, in which case they are adding configuration to the same -->
21
+ <!-- instance. If other configuration have a different ID, they -->
22
+ <!-- will create and configure another instance of Jetty. -->
23
+ <!-- Consult the javadoc of o.e.j.server.Server for all -->
24
+ <!-- configuration that may be set here. -->
25
+ <!-- =============================================================== -->
26
+ <Configure id="Server" class="org.eclipse.jetty.server.Server">
27
+
28
+ <!-- =========================================================== -->
29
+ <!-- Configure the Server Thread Pool. -->
30
+ <!-- The server holds a common thread pool which is used by -->
31
+ <!-- default as the executor used by all connectors and servlet -->
32
+ <!-- dispatches. -->
33
+ <!-- -->
34
+ <!-- Configuring a fixed thread pool is vital to controlling the -->
35
+ <!-- maximal memory footprint of the server and is a key tuning -->
36
+ <!-- parameter for tuning. In an application that rarely blocks -->
37
+ <!-- then maximal threads may be close to the number of 5*CPUs. -->
38
+ <!-- In an application that frequently blocks, then maximal -->
39
+ <!-- threads should be set as high as possible given the memory -->
40
+ <!-- available. -->
41
+ <!-- -->
42
+ <!-- Consult the javadoc of o.e.j.util.thread.QueuedThreadPool -->
43
+ <!-- for all configuration that may be set here. -->
44
+ <!-- =========================================================== -->
45
+ <!-- uncomment to change type of threadpool
46
+ <Arg name="threadpool"><New id="threadpool" class="org.eclipse.jetty.util.thread.QueuedThreadPool"/></Arg>
47
+ -->
48
+ <Get name="ThreadPool">
49
+ <Set name="minThreads" type="int"><Property name="threads.min" default="10"/></Set>
50
+ <Set name="maxThreads" type="int"><Property name="threads.max" default="200"/></Set>
51
+ <Set name="idleTimeout" type="int"><Property name="threads.timeout" default="60000"/></Set>
52
+ <Set name="detailedDump">false</Set>
53
+ </Get>
54
+
55
+ <!-- =========================================================== -->
56
+ <!-- Add shared Scheduler instance -->
57
+ <!-- =========================================================== -->
58
+ <Call name="addBean">
59
+ <Arg>
60
+ <New class="org.eclipse.jetty.util.thread.ScheduledExecutorScheduler"/>
61
+ </Arg>
62
+ </Call>
63
+
64
+ <!-- =========================================================== -->
65
+ <!-- Http Configuration. -->
66
+ <!-- This is a common configuration instance used by all -->
67
+ <!-- connectors that can carry HTTP semantics (HTTP, HTTPS, SPDY)-->
68
+ <!-- It configures the non wire protocol aspects of the HTTP -->
69
+ <!-- semantic. -->
70
+ <!-- -->
71
+ <!-- This configuration is only defined here and is used by -->
72
+ <!-- reference from the jetty-http.xml, jetty-https.xml and -->
73
+ <!-- jetty-spdy.xml configuration files which instantiate the -->
74
+ <!-- connectors. -->
75
+ <!-- -->
76
+ <!-- Consult the javadoc of o.e.j.server.HttpConfiguration -->
77
+ <!-- for all configuration that may be set here. -->
78
+ <!-- =========================================================== -->
79
+ <New id="httpConfig" class="org.eclipse.jetty.server.HttpConfiguration">
80
+ <Set name="secureScheme">https</Set>
81
+ <Set name="securePort"><Property name="jetty.secure.port" default="8443" /></Set>
82
+ <Set name="outputBufferSize">32768</Set>
83
+ <Set name="requestHeaderSize">8192</Set>
84
+ <Set name="responseHeaderSize">8192</Set>
85
+ <Set name="sendServerVersion">true</Set>
86
+ <Set name="sendDateHeader">false</Set>
87
+ <Set name="headerCacheSize">512</Set>
88
+
89
+ <!-- Uncomment to enable handling of X-Forwarded- style headers
90
+ <Call name="addCustomizer">
91
+ <Arg><New class="org.eclipse.jetty.server.ForwardedRequestCustomizer"/></Arg>
92
+ </Call>
93
+ -->
94
+ </New>
95
+
96
+
97
+ <!-- =========================================================== -->
98
+ <!-- Set the default handler structure for the Server -->
99
+ <!-- A handler collection is used to pass received requests to -->
100
+ <!-- both the ContextHandlerCollection, which selects the next -->
101
+ <!-- handler by context path and virtual host, and the -->
102
+ <!-- DefaultHandler, which handles any requests not handled by -->
103
+ <!-- the context handlers. -->
104
+ <!-- Other handlers may be added to the "Handlers" collection, -->
105
+ <!-- for example the jetty-requestlog.xml file adds the -->
106
+ <!-- RequestLogHandler after the default handler -->
107
+ <!-- =========================================================== -->
108
+ <Set name="handler">
109
+ <New id="Handlers" class="org.eclipse.jetty.server.handler.HandlerCollection">
110
+ <Set name="handlers">
111
+ <Array type="org.eclipse.jetty.server.Handler">
112
+ <Item>
113
+ <New id="Contexts" class="org.eclipse.jetty.server.handler.ContextHandlerCollection"/>
114
+ </Item>
115
+ <Item>
116
+ <New id="DefaultHandler" class="org.eclipse.jetty.server.handler.DefaultHandler"/>
117
+ </Item>
118
+ </Array>
119
+ </Set>
120
+ </New>
121
+ </Set>
122
+
123
+ <Set name="handler">
124
+ <New id="Handlers" class="org.eclipse.jetty.server.handler.HandlerCollection">
125
+ <Set name="handlers">
126
+ <Array type="org.eclipse.jetty.server.Handler">
127
+ <Item>
128
+ <New id="Contexts" class="org.eclipse.jetty.server.handler.ContextHandlerCollection"/>
129
+ </Item>
130
+ <Item>
131
+ <New id="DefaultHandler" class="org.eclipse.jetty.server.handler.DefaultHandler"/>
132
+ </Item>
133
+ <Item>
134
+ <New id="RequestLog" class="org.eclipse.jetty.server.handler.RequestLogHandler"/>
135
+ </Item>
136
+ </Array>
137
+ </Set>
138
+ </New>
139
+ </Set>
140
+ <Ref refid="RequestLog">
141
+ <Set name="requestLog">
142
+ <New id="RequestLogImpl" class="org.eclipse.jetty.server.NCSARequestLog">
143
+ <Arg><SystemProperty name="jetty.logs" default="logs/http/"/>/yyyy_mm_dd.request.log</Arg>
144
+ <Set name="retainDays">90</Set>
145
+ <Set name="append">true</Set>
146
+ <Set name="extended">false</Set>
147
+ <Set name="LogTimeZone">GMT</Set>
148
+ </New>
149
+ </Set>
150
+ </Ref>
151
+
152
+ <!-- =========================================================== -->
153
+ <!-- extra server options -->
154
+ <!-- =========================================================== -->
155
+ <Set name="stopAtShutdown">true</Set>
156
+ <Set name="stopTimeout">5000</Set>
157
+ <Set name="dumpAfterStart"><Property name="jetty.dump.start" default="false"/></Set>
158
+ <Set name="dumpBeforeStop"><Property name="jetty.dump.stop" default="false"/></Set>
159
+
160
+ </Configure>
@@ -0,0 +1,23 @@
1
+ [libdefaults]
2
+ default_realm = MORTBAY.ORG
3
+ default_keytab_name = FILE:/path/to/jetty/etc/krb5.keytab
4
+ permitted_enctypes = aes128-cts aes256-cts arcfour-hmac-md5
5
+ default_tgs_enctypes = aes128-cts aes256-cts arcfour-hmac-md5
6
+ default_tkt_enctypes = aes128-cts aes256-cts arcfour-hmac-md5
7
+
8
+
9
+
10
+ [realms]
11
+ MORTBAY.ORG = {
12
+ kdc = 192.168.2.30
13
+ admin_server = 192.168.2.30
14
+ default_domain = MORTBAY.ORG
15
+ }
16
+
17
+ [domain_realm]
18
+ mortbay.org= MORTBAY.ORG
19
+ .mortbay.org = MORTBAY.ORG
20
+
21
+ [appdefaults]
22
+ autologin = true
23
+ forwardable = true
@@ -0,0 +1,19 @@
1
+ com.sun.security.jgss.initiate {
2
+ com.sun.security.auth.module.Krb5LoginModule required
3
+ principal="HTTP/vm.mortbay.org@MORTBAY.ORG"
4
+ keyTab="/path/to/jetty/etc/krb5.keytab"
5
+ useKeyTab=true
6
+ storeKey=true
7
+ debug=true
8
+ isInitiator=false;
9
+ };
10
+
11
+ com.sun.security.jgss.accept {
12
+ com.sun.security.auth.module.Krb5LoginModule required
13
+ principal="HTTP/vm.mortbay.org@MORTBAY.ORG"
14
+ useKeyTab=true
15
+ keyTab="/path/to/jetty/etc/krb5.keytab"
16
+ storeKey=true
17
+ debug=true
18
+ isInitiator=false;
19
+ };
@@ -0,0 +1 @@
1
+ targetName = HTTP/vm.mortbay.org
@@ -0,0 +1,540 @@
1
+ <?xml version="1.0" encoding="ISO-8859-1"?>
2
+ <web-app
3
+ xmlns="http://xmlns.jcp.org/xml/ns/javaee"
4
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5
+ xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
6
+ metadata-complete="false"
7
+ version="3.1">
8
+
9
+ <!-- ===================================================================== -->
10
+ <!-- This file contains the default descriptor for web applications. -->
11
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
12
+ <!-- The intent of this descriptor is to include jetty specific or common -->
13
+ <!-- configuration for all webapps. If a context has a webdefault.xml -->
14
+ <!-- descriptor, it is applied before the contexts own web.xml file -->
15
+ <!-- -->
16
+ <!-- A context may be assigned a default descriptor by: -->
17
+ <!-- + Calling WebApplicationContext.setDefaultsDescriptor -->
18
+ <!-- + Passed an arg to addWebApplications -->
19
+ <!-- -->
20
+ <!-- This file is used both as the resource within the jetty.jar (which is -->
21
+ <!-- used as the default if no explicit defaults descriptor is set) and it -->
22
+ <!-- is copied to the etc directory of the Jetty distro and explicitly -->
23
+ <!-- by the jetty.xml file. -->
24
+ <!-- -->
25
+ <!-- ===================================================================== -->
26
+
27
+ <description>
28
+ Default web.xml file.
29
+ This file is applied to a Web application before it's own WEB_INF/web.xml file
30
+ </description>
31
+
32
+ <!-- ==================================================================== -->
33
+ <!-- Removes static references to beans from javax.el.BeanELResolver to -->
34
+ <!-- ensure webapp classloader can be released on undeploy -->
35
+ <!-- ==================================================================== -->
36
+ <listener>
37
+ <listener-class>org.eclipse.jetty.servlet.listener.ELContextCleaner</listener-class>
38
+ </listener>
39
+
40
+ <!-- ==================================================================== -->
41
+ <!-- Removes static cache of Methods from java.beans.Introspector to -->
42
+ <!-- ensure webapp classloader can be released on undeploy -->
43
+ <!-- ==================================================================== -->
44
+ <listener>
45
+ <listener-class>org.eclipse.jetty.servlet.listener.IntrospectorCleaner</listener-class>
46
+ </listener>
47
+
48
+
49
+ <!-- ==================================================================== -->
50
+ <!-- Context params to control Session Cookies -->
51
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
52
+ <!--
53
+ UNCOMMENT TO ACTIVATE
54
+ <context-param>
55
+ <param-name>org.eclipse.jetty.servlet.SessionDomain</param-name>
56
+ <param-value>127.0.0.1</param-value>
57
+ </context-param>
58
+ <context-param>
59
+ <param-name>org.eclipse.jetty.servlet.SessionPath</param-name>
60
+ <param-value>/</param-value>
61
+ </context-param>
62
+ <context-param>
63
+ <param-name>org.eclipse.jetty.servlet.MaxAge</param-name>
64
+ <param-value>-1</param-value>
65
+ </context-param>
66
+ -->
67
+
68
+ <!-- By default no directory listing is allowed -->
69
+ <context-param>
70
+ <param-name>org.eclipse.jetty.servlet.Default.dirAllowed</param-name>
71
+ <param-value>false</param-value>
72
+ </context-param>
73
+
74
+ <!-- ==================================================================== -->
75
+ <!-- The default servlet. -->
76
+ <!-- This servlet, normally mapped to /, provides the handling for static -->
77
+ <!-- content, OPTIONS and TRACE methods for the context. -->
78
+ <!-- The following initParameters are supported: -->
79
+ <!--
80
+ * acceptRanges If true, range requests and responses are
81
+ * supported
82
+ *
83
+ * dirAllowed If true, directory listings are returned if no
84
+ * welcome file is found. Else 403 Forbidden.
85
+ *
86
+ * welcomeServlets If true, attempt to dispatch to welcome files
87
+ * that are servlets, but only after no matching static
88
+ * resources could be found. If false, then a welcome
89
+ * file must exist on disk. If "exact", then exact
90
+ * servlet matches are supported without an existing file.
91
+ * Default is true.
92
+ *
93
+ * This must be false if you want directory listings,
94
+ * but have index.jsp in your welcome file list.
95
+ *
96
+ * redirectWelcome If true, welcome files are redirected rather than
97
+ * forwarded to.
98
+ *
99
+ * gzip If set to true, then static content will be served as
100
+ * gzip content encoded if a matching resource is
101
+ * found ending with ".gz"
102
+ *
103
+ * resourceBase Set to replace the context resource base
104
+ *
105
+ * resourceCache If set, this is a context attribute name, which the servlet
106
+ * will use to look for a shared ResourceCache instance.
107
+ *
108
+ * relativeResourceBase
109
+ * Set with a pathname relative to the base of the
110
+ * servlet context root. Useful for only serving static content out
111
+ * of only specific subdirectories.
112
+ *
113
+ * pathInfoOnly If true, only the path info will be applied to the resourceBase
114
+ *
115
+ * stylesheet Set with the location of an optional stylesheet that will be used
116
+ * to decorate the directory listing html.
117
+ *
118
+ * aliases If True, aliases of resources are allowed (eg. symbolic
119
+ * links and caps variations). May bypass security constraints.
120
+ *
121
+ * etags If True, weak etags will be generated and handled.
122
+ *
123
+ * maxCacheSize The maximum total size of the cache or 0 for no cache.
124
+ * maxCachedFileSize The maximum size of a file to cache
125
+ * maxCachedFiles The maximum number of files to cache
126
+ *
127
+ * useFileMappedBuffer
128
+ * If set to true, it will use mapped file buffer to serve static content
129
+ * when using NIO connector. Setting this value to false means that
130
+ * a direct buffer will be used instead of a mapped file buffer.
131
+ * By default, this is set to true.
132
+ *
133
+ * cacheControl If set, all static content will have this value set as the cache-control
134
+ * header.
135
+ *
136
+ -->
137
+
138
+
139
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
140
+ <servlet>
141
+ <servlet-name>default</servlet-name>
142
+ <servlet-class>org.eclipse.jetty.servlet.DefaultServlet</servlet-class>
143
+ <init-param>
144
+ <param-name>aliases</param-name>
145
+ <param-value>false</param-value>
146
+ </init-param>
147
+ <init-param>
148
+ <param-name>acceptRanges</param-name>
149
+ <param-value>true</param-value>
150
+ </init-param>
151
+ <init-param>
152
+ <param-name>dirAllowed</param-name>
153
+ <param-value>true</param-value>
154
+ </init-param>
155
+ <init-param>
156
+ <param-name>welcomeServlets</param-name>
157
+ <param-value>false</param-value>
158
+ </init-param>
159
+ <init-param>
160
+ <param-name>redirectWelcome</param-name>
161
+ <param-value>false</param-value>
162
+ </init-param>
163
+ <init-param>
164
+ <param-name>maxCacheSize</param-name>
165
+ <param-value>256000000</param-value>
166
+ </init-param>
167
+ <init-param>
168
+ <param-name>maxCachedFileSize</param-name>
169
+ <param-value>200000000</param-value>
170
+ </init-param>
171
+ <init-param>
172
+ <param-name>maxCachedFiles</param-name>
173
+ <param-value>2048</param-value>
174
+ </init-param>
175
+ <init-param>
176
+ <param-name>gzip</param-name>
177
+ <param-value>false</param-value>
178
+ </init-param>
179
+ <init-param>
180
+ <param-name>etags</param-name>
181
+ <param-value>false</param-value>
182
+ </init-param>
183
+ <init-param>
184
+ <param-name>useFileMappedBuffer</param-name>
185
+ <param-value>true</param-value>
186
+ </init-param>
187
+ <!--
188
+ <init-param>
189
+ <param-name>resourceCache</param-name>
190
+ <param-value>resourceCache</param-value>
191
+ </init-param>
192
+ -->
193
+ <!--
194
+ <init-param>
195
+ <param-name>cacheControl</param-name>
196
+ <param-value>max-age=3600,public</param-value>
197
+ </init-param>
198
+ -->
199
+ <load-on-startup>0</load-on-startup>
200
+ </servlet>
201
+
202
+ <servlet-mapping>
203
+ <servlet-name>default</servlet-name>
204
+ <url-pattern>/</url-pattern>
205
+ </servlet-mapping>
206
+
207
+
208
+ <!-- ==================================================================== -->
209
+ <!-- JSP Servlet -->
210
+ <!-- This is the jasper JSP servlet from the jakarta project -->
211
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
212
+ <!-- The JSP page compiler and execution servlet, which is the mechanism -->
213
+ <!-- used by Glassfish to support JSP pages. Traditionally, this servlet -->
214
+ <!-- is mapped to URL patterh "*.jsp". This servlet supports the -->
215
+ <!-- following initialization parameters (default values are in square -->
216
+ <!-- brackets): -->
217
+ <!-- -->
218
+ <!-- checkInterval If development is false and reloading is true, -->
219
+ <!-- background compiles are enabled. checkInterval -->
220
+ <!-- is the time in seconds between checks to see -->
221
+ <!-- if a JSP page needs to be recompiled. [300] -->
222
+ <!-- -->
223
+ <!-- compiler Which compiler Ant should use to compile JSP -->
224
+ <!-- pages. See the Ant documenation for more -->
225
+ <!-- information. [javac] -->
226
+ <!-- -->
227
+ <!-- classdebuginfo Should the class file be compiled with -->
228
+ <!-- debugging information? [true] -->
229
+ <!-- -->
230
+ <!-- classpath What class path should I use while compiling -->
231
+ <!-- generated servlets? [Created dynamically -->
232
+ <!-- based on the current web application] -->
233
+ <!-- Set to ? to make the container explicitly set -->
234
+ <!-- this parameter. -->
235
+ <!-- -->
236
+ <!-- development Is Jasper used in development mode (will check -->
237
+ <!-- for JSP modification on every access)? [true] -->
238
+ <!-- -->
239
+ <!-- enablePooling Determines whether tag handler pooling is -->
240
+ <!-- enabled [true] -->
241
+ <!-- -->
242
+ <!-- fork Tell Ant to fork compiles of JSP pages so that -->
243
+ <!-- a separate JVM is used for JSP page compiles -->
244
+ <!-- from the one Tomcat is running in. [true] -->
245
+ <!-- -->
246
+ <!-- ieClassId The class-id value to be sent to Internet -->
247
+ <!-- Explorer when using <jsp:plugin> tags. -->
248
+ <!-- [clsid:8AD9C840-044E-11D1-B3E9-00805F499D93] -->
249
+ <!-- -->
250
+ <!-- javaEncoding Java file encoding to use for generating java -->
251
+ <!-- source files. [UTF-8] -->
252
+ <!-- -->
253
+ <!-- keepgenerated Should we keep the generated Java source code -->
254
+ <!-- for each page instead of deleting it? [true] -->
255
+ <!-- -->
256
+ <!-- logVerbosityLevel The level of detailed messages to be produced -->
257
+ <!-- by this servlet. Increasing levels cause the -->
258
+ <!-- generation of more messages. Valid values are -->
259
+ <!-- FATAL, ERROR, WARNING, INFORMATION, and DEBUG. -->
260
+ <!-- [WARNING] -->
261
+ <!-- -->
262
+ <!-- mappedfile Should we generate static content with one -->
263
+ <!-- print statement per input line, to ease -->
264
+ <!-- debugging? [false] -->
265
+ <!-- -->
266
+ <!-- -->
267
+ <!-- reloading Should Jasper check for modified JSPs? [true] -->
268
+ <!-- -->
269
+ <!-- suppressSmap Should the generation of SMAP info for JSR45 -->
270
+ <!-- debugging be suppressed? [false] -->
271
+ <!-- -->
272
+ <!-- dumpSmap Should the SMAP info for JSR45 debugging be -->
273
+ <!-- dumped to a file? [false] -->
274
+ <!-- False if suppressSmap is true -->
275
+ <!-- -->
276
+ <!-- scratchdir What scratch directory should we use when -->
277
+ <!-- compiling JSP pages? [default work directory -->
278
+ <!-- for the current web application] -->
279
+ <!-- -->
280
+ <!-- tagpoolMaxSize The maximum tag handler pool size [5] -->
281
+ <!-- -->
282
+ <!-- xpoweredBy Determines whether X-Powered-By response -->
283
+ <!-- header is added by generated servlet [false] -->
284
+ <!-- -->
285
+ <!-- If you wish to use Jikes to compile JSP pages: -->
286
+ <!-- Set the init parameter "compiler" to "jikes". Define -->
287
+ <!-- the property "-Dbuild.compiler.emacs=true" when starting Jetty -->
288
+ <!-- to cause Jikes to emit error messages in a format compatible with -->
289
+ <!-- Jasper. -->
290
+ <!-- If you get an error reporting that jikes can't use UTF-8 encoding, -->
291
+ <!-- try setting the init parameter "javaEncoding" to "ISO-8859-1". -->
292
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
293
+ <servlet id="jsp">
294
+ <servlet-name>jsp</servlet-name>
295
+ <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
296
+ <init-param>
297
+ <param-name>logVerbosityLevel</param-name>
298
+ <param-value>DEBUG</param-value>
299
+ </init-param>
300
+ <init-param>
301
+ <param-name>fork</param-name>
302
+ <param-value>false</param-value>
303
+ </init-param>
304
+ <init-param>
305
+ <param-name>xpoweredBy</param-name>
306
+ <param-value>false</param-value>
307
+ </init-param>
308
+ <init-param>
309
+ <param-name>compilerTargetVM</param-name>
310
+ <param-value>1.7</param-value>
311
+ </init-param>
312
+ <init-param>
313
+ <param-name>compilerSourceVM</param-name>
314
+ <param-value>1.7</param-value>
315
+ </init-param>
316
+ <!--
317
+ <init-param>
318
+ <param-name>classpath</param-name>
319
+ <param-value>?</param-value>
320
+ </init-param>
321
+ -->
322
+ <load-on-startup>0</load-on-startup>
323
+ </servlet>
324
+
325
+ <servlet-mapping>
326
+ <servlet-name>jsp</servlet-name>
327
+ <url-pattern>*.jsp</url-pattern>
328
+ <url-pattern>*.jspf</url-pattern>
329
+ <url-pattern>*.jspx</url-pattern>
330
+ <url-pattern>*.xsp</url-pattern>
331
+ <url-pattern>*.JSP</url-pattern>
332
+ <url-pattern>*.JSPF</url-pattern>
333
+ <url-pattern>*.JSPX</url-pattern>
334
+ <url-pattern>*.XSP</url-pattern>
335
+ </servlet-mapping>
336
+
337
+
338
+ <!-- ==================================================================== -->
339
+ <session-config>
340
+ <session-timeout>30</session-timeout>
341
+ </session-config>
342
+
343
+ <!-- ==================================================================== -->
344
+ <!-- Default MIME mappings -->
345
+ <!-- The default MIME mappings are provided by the mime.properties -->
346
+ <!-- resource in the org.eclipse.jetty.server.jar file. Additional or modified -->
347
+ <!-- mappings may be specified here -->
348
+ <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
349
+ <!-- UNCOMMENT TO ACTIVATE
350
+ <mime-mapping>
351
+ <extension>mysuffix</extension>
352
+ <mime-type>mymime/type</mime-type>
353
+ </mime-mapping>
354
+ -->
355
+
356
+ <!-- ==================================================================== -->
357
+ <welcome-file-list>
358
+ <welcome-file>index.html</welcome-file>
359
+ <welcome-file>index.htm</welcome-file>
360
+ <welcome-file>index.jsp</welcome-file>
361
+ </welcome-file-list>
362
+
363
+ <!-- ==================================================================== -->
364
+ <locale-encoding-mapping-list>
365
+ <locale-encoding-mapping>
366
+ <locale>ar</locale>
367
+ <encoding>ISO-8859-6</encoding>
368
+ </locale-encoding-mapping>
369
+ <locale-encoding-mapping>
370
+ <locale>be</locale>
371
+ <encoding>ISO-8859-5</encoding>
372
+ </locale-encoding-mapping>
373
+ <locale-encoding-mapping>
374
+ <locale>bg</locale>
375
+ <encoding>ISO-8859-5</encoding>
376
+ </locale-encoding-mapping>
377
+ <locale-encoding-mapping>
378
+ <locale>ca</locale>
379
+ <encoding>ISO-8859-1</encoding>
380
+ </locale-encoding-mapping>
381
+ <locale-encoding-mapping>
382
+ <locale>cs</locale>
383
+ <encoding>ISO-8859-2</encoding>
384
+ </locale-encoding-mapping>
385
+ <locale-encoding-mapping>
386
+ <locale>da</locale>
387
+ <encoding>ISO-8859-1</encoding>
388
+ </locale-encoding-mapping>
389
+ <locale-encoding-mapping>
390
+ <locale>de</locale>
391
+ <encoding>ISO-8859-1</encoding>
392
+ </locale-encoding-mapping>
393
+ <locale-encoding-mapping>
394
+ <locale>el</locale>
395
+ <encoding>ISO-8859-7</encoding>
396
+ </locale-encoding-mapping>
397
+ <locale-encoding-mapping>
398
+ <locale>en</locale>
399
+ <encoding>ISO-8859-1</encoding>
400
+ </locale-encoding-mapping>
401
+ <locale-encoding-mapping>
402
+ <locale>es</locale>
403
+ <encoding>ISO-8859-1</encoding>
404
+ </locale-encoding-mapping>
405
+ <locale-encoding-mapping>
406
+ <locale>et</locale>
407
+ <encoding>ISO-8859-1</encoding>
408
+ </locale-encoding-mapping>
409
+ <locale-encoding-mapping>
410
+ <locale>fi</locale>
411
+ <encoding>ISO-8859-1</encoding>
412
+ </locale-encoding-mapping>
413
+ <locale-encoding-mapping>
414
+ <locale>fr</locale>
415
+ <encoding>ISO-8859-1</encoding>
416
+ </locale-encoding-mapping>
417
+ <locale-encoding-mapping>
418
+ <locale>hr</locale>
419
+ <encoding>ISO-8859-2</encoding>
420
+ </locale-encoding-mapping>
421
+ <locale-encoding-mapping>
422
+ <locale>hu</locale>
423
+ <encoding>ISO-8859-2</encoding>
424
+ </locale-encoding-mapping>
425
+ <locale-encoding-mapping>
426
+ <locale>is</locale>
427
+ <encoding>ISO-8859-1</encoding>
428
+ </locale-encoding-mapping>
429
+ <locale-encoding-mapping>
430
+ <locale>it</locale>
431
+ <encoding>ISO-8859-1</encoding>
432
+ </locale-encoding-mapping>
433
+ <locale-encoding-mapping>
434
+ <locale>iw</locale>
435
+ <encoding>ISO-8859-8</encoding>
436
+ </locale-encoding-mapping>
437
+ <locale-encoding-mapping>
438
+ <locale>ja</locale>
439
+ <encoding>Shift_JIS</encoding>
440
+ </locale-encoding-mapping>
441
+ <locale-encoding-mapping>
442
+ <locale>ko</locale>
443
+ <encoding>EUC-KR</encoding>
444
+ </locale-encoding-mapping>
445
+ <locale-encoding-mapping>
446
+ <locale>lt</locale>
447
+ <encoding>ISO-8859-2</encoding>
448
+ </locale-encoding-mapping>
449
+ <locale-encoding-mapping>
450
+ <locale>lv</locale>
451
+ <encoding>ISO-8859-2</encoding>
452
+ </locale-encoding-mapping>
453
+ <locale-encoding-mapping>
454
+ <locale>mk</locale>
455
+ <encoding>ISO-8859-5</encoding>
456
+ </locale-encoding-mapping>
457
+ <locale-encoding-mapping>
458
+ <locale>nl</locale>
459
+ <encoding>ISO-8859-1</encoding>
460
+ </locale-encoding-mapping>
461
+ <locale-encoding-mapping>
462
+ <locale>no</locale>
463
+ <encoding>ISO-8859-1</encoding>
464
+ </locale-encoding-mapping>
465
+ <locale-encoding-mapping>
466
+ <locale>pl</locale>
467
+ <encoding>ISO-8859-2</encoding>
468
+ </locale-encoding-mapping>
469
+ <locale-encoding-mapping>
470
+ <locale>pt</locale>
471
+ <encoding>ISO-8859-1</encoding>
472
+ </locale-encoding-mapping>
473
+ <locale-encoding-mapping>
474
+ <locale>ro</locale>
475
+ <encoding>ISO-8859-2</encoding>
476
+ </locale-encoding-mapping>
477
+ <locale-encoding-mapping>
478
+ <locale>ru</locale>
479
+ <encoding>ISO-8859-5</encoding>
480
+ </locale-encoding-mapping>
481
+ <locale-encoding-mapping>
482
+ <locale>sh</locale>
483
+ <encoding>ISO-8859-5</encoding>
484
+ </locale-encoding-mapping>
485
+ <locale-encoding-mapping>
486
+ <locale>sk</locale>
487
+ <encoding>ISO-8859-2</encoding>
488
+ </locale-encoding-mapping>
489
+ <locale-encoding-mapping>
490
+ <locale>sl</locale>
491
+ <encoding>ISO-8859-2</encoding>
492
+ </locale-encoding-mapping>
493
+ <locale-encoding-mapping>
494
+ <locale>sq</locale>
495
+ <encoding>ISO-8859-2</encoding>
496
+ </locale-encoding-mapping>
497
+ <locale-encoding-mapping>
498
+ <locale>sr</locale>
499
+ <encoding>ISO-8859-5</encoding>
500
+ </locale-encoding-mapping>
501
+ <locale-encoding-mapping>
502
+ <locale>sv</locale>
503
+ <encoding>ISO-8859-1</encoding>
504
+ </locale-encoding-mapping>
505
+ <locale-encoding-mapping>
506
+ <locale>tr</locale>
507
+ <encoding>ISO-8859-9</encoding>
508
+ </locale-encoding-mapping>
509
+ <locale-encoding-mapping>
510
+ <locale>uk</locale>
511
+ <encoding>ISO-8859-5</encoding>
512
+ </locale-encoding-mapping>
513
+ <locale-encoding-mapping>
514
+ <locale>zh</locale>
515
+ <encoding>GB2312</encoding>
516
+ </locale-encoding-mapping>
517
+ <locale-encoding-mapping>
518
+ <locale>zh_TW</locale>
519
+ <encoding>Big5</encoding>
520
+ </locale-encoding-mapping>
521
+ </locale-encoding-mapping-list>
522
+
523
+ <security-constraint>
524
+ <web-resource-collection>
525
+ <web-resource-name>Disable TRACE</web-resource-name>
526
+ <url-pattern>/</url-pattern>
527
+ <http-method>TRACE</http-method>
528
+ </web-resource-collection>
529
+ <auth-constraint/>
530
+ </security-constraint>
531
+ <security-constraint>
532
+ <web-resource-collection>
533
+ <web-resource-name>Enable everything but TRACE</web-resource-name>
534
+ <url-pattern>/</url-pattern>
535
+ <http-method-omission>TRACE</http-method-omission>
536
+ </web-resource-collection>
537
+ </security-constraint>
538
+
539
+ </web-app>
540
+