[jira] Created: (SOLR-118) Some admin pages stop working with "error 404" as the only symptom

classic Classic list List threaded Threaded
15 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (SOLR-118) Some admin pages stop working with "error 404" as the only symptom

ASF GitHub Bot (Jira)
Some admin pages stop working with "error 404" as the only symptom
------------------------------------------------------------------

                 Key: SOLR-118
                 URL: https://issues.apache.org/jira/browse/SOLR-118
             Project: Solr
          Issue Type: Bug
          Components: web gui
         Environment: Fedora Core 4 (Linux version 2.6.11-1.1369_FC4smp)  Sun's JVM 1.5.0_07-b03
            Reporter: Bertrand Delacretaz
            Priority: Minor


This was reported to the mailing list a while ago, see http://mail-archives.apache.org/mod_mbox/lucene-solr-user/200610.mbox/%3cf752f5320610311359y365d6322lb9b4e409f5557dfc@...%3e

Today I'm seeing the same thing on a Solr instance that has been running since January 9th (about 13 days) with the plain start.jar setup. Index contains 150'000 docs, 88322 search requests to date.

$ curl http://localhost:8983/solr/admin/analysis.jsp
<html>
<head>
<title>Error 404 /admin/analysis.jsp</title>
</head>
<body>
<h2>HTTP ERROR: 404</h2><pre>/admin/analysis.jsp</pre>
<p>RequestURI=/solr/admin/analysis.jsp</p>
...

curl http://localhost:8983/solr/admin/index.jsp
<html>
<head>
<title>Error 404 /admin/index.jsp</title>
</head>
<body>
<h2>HTTP ERROR: 404</h2><pre>/admin/index.jsp</pre>
<p>RequestURI=/solr/admin/index.jsp</p>
...

Other admin pages work correctly, for example http://localhost:8983/solr/admin/stats.jsp

I don't see any messages in the logs, which are capturing stdout and stderr from the JVM.

I guess I'll have to restart this instance, I'm out of possibilities to find out what's happening exactly.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (SOLR-118) Some admin pages stop working with "error 404" as the only symptom

ASF GitHub Bot (Jira)

    [ https://issues.apache.org/jira/browse/SOLR-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12466464 ]

Yonik Seeley commented on SOLR-118:
-----------------------------------

What version of jetty was it?  The one included with Solr?

I don't personally have experience with Solr + Jetty and long uptimes.  We use Resin in-house, and don't have any uptime issues.

> Some admin pages stop working with "error 404" as the only symptom
> ------------------------------------------------------------------
>
>                 Key: SOLR-118
>                 URL: https://issues.apache.org/jira/browse/SOLR-118
>             Project: Solr
>          Issue Type: Bug
>          Components: web gui
>         Environment: Fedora Core 4 (Linux version 2.6.11-1.1369_FC4smp)  Sun's JVM 1.5.0_07-b03
>            Reporter: Bertrand Delacretaz
>            Priority: Minor
>
> This was reported to the mailing list a while ago, see http://mail-archives.apache.org/mod_mbox/lucene-solr-user/200610.mbox/%3cf752f5320610311359y365d6322lb9b4e409f5557dfc@...%3e
> Today I'm seeing the same thing on a Solr instance that has been running since January 9th (about 13 days) with the plain start.jar setup. Index contains 150'000 docs, 88322 search requests to date.
> $ curl http://localhost:8983/solr/admin/analysis.jsp
> <html>
> <head>
> <title>Error 404 /admin/analysis.jsp</title>
> </head>
> <body>
> <h2>HTTP ERROR: 404</h2><pre>/admin/analysis.jsp</pre>
> <p>RequestURI=/solr/admin/analysis.jsp</p>
> ...
> curl http://localhost:8983/solr/admin/index.jsp
> <html>
> <head>
> <title>Error 404 /admin/index.jsp</title>
> </head>
> <body>
> <h2>HTTP ERROR: 404</h2><pre>/admin/index.jsp</pre>
> <p>RequestURI=/solr/admin/index.jsp</p>
> ...
> Other admin pages work correctly, for example http://localhost:8983/solr/admin/stats.jsp
> I don't see any messages in the logs, which are capturing stdout and stderr from the JVM.
> I guess I'll have to restart this instance, I'm out of possibilities to find out what's happening exactly.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (SOLR-118) Some admin pages stop working with "error 404" as the only symptom

ASF GitHub Bot (Jira)
In reply to this post by ASF GitHub Bot (Jira)

    [ https://issues.apache.org/jira/browse/SOLR-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12466468 ]

Bertrand Delacretaz commented on SOLR-118:
------------------------------------------

Yes, this is the Jetty that is bundled with Solr, Jetty/5.1.11RC0 according to the "Server" HTTP header.

I haven't investigated on the Jetty side yet, it might be a known bug there

> Some admin pages stop working with "error 404" as the only symptom
> ------------------------------------------------------------------
>
>                 Key: SOLR-118
>                 URL: https://issues.apache.org/jira/browse/SOLR-118
>             Project: Solr
>          Issue Type: Bug
>          Components: web gui
>         Environment: Fedora Core 4 (Linux version 2.6.11-1.1369_FC4smp)  Sun's JVM 1.5.0_07-b03
>            Reporter: Bertrand Delacretaz
>            Priority: Minor
>
> This was reported to the mailing list a while ago, see http://mail-archives.apache.org/mod_mbox/lucene-solr-user/200610.mbox/%3cf752f5320610311359y365d6322lb9b4e409f5557dfc@...%3e
> Today I'm seeing the same thing on a Solr instance that has been running since January 9th (about 13 days) with the plain start.jar setup. Index contains 150'000 docs, 88322 search requests to date.
> $ curl http://localhost:8983/solr/admin/analysis.jsp
> <html>
> <head>
> <title>Error 404 /admin/analysis.jsp</title>
> </head>
> <body>
> <h2>HTTP ERROR: 404</h2><pre>/admin/analysis.jsp</pre>
> <p>RequestURI=/solr/admin/analysis.jsp</p>
> ...
> curl http://localhost:8983/solr/admin/index.jsp
> <html>
> <head>
> <title>Error 404 /admin/index.jsp</title>
> </head>
> <body>
> <h2>HTTP ERROR: 404</h2><pre>/admin/index.jsp</pre>
> <p>RequestURI=/solr/admin/index.jsp</p>
> ...
> Other admin pages work correctly, for example http://localhost:8983/solr/admin/stats.jsp
> I don't see any messages in the logs, which are capturing stdout and stderr from the JVM.
> I guess I'll have to restart this instance, I'm out of possibilities to find out what's happening exactly.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (SOLR-118) Some admin pages stop working with "error 404" as the only symptom

ASF GitHub Bot (Jira)
In reply to this post by ASF GitHub Bot (Jira)

    [ https://issues.apache.org/jira/browse/SOLR-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12466489 ]

Yonik Seeley commented on SOLR-118:
-----------------------------------

Maybe it's time to upgrade to the latest Jetty, or at least start evaluating it?
That would also remove the requirement for a JDK over a JRE, and speed up JSP page compilation too.


> Some admin pages stop working with "error 404" as the only symptom
> ------------------------------------------------------------------
>
>                 Key: SOLR-118
>                 URL: https://issues.apache.org/jira/browse/SOLR-118
>             Project: Solr
>          Issue Type: Bug
>          Components: web gui
>         Environment: Fedora Core 4 (Linux version 2.6.11-1.1369_FC4smp)  Sun's JVM 1.5.0_07-b03
>            Reporter: Bertrand Delacretaz
>            Priority: Minor
>
> This was reported to the mailing list a while ago, see http://mail-archives.apache.org/mod_mbox/lucene-solr-user/200610.mbox/%3cf752f5320610311359y365d6322lb9b4e409f5557dfc@...%3e
> Today I'm seeing the same thing on a Solr instance that has been running since January 9th (about 13 days) with the plain start.jar setup. Index contains 150'000 docs, 88322 search requests to date.
> $ curl http://localhost:8983/solr/admin/analysis.jsp
> <html>
> <head>
> <title>Error 404 /admin/analysis.jsp</title>
> </head>
> <body>
> <h2>HTTP ERROR: 404</h2><pre>/admin/analysis.jsp</pre>
> <p>RequestURI=/solr/admin/analysis.jsp</p>
> ...
> curl http://localhost:8983/solr/admin/index.jsp
> <html>
> <head>
> <title>Error 404 /admin/index.jsp</title>
> </head>
> <body>
> <h2>HTTP ERROR: 404</h2><pre>/admin/index.jsp</pre>
> <p>RequestURI=/solr/admin/index.jsp</p>
> ...
> Other admin pages work correctly, for example http://localhost:8983/solr/admin/stats.jsp
> I don't see any messages in the logs, which are capturing stdout and stderr from the JVM.
> I guess I'll have to restart this instance, I'm out of possibilities to find out what's happening exactly.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (SOLR-118) Some admin pages stop working with "error 404" as the only symptom

ASF GitHub Bot (Jira)
In reply to this post by ASF GitHub Bot (Jira)

    [ https://issues.apache.org/jira/browse/SOLR-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12466496 ]

Bertrand Delacretaz commented on SOLR-118:
------------------------------------------

Upgrading is probably a good idea, at least to a released 5.x version, as apparently we're using a release candidate.

> Some admin pages stop working with "error 404" as the only symptom
> ------------------------------------------------------------------
>
>                 Key: SOLR-118
>                 URL: https://issues.apache.org/jira/browse/SOLR-118
>             Project: Solr
>          Issue Type: Bug
>          Components: web gui
>         Environment: Fedora Core 4 (Linux version 2.6.11-1.1369_FC4smp)  Sun's JVM 1.5.0_07-b03
>            Reporter: Bertrand Delacretaz
>            Priority: Minor
>
> This was reported to the mailing list a while ago, see http://mail-archives.apache.org/mod_mbox/lucene-solr-user/200610.mbox/%3cf752f5320610311359y365d6322lb9b4e409f5557dfc@...%3e
> Today I'm seeing the same thing on a Solr instance that has been running since January 9th (about 13 days) with the plain start.jar setup. Index contains 150'000 docs, 88322 search requests to date.
> $ curl http://localhost:8983/solr/admin/analysis.jsp
> <html>
> <head>
> <title>Error 404 /admin/analysis.jsp</title>
> </head>
> <body>
> <h2>HTTP ERROR: 404</h2><pre>/admin/analysis.jsp</pre>
> <p>RequestURI=/solr/admin/analysis.jsp</p>
> ...
> curl http://localhost:8983/solr/admin/index.jsp
> <html>
> <head>
> <title>Error 404 /admin/index.jsp</title>
> </head>
> <body>
> <h2>HTTP ERROR: 404</h2><pre>/admin/index.jsp</pre>
> <p>RequestURI=/solr/admin/index.jsp</p>
> ...
> Other admin pages work correctly, for example http://localhost:8983/solr/admin/stats.jsp
> I don't see any messages in the logs, which are capturing stdout and stderr from the JVM.
> I guess I'll have to restart this instance, I'm out of possibilities to find out what's happening exactly.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (SOLR-118) Some admin pages stop working with "error 404" as the only symptom

ASF GitHub Bot (Jira)
In reply to this post by ASF GitHub Bot (Jira)

    [ https://issues.apache.org/jira/browse/SOLR-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12466535 ]

Hoss Man commented on SOLR-118:
-------------------------------

FYI: there was more tothat orriginal thread then the apache archives show (because they are split up by month) here's the full discussion...

http://www.nabble.com/Admin-page-went-down-tf2548760.html#a7103716

...at the time i wasn't able to reproduce the problem, but i wasn't hammering the port very hard.  I suspect heavily that since hte problem was only with the admin pages, and all of the update/query functionality still worked fine that it was a JSP issue with Jetty.


> Some admin pages stop working with "error 404" as the only symptom
> ------------------------------------------------------------------
>
>                 Key: SOLR-118
>                 URL: https://issues.apache.org/jira/browse/SOLR-118
>             Project: Solr
>          Issue Type: Bug
>          Components: web gui
>         Environment: Fedora Core 4 (Linux version 2.6.11-1.1369_FC4smp)  Sun's JVM 1.5.0_07-b03
>            Reporter: Bertrand Delacretaz
>            Priority: Minor
>
> This was reported to the mailing list a while ago, see http://mail-archives.apache.org/mod_mbox/lucene-solr-user/200610.mbox/%3cf752f5320610311359y365d6322lb9b4e409f5557dfc@...%3e
> Today I'm seeing the same thing on a Solr instance that has been running since January 9th (about 13 days) with the plain start.jar setup. Index contains 150'000 docs, 88322 search requests to date.
> $ curl http://localhost:8983/solr/admin/analysis.jsp
> <html>
> <head>
> <title>Error 404 /admin/analysis.jsp</title>
> </head>
> <body>
> <h2>HTTP ERROR: 404</h2><pre>/admin/analysis.jsp</pre>
> <p>RequestURI=/solr/admin/analysis.jsp</p>
> ...
> curl http://localhost:8983/solr/admin/index.jsp
> <html>
> <head>
> <title>Error 404 /admin/index.jsp</title>
> </head>
> <body>
> <h2>HTTP ERROR: 404</h2><pre>/admin/index.jsp</pre>
> <p>RequestURI=/solr/admin/index.jsp</p>
> ...
> Other admin pages work correctly, for example http://localhost:8983/solr/admin/stats.jsp
> I don't see any messages in the logs, which are capturing stdout and stderr from the JVM.
> I guess I'll have to restart this instance, I'm out of possibilities to find out what's happening exactly.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (SOLR-118) Some admin pages stop working with "error 404" as the only symptom

ASF GitHub Bot (Jira)
In reply to this post by ASF GitHub Bot (Jira)

    [ https://issues.apache.org/jira/browse/SOLR-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12466539 ]

Bertrand Delacretaz commented on SOLR-118:
------------------------------------------

> I suspect ....that it was a JSP issue with Jetty.

Yes, certainly. Nothing seems to indicate a problem in Solr's code.

> Some admin pages stop working with "error 404" as the only symptom
> ------------------------------------------------------------------
>
>                 Key: SOLR-118
>                 URL: https://issues.apache.org/jira/browse/SOLR-118
>             Project: Solr
>          Issue Type: Bug
>          Components: web gui
>         Environment: Fedora Core 4 (Linux version 2.6.11-1.1369_FC4smp)  Sun's JVM 1.5.0_07-b03
>            Reporter: Bertrand Delacretaz
>            Priority: Minor
>
> This was reported to the mailing list a while ago, see http://mail-archives.apache.org/mod_mbox/lucene-solr-user/200610.mbox/%3cf752f5320610311359y365d6322lb9b4e409f5557dfc@...%3e
> Today I'm seeing the same thing on a Solr instance that has been running since January 9th (about 13 days) with the plain start.jar setup. Index contains 150'000 docs, 88322 search requests to date.
> $ curl http://localhost:8983/solr/admin/analysis.jsp
> <html>
> <head>
> <title>Error 404 /admin/analysis.jsp</title>
> </head>
> <body>
> <h2>HTTP ERROR: 404</h2><pre>/admin/analysis.jsp</pre>
> <p>RequestURI=/solr/admin/analysis.jsp</p>
> ...
> curl http://localhost:8983/solr/admin/index.jsp
> <html>
> <head>
> <title>Error 404 /admin/index.jsp</title>
> </head>
> <body>
> <h2>HTTP ERROR: 404</h2><pre>/admin/index.jsp</pre>
> <p>RequestURI=/solr/admin/index.jsp</p>
> ...
> Other admin pages work correctly, for example http://localhost:8983/solr/admin/stats.jsp
> I don't see any messages in the logs, which are capturing stdout and stderr from the JVM.
> I guess I'll have to restart this instance, I'm out of possibilities to find out what's happening exactly.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

Commented: (SOLR-118) Some admin pages stop working with "error 404" as the only symptom

ASF GitHub Bot (Jira)
In reply to this post by ASF GitHub Bot (Jira)

    [ https://issues.apache.org/jira/browse/SOLR-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12480010 ]

Bertrand Delacretaz commented on SOLR-118:
------------------------------------------

I'm seeing another, probably related, problem, on a Solr instance that's been running for 23 days: solr/admin/stats.xsl returns a 404 error, so although solr/admin/stats.jsp returns the correct XML it is not displayed in my browser.

It seems like the default servlet (which serves static files) is dead, although the rest works fine. Most probably a Jetty issue.

> Some admin pages stop working with "error 404" as the only symptom
> ------------------------------------------------------------------
>
>                 Key: SOLR-118
>                 URL: https://issues.apache.org/jira/browse/SOLR-118
>             Project: Solr
>          Issue Type: Bug
>          Components: web gui
>         Environment: Fedora Core 4 (Linux version 2.6.11-1.1369_FC4smp)  Sun's JVM 1.5.0_07-b03
>            Reporter: Bertrand Delacretaz
>            Priority: Minor
>
> This was reported to the mailing list a while ago, see http://mail-archives.apache.org/mod_mbox/lucene-solr-user/200610.mbox/%3cf752f5320610311359y365d6322lb9b4e409f5557dfc@...%3e
> Today I'm seeing the same thing on a Solr instance that has been running since January 9th (about 13 days) with the plain start.jar setup. Index contains 150'000 docs, 88322 search requests to date.
> $ curl http://localhost:8983/solr/admin/analysis.jsp
> <html>
> <head>
> <title>Error 404 /admin/analysis.jsp</title>
> </head>
> <body>
> <h2>HTTP ERROR: 404</h2><pre>/admin/analysis.jsp</pre>
> <p>RequestURI=/solr/admin/analysis.jsp</p>
> ...
> curl http://localhost:8983/solr/admin/index.jsp
> <html>
> <head>
> <title>Error 404 /admin/index.jsp</title>
> </head>
> <body>
> <h2>HTTP ERROR: 404</h2><pre>/admin/index.jsp</pre>
> <p>RequestURI=/solr/admin/index.jsp</p>
> ...
> Other admin pages work correctly, for example http://localhost:8983/solr/admin/stats.jsp
> I don't see any messages in the logs, which are capturing stdout and stderr from the JVM.
> I guess I'll have to restart this instance, I'm out of possibilities to find out what's happening exactly.

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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (SOLR-118) Some admin pages stop working with "error 404" as the only symptom

ASF GitHub Bot (Jira)
In reply to this post by ASF GitHub Bot (Jira)

    [ https://issues.apache.org/jira/browse/SOLR-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12507990 ]

Hoss Man commented on SOLR-118:
-------------------------------

FYI: I think i may have found one possible cause of this problem .. not sure if there are other causes.

1) open two terminals both of which are in the solr example directory.
2) in terminal A, run 'java -jar start.jar'
3) note that the following URLs all work fine...
   http://localhost:8983/solr/
   http://localhost:8983/solr/select/?q=solr&version=2.2&start=0&rows=10&indent=on
   http://localhost:8983/solr/admin/
4) in terminal B, run "java -jar start.jar"
5) note that in terminal b, the server logs a "java.net.BindException: Address already in use" exception but the process does not terminate itself.
6) note that while the process in terminal B is still running, the urls from step#3 still work fine, and the queries are logged to terminal A
7) hit Ctrl-C in terminal B to kill that process, wait for it to log "Shutdown hook complete" and return your prompt
8) note that the following URLs now 404...
   http://localhost:8983/solr/admin/
   http://localhost:8983/solr/
9) note that this URL (and all non JSP non flat file solr urls) continues to work, and log the request to terminal A...
   http://localhost:8983/solr/select/?q=solr&version=2.2&start=0&rows=10&indent=on


..in short, i suspect this is a jetty problem, relating to people inadvertently trying to run two instances on the same port, and the shutdown hook for the second instance that does not actually bind to the port inadvertently breaks the first instance.


> Some admin pages stop working with "error 404" as the only symptom
> ------------------------------------------------------------------
>
>                 Key: SOLR-118
>                 URL: https://issues.apache.org/jira/browse/SOLR-118
>             Project: Solr
>          Issue Type: Bug
>          Components: web gui
>         Environment: Fedora Core 4 (Linux version 2.6.11-1.1369_FC4smp)  Sun's JVM 1.5.0_07-b03
>            Reporter: Bertrand Delacretaz
>            Priority: Minor
>
> This was reported to the mailing list a while ago, see http://mail-archives.apache.org/mod_mbox/lucene-solr-user/200610.mbox/%3cf752f5320610311359y365d6322lb9b4e409f5557dfc@...%3e
> Today I'm seeing the same thing on a Solr instance that has been running since January 9th (about 13 days) with the plain start.jar setup. Index contains 150'000 docs, 88322 search requests to date.
> $ curl http://localhost:8983/solr/admin/analysis.jsp
> <html>
> <head>
> <title>Error 404 /admin/analysis.jsp</title>
> </head>
> <body>
> <h2>HTTP ERROR: 404</h2><pre>/admin/analysis.jsp</pre>
> <p>RequestURI=/solr/admin/analysis.jsp</p>
> ...
> curl http://localhost:8983/solr/admin/index.jsp
> <html>
> <head>
> <title>Error 404 /admin/index.jsp</title>
> </head>
> <body>
> <h2>HTTP ERROR: 404</h2><pre>/admin/index.jsp</pre>
> <p>RequestURI=/solr/admin/index.jsp</p>
> ...
> Other admin pages work correctly, for example http://localhost:8983/solr/admin/stats.jsp
> I don't see any messages in the logs, which are capturing stdout and stderr from the JVM.
> I guess I'll have to restart this instance, I'm out of possibilities to find out what's happening exactly.

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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (SOLR-118) Some admin pages stop working with "error 404" as the only symptom

ASF GitHub Bot (Jira)
In reply to this post by ASF GitHub Bot (Jira)

    [ https://issues.apache.org/jira/browse/SOLR-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12507994 ]

Yonik Seeley commented on SOLR-118:
-----------------------------------

Nice find!  Has this been reported to the Jetty folks, or is this something we can solve with configuration?

> Some admin pages stop working with "error 404" as the only symptom
> ------------------------------------------------------------------
>
>                 Key: SOLR-118
>                 URL: https://issues.apache.org/jira/browse/SOLR-118
>             Project: Solr
>          Issue Type: Bug
>          Components: web gui
>         Environment: Fedora Core 4 (Linux version 2.6.11-1.1369_FC4smp)  Sun's JVM 1.5.0_07-b03
>            Reporter: Bertrand Delacretaz
>            Priority: Minor
>
> This was reported to the mailing list a while ago, see http://mail-archives.apache.org/mod_mbox/lucene-solr-user/200610.mbox/%3cf752f5320610311359y365d6322lb9b4e409f5557dfc@...%3e
> Today I'm seeing the same thing on a Solr instance that has been running since January 9th (about 13 days) with the plain start.jar setup. Index contains 150'000 docs, 88322 search requests to date.
> $ curl http://localhost:8983/solr/admin/analysis.jsp
> <html>
> <head>
> <title>Error 404 /admin/analysis.jsp</title>
> </head>
> <body>
> <h2>HTTP ERROR: 404</h2><pre>/admin/analysis.jsp</pre>
> <p>RequestURI=/solr/admin/analysis.jsp</p>
> ...
> curl http://localhost:8983/solr/admin/index.jsp
> <html>
> <head>
> <title>Error 404 /admin/index.jsp</title>
> </head>
> <body>
> <h2>HTTP ERROR: 404</h2><pre>/admin/index.jsp</pre>
> <p>RequestURI=/solr/admin/index.jsp</p>
> ...
> Other admin pages work correctly, for example http://localhost:8983/solr/admin/stats.jsp
> I don't see any messages in the logs, which are capturing stdout and stderr from the JVM.
> I guess I'll have to restart this instance, I'm out of possibilities to find out what's happening exactly.

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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (SOLR-118) Some admin pages stop working with "error 404" as the only symptom

ASF GitHub Bot (Jira)
In reply to this post by ASF GitHub Bot (Jira)

    [ https://issues.apache.org/jira/browse/SOLR-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12508000 ]

Hoss Man commented on SOLR-118:
-------------------------------

i haven't reported anything, and i didn't really dig into it with much depth ... i just randomly discovered it while testing out something else.  (This is the first time i've ever been able to reproduce the problem, i suspect because i tend to leave myself logged into my machines for years at a time with dozens of terminals open each dedicated to one and only one purpose ... so i'd never tried running the solr example code in more then one terminal -- let alone the only two at the same time.  the only reason i noticed today was because i'd brought up a new terminal last week to use for giving a solr demo on my second monitor (the first new terminal i've opened in about 2 months mind you) and i never shut it down until i noticed today that my *regular* solr example running terminal was misbehaving.)

> Some admin pages stop working with "error 404" as the only symptom
> ------------------------------------------------------------------
>
>                 Key: SOLR-118
>                 URL: https://issues.apache.org/jira/browse/SOLR-118
>             Project: Solr
>          Issue Type: Bug
>          Components: web gui
>         Environment: Fedora Core 4 (Linux version 2.6.11-1.1369_FC4smp)  Sun's JVM 1.5.0_07-b03
>            Reporter: Bertrand Delacretaz
>            Priority: Minor
>
> This was reported to the mailing list a while ago, see http://mail-archives.apache.org/mod_mbox/lucene-solr-user/200610.mbox/%3cf752f5320610311359y365d6322lb9b4e409f5557dfc@...%3e
> Today I'm seeing the same thing on a Solr instance that has been running since January 9th (about 13 days) with the plain start.jar setup. Index contains 150'000 docs, 88322 search requests to date.
> $ curl http://localhost:8983/solr/admin/analysis.jsp
> <html>
> <head>
> <title>Error 404 /admin/analysis.jsp</title>
> </head>
> <body>
> <h2>HTTP ERROR: 404</h2><pre>/admin/analysis.jsp</pre>
> <p>RequestURI=/solr/admin/analysis.jsp</p>
> ...
> curl http://localhost:8983/solr/admin/index.jsp
> <html>
> <head>
> <title>Error 404 /admin/index.jsp</title>
> </head>
> <body>
> <h2>HTTP ERROR: 404</h2><pre>/admin/index.jsp</pre>
> <p>RequestURI=/solr/admin/index.jsp</p>
> ...
> Other admin pages work correctly, for example http://localhost:8983/solr/admin/stats.jsp
> I don't see any messages in the logs, which are capturing stdout and stderr from the JVM.
> I guess I'll have to restart this instance, I'm out of possibilities to find out what's happening exactly.

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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (SOLR-118) Some admin pages stop working with "error 404" as the only symptom

ASF GitHub Bot (Jira)
In reply to this post by ASF GitHub Bot (Jira)

    [ https://issues.apache.org/jira/browse/SOLR-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12508159 ]

Otis Gospodnetic commented on SOLR-118:
---------------------------------------

Scanning the past comments....

My first guess would be that Jetty was left configured as is by default, which means it expanded webapps in /tmp/Jetty__some_dir_here....  Some UNIX boxes are configured to purge old files from /tmp/ in order not tu run out of free disk space in /tmp partition.  Perhaps this is what happened here.

The fix is to configure Jetty to expand webapps to a dir that does not get purged.  Of course,  I cannot remember the property name for that.


> Some admin pages stop working with "error 404" as the only symptom
> ------------------------------------------------------------------
>
>                 Key: SOLR-118
>                 URL: https://issues.apache.org/jira/browse/SOLR-118
>             Project: Solr
>          Issue Type: Bug
>          Components: web gui
>         Environment: Fedora Core 4 (Linux version 2.6.11-1.1369_FC4smp)  Sun's JVM 1.5.0_07-b03
>            Reporter: Bertrand Delacretaz
>            Priority: Minor
>
> This was reported to the mailing list a while ago, see http://mail-archives.apache.org/mod_mbox/lucene-solr-user/200610.mbox/%3cf752f5320610311359y365d6322lb9b4e409f5557dfc@...%3e
> Today I'm seeing the same thing on a Solr instance that has been running since January 9th (about 13 days) with the plain start.jar setup. Index contains 150'000 docs, 88322 search requests to date.
> $ curl http://localhost:8983/solr/admin/analysis.jsp
> <html>
> <head>
> <title>Error 404 /admin/analysis.jsp</title>
> </head>
> <body>
> <h2>HTTP ERROR: 404</h2><pre>/admin/analysis.jsp</pre>
> <p>RequestURI=/solr/admin/analysis.jsp</p>
> ...
> curl http://localhost:8983/solr/admin/index.jsp
> <html>
> <head>
> <title>Error 404 /admin/index.jsp</title>
> </head>
> <body>
> <h2>HTTP ERROR: 404</h2><pre>/admin/index.jsp</pre>
> <p>RequestURI=/solr/admin/index.jsp</p>
> ...
> Other admin pages work correctly, for example http://localhost:8983/solr/admin/stats.jsp
> I don't see any messages in the logs, which are capturing stdout and stderr from the JVM.
> I guess I'll have to restart this instance, I'm out of possibilities to find out what's happening exactly.

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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (SOLR-118) Some admin pages stop working with "error 404" as the only symptom

ASF GitHub Bot (Jira)
In reply to this post by ASF GitHub Bot (Jira)

    [ https://issues.apache.org/jira/browse/SOLR-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12508253 ]

Bertrand Delacretaz commented on SOLR-118:
------------------------------------------

Otis, I guess we'll owe you a free beverage of his choice, your guess sounds totally right.

According to http://docs.codehaus.org/display/JETTY/Temporary+Directories the easiest fix might be to create a $(jetty.home)/work directory, which Jetty will use. I haven't checked if this works with the Jetty that's embedded with Solr.

> Some admin pages stop working with "error 404" as the only symptom
> ------------------------------------------------------------------
>
>                 Key: SOLR-118
>                 URL: https://issues.apache.org/jira/browse/SOLR-118
>             Project: Solr
>          Issue Type: Bug
>          Components: web gui
>         Environment: Fedora Core 4 (Linux version 2.6.11-1.1369_FC4smp)  Sun's JVM 1.5.0_07-b03
>            Reporter: Bertrand Delacretaz
>            Priority: Minor
>
> This was reported to the mailing list a while ago, see http://mail-archives.apache.org/mod_mbox/lucene-solr-user/200610.mbox/%3cf752f5320610311359y365d6322lb9b4e409f5557dfc@...%3e
> Today I'm seeing the same thing on a Solr instance that has been running since January 9th (about 13 days) with the plain start.jar setup. Index contains 150'000 docs, 88322 search requests to date.
> $ curl http://localhost:8983/solr/admin/analysis.jsp
> <html>
> <head>
> <title>Error 404 /admin/analysis.jsp</title>
> </head>
> <body>
> <h2>HTTP ERROR: 404</h2><pre>/admin/analysis.jsp</pre>
> <p>RequestURI=/solr/admin/analysis.jsp</p>
> ...
> curl http://localhost:8983/solr/admin/index.jsp
> <html>
> <head>
> <title>Error 404 /admin/index.jsp</title>
> </head>
> <body>
> <h2>HTTP ERROR: 404</h2><pre>/admin/index.jsp</pre>
> <p>RequestURI=/solr/admin/index.jsp</p>
> ...
> Other admin pages work correctly, for example http://localhost:8983/solr/admin/stats.jsp
> I don't see any messages in the logs, which are capturing stdout and stderr from the JVM.
> I guess I'll have to restart this instance, I'm out of possibilities to find out what's happening exactly.

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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (SOLR-118) Some admin pages stop working with "error 404" as the only symptom

ASF GitHub Bot (Jira)
In reply to this post by ASF GitHub Bot (Jira)

    [ https://issues.apache.org/jira/browse/SOLR-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12508313 ]

Otis Gospodnetic commented on SOLR-118:
---------------------------------------

Ah, yes, that will work.  I have Jetty set up like that for http://simpy.com/ , that is why I knew the answer. :)

Beverage of choice....hm, a glass of hot milk? ;)


> Some admin pages stop working with "error 404" as the only symptom
> ------------------------------------------------------------------
>
>                 Key: SOLR-118
>                 URL: https://issues.apache.org/jira/browse/SOLR-118
>             Project: Solr
>          Issue Type: Bug
>          Components: web gui
>         Environment: Fedora Core 4 (Linux version 2.6.11-1.1369_FC4smp)  Sun's JVM 1.5.0_07-b03
>            Reporter: Bertrand Delacretaz
>            Priority: Minor
>
> This was reported to the mailing list a while ago, see http://mail-archives.apache.org/mod_mbox/lucene-solr-user/200610.mbox/%3cf752f5320610311359y365d6322lb9b4e409f5557dfc@...%3e
> Today I'm seeing the same thing on a Solr instance that has been running since January 9th (about 13 days) with the plain start.jar setup. Index contains 150'000 docs, 88322 search requests to date.
> $ curl http://localhost:8983/solr/admin/analysis.jsp
> <html>
> <head>
> <title>Error 404 /admin/analysis.jsp</title>
> </head>
> <body>
> <h2>HTTP ERROR: 404</h2><pre>/admin/analysis.jsp</pre>
> <p>RequestURI=/solr/admin/analysis.jsp</p>
> ...
> curl http://localhost:8983/solr/admin/index.jsp
> <html>
> <head>
> <title>Error 404 /admin/index.jsp</title>
> </head>
> <body>
> <h2>HTTP ERROR: 404</h2><pre>/admin/index.jsp</pre>
> <p>RequestURI=/solr/admin/index.jsp</p>
> ...
> Other admin pages work correctly, for example http://localhost:8983/solr/admin/stats.jsp
> I don't see any messages in the logs, which are capturing stdout and stderr from the JVM.
> I guess I'll have to restart this instance, I'm out of possibilities to find out what's happening exactly.

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

Reply | Threaded
Open this post in threaded view
|

[jira] Resolved: (SOLR-118) Some admin pages stop working with "error 404" as the only symptom

ASF GitHub Bot (Jira)
In reply to this post by ASF GitHub Bot (Jira)

     [ https://issues.apache.org/jira/browse/SOLR-118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bertrand Delacretaz resolved SOLR-118.
--------------------------------------

    Resolution: Fixed

We have confirmed Otis's hypothesis by deleting Jetty's work dir under /tmp while Solr runs, which causes the 404 to appear as described above.

I have added this to the Solr FAQ [1], and added Otis to my "IOU a glass of milk" list.

[1] http://wiki.apache.org/solr/FAQ#head-eff0fcf7bd2ef9385999b1b5c71fffb34e568e8b

> Some admin pages stop working with "error 404" as the only symptom
> ------------------------------------------------------------------
>
>                 Key: SOLR-118
>                 URL: https://issues.apache.org/jira/browse/SOLR-118
>             Project: Solr
>          Issue Type: Bug
>          Components: web gui
>         Environment: Fedora Core 4 (Linux version 2.6.11-1.1369_FC4smp)  Sun's JVM 1.5.0_07-b03
>            Reporter: Bertrand Delacretaz
>            Priority: Minor
>
> This was reported to the mailing list a while ago, see http://mail-archives.apache.org/mod_mbox/lucene-solr-user/200610.mbox/%3cf752f5320610311359y365d6322lb9b4e409f5557dfc@...%3e
> Today I'm seeing the same thing on a Solr instance that has been running since January 9th (about 13 days) with the plain start.jar setup. Index contains 150'000 docs, 88322 search requests to date.
> $ curl http://localhost:8983/solr/admin/analysis.jsp
> <html>
> <head>
> <title>Error 404 /admin/analysis.jsp</title>
> </head>
> <body>
> <h2>HTTP ERROR: 404</h2><pre>/admin/analysis.jsp</pre>
> <p>RequestURI=/solr/admin/analysis.jsp</p>
> ...
> curl http://localhost:8983/solr/admin/index.jsp
> <html>
> <head>
> <title>Error 404 /admin/index.jsp</title>
> </head>
> <body>
> <h2>HTTP ERROR: 404</h2><pre>/admin/index.jsp</pre>
> <p>RequestURI=/solr/admin/index.jsp</p>
> ...
> Other admin pages work correctly, for example http://localhost:8983/solr/admin/stats.jsp
> I don't see any messages in the logs, which are capturing stdout and stderr from the JVM.
> I guess I'll have to restart this instance, I'm out of possibilities to find out what's happening exactly.

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