lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fuad Efendi (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SOLR-2262) 404 on
Date Fri, 03 Dec 2010 18:08:11 GMT

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

Fuad Efendi commented on SOLR-2262:
-----------------------------------

Oh sorry!

It seems *Tomcat 6 had a bug* and Tomcat 7 fixed that...
http://localhost:8080/solr/admin/file/
Solr core will put in a map "file" as a key, and ShowFileRequestHandler as a value, and will
try to find handler using "file/" (Tomcat 7), or "file" (bug in Tomcat 6, so that it works)

Of course I'll test getPathInfo() for both...

> 404 on 
> -------
>
>                 Key: SOLR-2262
>                 URL: https://issues.apache.org/jira/browse/SOLR-2262
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 1.4.1
>         Environment: Tomcat/7.0.4
>            Reporter: Sean Timm
>            Priority: Trivial
>
> Config and schema links from the admin page do not work with Tomcat 7.  Apparently Tomcat
7 doesn't like the extra slash in the URL: file/? and returns a 404.  Removing the extra /
resolves the problem.
> Does not work:
> http://localhost:8080/solr/admin/file/?file=schema.xml
> Works:
> http://localhost:8080/solr/admin/file?file=schema.xml
> I stumbled across a blog post that provides a bit more detail.  http://androidyou.blogspot.com/2010/09/tomcat-7-with-solr-14-http-status-404.html

-- 
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


Mime
View raw message