[ https://issues.apache.org/jira/browse/SOLR-2535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13042836#comment-13042836 ]
Stefan Matheis (steffkes) commented on SOLR-2535: ------------------------------------------------- Same for trunk {code}$ svn info Path: . URL: https://svn.apache.org/repos/asf/lucene/dev/trunk/solr Repository Root: https://svn.apache.org/repos/asf Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68 Revision: 1130610 Node Kind: directory Schedule: normal Last Changed Author: rmuir Last Changed Rev: 1130527 Last Changed Date: 2011-06-02 14:58:22 +0200 (Thu, 02 Jun 2011){code} Stacktrace: {code}INFO: [] webapp=/solr path=/admin/file params={} status=0 QTime=7 Jun 2, 2011 5:49:29 PM org.apache.solr.common.SolrException log SEVERE: java.io.IOException: did not find a CONTENT object at org.apache.solr.response.RawResponseWriter.write(RawResponseWriter.java:113) at org.apache.solr.servlet.SolrDispatchFilter.writeResponse(SolrDispatchFilter.java:333) at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:261) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582){code} > In Solr 3.1.0 the admin/file handler fails to show directory listings > --------------------------------------------------------------------- > > Key: SOLR-2535 > URL: https://issues.apache.org/jira/browse/SOLR-2535 > Project: Solr > Issue Type: Bug > Components: SearchComponents - other > Affects Versions: 3.1 > Environment: java 1.6, jetty > Reporter: Peter Wolanin > Fix For: 3.1.1, 3.2 > > > In Solr 4.1.1, going to the path solr/admin/file I see an XML-formatted > listing of the conf directory, like: > {noformat} > <response> > <lst name="responseHeader"><int name="status">0</int><int > name="QTime">1</int></lst> > <lst name="files"> > <lst name="elevate.xml"><long name="size">1274</long><date > name="modified">2011-03-06T20:42:54Z</date></lst> > ... > </lst> > </response> > {noformat} > I can list the xslt sub-dir using solr/admin/files?file=/xslt > In Solr 3.1.0, both of these fail with a 500 error: > {noformat} > HTTP ERROR 500 > Problem accessing /solr/admin/file/. Reason: > did not find a CONTENT object > java.io.IOException: did not find a CONTENT object > {noformat} > Looking at the code in class ShowFileRequestHandler, it seem like 3.1.0 > should still handle directory listings if not file name is given, or if the > file is a directory, so I am filing this as a bug. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org