You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Alan Woodward <al...@romseysoftware.co.uk> on 2012/04/19 18:13:58 UTC

SOLR example on trunk broken?

Hi all,

I'm trying to get the Solr example running in a checkout of trunk (r1327775), but it seems to be broken - jetty starts up, but doesn't load the Solr webapp.

solr/example$ ant resolve
solr/example$ java -jar start.jar &
2012-04-19 17:01:00.028:INFO:oejs.Server:jetty-8.1.2.v20120308
2012-04-19 17:01:00.043:INFO:oejdp.ScanningAppProvider:Deployment monitor /Users/woody/projects/lucene-solr/solr/example/webapps at interval 0
2012-04-19 17:01:00.062:INFO:oejs.AbstractConnector:Started SocketConnector@0.0.0.0:8983

solr/example$ curl localhost:8983/solr/admin
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
<title>Error 404 Not Found</title>
</head>
<body>
<h2>HTTP ERROR: 404</h2>
<p>Problem accessing /solr/admin. Reason:
<pre>    Not Found</pre></p>
<hr /><i><small>Powered by Jetty://</small></i>                                   
</body>
</html>

I can't find anything in etc/jetty.xml that tells it how to load Solr either - possibly I'm just misunderstanding something here.

Any ideas?

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


Re: SOLR example on trunk broken?

Posted by Ryan McKinley <ry...@gmail.com>.
try:
http://localhost:8983/solr/

without the /admin path

In /trunk since SOLR-3337, /solr/admin should redirect to the new UI

$ curl -v http://localhost:8983/solr/admin
* About to connect() to localhost port 8983 (#0)
*   Trying ::1...
* connected
* Connected to localhost (::1) port 8983 (#0)
> GET /solr/admin HTTP/1.1
> User-Agent: curl/7.24.0 (i686-pc-cygwin) libcurl/7.24.0 OpenSSL/0.9.8t zlib/1.2.5 libidn/1.22 libssh2/1.3.0
> Host: localhost:8983
> Accept: */*
>
< HTTP/1.1 301 Moved Permanently
< Location: /solr/#/
< Content-Length: 0
<
* Connection #0 to host localhost left intact
* Closing connection #0







On Thu, Apr 19, 2012 at 9:13 AM, Alan Woodward
<al...@romseysoftware.co.uk> wrote:
> Hi all,
>
> I'm trying to get the Solr example running in a checkout of trunk (r1327775), but it seems to be broken - jetty starts up, but doesn't load the Solr webapp.
>
> solr/example$ ant resolve
> solr/example$ java -jar start.jar &
> 2012-04-19 17:01:00.028:INFO:oejs.Server:jetty-8.1.2.v20120308
> 2012-04-19 17:01:00.043:INFO:oejdp.ScanningAppProvider:Deployment monitor /Users/woody/projects/lucene-solr/solr/example/webapps at interval 0
> 2012-04-19 17:01:00.062:INFO:oejs.AbstractConnector:Started SocketConnector@0.0.0.0:8983
>
> solr/example$ curl localhost:8983/solr/admin
> <html>
> <head>
> <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
> <title>Error 404 Not Found</title>
> </head>
> <body>
> <h2>HTTP ERROR: 404</h2>
> <p>Problem accessing /solr/admin. Reason:
> <pre>    Not Found</pre></p>
> <hr /><i><small>Powered by Jetty://</small></i>
> </body>
> </html>
>
> I can't find anything in etc/jetty.xml that tells it how to load Solr either - possibly I'm just misunderstanding something here.
>
> Any ideas?
>
> Thanks,
> Alan Woodward
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>

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


Re: SOLR example on trunk broken?

Posted by Alan Woodward <al...@romseysoftware.co.uk>.
Ah, yes, building it first would help, wouldn't it?  :-/

Thanks Sami and Ryan.  The new UI looks very nice, too!

On 19 Apr 2012, at 17:44, Sami Siren wrote:

> On Thu, Apr 19, 2012 at 7:13 PM, Alan Woodward
> <al...@romseysoftware.co.uk> wrote:
>> Hi all,
>> 
>> I'm trying to get the Solr example running in a checkout of trunk (r1327775), but it seems to be broken - jetty starts up, but doesn't load the Solr webapp.
>> 
>> solr/example$ ant resolve
>> solr/example$ java -jar start.jar &
> 
> did you build the example first by running "ant example" from the solr dir?
> 
> --
> Sami Siren
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
> 


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


Re: SOLR example on trunk broken?

Posted by Sami Siren <ss...@gmail.com>.
On Thu, Apr 19, 2012 at 7:13 PM, Alan Woodward
<al...@romseysoftware.co.uk> wrote:
> Hi all,
>
> I'm trying to get the Solr example running in a checkout of trunk (r1327775), but it seems to be broken - jetty starts up, but doesn't load the Solr webapp.
>
> solr/example$ ant resolve
> solr/example$ java -jar start.jar &

did you build the example first by running "ant example" from the solr dir?

--
 Sami Siren

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