sunspot_solr 2.2.0 → 2.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.rspec +1 -0
- data/Gemfile +1 -1
- data/Rakefile +9 -0
- data/bin/sunspot-solr +2 -10
- data/lib/sunspot/solr/installer.rb +66 -8
- data/lib/sunspot/solr/java.rb +17 -4
- data/lib/sunspot/solr/server.rb +25 -37
- data/solr/.gitignore +2 -0
- data/solr/README.txt +181 -42
- data/solr/bin/init.d/solr +78 -0
- data/solr/bin/install_solr_service.sh +270 -0
- data/solr/bin/oom_solr.sh +30 -0
- data/solr/bin/post +228 -0
- data/solr/bin/solr +1350 -0
- data/solr/bin/solr.cmd +1230 -0
- data/solr/bin/solr.in.cmd +99 -0
- data/solr/bin/solr.in.sh +119 -0
- data/solr/server/README.txt +110 -0
- data/solr/server/contexts/solr-jetty-context.xml +8 -0
- data/solr/server/etc/jetty-http.xml +47 -0
- data/solr/{etc/jetty.xml → server/etc/jetty-https-ssl.xml} +175 -167
- data/solr/server/etc/jetty-https.xml +53 -0
- data/solr/server/etc/jetty-ssl.xml +46 -0
- data/solr/server/etc/jetty.xml +189 -0
- data/solr/{etc → server/etc}/webdefault.xml +527 -527
- data/solr/server/lib/ext/jcl-over-slf4j-1.7.7.jar +0 -0
- data/solr/server/lib/ext/jul-to-slf4j-1.7.7.jar +0 -0
- data/solr/server/lib/ext/log4j-1.2.17.jar +0 -0
- data/solr/server/lib/ext/slf4j-api-1.7.7.jar +0 -0
- data/solr/server/lib/ext/slf4j-log4j12-1.7.7.jar +0 -0
- data/solr/server/lib/javax.servlet-api-3.1.0.jar +0 -0
- data/solr/server/lib/jetty-continuation-9.2.11.v20150529.jar +0 -0
- data/solr/server/lib/jetty-deploy-9.2.11.v20150529.jar +0 -0
- data/solr/server/lib/jetty-http-9.2.11.v20150529.jar +0 -0
- data/solr/server/lib/jetty-io-9.2.11.v20150529.jar +0 -0
- data/solr/server/lib/jetty-jmx-9.2.11.v20150529.jar +0 -0
- data/solr/server/lib/jetty-rewrite-9.2.11.v20150529.jar +0 -0
- data/solr/server/lib/jetty-security-9.2.11.v20150529.jar +0 -0
- data/solr/server/lib/jetty-server-9.2.11.v20150529.jar +0 -0
- data/solr/server/lib/jetty-servlet-9.2.11.v20150529.jar +0 -0
- data/solr/server/lib/jetty-servlets-9.2.11.v20150529.jar +0 -0
- data/solr/server/lib/jetty-util-9.2.11.v20150529.jar +0 -0
- data/solr/server/lib/jetty-webapp-9.2.11.v20150529.jar +0 -0
- data/solr/server/lib/jetty-xml-9.2.11.v20150529.jar +0 -0
- data/solr/server/modules/http.mod +9 -0
- data/solr/server/modules/https.mod +9 -0
- data/solr/server/modules/server.mod +11 -0
- data/solr/server/modules/ssl.mod +9 -0
- data/solr/server/resources/jetty-logging.properties +1 -0
- data/solr/server/resources/log4j.properties +24 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/antlr-runtime-3.5.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/asm-4.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/asm-commons-4.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/commons-cli-1.2.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/commons-codec-1.10.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/commons-collections-3.2.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/commons-configuration-1.6.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/commons-exec-1.3.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/commons-fileupload-1.2.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/commons-io-2.4.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/commons-lang-2.6.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/concurrentlinkedhashmap-lru-1.2.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/dom4j-1.6.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/guava-14.0.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/hadoop-annotations-2.6.0.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/hadoop-auth-2.6.0.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/hadoop-common-2.6.0.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/hadoop-hdfs-2.6.0.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/hppc-0.5.2.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/htrace-core-3.0.4.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/httpclient-4.4.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/httpcore-4.4.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/httpmime-4.4.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/jackson-core-2.5.4.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/jackson-dataformat-smile-2.5.4.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/joda-time-2.2.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/lucene-analyzers-common-5.3.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/lucene-analyzers-kuromoji-5.3.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/lucene-analyzers-phonetic-5.3.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/lucene-backward-codecs-5.3.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/lucene-codecs-5.3.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/lucene-core-5.3.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/lucene-expressions-5.3.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/lucene-grouping-5.3.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/lucene-highlighter-5.3.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/lucene-join-5.3.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/lucene-memory-5.3.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/lucene-misc-5.3.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/lucene-queries-5.3.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/lucene-queryparser-5.3.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/lucene-sandbox-5.3.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/lucene-spatial-5.3.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/lucene-suggest-5.3.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/noggit-0.6.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/org.restlet-2.3.0.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/org.restlet.ext.servlet-2.3.0.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/protobuf-java-2.5.0.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/solr-core-5.3.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/solr-solrj-5.3.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/spatial4j-0.4.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/stax2-api-3.1.4.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/t-digest-3.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/woodstox-core-asl-4.4.1.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/lib/zookeeper-3.4.6.jar +0 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/web.xml +169 -0
- data/solr/server/solr-webapp/webapp/WEB-INF/weblogic.xml +28 -0
- data/solr/server/solr-webapp/webapp/admin.html +164 -0
- data/solr/server/solr-webapp/webapp/css/angular/analysis.css +304 -0
- data/solr/server/solr-webapp/webapp/css/angular/chosen.css +465 -0
- data/solr/server/solr-webapp/webapp/css/angular/cloud.css +398 -0
- data/solr/server/solr-webapp/webapp/css/angular/common.css +724 -0
- data/solr/server/solr-webapp/webapp/css/angular/cores.css +233 -0
- data/solr/server/solr-webapp/webapp/css/angular/dataimport.css +370 -0
- data/solr/server/solr-webapp/webapp/css/angular/documents.css +179 -0
- data/solr/server/solr-webapp/webapp/css/angular/files.css +53 -0
- data/solr/server/solr-webapp/webapp/css/angular/index.css +206 -0
- data/solr/server/solr-webapp/webapp/css/angular/logging.css +376 -0
- data/solr/server/solr-webapp/webapp/css/angular/menu.css +321 -0
- data/solr/server/solr-webapp/webapp/css/angular/plugins.css +212 -0
- data/solr/server/solr-webapp/webapp/css/angular/query.css +162 -0
- data/solr/server/solr-webapp/webapp/css/angular/replication.css +500 -0
- data/solr/server/solr-webapp/webapp/css/angular/schema-browser.css +567 -0
- data/solr/server/solr-webapp/webapp/css/angular/segments.css +173 -0
- data/solr/server/solr-webapp/webapp/css/angular/threads.css +161 -0
- data/solr/server/solr-webapp/webapp/css/chosen.css +421 -0
- data/solr/server/solr-webapp/webapp/css/styles/analysis.css +311 -0
- data/solr/server/solr-webapp/webapp/css/styles/cloud.css +410 -0
- data/solr/server/solr-webapp/webapp/css/styles/common.css +701 -0
- data/solr/server/solr-webapp/webapp/css/styles/cores.css +244 -0
- data/solr/server/solr-webapp/webapp/css/styles/dashboard.css +155 -0
- data/solr/server/solr-webapp/webapp/css/styles/dataimport.css +403 -0
- data/solr/server/solr-webapp/webapp/css/styles/documents.css +197 -0
- data/solr/server/solr-webapp/webapp/css/styles/files.css +54 -0
- data/solr/server/solr-webapp/webapp/css/styles/index.css +207 -0
- data/solr/server/solr-webapp/webapp/css/styles/java-properties.css +52 -0
- data/solr/server/solr-webapp/webapp/css/styles/logging.css +391 -0
- data/solr/server/solr-webapp/webapp/css/styles/menu.css +329 -0
- data/solr/server/solr-webapp/webapp/css/styles/plugins.css +195 -0
- data/solr/server/solr-webapp/webapp/css/styles/query.css +173 -0
- data/solr/server/solr-webapp/webapp/css/styles/replication.css +515 -0
- data/solr/server/solr-webapp/webapp/css/styles/schema-browser.css +578 -0
- data/solr/server/solr-webapp/webapp/css/styles/segments.css +145 -0
- data/solr/server/solr-webapp/webapp/css/styles/threads.css +172 -0
- data/solr/server/solr-webapp/webapp/favicon.ico +0 -0
- data/solr/server/solr-webapp/webapp/img/ZeroClipboard.swf +0 -0
- data/solr/server/solr-webapp/webapp/img/chosen-sprite-2x.png +0 -0
- data/solr/server/solr-webapp/webapp/img/chosen-sprite.png +0 -0
- data/solr/server/solr-webapp/webapp/img/div.gif +0 -0
- data/solr/server/solr-webapp/webapp/img/favicon.ico +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/7z.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/README +27 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/ai.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/aiff.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/asc.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/audio.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/bin.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/bz2.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/c.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/cfc.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/cfm.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/chm.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/class.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/conf.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/cpp.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/cs.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/css.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/csv.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/deb.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/divx.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/doc.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/dot.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/eml.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/enc.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/file.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/gif.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/gz.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/hlp.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/htm.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/html.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/image.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/iso.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/jar.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/java.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/jpeg.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/jpg.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/js.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/lua.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/m.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/mm.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/mov.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/mp3.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/mpg.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/odc.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/odf.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/odg.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/odi.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/odp.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/ods.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/odt.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/ogg.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/pdf.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/pgp.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/php.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/pl.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/png.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/ppt.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/ps.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/py.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/ram.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/rar.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/rb.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/rm.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/rpm.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/rtf.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/sig.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/sql.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/swf.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/sxc.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/sxd.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/sxi.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/sxw.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/tar.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/tex.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/tgz.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/txt.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/vcf.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/video.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/vsd.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/wav.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/wma.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/wmv.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/xls.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/xml.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/xpi.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/xvid.png +0 -0
- data/solr/server/solr-webapp/webapp/img/filetypes/zip.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/arrow-000-small.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/arrow-circle.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/arrow-switch.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/asterisk.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/battery.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/block-small.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/block.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/book-open-text.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/box.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/bug.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/chart.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/chevron-small-expand.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/chevron-small.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/clipboard-list.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/clipboard-paste-document-text.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/clipboard-paste.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/clock-select-remain.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/clock-select.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/construction.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/cross-0.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/cross-1.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/cross-button.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/cross.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/dashboard.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/database--plus.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/database.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/databases.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/disk-black.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/document-convert.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/document-import.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/document-list.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/document-text.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/documents-stack.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/download-cloud.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/drive-upload.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/exclamation-button.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/eye.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/folder-export.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/folder-tree.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/folder.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/funnel-small.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/funnel.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/gear.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/globe-network.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/globe.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/hammer-screwdriver.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/hammer.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/hand.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/highlighter-text.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/home.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/hourglass--exclamation.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/hourglass.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/inbox-document-text.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/information-button.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/information-small.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/information-white.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/information.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/jar.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/magnifier.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/mail.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/memory.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/minus-button.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/molecule.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/network-cloud.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/network-status-away.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/network-status-busy.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/network-status-offline.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/network-status.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/network.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/node-design.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/node-master.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/node-select.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/node-slave.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/node.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/pencil-small.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/pencil.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/plus-button.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/processor.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/prohibition.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/property.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/question-small-white.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/question-white.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/question.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/receipt-invoice.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/receipt.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/script-code.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/server-cast.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/server.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/sitemap.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/slash.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/status-away.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/status-busy.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/status-offline.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/status.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/system-monitor--exclamation.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/system-monitor.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/table.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/terminal.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/tick-circle.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/tick-red.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/tick.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/toggle-small-expand.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/toggle-small.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/toolbox.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/ui-accordion.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/ui-address-bar.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/ui-check-box-uncheck.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/ui-check-box.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/ui-radio-button-uncheck.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/ui-radio-button.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/ui-text-field-select.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/users.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/wooden-box.png +0 -0
- data/solr/server/solr-webapp/webapp/img/ico/zone.png +0 -0
- data/solr/server/solr-webapp/webapp/img/loader-light.gif +0 -0
- data/solr/server/solr-webapp/webapp/img/loader.gif +0 -0
- data/solr/server/solr-webapp/webapp/img/lucene-ico.png +0 -0
- data/solr/server/solr-webapp/webapp/img/solr-ico.png +0 -0
- data/solr/server/solr-webapp/webapp/img/solr.svg +39 -0
- data/solr/server/solr-webapp/webapp/img/tree.png +0 -0
- data/solr/server/solr-webapp/webapp/index.html +208 -0
- data/solr/server/solr-webapp/webapp/js/angular/app.js +713 -0
- data/solr/server/solr-webapp/webapp/js/angular/controllers/analysis.js +199 -0
- data/solr/server/solr-webapp/webapp/js/angular/controllers/cloud.js +528 -0
- data/solr/server/solr-webapp/webapp/js/angular/controllers/core-overview.js +225 -0
- data/solr/server/solr-webapp/webapp/js/angular/controllers/cores.js +465 -0
- data/solr/server/solr-webapp/webapp/js/angular/controllers/dataimport.js +284 -0
- data/solr/server/solr-webapp/webapp/js/angular/controllers/documents.js +139 -0
- data/solr/server/solr-webapp/webapp/js/angular/controllers/files.js +92 -0
- data/solr/server/solr-webapp/webapp/js/angular/controllers/index.js +95 -0
- data/solr/server/solr-webapp/webapp/js/angular/controllers/java-properties.js +45 -0
- data/solr/server/solr-webapp/webapp/js/angular/controllers/logging.js +146 -0
- data/solr/server/solr-webapp/webapp/js/angular/controllers/plugins.js +166 -0
- data/solr/server/solr-webapp/webapp/js/angular/controllers/query.js +99 -0
- data/solr/server/solr-webapp/webapp/js/angular/controllers/replication.js +227 -0
- data/solr/server/solr-webapp/webapp/js/angular/controllers/schema-browser.js +432 -0
- data/solr/server/solr-webapp/webapp/js/angular/controllers/segments.js +94 -0
- data/solr/server/solr-webapp/webapp/js/angular/controllers/threads.js +51 -0
- data/solr/server/solr-webapp/webapp/js/angular/services.js +214 -0
- data/solr/server/solr-webapp/webapp/js/lib/ZeroClipboard.js +342 -0
- data/solr/server/solr-webapp/webapp/js/lib/chosen.js +982 -0
- data/solr/server/solr-webapp/webapp/js/lib/console.js +29 -0
- data/solr/server/solr-webapp/webapp/js/lib/d3.js +9373 -0
- data/solr/server/solr-webapp/webapp/js/lib/highlight.js +31 -0
- data/solr/server/solr-webapp/webapp/js/lib/jquery-1.7.2.min.js +30 -0
- data/solr/server/solr-webapp/webapp/js/lib/jquery.ajaxfileupload.js +184 -0
- data/solr/server/solr-webapp/webapp/js/lib/jquery.blockUI.js +523 -0
- data/solr/server/solr-webapp/webapp/js/lib/jquery.cookie.js +71 -0
- data/solr/server/solr-webapp/webapp/js/lib/jquery.form.js +806 -0
- data/solr/server/solr-webapp/webapp/js/lib/jquery.jstree.js +3534 -0
- data/solr/server/solr-webapp/webapp/js/lib/jquery.sammy.js +1863 -0
- data/solr/server/solr-webapp/webapp/js/lib/jquery.timeago.js +189 -0
- data/solr/server/solr-webapp/webapp/js/lib/linker.js +48 -0
- data/solr/server/solr-webapp/webapp/js/lib/naturalSort.js +82 -0
- data/solr/server/solr-webapp/webapp/js/lib/order.js +216 -0
- data/solr/server/solr-webapp/webapp/js/main.js +60 -0
- data/solr/server/solr-webapp/webapp/js/require.js +11349 -0
- data/solr/server/solr-webapp/webapp/js/scripts/analysis.js +545 -0
- data/solr/server/solr-webapp/webapp/js/scripts/app.js +680 -0
- data/solr/server/solr-webapp/webapp/js/scripts/cloud.js +877 -0
- data/solr/server/solr-webapp/webapp/js/scripts/cores.js +719 -0
- data/solr/server/solr-webapp/webapp/js/scripts/dashboard.js +562 -0
- data/solr/server/solr-webapp/webapp/js/scripts/dataimport.js +812 -0
- data/solr/server/solr-webapp/webapp/js/scripts/documents.js +370 -0
- data/solr/server/solr-webapp/webapp/js/scripts/files.js +265 -0
- data/solr/server/solr-webapp/webapp/js/scripts/index.js +340 -0
- data/solr/server/solr-webapp/webapp/js/scripts/java-properties.js +106 -0
- data/solr/server/solr-webapp/webapp/js/scripts/logging.js +578 -0
- data/solr/server/solr-webapp/webapp/js/scripts/ping.js +72 -0
- data/solr/server/solr-webapp/webapp/js/scripts/plugins.js +462 -0
- data/solr/server/solr-webapp/webapp/js/scripts/query.js +229 -0
- data/solr/server/solr-webapp/webapp/js/scripts/replication.js +527 -0
- data/solr/server/solr-webapp/webapp/js/scripts/schema-browser.js +1229 -0
- data/solr/server/solr-webapp/webapp/js/scripts/segments.js +206 -0
- data/solr/server/solr-webapp/webapp/js/scripts/threads.js +158 -0
- data/solr/server/solr-webapp/webapp/libs/angular-chosen.js +139 -0
- data/solr/server/solr-webapp/webapp/libs/angular-cookies.js +229 -0
- data/solr/server/solr-webapp/webapp/libs/angular-cookies.min.js +31 -0
- data/solr/server/solr-webapp/webapp/libs/angular-resource.min.js +36 -0
- data/solr/server/solr-webapp/webapp/libs/angular-route.js +1018 -0
- data/solr/server/solr-webapp/webapp/libs/angular-route.min.js +38 -0
- data/solr/server/solr-webapp/webapp/libs/angular-sanitize.js +703 -0
- data/solr/server/solr-webapp/webapp/libs/angular-sanitize.min.js +39 -0
- data/solr/server/solr-webapp/webapp/libs/angular.js +26093 -0
- data/solr/server/solr-webapp/webapp/libs/angular.min.js +273 -0
- data/solr/server/solr-webapp/webapp/libs/chosen.jquery.js +1194 -0
- data/solr/server/solr-webapp/webapp/libs/chosen.jquery.min.js +30 -0
- data/solr/server/solr-webapp/webapp/libs/d3.js +9373 -0
- data/solr/server/solr-webapp/webapp/libs/highlight.js +31 -0
- data/solr/server/solr-webapp/webapp/libs/jquery-2.1.3.min.js +29 -0
- data/solr/server/solr-webapp/webapp/libs/jquery.jstree.js +3534 -0
- data/solr/server/solr-webapp/webapp/libs/ngtimeago.js +102 -0
- data/solr/server/solr-webapp/webapp/partials/analysis.html +128 -0
- data/solr/server/solr-webapp/webapp/partials/cloud.html +104 -0
- data/solr/server/solr-webapp/webapp/partials/core_overview.html +227 -0
- data/solr/server/solr-webapp/webapp/partials/cores.html +231 -0
- data/solr/server/solr-webapp/webapp/partials/dataimport.html +209 -0
- data/solr/server/solr-webapp/webapp/partials/documents.html +118 -0
- data/solr/server/solr-webapp/webapp/partials/files.html +47 -0
- data/solr/server/solr-webapp/webapp/partials/index.html +261 -0
- data/solr/server/solr-webapp/webapp/partials/java-properties.html +27 -0
- data/solr/server/solr-webapp/webapp/partials/logging-levels.html +56 -0
- data/solr/server/solr-webapp/webapp/partials/logging.html +56 -0
- data/solr/server/solr-webapp/webapp/partials/plugins.html +72 -0
- data/solr/server/solr-webapp/webapp/partials/query.html +356 -0
- data/solr/server/solr-webapp/webapp/partials/replication.html +239 -0
- data/solr/server/solr-webapp/webapp/partials/schema-browser.html +206 -0
- data/solr/server/solr-webapp/webapp/partials/segments.html +99 -0
- data/solr/server/solr-webapp/webapp/partials/threads.html +65 -0
- data/solr/server/solr-webapp/webapp/tpl/analysis.html +83 -0
- data/solr/server/solr-webapp/webapp/tpl/cloud.html +87 -0
- data/solr/server/solr-webapp/webapp/tpl/cores.html +226 -0
- data/solr/server/solr-webapp/webapp/tpl/dashboard.html +201 -0
- data/solr/server/solr-webapp/webapp/tpl/dataimport.html +183 -0
- data/solr/server/solr-webapp/webapp/tpl/documents.html +107 -0
- data/solr/server/solr-webapp/webapp/tpl/files.html +44 -0
- data/solr/server/solr-webapp/webapp/tpl/index.html +250 -0
- data/solr/server/solr-webapp/webapp/tpl/logging.html +23 -0
- data/solr/server/solr-webapp/webapp/tpl/plugins.html +39 -0
- data/solr/server/solr-webapp/webapp/tpl/query.html +361 -0
- data/solr/server/solr-webapp/webapp/tpl/replication.html +216 -0
- data/solr/server/solr-webapp/webapp/tpl/schema-browser.html +192 -0
- data/solr/server/solr-webapp/webapp/tpl/segments.html +49 -0
- data/solr/server/solr-webapp/webapp/tpl/threads.html +56 -0
- data/solr/server/solr/README.txt +77 -0
- data/solr/server/solr/solr.xml +51 -0
- data/solr/server/solr/zoo.cfg +17 -0
- data/solr/server/start.jar +0 -0
- data/solr/solr/README.txt +77 -0
- data/solr/solr/configsets/sunspot/conf/_rest_managed.json +1 -0
- data/solr/solr/{conf → configsets/sunspot/conf}/admin-extra.html +0 -0
- data/solr/solr/configsets/sunspot/conf/currency.xml +67 -0
- data/solr/solr/{conf → configsets/sunspot/conf}/elevate.xml +0 -0
- data/solr/solr/{conf/stopwords.txt → configsets/sunspot/conf/lang/stopwords_en.txt} +1 -5
- data/solr/solr/{conf → configsets/sunspot/conf}/mapping-ISOLatin1Accent.txt +0 -0
- data/solr/solr/{conf → configsets/sunspot/conf}/protwords.txt +0 -0
- data/solr/solr/{conf → configsets/sunspot/conf}/schema.xml +38 -35
- data/solr/solr/{conf → configsets/sunspot/conf}/scripts.conf +0 -0
- data/solr/solr/{conf → configsets/sunspot/conf}/solrconfig.xml +271 -320
- data/solr/solr/{conf → configsets/sunspot/conf}/spellings.txt +0 -0
- data/solr/solr/{conf → configsets/sunspot/conf}/synonyms.txt +3 -5
- data/solr/solr/default/core.properties +3 -0
- data/solr/solr/development/core.properties +3 -0
- data/solr/solr/solr.xml +49 -6
- data/solr/solr/test/core.properties +3 -0
- data/solr/solr/zoo.cfg +17 -0
- data/spec/installer_spec.rb +82 -0
- data/spec/java_spec.rb +58 -0
- data/spec/server_spec.rb +36 -79
- data/spec/spec_helper.rb +4 -16
- data/sunspot_solr.gemspec +3 -7
- metadata +496 -67
- data/lib/sunspot/solr/installer/config_installer.rb +0 -53
- data/lib/sunspot/solr/installer/task_helper.rb +0 -13
- data/solr/contexts/solr.xml +0 -7
- data/solr/lib/jetty-continuation-8.1.8.v20121106.jar +0 -0
- data/solr/lib/jetty-deploy-8.1.8.v20121106.jar +0 -0
- data/solr/lib/jetty-http-8.1.8.v20121106.jar +0 -0
- data/solr/lib/jetty-io-8.1.8.v20121106.jar +0 -0
- data/solr/lib/jetty-jmx-8.1.8.v20121106.jar +0 -0
- data/solr/lib/jetty-security-8.1.8.v20121106.jar +0 -0
- data/solr/lib/jetty-server-8.1.8.v20121106.jar +0 -0
- data/solr/lib/jetty-servlet-8.1.8.v20121106.jar +0 -0
- data/solr/lib/jetty-util-8.1.8.v20121106.jar +0 -0
- data/solr/lib/jetty-webapp-8.1.8.v20121106.jar +0 -0
- data/solr/lib/jetty-xml-8.1.8.v20121106.jar +0 -0
- data/solr/lib/jsp-2.1/ant-1.6.5.jar +0 -0
- data/solr/lib/jsp-2.1/core-3.1.1.jar +0 -0
- data/solr/lib/jsp-2.1/jsp-2.1.jar +0 -0
- data/solr/lib/jsp-2.1/jsp-api-2.1.jar +0 -0
- data/solr/lib/servlet-api-3.0.jar +0 -0
- data/solr/solr/conf/xslt/example.xsl +0 -132
- data/solr/solr/conf/xslt/example_atom.xsl +0 -67
- data/solr/solr/conf/xslt/example_rss.xsl +0 -66
- data/solr/solr/conf/xslt/luke.xsl +0 -337
- data/solr/solr/default/README.txt +0 -54
- data/solr/start.jar +0 -0
- data/solr/webapps/solr.war +0 -0
@@ -0,0 +1,53 @@
|
|
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 HTTPS connector. -->
|
6
|
+
<!-- This configuration must be used in conjunction with jetty.xml -->
|
7
|
+
<!-- and jetty-ssl.xml. -->
|
8
|
+
<!-- ============================================================= -->
|
9
|
+
<Configure id="Server" class="org.eclipse.jetty.server.Server">
|
10
|
+
|
11
|
+
<!-- =========================================================== -->
|
12
|
+
<!-- Add a HTTPS Connector. -->
|
13
|
+
<!-- Configure an o.e.j.server.ServerConnector with connection -->
|
14
|
+
<!-- factories for TLS (aka SSL) and HTTP to provide HTTPS. -->
|
15
|
+
<!-- All accepted TLS connections are wired to a HTTP connection.-->
|
16
|
+
<!-- -->
|
17
|
+
<!-- Consult the javadoc of o.e.j.server.ServerConnector, -->
|
18
|
+
<!-- o.e.j.server.SslConnectionFactory and -->
|
19
|
+
<!-- o.e.j.server.HttpConnectionFactory for all configuration -->
|
20
|
+
<!-- that may be set here. -->
|
21
|
+
<!-- =========================================================== -->
|
22
|
+
<Call id="httpsConnector" name="addConnector">
|
23
|
+
<Arg>
|
24
|
+
<New class="org.eclipse.jetty.server.ServerConnector">
|
25
|
+
<Arg name="server"><Ref refid="Server" /></Arg>
|
26
|
+
<Arg name="acceptors" type="int"><Property name="solr.jetty.ssl.acceptors" default="-1"/></Arg>
|
27
|
+
<Arg name="selectors" type="int"><Property name="solr.jetty.ssl.selectors" default="-1"/></Arg>
|
28
|
+
<Arg name="factories">
|
29
|
+
<Array type="org.eclipse.jetty.server.ConnectionFactory">
|
30
|
+
<Item>
|
31
|
+
<New class="org.eclipse.jetty.server.SslConnectionFactory">
|
32
|
+
<Arg name="next">http/1.1</Arg>
|
33
|
+
<Arg name="sslContextFactory"><Ref refid="sslContextFactory"/></Arg>
|
34
|
+
</New>
|
35
|
+
</Item>
|
36
|
+
<Item>
|
37
|
+
<New class="org.eclipse.jetty.server.HttpConnectionFactory">
|
38
|
+
<Arg name="config"><Ref refid="sslHttpConfig"/></Arg>
|
39
|
+
</New>
|
40
|
+
</Item>
|
41
|
+
</Array>
|
42
|
+
</Arg>
|
43
|
+
<Set name="host"><Property name="solr.jetty.host" /></Set>
|
44
|
+
<Set name="port"><Property name="solr.jetty.https.port" default="8983" /></Set>
|
45
|
+
<Set name="idleTimeout"><Property name="solr.jetty.https.timeout" default="50000"/></Set>
|
46
|
+
<Set name="soLingerTime"><Property name="solr.jetty.https.soLingerTime" default="-1"/></Set>
|
47
|
+
<Set name="acceptorPriorityDelta"><Property name="solr.jetty.ssl.acceptorPriorityDelta" default="0"/></Set>
|
48
|
+
<Set name="selectorPriorityDelta"><Property name="solr.jetty.ssl.selectorPriorityDelta" default="0"/></Set>
|
49
|
+
<Set name="acceptQueueSize"><Property name="solr.jetty.https.acceptQueueSize" default="0"/></Set>
|
50
|
+
</New>
|
51
|
+
</Arg>
|
52
|
+
</Call>
|
53
|
+
</Configure>
|
@@ -0,0 +1,46 @@
|
|
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="solr.jetty.keystore" default="./etc/solr-ssl.keystore.jks"/></Set>
|
11
|
+
<Set name="KeyStorePassword"><Property name="solr.jetty.keystore.password" default="secret"/></Set>
|
12
|
+
<Set name="TrustStorePath"><Property name="solr.jetty.truststore" default="./etc/solr-ssl.keystore.jks"/></Set>
|
13
|
+
<Set name="TrustStorePassword"><Property name="solr.jetty.truststore.password" default="secret"/></Set>
|
14
|
+
<Set name="NeedClientAuth"><Property name="solr.jetty.ssl.needClientAuth" default="false"/></Set>
|
15
|
+
<Set name="WantClientAuth"><Property name="solr.jetty.ssl.wantClientAuth" default="false"/></Set>
|
16
|
+
<Set name="excludeProtocols">
|
17
|
+
<Array type="java.lang.String">
|
18
|
+
<Item>SSLv3</Item>
|
19
|
+
</Array>
|
20
|
+
</Set>
|
21
|
+
<Set name="ExcludeCipherSuites">
|
22
|
+
<Array type="String">
|
23
|
+
<Item>SSL_RSA_WITH_DES_CBC_SHA</Item>
|
24
|
+
<Item>SSL_DHE_RSA_WITH_DES_CBC_SHA</Item>
|
25
|
+
<Item>SSL_DHE_DSS_WITH_DES_CBC_SHA</Item>
|
26
|
+
<Item>SSL_RSA_EXPORT_WITH_RC4_40_MD5</Item>
|
27
|
+
<Item>SSL_RSA_EXPORT_WITH_DES40_CBC_SHA</Item>
|
28
|
+
<Item>SSL_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA</Item>
|
29
|
+
<Item>SSL_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA</Item>
|
30
|
+
</Array>
|
31
|
+
</Set>
|
32
|
+
|
33
|
+
<!-- =========================================================== -->
|
34
|
+
<!-- Create a TLS specific HttpConfiguration based on the -->
|
35
|
+
<!-- common HttpConfiguration defined in jetty.xml -->
|
36
|
+
<!-- Add a SecureRequestCustomizer to extract certificate and -->
|
37
|
+
<!-- session information -->
|
38
|
+
<!-- =========================================================== -->
|
39
|
+
<New id="sslHttpConfig" class="org.eclipse.jetty.server.HttpConfiguration">
|
40
|
+
<Arg><Ref refid="httpConfig"/></Arg>
|
41
|
+
<Call name="addCustomizer">
|
42
|
+
<Arg><New class="org.eclipse.jetty.server.SecureRequestCustomizer"/></Arg>
|
43
|
+
</Call>
|
44
|
+
</New>
|
45
|
+
|
46
|
+
</Configure>
|
@@ -0,0 +1,189 @@
|
|
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 the Jetty Server -->
|
6
|
+
<!-- -->
|
7
|
+
<!-- Documentation of this file format can be found at: -->
|
8
|
+
<!-- http://wiki.eclipse.org/Jetty/Reference/jetty.xml_syntax -->
|
9
|
+
<!-- -->
|
10
|
+
<!-- =============================================================== -->
|
11
|
+
|
12
|
+
|
13
|
+
<Configure id="Server" class="org.eclipse.jetty.server.Server">
|
14
|
+
|
15
|
+
<!-- =========================================================== -->
|
16
|
+
<!-- Configure the Server Thread Pool. -->
|
17
|
+
<!-- The server holds a common thread pool which is used by -->
|
18
|
+
<!-- default as the executor used by all connectors and servlet -->
|
19
|
+
<!-- dispatches. -->
|
20
|
+
<!-- -->
|
21
|
+
<!-- Configuring a fixed thread pool is vital to controlling the -->
|
22
|
+
<!-- maximal memory footprint of the server and is a key tuning -->
|
23
|
+
<!-- parameter for tuning. In an application that rarely blocks -->
|
24
|
+
<!-- then maximal threads may be close to the number of 5*CPUs. -->
|
25
|
+
<!-- In an application that frequently blocks, then maximal -->
|
26
|
+
<!-- threads should be set as high as possible given the memory -->
|
27
|
+
<!-- available. -->
|
28
|
+
<!-- -->
|
29
|
+
<!-- Consult the javadoc of o.e.j.util.thread.QueuedThreadPool -->
|
30
|
+
<!-- for all configuration that may be set here. -->
|
31
|
+
<!-- =========================================================== -->
|
32
|
+
<!-- uncomment to change type of threadpool
|
33
|
+
<Arg name="threadpool"><New id="threadpool" class="org.eclipse.jetty.util.thread.QueuedThreadPool"/></Arg>
|
34
|
+
-->
|
35
|
+
<Get name="ThreadPool">
|
36
|
+
<Set name="minThreads" type="int"><Property name="solr.jetty.threads.min" default="10"/></Set>
|
37
|
+
<Set name="maxThreads" type="int"><Property name="solr.jetty.threads.max" default="10000"/></Set>
|
38
|
+
<Set name="idleTimeout" type="int"><Property name="solr.jetty.threads.idle.timeout" default="5000"/></Set>
|
39
|
+
<Set name="stopTimeout" type="int"><Property name="solr.jetty.threads.stop.timeout" default="60000"/></Set>
|
40
|
+
<Set name="detailedDump">false</Set>
|
41
|
+
</Get>
|
42
|
+
|
43
|
+
|
44
|
+
<!-- =========================================================== -->
|
45
|
+
<!-- Http Configuration. -->
|
46
|
+
<!-- This is a common configuration instance used by all -->
|
47
|
+
<!-- connectors that can carry HTTP semantics (HTTP, HTTPS, SPDY)-->
|
48
|
+
<!-- It configures the non wire protocol aspects of the HTTP -->
|
49
|
+
<!-- semantic. -->
|
50
|
+
<!-- -->
|
51
|
+
<!-- This configuration is only defined here and is used by -->
|
52
|
+
<!-- reference from the jetty-http.xml, jetty-https.xml and -->
|
53
|
+
<!-- jetty-spdy.xml configuration files which instantiate the -->
|
54
|
+
<!-- connectors. -->
|
55
|
+
<!-- -->
|
56
|
+
<!-- Consult the javadoc of o.e.j.server.HttpConfiguration -->
|
57
|
+
<!-- for all configuration that may be set here. -->
|
58
|
+
<!-- =========================================================== -->
|
59
|
+
<New id="httpConfig" class="org.eclipse.jetty.server.HttpConfiguration">
|
60
|
+
<Set name="secureScheme">https</Set>
|
61
|
+
<Set name="securePort"><Property name="solr.jetty.secure.port" default="8443" /></Set>
|
62
|
+
<Set name="outputBufferSize"><Property name="solr.jetty.output.buffer.size" default="32768" /></Set>
|
63
|
+
<Set name="outputAggregationSize"><Property name="solr.jetty.output.aggregation.size" default="8192" /></Set>
|
64
|
+
<Set name="requestHeaderSize"><Property name="solr.jetty.request.header.size" default="8192" /></Set>
|
65
|
+
<Set name="responseHeaderSize"><Property name="solr.jetty.response.header.size" default="8192" /></Set>
|
66
|
+
<Set name="sendServerVersion"><Property name="solr.jetty.send.server.version" default="false" /></Set>
|
67
|
+
<Set name="sendDateHeader"><Property name="solr.jetty.send.date.header" default="false" /></Set>
|
68
|
+
<Set name="headerCacheSize"><Property name="solr.jetty.header.cache.size" default="512" /></Set>
|
69
|
+
<Set name="delayDispatchUntilContent"><Property name="solr.jetty.delayDispatchUntilContent" default="false"/></Set>
|
70
|
+
<!-- Uncomment to enable handling of X-Forwarded- style headers
|
71
|
+
<Call name="addCustomizer">
|
72
|
+
<Arg><New class="org.eclipse.jetty.server.ForwardedRequestCustomizer"/></Arg>
|
73
|
+
</Call>
|
74
|
+
-->
|
75
|
+
</New>
|
76
|
+
|
77
|
+
<!-- =========================================================== -->
|
78
|
+
<!-- Set handler Collection Structure -->
|
79
|
+
<!-- =========================================================== -->
|
80
|
+
<New id="RewriteHandler" class="org.eclipse.jetty.rewrite.handler.RewriteHandler">
|
81
|
+
<Set name="rewriteRequestURI">true</Set>
|
82
|
+
<Set name="rewritePathInfo">false</Set>
|
83
|
+
<Set name="originalPathAttribute">requestedPath</Set>
|
84
|
+
|
85
|
+
<Call name="addRule">
|
86
|
+
<Arg>
|
87
|
+
<New class="org.eclipse.jetty.rewrite.handler.RedirectRegexRule">
|
88
|
+
<Set name="regex">^/$</Set>
|
89
|
+
<Set name="replacement">/solr/</Set>
|
90
|
+
</New>
|
91
|
+
</Arg>
|
92
|
+
</Call>
|
93
|
+
</New>
|
94
|
+
|
95
|
+
<!-- =========================================================== -->
|
96
|
+
<!-- Set handler Collection Structure -->
|
97
|
+
<!-- =========================================================== -->
|
98
|
+
<Set name="handler">
|
99
|
+
<New id="Handlers" class="org.eclipse.jetty.server.handler.HandlerCollection">
|
100
|
+
<Set name="handlers">
|
101
|
+
<Array type="org.eclipse.jetty.server.Handler">
|
102
|
+
<Item>
|
103
|
+
<Ref id="RewriteHandler"/>
|
104
|
+
</Item>
|
105
|
+
<Item>
|
106
|
+
<New id="Contexts" class="org.eclipse.jetty.server.handler.ContextHandlerCollection"/>
|
107
|
+
</Item>
|
108
|
+
<Item>
|
109
|
+
<New id="DefaultHandler" class="org.eclipse.jetty.server.handler.DefaultHandler"/>
|
110
|
+
</Item>
|
111
|
+
<Item>
|
112
|
+
<New id="RequestLog" class="org.eclipse.jetty.server.handler.RequestLogHandler"/>
|
113
|
+
</Item>
|
114
|
+
</Array>
|
115
|
+
</Set>
|
116
|
+
</New>
|
117
|
+
</Set>
|
118
|
+
|
119
|
+
<!-- =========================================================== -->
|
120
|
+
<!-- Configure Request Log -->
|
121
|
+
<!-- =========================================================== -->
|
122
|
+
<!--
|
123
|
+
<Ref id="Handlers">
|
124
|
+
<Call name="addHandler">
|
125
|
+
<Arg>
|
126
|
+
<New id="RequestLog" class="org.eclipse.jetty.server.handler.RequestLogHandler">
|
127
|
+
<Set name="requestLog">
|
128
|
+
<New id="RequestLogImpl" class="org.eclipse.jetty.server.NCSARequestLog">
|
129
|
+
<Set name="filename">
|
130
|
+
logs/request.yyyy_mm_dd.log
|
131
|
+
</Set>
|
132
|
+
<Set name="filenameDateFormat">yyyy_MM_dd</Set>
|
133
|
+
<Set name="retainDays">90</Set>
|
134
|
+
<Set name="append">true</Set>
|
135
|
+
<Set name="extended">false</Set>
|
136
|
+
<Set name="logCookies">false</Set>
|
137
|
+
<Set name="LogTimeZone">UTC</Set>
|
138
|
+
</New>
|
139
|
+
</Set>
|
140
|
+
</New>
|
141
|
+
</Arg>
|
142
|
+
</Call>
|
143
|
+
</Ref>
|
144
|
+
-->
|
145
|
+
|
146
|
+
<!-- =========================================================== -->
|
147
|
+
<!-- extra options -->
|
148
|
+
<!-- =========================================================== -->
|
149
|
+
<Set name="stopAtShutdown">true</Set>
|
150
|
+
<Set name="dumpAfterStart">false</Set>
|
151
|
+
<Set name="dumpBeforeStop">false</Set>
|
152
|
+
|
153
|
+
<Call name="addBean">
|
154
|
+
<Arg>
|
155
|
+
<New id="DeploymentManager" class="org.eclipse.jetty.deploy.DeploymentManager">
|
156
|
+
<Set name="contexts">
|
157
|
+
<Ref refid="Contexts" />
|
158
|
+
</Set>
|
159
|
+
|
160
|
+
<Call name="addAppProvider">
|
161
|
+
<Arg>
|
162
|
+
<New class="org.eclipse.jetty.deploy.providers.WebAppProvider">
|
163
|
+
<Set name="monitoredDirName"><Property name="jetty.base" default="."/>/contexts</Set>
|
164
|
+
<Set name="scanInterval">0</Set>
|
165
|
+
</New>
|
166
|
+
</Arg>
|
167
|
+
</Call>
|
168
|
+
|
169
|
+
<!-- Add a customize step to the deployment lifecycle -->
|
170
|
+
<!-- uncomment and replace DebugBinding with your extended AppLifeCycle.Binding class
|
171
|
+
<Call name="insertLifeCycleNode">
|
172
|
+
<Arg>deployed</Arg>
|
173
|
+
<Arg>starting</Arg>
|
174
|
+
<Arg>customise</Arg>
|
175
|
+
</Call>
|
176
|
+
<Call name="addLifeCycleBinding">
|
177
|
+
<Arg>
|
178
|
+
<New class="org.eclipse.jetty.deploy.bindings.DebugBinding">
|
179
|
+
<Arg>customise</Arg>
|
180
|
+
</New>
|
181
|
+
</Arg>
|
182
|
+
</Call>
|
183
|
+
-->
|
184
|
+
|
185
|
+
</New>
|
186
|
+
</Arg>
|
187
|
+
</Call>
|
188
|
+
|
189
|
+
</Configure>
|
@@ -1,527 +1,527 @@
|
|
1
|
-
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2
|
-
|
3
|
-
<!-- ===================================================================== -->
|
4
|
-
<!-- This file contains the default descriptor for web applications. -->
|
5
|
-
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
6
|
-
<!-- The intent of this descriptor is to include jetty specific or common -->
|
7
|
-
<!-- configuration for all webapps. If a context has a webdefault.xml -->
|
8
|
-
<!-- descriptor, it is applied before the contexts own web.xml file -->
|
9
|
-
<!-- -->
|
10
|
-
<!-- A context may be assigned a default descriptor by: -->
|
11
|
-
<!-- + Calling WebApplicationContext.setDefaultsDescriptor -->
|
12
|
-
<!-- + Passed an arg to addWebApplications -->
|
13
|
-
<!-- -->
|
14
|
-
<!-- This file is used both as the resource within the jetty.jar (which is -->
|
15
|
-
<!-- used as the default if no explicit defaults descriptor is set) and it -->
|
16
|
-
<!-- is copied to the etc directory of the Jetty distro and explicitly -->
|
17
|
-
<!-- by the jetty.xml file. -->
|
18
|
-
<!-- -->
|
19
|
-
<!-- ===================================================================== -->
|
20
|
-
<web-app
|
21
|
-
xmlns="http://java.sun.com/xml/ns/javaee"
|
22
|
-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
23
|
-
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
|
24
|
-
metadata-complete="true"
|
25
|
-
version="2.5"
|
26
|
-
>
|
27
|
-
|
28
|
-
<description>
|
29
|
-
Default web.xml file.
|
30
|
-
This file is applied to a Web application before
|
31
|
-
</description>
|
32
|
-
|
33
|
-
<!-- ==================================================================== -->
|
34
|
-
<!-- Removes static references to beans from javax.el.BeanELResolver to -->
|
35
|
-
<!-- ensure webapp classloader can be released on undeploy -->
|
36
|
-
<!-- ==================================================================== -->
|
37
|
-
<listener>
|
38
|
-
<listener-class>org.eclipse.jetty.servlet.listener.ELContextCleaner</listener-class>
|
39
|
-
</listener>
|
40
|
-
|
41
|
-
<!-- ==================================================================== -->
|
42
|
-
<!-- Removes static cache of Methods from java.beans.Introspector to -->
|
43
|
-
<!-- ensure webapp classloader can be released on undeploy -->
|
44
|
-
<!-- ==================================================================== -->
|
45
|
-
<listener>
|
46
|
-
<listener-class>org.eclipse.jetty.servlet.listener.IntrospectorCleaner</listener-class>
|
47
|
-
</listener>
|
48
|
-
|
49
|
-
|
50
|
-
<!-- ==================================================================== -->
|
51
|
-
<!-- Context params to control Session Cookies -->
|
52
|
-
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
53
|
-
<!--
|
54
|
-
UNCOMMENT TO ACTIVATE <context-param> <param-name>org.eclipse.jetty.servlet.SessionDomain</param-name> <param-value>127.0.0.1</param-value> </context-param> <context-param>
|
55
|
-
<param-name>org.eclipse.jetty.servlet.SessionPath</param-name> <param-value>/</param-value> </context-param> <context-param> <param-name>org.eclipse.jetty.servlet.MaxAge</param-name>
|
56
|
-
<param-value>-1</param-value> </context-param>
|
57
|
-
-->
|
58
|
-
|
59
|
-
<!-- ==================================================================== -->
|
60
|
-
<!-- The default servlet. -->
|
61
|
-
<!-- This servlet, normally mapped to /, provides the handling for static -->
|
62
|
-
<!-- content, OPTIONS and TRACE methods for the context. -->
|
63
|
-
<!-- The following initParameters are supported: -->
|
64
|
-
<!--
|
65
|
-
* acceptRanges If true, range requests and responses are
|
66
|
-
* supported
|
67
|
-
*
|
68
|
-
* dirAllowed If true, directory listings are returned if no
|
69
|
-
* welcome file is found. Else 403 Forbidden.
|
70
|
-
*
|
71
|
-
* welcomeServlets If true, attempt to dispatch to welcome files
|
72
|
-
* that are servlets, but only after no matching static
|
73
|
-
* resources could be found. If false, then a welcome
|
74
|
-
* file must exist on disk. If "exact", then exact
|
75
|
-
* servlet matches are supported without an existing file.
|
76
|
-
* Default is true.
|
77
|
-
*
|
78
|
-
* This must be false if you want directory listings,
|
79
|
-
* but have index.jsp in your welcome file list.
|
80
|
-
*
|
81
|
-
* redirectWelcome If true, welcome files are redirected rather than
|
82
|
-
* forwarded to.
|
83
|
-
*
|
84
|
-
* gzip If set to true, then static content will be served as
|
85
|
-
* gzip content encoded if a matching resource is
|
86
|
-
* found ending with ".gz"
|
87
|
-
*
|
88
|
-
* resourceBase Set to replace the context resource base
|
89
|
-
*
|
90
|
-
* resourceCache If set, this is a context attribute name, which the servlet
|
91
|
-
* will use to look for a shared ResourceCache instance.
|
92
|
-
*
|
93
|
-
* relativeResourceBase
|
94
|
-
* Set with a pathname relative to the base of the
|
95
|
-
* servlet context root. Useful for only serving static content out
|
96
|
-
* of only specific subdirectories.
|
97
|
-
*
|
98
|
-
* aliases If True, aliases of resources are allowed (eg. symbolic
|
99
|
-
* links and caps variations). May bypass security constraints.
|
100
|
-
*
|
101
|
-
* maxCacheSize The maximum total size of the cache or 0 for no cache.
|
102
|
-
* maxCachedFileSize The maximum size of a file to cache
|
103
|
-
* maxCachedFiles The maximum number of files to cache
|
104
|
-
*
|
105
|
-
* useFileMappedBuffer
|
106
|
-
* If set to true, it will use mapped file buffer to serve static content
|
107
|
-
* when using NIO connector. Setting this value to false means that
|
108
|
-
* a direct buffer will be used instead of a mapped file buffer.
|
109
|
-
* By default, this is set to true.
|
110
|
-
*
|
111
|
-
* cacheControl If set, all static content will have this value set as the cache-control
|
112
|
-
* header.
|
113
|
-
-->
|
114
|
-
|
115
|
-
|
116
|
-
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
117
|
-
<servlet>
|
118
|
-
<servlet-name>default</servlet-name>
|
119
|
-
<servlet-class>org.eclipse.jetty.servlet.DefaultServlet</servlet-class>
|
120
|
-
<init-param>
|
121
|
-
<param-name>aliases</param-name>
|
122
|
-
<param-value>false</param-value>
|
123
|
-
</init-param>
|
124
|
-
<init-param>
|
125
|
-
<param-name>acceptRanges</param-name>
|
126
|
-
<param-value>true</param-value>
|
127
|
-
</init-param>
|
128
|
-
<init-param>
|
129
|
-
<param-name>dirAllowed</param-name>
|
130
|
-
<param-value>true</param-value>
|
131
|
-
</init-param>
|
132
|
-
<init-param>
|
133
|
-
<param-name>welcomeServlets</param-name>
|
134
|
-
<param-value>false</param-value>
|
135
|
-
</init-param>
|
136
|
-
<init-param>
|
137
|
-
<param-name>redirectWelcome</param-name>
|
138
|
-
<param-value>false</param-value>
|
139
|
-
</init-param>
|
140
|
-
<init-param>
|
141
|
-
<param-name>maxCacheSize</param-name>
|
142
|
-
<param-value>256000000</param-value>
|
143
|
-
</init-param>
|
144
|
-
<init-param>
|
145
|
-
<param-name>maxCachedFileSize</param-name>
|
146
|
-
<param-value>200000000</param-value>
|
147
|
-
</init-param>
|
148
|
-
<init-param>
|
149
|
-
<param-name>maxCachedFiles</param-name>
|
150
|
-
<param-value>2048</param-value>
|
151
|
-
</init-param>
|
152
|
-
<init-param>
|
153
|
-
<param-name>gzip</param-name>
|
154
|
-
<param-value>true</param-value>
|
155
|
-
</init-param>
|
156
|
-
<init-param>
|
157
|
-
<param-name>useFileMappedBuffer</param-name>
|
158
|
-
<param-value>true</param-value>
|
159
|
-
</init-param>
|
160
|
-
<!--
|
161
|
-
<init-param>
|
162
|
-
<param-name>resourceCache</param-name>
|
163
|
-
<param-value>resourceCache</param-value>
|
164
|
-
</init-param>
|
165
|
-
-->
|
166
|
-
<!--
|
167
|
-
<init-param>
|
168
|
-
<param-name>cacheControl</param-name>
|
169
|
-
<param-value>max-age=3600,public</param-value>
|
170
|
-
</init-param>
|
171
|
-
-->
|
172
|
-
<load-on-startup>0</load-on-startup>
|
173
|
-
</servlet>
|
174
|
-
|
175
|
-
<servlet-mapping>
|
176
|
-
<servlet-name>default</servlet-name>
|
177
|
-
<url-pattern>/</url-pattern>
|
178
|
-
</servlet-mapping>
|
179
|
-
|
180
|
-
|
181
|
-
<!-- ==================================================================== -->
|
182
|
-
<!-- JSP Servlet -->
|
183
|
-
<!-- This is the jasper JSP servlet from the jakarta project -->
|
184
|
-
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
185
|
-
<!-- The JSP page compiler and execution servlet, which is the mechanism -->
|
186
|
-
<!-- used by Glassfish to support JSP pages. Traditionally, this servlet -->
|
187
|
-
<!-- is mapped to URL patterh "*.jsp". This servlet supports the -->
|
188
|
-
<!-- following initialization parameters (default values are in square -->
|
189
|
-
<!-- brackets): -->
|
190
|
-
<!-- -->
|
191
|
-
<!-- checkInterval If development is false and reloading is true, -->
|
192
|
-
<!-- background compiles are enabled. checkInterval -->
|
193
|
-
<!-- is the time in seconds between checks to see -->
|
194
|
-
<!-- if a JSP page needs to be recompiled. [300] -->
|
195
|
-
<!-- -->
|
196
|
-
<!-- compiler Which compiler Ant should use to compile JSP -->
|
197
|
-
<!-- pages. See the Ant documenation for more -->
|
198
|
-
<!-- information. [javac] -->
|
199
|
-
<!-- -->
|
200
|
-
<!-- classdebuginfo Should the class file be compiled with -->
|
201
|
-
<!-- debugging information? [true] -->
|
202
|
-
<!-- -->
|
203
|
-
<!-- classpath What class path should I use while compiling -->
|
204
|
-
<!-- generated servlets? [Created dynamically -->
|
205
|
-
<!-- based on the current web application] -->
|
206
|
-
<!-- Set to ? to make the container explicitly set -->
|
207
|
-
<!-- this parameter. -->
|
208
|
-
<!-- -->
|
209
|
-
<!-- development Is Jasper used in development mode (will check -->
|
210
|
-
<!-- for JSP modification on every access)? [true] -->
|
211
|
-
<!-- -->
|
212
|
-
<!-- enablePooling Determines whether tag handler pooling is -->
|
213
|
-
<!-- enabled [true] -->
|
214
|
-
<!-- -->
|
215
|
-
<!-- fork Tell Ant to fork compiles of JSP pages so that -->
|
216
|
-
<!-- a separate JVM is used for JSP page compiles -->
|
217
|
-
<!-- from the one Tomcat is running in. [true] -->
|
218
|
-
<!-- -->
|
219
|
-
<!-- ieClassId The class-id value to be sent to Internet -->
|
220
|
-
<!-- Explorer when using <jsp:plugin> tags. -->
|
221
|
-
<!-- [clsid:8AD9C840-044E-11D1-B3E9-00805F499D93] -->
|
222
|
-
<!-- -->
|
223
|
-
<!-- javaEncoding Java file encoding to use for generating java -->
|
224
|
-
<!-- source files. [UTF-8] -->
|
225
|
-
<!-- -->
|
226
|
-
<!-- keepgenerated Should we keep the generated Java source code -->
|
227
|
-
<!-- for each page instead of deleting it? [true] -->
|
228
|
-
<!-- -->
|
229
|
-
<!-- logVerbosityLevel The level of detailed messages to be produced -->
|
230
|
-
<!-- by this servlet. Increasing levels cause the -->
|
231
|
-
<!-- generation of more messages. Valid values are -->
|
232
|
-
<!-- FATAL, ERROR, WARNING, INFORMATION, and DEBUG. -->
|
233
|
-
<!-- [WARNING] -->
|
234
|
-
<!-- -->
|
235
|
-
<!-- mappedfile Should we generate static content with one -->
|
236
|
-
<!-- print statement per input line, to ease -->
|
237
|
-
<!-- debugging? [false] -->
|
238
|
-
<!-- -->
|
239
|
-
<!-- -->
|
240
|
-
<!-- reloading Should Jasper check for modified JSPs? [true] -->
|
241
|
-
<!-- -->
|
242
|
-
<!-- suppressSmap Should the generation of SMAP info for JSR45 -->
|
243
|
-
<!-- debugging be suppressed? [false] -->
|
244
|
-
<!-- -->
|
245
|
-
<!-- dumpSmap Should the SMAP info for JSR45 debugging be -->
|
246
|
-
<!-- dumped to a file? [false] -->
|
247
|
-
<!-- False if suppressSmap is true -->
|
248
|
-
<!-- -->
|
249
|
-
<!-- scratchdir What scratch directory should we use when -->
|
250
|
-
<!-- compiling JSP pages? [default work directory -->
|
251
|
-
<!-- for the current web application] -->
|
252
|
-
<!-- -->
|
253
|
-
<!-- tagpoolMaxSize The maximum tag handler pool size [5] -->
|
254
|
-
<!-- -->
|
255
|
-
<!-- xpoweredBy Determines whether X-Powered-By response -->
|
256
|
-
<!-- header is added by generated servlet [false] -->
|
257
|
-
<!-- -->
|
258
|
-
<!-- If you wish to use Jikes to compile JSP pages: -->
|
259
|
-
<!-- Set the init parameter "compiler" to "jikes". Define -->
|
260
|
-
<!-- the property "-Dbuild.compiler.emacs=true" when starting Jetty -->
|
261
|
-
<!-- to cause Jikes to emit error messages in a format compatible with -->
|
262
|
-
<!-- Jasper. -->
|
263
|
-
<!-- If you get an error reporting that jikes can't use UTF-8 encoding, -->
|
264
|
-
<!-- try setting the init parameter "javaEncoding" to "ISO-8859-1". -->
|
265
|
-
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
266
|
-
<servlet
|
267
|
-
id="jsp"
|
268
|
-
>
|
269
|
-
<servlet-name>jsp</servlet-name>
|
270
|
-
<servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
|
271
|
-
<init-param>
|
272
|
-
<param-name>logVerbosityLevel</param-name>
|
273
|
-
<param-value>DEBUG</param-value>
|
274
|
-
</init-param>
|
275
|
-
<init-param>
|
276
|
-
<param-name>fork</param-name>
|
277
|
-
<param-value>false</param-value>
|
278
|
-
</init-param>
|
279
|
-
<init-param>
|
280
|
-
<param-name>xpoweredBy</param-name>
|
281
|
-
<param-value>false</param-value>
|
282
|
-
</init-param>
|
283
|
-
<!--
|
284
|
-
<init-param>
|
285
|
-
<param-name>classpath</param-name>
|
286
|
-
<param-value>?</param-value>
|
287
|
-
</init-param>
|
288
|
-
-->
|
289
|
-
<load-on-startup>0</load-on-startup>
|
290
|
-
</servlet>
|
291
|
-
|
292
|
-
<servlet-mapping>
|
293
|
-
<servlet-name>jsp</servlet-name>
|
294
|
-
<url-pattern>*.jsp</url-pattern>
|
295
|
-
<url-pattern>*.jspf</url-pattern>
|
296
|
-
<url-pattern>*.jspx</url-pattern>
|
297
|
-
<url-pattern>*.xsp</url-pattern>
|
298
|
-
<url-pattern>*.JSP</url-pattern>
|
299
|
-
<url-pattern>*.JSPF</url-pattern>
|
300
|
-
<url-pattern>*.JSPX</url-pattern>
|
301
|
-
<url-pattern>*.XSP</url-pattern>
|
302
|
-
</servlet-mapping>
|
303
|
-
|
304
|
-
<!-- ==================================================================== -->
|
305
|
-
<!-- Dynamic Servlet Invoker. -->
|
306
|
-
<!-- This servlet invokes anonymous servlets that have not been defined -->
|
307
|
-
<!-- in the web.xml or by other means. The first element of the pathInfo -->
|
308
|
-
<!-- of a request passed to the envoker is treated as a servlet name for -->
|
309
|
-
<!-- an existing servlet, or as a class name of a new servlet. -->
|
310
|
-
<!-- This servlet is normally mapped to /servlet/* -->
|
311
|
-
<!-- This servlet support the following initParams: -->
|
312
|
-
<!-- -->
|
313
|
-
<!-- nonContextServlets If false, the invoker can only load -->
|
314
|
-
<!-- servlets from the contexts classloader. -->
|
315
|
-
<!-- This is false by default and setting this -->
|
316
|
-
<!-- to true may have security implications. -->
|
317
|
-
<!-- -->
|
318
|
-
<!-- verbose If true, log dynamic loads -->
|
319
|
-
<!-- -->
|
320
|
-
<!-- * All other parameters are copied to the -->
|
321
|
-
<!-- each dynamic servlet as init parameters -->
|
322
|
-
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
323
|
-
<!--
|
324
|
-
Uncomment for dynamic invocation <servlet> <servlet-name>invoker</servlet-name> <servlet-class>org.eclipse.jetty.servlet.Invoker</servlet-class> <init-param> <param-name>verbose</param-name>
|
325
|
-
<param-value>false</param-value> </init-param> <init-param> <param-name>nonContextServlets</param-name> <param-value>false</param-value> </init-param> <init-param>
|
326
|
-
<param-name>dynamicParam</param-name> <param-value>anyValue</param-value> </init-param> <load-on-startup>0</load-on-startup> </servlet> <servlet-mapping> <servlet-name>invoker</servlet-name>
|
327
|
-
<url-pattern>/servlet/*</url-pattern> </servlet-mapping>
|
328
|
-
-->
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
<!-- ==================================================================== -->
|
333
|
-
<session-config>
|
334
|
-
<session-timeout>30</session-timeout>
|
335
|
-
</session-config>
|
336
|
-
|
337
|
-
<!-- ==================================================================== -->
|
338
|
-
<!-- Default MIME mappings -->
|
339
|
-
<!-- The default MIME mappings are provided by the mime.properties -->
|
340
|
-
<!-- resource in the org.eclipse.jetty.server.jar file. Additional or modified -->
|
341
|
-
<!-- mappings may be specified here -->
|
342
|
-
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
343
|
-
<!-- UNCOMMENT TO ACTIVATE
|
344
|
-
<mime-mapping>
|
345
|
-
<extension>mysuffix</extension>
|
346
|
-
<mime-type>mymime/type</mime-type>
|
347
|
-
</mime-mapping>
|
348
|
-
-->
|
349
|
-
|
350
|
-
<!-- ==================================================================== -->
|
351
|
-
<welcome-file-list>
|
352
|
-
<welcome-file>index.html</welcome-file>
|
353
|
-
<welcome-file>index.htm</welcome-file>
|
354
|
-
<welcome-file>index.jsp</welcome-file>
|
355
|
-
</welcome-file-list>
|
356
|
-
|
357
|
-
<!-- ==================================================================== -->
|
358
|
-
<locale-encoding-mapping-list>
|
359
|
-
<locale-encoding-mapping>
|
360
|
-
<locale>ar</locale>
|
361
|
-
<encoding>ISO-8859-6</encoding>
|
362
|
-
</locale-encoding-mapping>
|
363
|
-
<locale-encoding-mapping>
|
364
|
-
<locale>be</locale>
|
365
|
-
<encoding>ISO-8859-5</encoding>
|
366
|
-
</locale-encoding-mapping>
|
367
|
-
<locale-encoding-mapping>
|
368
|
-
<locale>bg</locale>
|
369
|
-
<encoding>ISO-8859-5</encoding>
|
370
|
-
</locale-encoding-mapping>
|
371
|
-
<locale-encoding-mapping>
|
372
|
-
<locale>ca</locale>
|
373
|
-
<encoding>ISO-8859-1</encoding>
|
374
|
-
</locale-encoding-mapping>
|
375
|
-
<locale-encoding-mapping>
|
376
|
-
<locale>cs</locale>
|
377
|
-
<encoding>ISO-8859-2</encoding>
|
378
|
-
</locale-encoding-mapping>
|
379
|
-
<locale-encoding-mapping>
|
380
|
-
<locale>da</locale>
|
381
|
-
<encoding>ISO-8859-1</encoding>
|
382
|
-
</locale-encoding-mapping>
|
383
|
-
<locale-encoding-mapping>
|
384
|
-
<locale>de</locale>
|
385
|
-
<encoding>ISO-8859-1</encoding>
|
386
|
-
</locale-encoding-mapping>
|
387
|
-
<locale-encoding-mapping>
|
388
|
-
<locale>el</locale>
|
389
|
-
<encoding>ISO-8859-7</encoding>
|
390
|
-
</locale-encoding-mapping>
|
391
|
-
<locale-encoding-mapping>
|
392
|
-
<locale>en</locale>
|
393
|
-
<encoding>ISO-8859-1</encoding>
|
394
|
-
</locale-encoding-mapping>
|
395
|
-
<locale-encoding-mapping>
|
396
|
-
<locale>es</locale>
|
397
|
-
<encoding>ISO-8859-1</encoding>
|
398
|
-
</locale-encoding-mapping>
|
399
|
-
<locale-encoding-mapping>
|
400
|
-
<locale>et</locale>
|
401
|
-
<encoding>ISO-8859-1</encoding>
|
402
|
-
</locale-encoding-mapping>
|
403
|
-
<locale-encoding-mapping>
|
404
|
-
<locale>fi</locale>
|
405
|
-
<encoding>ISO-8859-1</encoding>
|
406
|
-
</locale-encoding-mapping>
|
407
|
-
<locale-encoding-mapping>
|
408
|
-
<locale>fr</locale>
|
409
|
-
<encoding>ISO-8859-1</encoding>
|
410
|
-
</locale-encoding-mapping>
|
411
|
-
<locale-encoding-mapping>
|
412
|
-
<locale>hr</locale>
|
413
|
-
<encoding>ISO-8859-2</encoding>
|
414
|
-
</locale-encoding-mapping>
|
415
|
-
<locale-encoding-mapping>
|
416
|
-
<locale>hu</locale>
|
417
|
-
<encoding>ISO-8859-2</encoding>
|
418
|
-
</locale-encoding-mapping>
|
419
|
-
<locale-encoding-mapping>
|
420
|
-
<locale>is</locale>
|
421
|
-
<encoding>ISO-8859-1</encoding>
|
422
|
-
</locale-encoding-mapping>
|
423
|
-
<locale-encoding-mapping>
|
424
|
-
<locale>it</locale>
|
425
|
-
<encoding>ISO-8859-1</encoding>
|
426
|
-
</locale-encoding-mapping>
|
427
|
-
<locale-encoding-mapping>
|
428
|
-
<locale>iw</locale>
|
429
|
-
<encoding>ISO-8859-8</encoding>
|
430
|
-
</locale-encoding-mapping>
|
431
|
-
<locale-encoding-mapping>
|
432
|
-
<locale>ja</locale>
|
433
|
-
<encoding>Shift_JIS</encoding>
|
434
|
-
</locale-encoding-mapping>
|
435
|
-
<locale-encoding-mapping>
|
436
|
-
<locale>ko</locale>
|
437
|
-
<encoding>EUC-KR</encoding>
|
438
|
-
</locale-encoding-mapping>
|
439
|
-
<locale-encoding-mapping>
|
440
|
-
<locale>lt</locale>
|
441
|
-
<encoding>ISO-8859-2</encoding>
|
442
|
-
</locale-encoding-mapping>
|
443
|
-
<locale-encoding-mapping>
|
444
|
-
<locale>lv</locale>
|
445
|
-
<encoding>ISO-8859-2</encoding>
|
446
|
-
</locale-encoding-mapping>
|
447
|
-
<locale-encoding-mapping>
|
448
|
-
<locale>mk</locale>
|
449
|
-
<encoding>ISO-8859-5</encoding>
|
450
|
-
</locale-encoding-mapping>
|
451
|
-
<locale-encoding-mapping>
|
452
|
-
<locale>nl</locale>
|
453
|
-
<encoding>ISO-8859-1</encoding>
|
454
|
-
</locale-encoding-mapping>
|
455
|
-
<locale-encoding-mapping>
|
456
|
-
<locale>no</locale>
|
457
|
-
<encoding>ISO-8859-1</encoding>
|
458
|
-
</locale-encoding-mapping>
|
459
|
-
<locale-encoding-mapping>
|
460
|
-
<locale>pl</locale>
|
461
|
-
<encoding>ISO-8859-2</encoding>
|
462
|
-
</locale-encoding-mapping>
|
463
|
-
<locale-encoding-mapping>
|
464
|
-
<locale>pt</locale>
|
465
|
-
<encoding>ISO-8859-1</encoding>
|
466
|
-
</locale-encoding-mapping>
|
467
|
-
<locale-encoding-mapping>
|
468
|
-
<locale>ro</locale>
|
469
|
-
<encoding>ISO-8859-2</encoding>
|
470
|
-
</locale-encoding-mapping>
|
471
|
-
<locale-encoding-mapping>
|
472
|
-
<locale>ru</locale>
|
473
|
-
<encoding>ISO-8859-5</encoding>
|
474
|
-
</locale-encoding-mapping>
|
475
|
-
<locale-encoding-mapping>
|
476
|
-
<locale>sh</locale>
|
477
|
-
<encoding>ISO-8859-5</encoding>
|
478
|
-
</locale-encoding-mapping>
|
479
|
-
<locale-encoding-mapping>
|
480
|
-
<locale>sk</locale>
|
481
|
-
<encoding>ISO-8859-2</encoding>
|
482
|
-
</locale-encoding-mapping>
|
483
|
-
<locale-encoding-mapping>
|
484
|
-
<locale>sl</locale>
|
485
|
-
<encoding>ISO-8859-2</encoding>
|
486
|
-
</locale-encoding-mapping>
|
487
|
-
<locale-encoding-mapping>
|
488
|
-
<locale>sq</locale>
|
489
|
-
<encoding>ISO-8859-2</encoding>
|
490
|
-
</locale-encoding-mapping>
|
491
|
-
<locale-encoding-mapping>
|
492
|
-
<locale>sr</locale>
|
493
|
-
<encoding>ISO-8859-5</encoding>
|
494
|
-
</locale-encoding-mapping>
|
495
|
-
<locale-encoding-mapping>
|
496
|
-
<locale>sv</locale>
|
497
|
-
<encoding>ISO-8859-1</encoding>
|
498
|
-
</locale-encoding-mapping>
|
499
|
-
<locale-encoding-mapping>
|
500
|
-
<locale>tr</locale>
|
501
|
-
<encoding>ISO-8859-9</encoding>
|
502
|
-
</locale-encoding-mapping>
|
503
|
-
<locale-encoding-mapping>
|
504
|
-
<locale>uk</locale>
|
505
|
-
<encoding>ISO-8859-5</encoding>
|
506
|
-
</locale-encoding-mapping>
|
507
|
-
<locale-encoding-mapping>
|
508
|
-
<locale>zh</locale>
|
509
|
-
<encoding>GB2312</encoding>
|
510
|
-
</locale-encoding-mapping>
|
511
|
-
<locale-encoding-mapping>
|
512
|
-
<locale>zh_TW</locale>
|
513
|
-
<encoding>Big5</encoding>
|
514
|
-
</locale-encoding-mapping>
|
515
|
-
</locale-encoding-mapping-list>
|
516
|
-
|
517
|
-
<security-constraint>
|
518
|
-
<web-resource-collection>
|
519
|
-
<web-resource-name>Disable TRACE</web-resource-name>
|
520
|
-
<url-pattern>/</url-pattern>
|
521
|
-
<http-method>TRACE</http-method>
|
522
|
-
</web-resource-collection>
|
523
|
-
<auth-constraint/>
|
524
|
-
</security-constraint>
|
525
|
-
|
526
|
-
</web-app>
|
527
|
-
|
1
|
+
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2
|
+
|
3
|
+
<!-- ===================================================================== -->
|
4
|
+
<!-- This file contains the default descriptor for web applications. -->
|
5
|
+
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
6
|
+
<!-- The intent of this descriptor is to include jetty specific or common -->
|
7
|
+
<!-- configuration for all webapps. If a context has a webdefault.xml -->
|
8
|
+
<!-- descriptor, it is applied before the contexts own web.xml file -->
|
9
|
+
<!-- -->
|
10
|
+
<!-- A context may be assigned a default descriptor by: -->
|
11
|
+
<!-- + Calling WebApplicationContext.setDefaultsDescriptor -->
|
12
|
+
<!-- + Passed an arg to addWebApplications -->
|
13
|
+
<!-- -->
|
14
|
+
<!-- This file is used both as the resource within the jetty.jar (which is -->
|
15
|
+
<!-- used as the default if no explicit defaults descriptor is set) and it -->
|
16
|
+
<!-- is copied to the etc directory of the Jetty distro and explicitly -->
|
17
|
+
<!-- by the jetty.xml file. -->
|
18
|
+
<!-- -->
|
19
|
+
<!-- ===================================================================== -->
|
20
|
+
<web-app
|
21
|
+
xmlns="http://java.sun.com/xml/ns/javaee"
|
22
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
23
|
+
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
|
24
|
+
metadata-complete="true"
|
25
|
+
version="2.5"
|
26
|
+
>
|
27
|
+
|
28
|
+
<description>
|
29
|
+
Default web.xml file.
|
30
|
+
This file is applied to a Web application before its own WEB_INF/web.xml file
|
31
|
+
</description>
|
32
|
+
|
33
|
+
<!-- ==================================================================== -->
|
34
|
+
<!-- Removes static references to beans from javax.el.BeanELResolver to -->
|
35
|
+
<!-- ensure webapp classloader can be released on undeploy -->
|
36
|
+
<!-- ==================================================================== -->
|
37
|
+
<listener>
|
38
|
+
<listener-class>org.eclipse.jetty.servlet.listener.ELContextCleaner</listener-class>
|
39
|
+
</listener>
|
40
|
+
|
41
|
+
<!-- ==================================================================== -->
|
42
|
+
<!-- Removes static cache of Methods from java.beans.Introspector to -->
|
43
|
+
<!-- ensure webapp classloader can be released on undeploy -->
|
44
|
+
<!-- ==================================================================== -->
|
45
|
+
<listener>
|
46
|
+
<listener-class>org.eclipse.jetty.servlet.listener.IntrospectorCleaner</listener-class>
|
47
|
+
</listener>
|
48
|
+
|
49
|
+
|
50
|
+
<!-- ==================================================================== -->
|
51
|
+
<!-- Context params to control Session Cookies -->
|
52
|
+
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
53
|
+
<!--
|
54
|
+
UNCOMMENT TO ACTIVATE <context-param> <param-name>org.eclipse.jetty.servlet.SessionDomain</param-name> <param-value>127.0.0.1</param-value> </context-param> <context-param>
|
55
|
+
<param-name>org.eclipse.jetty.servlet.SessionPath</param-name> <param-value>/</param-value> </context-param> <context-param> <param-name>org.eclipse.jetty.servlet.MaxAge</param-name>
|
56
|
+
<param-value>-1</param-value> </context-param>
|
57
|
+
-->
|
58
|
+
|
59
|
+
<!-- ==================================================================== -->
|
60
|
+
<!-- The default servlet. -->
|
61
|
+
<!-- This servlet, normally mapped to /, provides the handling for static -->
|
62
|
+
<!-- content, OPTIONS and TRACE methods for the context. -->
|
63
|
+
<!-- The following initParameters are supported: -->
|
64
|
+
<!--
|
65
|
+
* acceptRanges If true, range requests and responses are
|
66
|
+
* supported
|
67
|
+
*
|
68
|
+
* dirAllowed If true, directory listings are returned if no
|
69
|
+
* welcome file is found. Else 403 Forbidden.
|
70
|
+
*
|
71
|
+
* welcomeServlets If true, attempt to dispatch to welcome files
|
72
|
+
* that are servlets, but only after no matching static
|
73
|
+
* resources could be found. If false, then a welcome
|
74
|
+
* file must exist on disk. If "exact", then exact
|
75
|
+
* servlet matches are supported without an existing file.
|
76
|
+
* Default is true.
|
77
|
+
*
|
78
|
+
* This must be false if you want directory listings,
|
79
|
+
* but have index.jsp in your welcome file list.
|
80
|
+
*
|
81
|
+
* redirectWelcome If true, welcome files are redirected rather than
|
82
|
+
* forwarded to.
|
83
|
+
*
|
84
|
+
* gzip If set to true, then static content will be served as
|
85
|
+
* gzip content encoded if a matching resource is
|
86
|
+
* found ending with ".gz"
|
87
|
+
*
|
88
|
+
* resourceBase Set to replace the context resource base
|
89
|
+
*
|
90
|
+
* resourceCache If set, this is a context attribute name, which the servlet
|
91
|
+
* will use to look for a shared ResourceCache instance.
|
92
|
+
*
|
93
|
+
* relativeResourceBase
|
94
|
+
* Set with a pathname relative to the base of the
|
95
|
+
* servlet context root. Useful for only serving static content out
|
96
|
+
* of only specific subdirectories.
|
97
|
+
*
|
98
|
+
* aliases If True, aliases of resources are allowed (eg. symbolic
|
99
|
+
* links and caps variations). May bypass security constraints.
|
100
|
+
*
|
101
|
+
* maxCacheSize The maximum total size of the cache or 0 for no cache.
|
102
|
+
* maxCachedFileSize The maximum size of a file to cache
|
103
|
+
* maxCachedFiles The maximum number of files to cache
|
104
|
+
*
|
105
|
+
* useFileMappedBuffer
|
106
|
+
* If set to true, it will use mapped file buffer to serve static content
|
107
|
+
* when using NIO connector. Setting this value to false means that
|
108
|
+
* a direct buffer will be used instead of a mapped file buffer.
|
109
|
+
* By default, this is set to true.
|
110
|
+
*
|
111
|
+
* cacheControl If set, all static content will have this value set as the cache-control
|
112
|
+
* header.
|
113
|
+
-->
|
114
|
+
|
115
|
+
|
116
|
+
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
117
|
+
<servlet>
|
118
|
+
<servlet-name>default</servlet-name>
|
119
|
+
<servlet-class>org.eclipse.jetty.servlet.DefaultServlet</servlet-class>
|
120
|
+
<init-param>
|
121
|
+
<param-name>aliases</param-name>
|
122
|
+
<param-value>false</param-value>
|
123
|
+
</init-param>
|
124
|
+
<init-param>
|
125
|
+
<param-name>acceptRanges</param-name>
|
126
|
+
<param-value>true</param-value>
|
127
|
+
</init-param>
|
128
|
+
<init-param>
|
129
|
+
<param-name>dirAllowed</param-name>
|
130
|
+
<param-value>true</param-value>
|
131
|
+
</init-param>
|
132
|
+
<init-param>
|
133
|
+
<param-name>welcomeServlets</param-name>
|
134
|
+
<param-value>false</param-value>
|
135
|
+
</init-param>
|
136
|
+
<init-param>
|
137
|
+
<param-name>redirectWelcome</param-name>
|
138
|
+
<param-value>false</param-value>
|
139
|
+
</init-param>
|
140
|
+
<init-param>
|
141
|
+
<param-name>maxCacheSize</param-name>
|
142
|
+
<param-value>256000000</param-value>
|
143
|
+
</init-param>
|
144
|
+
<init-param>
|
145
|
+
<param-name>maxCachedFileSize</param-name>
|
146
|
+
<param-value>200000000</param-value>
|
147
|
+
</init-param>
|
148
|
+
<init-param>
|
149
|
+
<param-name>maxCachedFiles</param-name>
|
150
|
+
<param-value>2048</param-value>
|
151
|
+
</init-param>
|
152
|
+
<init-param>
|
153
|
+
<param-name>gzip</param-name>
|
154
|
+
<param-value>true</param-value>
|
155
|
+
</init-param>
|
156
|
+
<init-param>
|
157
|
+
<param-name>useFileMappedBuffer</param-name>
|
158
|
+
<param-value>true</param-value>
|
159
|
+
</init-param>
|
160
|
+
<!--
|
161
|
+
<init-param>
|
162
|
+
<param-name>resourceCache</param-name>
|
163
|
+
<param-value>resourceCache</param-value>
|
164
|
+
</init-param>
|
165
|
+
-->
|
166
|
+
<!--
|
167
|
+
<init-param>
|
168
|
+
<param-name>cacheControl</param-name>
|
169
|
+
<param-value>max-age=3600,public</param-value>
|
170
|
+
</init-param>
|
171
|
+
-->
|
172
|
+
<load-on-startup>0</load-on-startup>
|
173
|
+
</servlet>
|
174
|
+
|
175
|
+
<servlet-mapping>
|
176
|
+
<servlet-name>default</servlet-name>
|
177
|
+
<url-pattern>/</url-pattern>
|
178
|
+
</servlet-mapping>
|
179
|
+
|
180
|
+
|
181
|
+
<!-- ==================================================================== -->
|
182
|
+
<!-- JSP Servlet -->
|
183
|
+
<!-- This is the jasper JSP servlet from the jakarta project -->
|
184
|
+
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
185
|
+
<!-- The JSP page compiler and execution servlet, which is the mechanism -->
|
186
|
+
<!-- used by Glassfish to support JSP pages. Traditionally, this servlet -->
|
187
|
+
<!-- is mapped to URL patterh "*.jsp". This servlet supports the -->
|
188
|
+
<!-- following initialization parameters (default values are in square -->
|
189
|
+
<!-- brackets): -->
|
190
|
+
<!-- -->
|
191
|
+
<!-- checkInterval If development is false and reloading is true, -->
|
192
|
+
<!-- background compiles are enabled. checkInterval -->
|
193
|
+
<!-- is the time in seconds between checks to see -->
|
194
|
+
<!-- if a JSP page needs to be recompiled. [300] -->
|
195
|
+
<!-- -->
|
196
|
+
<!-- compiler Which compiler Ant should use to compile JSP -->
|
197
|
+
<!-- pages. See the Ant documenation for more -->
|
198
|
+
<!-- information. [javac] -->
|
199
|
+
<!-- -->
|
200
|
+
<!-- classdebuginfo Should the class file be compiled with -->
|
201
|
+
<!-- debugging information? [true] -->
|
202
|
+
<!-- -->
|
203
|
+
<!-- classpath What class path should I use while compiling -->
|
204
|
+
<!-- generated servlets? [Created dynamically -->
|
205
|
+
<!-- based on the current web application] -->
|
206
|
+
<!-- Set to ? to make the container explicitly set -->
|
207
|
+
<!-- this parameter. -->
|
208
|
+
<!-- -->
|
209
|
+
<!-- development Is Jasper used in development mode (will check -->
|
210
|
+
<!-- for JSP modification on every access)? [true] -->
|
211
|
+
<!-- -->
|
212
|
+
<!-- enablePooling Determines whether tag handler pooling is -->
|
213
|
+
<!-- enabled [true] -->
|
214
|
+
<!-- -->
|
215
|
+
<!-- fork Tell Ant to fork compiles of JSP pages so that -->
|
216
|
+
<!-- a separate JVM is used for JSP page compiles -->
|
217
|
+
<!-- from the one Tomcat is running in. [true] -->
|
218
|
+
<!-- -->
|
219
|
+
<!-- ieClassId The class-id value to be sent to Internet -->
|
220
|
+
<!-- Explorer when using <jsp:plugin> tags. -->
|
221
|
+
<!-- [clsid:8AD9C840-044E-11D1-B3E9-00805F499D93] -->
|
222
|
+
<!-- -->
|
223
|
+
<!-- javaEncoding Java file encoding to use for generating java -->
|
224
|
+
<!-- source files. [UTF-8] -->
|
225
|
+
<!-- -->
|
226
|
+
<!-- keepgenerated Should we keep the generated Java source code -->
|
227
|
+
<!-- for each page instead of deleting it? [true] -->
|
228
|
+
<!-- -->
|
229
|
+
<!-- logVerbosityLevel The level of detailed messages to be produced -->
|
230
|
+
<!-- by this servlet. Increasing levels cause the -->
|
231
|
+
<!-- generation of more messages. Valid values are -->
|
232
|
+
<!-- FATAL, ERROR, WARNING, INFORMATION, and DEBUG. -->
|
233
|
+
<!-- [WARNING] -->
|
234
|
+
<!-- -->
|
235
|
+
<!-- mappedfile Should we generate static content with one -->
|
236
|
+
<!-- print statement per input line, to ease -->
|
237
|
+
<!-- debugging? [false] -->
|
238
|
+
<!-- -->
|
239
|
+
<!-- -->
|
240
|
+
<!-- reloading Should Jasper check for modified JSPs? [true] -->
|
241
|
+
<!-- -->
|
242
|
+
<!-- suppressSmap Should the generation of SMAP info for JSR45 -->
|
243
|
+
<!-- debugging be suppressed? [false] -->
|
244
|
+
<!-- -->
|
245
|
+
<!-- dumpSmap Should the SMAP info for JSR45 debugging be -->
|
246
|
+
<!-- dumped to a file? [false] -->
|
247
|
+
<!-- False if suppressSmap is true -->
|
248
|
+
<!-- -->
|
249
|
+
<!-- scratchdir What scratch directory should we use when -->
|
250
|
+
<!-- compiling JSP pages? [default work directory -->
|
251
|
+
<!-- for the current web application] -->
|
252
|
+
<!-- -->
|
253
|
+
<!-- tagpoolMaxSize The maximum tag handler pool size [5] -->
|
254
|
+
<!-- -->
|
255
|
+
<!-- xpoweredBy Determines whether X-Powered-By response -->
|
256
|
+
<!-- header is added by generated servlet [false] -->
|
257
|
+
<!-- -->
|
258
|
+
<!-- If you wish to use Jikes to compile JSP pages: -->
|
259
|
+
<!-- Set the init parameter "compiler" to "jikes". Define -->
|
260
|
+
<!-- the property "-Dbuild.compiler.emacs=true" when starting Jetty -->
|
261
|
+
<!-- to cause Jikes to emit error messages in a format compatible with -->
|
262
|
+
<!-- Jasper. -->
|
263
|
+
<!-- If you get an error reporting that jikes can't use UTF-8 encoding, -->
|
264
|
+
<!-- try setting the init parameter "javaEncoding" to "ISO-8859-1". -->
|
265
|
+
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
266
|
+
<servlet
|
267
|
+
id="jsp"
|
268
|
+
>
|
269
|
+
<servlet-name>jsp</servlet-name>
|
270
|
+
<servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
|
271
|
+
<init-param>
|
272
|
+
<param-name>logVerbosityLevel</param-name>
|
273
|
+
<param-value>DEBUG</param-value>
|
274
|
+
</init-param>
|
275
|
+
<init-param>
|
276
|
+
<param-name>fork</param-name>
|
277
|
+
<param-value>false</param-value>
|
278
|
+
</init-param>
|
279
|
+
<init-param>
|
280
|
+
<param-name>xpoweredBy</param-name>
|
281
|
+
<param-value>false</param-value>
|
282
|
+
</init-param>
|
283
|
+
<!--
|
284
|
+
<init-param>
|
285
|
+
<param-name>classpath</param-name>
|
286
|
+
<param-value>?</param-value>
|
287
|
+
</init-param>
|
288
|
+
-->
|
289
|
+
<load-on-startup>0</load-on-startup>
|
290
|
+
</servlet>
|
291
|
+
|
292
|
+
<servlet-mapping>
|
293
|
+
<servlet-name>jsp</servlet-name>
|
294
|
+
<url-pattern>*.jsp</url-pattern>
|
295
|
+
<url-pattern>*.jspf</url-pattern>
|
296
|
+
<url-pattern>*.jspx</url-pattern>
|
297
|
+
<url-pattern>*.xsp</url-pattern>
|
298
|
+
<url-pattern>*.JSP</url-pattern>
|
299
|
+
<url-pattern>*.JSPF</url-pattern>
|
300
|
+
<url-pattern>*.JSPX</url-pattern>
|
301
|
+
<url-pattern>*.XSP</url-pattern>
|
302
|
+
</servlet-mapping>
|
303
|
+
|
304
|
+
<!-- ==================================================================== -->
|
305
|
+
<!-- Dynamic Servlet Invoker. -->
|
306
|
+
<!-- This servlet invokes anonymous servlets that have not been defined -->
|
307
|
+
<!-- in the web.xml or by other means. The first element of the pathInfo -->
|
308
|
+
<!-- of a request passed to the envoker is treated as a servlet name for -->
|
309
|
+
<!-- an existing servlet, or as a class name of a new servlet. -->
|
310
|
+
<!-- This servlet is normally mapped to /servlet/* -->
|
311
|
+
<!-- This servlet support the following initParams: -->
|
312
|
+
<!-- -->
|
313
|
+
<!-- nonContextServlets If false, the invoker can only load -->
|
314
|
+
<!-- servlets from the contexts classloader. -->
|
315
|
+
<!-- This is false by default and setting this -->
|
316
|
+
<!-- to true may have security implications. -->
|
317
|
+
<!-- -->
|
318
|
+
<!-- verbose If true, log dynamic loads -->
|
319
|
+
<!-- -->
|
320
|
+
<!-- * All other parameters are copied to the -->
|
321
|
+
<!-- each dynamic servlet as init parameters -->
|
322
|
+
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
323
|
+
<!--
|
324
|
+
Uncomment for dynamic invocation <servlet> <servlet-name>invoker</servlet-name> <servlet-class>org.eclipse.jetty.servlet.Invoker</servlet-class> <init-param> <param-name>verbose</param-name>
|
325
|
+
<param-value>false</param-value> </init-param> <init-param> <param-name>nonContextServlets</param-name> <param-value>false</param-value> </init-param> <init-param>
|
326
|
+
<param-name>dynamicParam</param-name> <param-value>anyValue</param-value> </init-param> <load-on-startup>0</load-on-startup> </servlet> <servlet-mapping> <servlet-name>invoker</servlet-name>
|
327
|
+
<url-pattern>/servlet/*</url-pattern> </servlet-mapping>
|
328
|
+
-->
|
329
|
+
|
330
|
+
|
331
|
+
|
332
|
+
<!-- ==================================================================== -->
|
333
|
+
<session-config>
|
334
|
+
<session-timeout>30</session-timeout>
|
335
|
+
</session-config>
|
336
|
+
|
337
|
+
<!-- ==================================================================== -->
|
338
|
+
<!-- Default MIME mappings -->
|
339
|
+
<!-- The default MIME mappings are provided by the mime.properties -->
|
340
|
+
<!-- resource in the org.eclipse.jetty.server.jar file. Additional or modified -->
|
341
|
+
<!-- mappings may be specified here -->
|
342
|
+
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
343
|
+
<!-- UNCOMMENT TO ACTIVATE
|
344
|
+
<mime-mapping>
|
345
|
+
<extension>mysuffix</extension>
|
346
|
+
<mime-type>mymime/type</mime-type>
|
347
|
+
</mime-mapping>
|
348
|
+
-->
|
349
|
+
|
350
|
+
<!-- ==================================================================== -->
|
351
|
+
<welcome-file-list>
|
352
|
+
<welcome-file>index.html</welcome-file>
|
353
|
+
<welcome-file>index.htm</welcome-file>
|
354
|
+
<welcome-file>index.jsp</welcome-file>
|
355
|
+
</welcome-file-list>
|
356
|
+
|
357
|
+
<!-- ==================================================================== -->
|
358
|
+
<locale-encoding-mapping-list>
|
359
|
+
<locale-encoding-mapping>
|
360
|
+
<locale>ar</locale>
|
361
|
+
<encoding>ISO-8859-6</encoding>
|
362
|
+
</locale-encoding-mapping>
|
363
|
+
<locale-encoding-mapping>
|
364
|
+
<locale>be</locale>
|
365
|
+
<encoding>ISO-8859-5</encoding>
|
366
|
+
</locale-encoding-mapping>
|
367
|
+
<locale-encoding-mapping>
|
368
|
+
<locale>bg</locale>
|
369
|
+
<encoding>ISO-8859-5</encoding>
|
370
|
+
</locale-encoding-mapping>
|
371
|
+
<locale-encoding-mapping>
|
372
|
+
<locale>ca</locale>
|
373
|
+
<encoding>ISO-8859-1</encoding>
|
374
|
+
</locale-encoding-mapping>
|
375
|
+
<locale-encoding-mapping>
|
376
|
+
<locale>cs</locale>
|
377
|
+
<encoding>ISO-8859-2</encoding>
|
378
|
+
</locale-encoding-mapping>
|
379
|
+
<locale-encoding-mapping>
|
380
|
+
<locale>da</locale>
|
381
|
+
<encoding>ISO-8859-1</encoding>
|
382
|
+
</locale-encoding-mapping>
|
383
|
+
<locale-encoding-mapping>
|
384
|
+
<locale>de</locale>
|
385
|
+
<encoding>ISO-8859-1</encoding>
|
386
|
+
</locale-encoding-mapping>
|
387
|
+
<locale-encoding-mapping>
|
388
|
+
<locale>el</locale>
|
389
|
+
<encoding>ISO-8859-7</encoding>
|
390
|
+
</locale-encoding-mapping>
|
391
|
+
<locale-encoding-mapping>
|
392
|
+
<locale>en</locale>
|
393
|
+
<encoding>ISO-8859-1</encoding>
|
394
|
+
</locale-encoding-mapping>
|
395
|
+
<locale-encoding-mapping>
|
396
|
+
<locale>es</locale>
|
397
|
+
<encoding>ISO-8859-1</encoding>
|
398
|
+
</locale-encoding-mapping>
|
399
|
+
<locale-encoding-mapping>
|
400
|
+
<locale>et</locale>
|
401
|
+
<encoding>ISO-8859-1</encoding>
|
402
|
+
</locale-encoding-mapping>
|
403
|
+
<locale-encoding-mapping>
|
404
|
+
<locale>fi</locale>
|
405
|
+
<encoding>ISO-8859-1</encoding>
|
406
|
+
</locale-encoding-mapping>
|
407
|
+
<locale-encoding-mapping>
|
408
|
+
<locale>fr</locale>
|
409
|
+
<encoding>ISO-8859-1</encoding>
|
410
|
+
</locale-encoding-mapping>
|
411
|
+
<locale-encoding-mapping>
|
412
|
+
<locale>hr</locale>
|
413
|
+
<encoding>ISO-8859-2</encoding>
|
414
|
+
</locale-encoding-mapping>
|
415
|
+
<locale-encoding-mapping>
|
416
|
+
<locale>hu</locale>
|
417
|
+
<encoding>ISO-8859-2</encoding>
|
418
|
+
</locale-encoding-mapping>
|
419
|
+
<locale-encoding-mapping>
|
420
|
+
<locale>is</locale>
|
421
|
+
<encoding>ISO-8859-1</encoding>
|
422
|
+
</locale-encoding-mapping>
|
423
|
+
<locale-encoding-mapping>
|
424
|
+
<locale>it</locale>
|
425
|
+
<encoding>ISO-8859-1</encoding>
|
426
|
+
</locale-encoding-mapping>
|
427
|
+
<locale-encoding-mapping>
|
428
|
+
<locale>iw</locale>
|
429
|
+
<encoding>ISO-8859-8</encoding>
|
430
|
+
</locale-encoding-mapping>
|
431
|
+
<locale-encoding-mapping>
|
432
|
+
<locale>ja</locale>
|
433
|
+
<encoding>Shift_JIS</encoding>
|
434
|
+
</locale-encoding-mapping>
|
435
|
+
<locale-encoding-mapping>
|
436
|
+
<locale>ko</locale>
|
437
|
+
<encoding>EUC-KR</encoding>
|
438
|
+
</locale-encoding-mapping>
|
439
|
+
<locale-encoding-mapping>
|
440
|
+
<locale>lt</locale>
|
441
|
+
<encoding>ISO-8859-2</encoding>
|
442
|
+
</locale-encoding-mapping>
|
443
|
+
<locale-encoding-mapping>
|
444
|
+
<locale>lv</locale>
|
445
|
+
<encoding>ISO-8859-2</encoding>
|
446
|
+
</locale-encoding-mapping>
|
447
|
+
<locale-encoding-mapping>
|
448
|
+
<locale>mk</locale>
|
449
|
+
<encoding>ISO-8859-5</encoding>
|
450
|
+
</locale-encoding-mapping>
|
451
|
+
<locale-encoding-mapping>
|
452
|
+
<locale>nl</locale>
|
453
|
+
<encoding>ISO-8859-1</encoding>
|
454
|
+
</locale-encoding-mapping>
|
455
|
+
<locale-encoding-mapping>
|
456
|
+
<locale>no</locale>
|
457
|
+
<encoding>ISO-8859-1</encoding>
|
458
|
+
</locale-encoding-mapping>
|
459
|
+
<locale-encoding-mapping>
|
460
|
+
<locale>pl</locale>
|
461
|
+
<encoding>ISO-8859-2</encoding>
|
462
|
+
</locale-encoding-mapping>
|
463
|
+
<locale-encoding-mapping>
|
464
|
+
<locale>pt</locale>
|
465
|
+
<encoding>ISO-8859-1</encoding>
|
466
|
+
</locale-encoding-mapping>
|
467
|
+
<locale-encoding-mapping>
|
468
|
+
<locale>ro</locale>
|
469
|
+
<encoding>ISO-8859-2</encoding>
|
470
|
+
</locale-encoding-mapping>
|
471
|
+
<locale-encoding-mapping>
|
472
|
+
<locale>ru</locale>
|
473
|
+
<encoding>ISO-8859-5</encoding>
|
474
|
+
</locale-encoding-mapping>
|
475
|
+
<locale-encoding-mapping>
|
476
|
+
<locale>sh</locale>
|
477
|
+
<encoding>ISO-8859-5</encoding>
|
478
|
+
</locale-encoding-mapping>
|
479
|
+
<locale-encoding-mapping>
|
480
|
+
<locale>sk</locale>
|
481
|
+
<encoding>ISO-8859-2</encoding>
|
482
|
+
</locale-encoding-mapping>
|
483
|
+
<locale-encoding-mapping>
|
484
|
+
<locale>sl</locale>
|
485
|
+
<encoding>ISO-8859-2</encoding>
|
486
|
+
</locale-encoding-mapping>
|
487
|
+
<locale-encoding-mapping>
|
488
|
+
<locale>sq</locale>
|
489
|
+
<encoding>ISO-8859-2</encoding>
|
490
|
+
</locale-encoding-mapping>
|
491
|
+
<locale-encoding-mapping>
|
492
|
+
<locale>sr</locale>
|
493
|
+
<encoding>ISO-8859-5</encoding>
|
494
|
+
</locale-encoding-mapping>
|
495
|
+
<locale-encoding-mapping>
|
496
|
+
<locale>sv</locale>
|
497
|
+
<encoding>ISO-8859-1</encoding>
|
498
|
+
</locale-encoding-mapping>
|
499
|
+
<locale-encoding-mapping>
|
500
|
+
<locale>tr</locale>
|
501
|
+
<encoding>ISO-8859-9</encoding>
|
502
|
+
</locale-encoding-mapping>
|
503
|
+
<locale-encoding-mapping>
|
504
|
+
<locale>uk</locale>
|
505
|
+
<encoding>ISO-8859-5</encoding>
|
506
|
+
</locale-encoding-mapping>
|
507
|
+
<locale-encoding-mapping>
|
508
|
+
<locale>zh</locale>
|
509
|
+
<encoding>GB2312</encoding>
|
510
|
+
</locale-encoding-mapping>
|
511
|
+
<locale-encoding-mapping>
|
512
|
+
<locale>zh_TW</locale>
|
513
|
+
<encoding>Big5</encoding>
|
514
|
+
</locale-encoding-mapping>
|
515
|
+
</locale-encoding-mapping-list>
|
516
|
+
|
517
|
+
<security-constraint>
|
518
|
+
<web-resource-collection>
|
519
|
+
<web-resource-name>Disable TRACE</web-resource-name>
|
520
|
+
<url-pattern>/</url-pattern>
|
521
|
+
<http-method>TRACE</http-method>
|
522
|
+
</web-resource-collection>
|
523
|
+
<auth-constraint/>
|
524
|
+
</security-constraint>
|
525
|
+
|
526
|
+
</web-app>
|
527
|
+
|