SOLR-215 -- start webapp w/o crashing!

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@573947 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Ryan McKinley 2007-09-09 04:41:11 +00:00
parent 2e1941b207
commit fb9d1c34bb
1 changed files with 4 additions and 4 deletions

View File

@ -62,13 +62,13 @@ public class SolrDispatchFilter implements Filter
// web.xml configuration
this.pathPrefix = config.getInitParameter( "path-prefix" );
// Let this filter take care of /select?xxx format
this.handleSelect =
SolrConfig.config.getBool( "requestDispatcher/@handleSelect", false );
log.info("user.dir=" + System.getProperty("user.dir"));
core = SolrCore.getSolrCore();
parsers = new SolrRequestParsers( core );
// Let this filter take care of /select?xxx format
this.handleSelect =
SolrConfig.config.getBool( "requestDispatcher/@handleSelect", false );
}
catch( Throwable t ) {
// catch this so our filter still works