You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2010/10/27 20:41:21 UTC

[jira] Commented: (SOLR-2022) request handler paths ending in "/" don't work with Tomcat 7

    [ https://issues.apache.org/jira/browse/SOLR-2022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12925495#action_12925495 ] 

Hoss Man commented on SOLR-2022:
--------------------------------

FYI: comments in tomcat bug#50161 that this is a result of a deliberate change in order to correctly implement Servlet Spec 3.0 - but i've posted some followup questions - in particular, it's not clear to me that HttpServletRequest.getServletPath() is returning what it should be even in light of the comments posted.

There is some mention that future versions of tomcat may allow a system property to override this behavior from the servlet spec, but in future versions of Solr we should probably don't want to have to rely on that being set.  There may be ways we can work around this behavior a little better -- depending on what response we get in bug#50161 we might consider changes to our web.xml to override the default "welcome-file" behavior, or changing the way SolrDispatchFilter attempts to parse the URL path.

> request handler paths ending in "/" don't work with Tomcat 7
> ------------------------------------------------------------
>
>                 Key: SOLR-2022
>                 URL: https://issues.apache.org/jira/browse/SOLR-2022
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 1.1.0, 1.2, 1.3, 1.4, 1.4.1, 1.4.2, 1.5, 3.1, 4.0, Next
>            Reporter: Hoss Man
>
> Based on this thread, users seem to have problems with Solr on tomcat 7 that do not exist on tomcat 6...
> http://search.lucidimagination.com/search/document/9c09498631b7afbb/problems_running_on_tomcat

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org