You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Jerry Quinn (JIRA)" <ji...@apache.org> on 2008/07/16 22:45:31 UTC

[jira] Created: (SOLR-636) admin page schema link fails for example multicore config

admin page schema link fails for example multicore config
---------------------------------------------------------

                 Key: SOLR-636
                 URL: https://issues.apache.org/jira/browse/SOLR-636
             Project: Solr
          Issue Type: Bug
          Components: web gui
    Affects Versions: 1.3
         Environment:  linux x86_64 rhel ibm-java-6 prepackaged jetty
solr snapshot 7-15-2008 
            Reporter: Jerry Quinn
            Priority: Minor


If I try to view the schema.xml for a single core, using the gui link:

http://localhost:8983/solr/core1/admin/file/?file=schema.xml

I get instead:

HTTP ERROR: 404

NOT_FOUND

RequestURI=/solr/admin/file/

Powered by Jetty://

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


[jira] Updated: (SOLR-636) admin page schema link fails for example multicore config

Posted by "Lars Kotthoff (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-636?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lars Kotthoff updated SOLR-636:
-------------------------------

    Attachment: SOLR-636.patch

Some other changes sneaked into the last patch, attaching corrected version.

> admin page schema link fails for example multicore config
> ---------------------------------------------------------
>
>                 Key: SOLR-636
>                 URL: https://issues.apache.org/jira/browse/SOLR-636
>             Project: Solr
>          Issue Type: Bug
>          Components: web gui
>    Affects Versions: 1.3
>         Environment:  linux x86_64 rhel ibm-java-6 prepackaged jetty
> solr snapshot 7-15-2008 
>            Reporter: Jerry Quinn
>            Priority: Minor
>         Attachments: SOLR-636.patch, SOLR-636.patch, SOLR-636.patch
>
>
> If I try to view the schema.xml for a single core, using the gui link:
> http://localhost:8983/solr/core1/admin/file/?file=schema.xml
> I get instead:
> HTTP ERROR: 404
> NOT_FOUND
> RequestURI=/solr/admin/file/
> Powered by Jetty://

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


[jira] Updated: (SOLR-636) admin page schema link fails for example multicore config

Posted by "Lars Kotthoff (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-636?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lars Kotthoff updated SOLR-636:
-------------------------------

    Attachment: SOLR-636.patch

Attaching new patch which doesn't check for the existence of the handler anymore before displaying the file download links.

The changes to the various solrconfig.xml files are mostly deletions, so I think I can safely say that this makes them simpler ;)

> admin page schema link fails for example multicore config
> ---------------------------------------------------------
>
>                 Key: SOLR-636
>                 URL: https://issues.apache.org/jira/browse/SOLR-636
>             Project: Solr
>          Issue Type: Bug
>          Components: web gui
>    Affects Versions: 1.3
>         Environment:  linux x86_64 rhel ibm-java-6 prepackaged jetty
> solr snapshot 7-15-2008 
>            Reporter: Jerry Quinn
>            Priority: Minor
>         Attachments: SOLR-636.patch, SOLR-636.patch
>
>
> If I try to view the schema.xml for a single core, using the gui link:
> http://localhost:8983/solr/core1/admin/file/?file=schema.xml
> I get instead:
> HTTP ERROR: 404
> NOT_FOUND
> RequestURI=/solr/admin/file/
> Powered by Jetty://

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


[jira] Updated: (SOLR-636) admin page schema link fails for example multicore config

Posted by "Lars Kotthoff (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-636?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lars Kotthoff updated SOLR-636:
-------------------------------

    Attachment: SOLR-636.patch

This occurs because the ShowFileRequestHandler isn't enabled by default in the multicore example configurations (showing the config fails in the same way).

I'm attaching a patch which changes the multicore example configurations to enable all admin handlers through AdminHandlers. The patch also removes some parameters from the <admin> configuration element which appear to be used only in deprecated stuff.

The patch furthermore changes index.jsp to check for the existence of the ShowFileRequestHandler or the all-in-one AdminHandlers before displaying the links to get schema and config. Also the deprecated getSchemaFile()/getConfigFile() methods are changed to getSchemaResource()/getConfigResource().

I've done a quick search for more solrconfig.xml with deprecated stuff in them and updated the ones in solr-ruby, but *not* the ones used in various tests. This should probably be a separate issue?

> admin page schema link fails for example multicore config
> ---------------------------------------------------------
>
>                 Key: SOLR-636
>                 URL: https://issues.apache.org/jira/browse/SOLR-636
>             Project: Solr
>          Issue Type: Bug
>          Components: web gui
>    Affects Versions: 1.3
>         Environment:  linux x86_64 rhel ibm-java-6 prepackaged jetty
> solr snapshot 7-15-2008 
>            Reporter: Jerry Quinn
>            Priority: Minor
>         Attachments: SOLR-636.patch
>
>
> If I try to view the schema.xml for a single core, using the gui link:
> http://localhost:8983/solr/core1/admin/file/?file=schema.xml
> I get instead:
> HTTP ERROR: 404
> NOT_FOUND
> RequestURI=/solr/admin/file/
> Powered by Jetty://

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


[jira] Resolved: (SOLR-636) admin page schema link fails for example multicore config

Posted by "Hoss Man (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-636?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hoss Man resolved SOLR-636.
---------------------------

       Resolution: Fixed
    Fix Version/s: 1.3
         Assignee: Hoss Man

Committed revision 683415. 

...made a small tweak to index.jsp to better deal with getSchemaResource() or getConfigResource() being null (which can happen if the Configs are loaded dynamicly from an InputStream instead of a filename)

> admin page schema link fails for example multicore config
> ---------------------------------------------------------
>
>                 Key: SOLR-636
>                 URL: https://issues.apache.org/jira/browse/SOLR-636
>             Project: Solr
>          Issue Type: Bug
>          Components: web gui
>    Affects Versions: 1.3
>         Environment:  linux x86_64 rhel ibm-java-6 prepackaged jetty
> solr snapshot 7-15-2008 
>            Reporter: Jerry Quinn
>            Assignee: Hoss Man
>            Priority: Minor
>             Fix For: 1.3
>
>         Attachments: SOLR-636.patch, SOLR-636.patch, SOLR-636.patch
>
>
> If I try to view the schema.xml for a single core, using the gui link:
> http://localhost:8983/solr/core1/admin/file/?file=schema.xml
> I get instead:
> HTTP ERROR: 404
> NOT_FOUND
> RequestURI=/solr/admin/file/
> Powered by Jetty://

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


[jira] Commented: (SOLR-636) admin page schema link fails for example multicore config

Posted by "Otis Gospodnetic (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12620341#action_12620341 ] 

Otis Gospodnetic commented on SOLR-636:
---------------------------------------

Should this go into 1.3?
(don't use multicore at the moment, so not sure how big of a problem this is)


> admin page schema link fails for example multicore config
> ---------------------------------------------------------
>
>                 Key: SOLR-636
>                 URL: https://issues.apache.org/jira/browse/SOLR-636
>             Project: Solr
>          Issue Type: Bug
>          Components: web gui
>    Affects Versions: 1.3
>         Environment:  linux x86_64 rhel ibm-java-6 prepackaged jetty
> solr snapshot 7-15-2008 
>            Reporter: Jerry Quinn
>            Priority: Minor
>         Attachments: SOLR-636.patch, SOLR-636.patch, SOLR-636.patch
>
>
> If I try to view the schema.xml for a single core, using the gui link:
> http://localhost:8983/solr/core1/admin/file/?file=schema.xml
> I get instead:
> HTTP ERROR: 404
> NOT_FOUND
> RequestURI=/solr/admin/file/
> Powered by Jetty://

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