You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Jason Rutherglen <ja...@gmail.com> on 2009/10/09 22:17:57 UTC

java -Dsolr.solr.home=core -jar start.jar not working for me

I have a fresh checkout from trunk, "cd example", after running "java
-Dsolr.solr.home=core -jar start.jar",
http://localhost:8983/solr/admin yields a 404 error.

Re: java -Dsolr.solr.home=core -jar start.jar not working for me

Posted by Jason Rutherglen <ja...@gmail.com>.
Lance,

I tried "java -Dsolr.solr.home=example-DIH/solr -jar start.jar" and
the browser returns 404.

On Fri, Oct 9, 2009 at 1:30 PM, Lance Norskog <go...@gmail.com> wrote:
> "java -jar start.jar" spews a lot of log when you run it in the
> example/ directory.
> That should show the problem. Is "core" in the structure
> "core/solr/conf?" If it has multiple subcores, there is no
> solr/admin.jsp. Instead there is a main solr/ and a
> solr/core1/admin.jsp etc.
>
> Try running -Dsolr.solr.home=example-DIH/solr from the example/ directory.
>
> On Fri, Oct 9, 2009 at 1:17 PM, Jason Rutherglen
> <ja...@gmail.com> wrote:
>> I have a fresh checkout from trunk, "cd example", after running "java
>> -Dsolr.solr.home=core -jar start.jar",
>> http://localhost:8983/solr/admin yields a 404 error.
>>
>
>
>
> --
> Lance Norskog
> goksron@gmail.com
>

Re: java -Dsolr.solr.home=core -jar start.jar not working for me

Posted by Lance Norskog <go...@gmail.com>.
"java -jar start.jar" spews a lot of log when you run it in the
example/ directory.
That should show the problem. Is "core" in the structure
"core/solr/conf?" If it has multiple subcores, there is no
solr/admin.jsp. Instead there is a main solr/ and a
solr/core1/admin.jsp etc.

Try running -Dsolr.solr.home=example-DIH/solr from the example/ directory.

On Fri, Oct 9, 2009 at 1:17 PM, Jason Rutherglen
<ja...@gmail.com> wrote:
> I have a fresh checkout from trunk, "cd example", after running "java
> -Dsolr.solr.home=core -jar start.jar",
> http://localhost:8983/solr/admin yields a 404 error.
>



-- 
Lance Norskog
goksron@gmail.com

Re: java -Dsolr.solr.home=core -jar start.jar not working for me

Posted by Jason Rutherglen <ja...@gmail.com>.
Yep!  Thanks!

On Fri, Oct 9, 2009 at 1:42 PM, Jay Hill <ja...@gmail.com> wrote:
> After checking out the latest revision did you do a build? I've made that
> mistake myself a few times: check out the latest revision and then fire up
> jetty before running "ant example" - could that be it?
>
> -Jay
> http://www.lucidimagination.com
>
>
> On Fri, Oct 9, 2009 at 1:38 PM, Jason Rutherglen <jason.rutherglen@gmail.com
>> wrote:
>
>> Jay,
>>
>> I tried that as well, still nothing.
>>
>> When I run: java -Dsolr.solr.home=solr -jar start.jar
>> I see:
>> 2009-10-09 13:37:04.887::INFO:  Logging to STDERR via
>> org.mortbay.log.StdErrLog
>> 2009-10-09 13:37:05.051::INFO:  jetty-6.1.3
>> 2009-10-09 13:37:05.096::INFO:  Started SocketConnector @ 0.0.0.0:8983
>>
>> And http://localhost:8983/solr/admin yields a 404 error.
>>
>> On Fri, Oct 9, 2009 at 1:27 PM, Jay Hill <ja...@gmail.com> wrote:
>> > Shouldn't that be:  java -Dsolr.solr.home=multicore -jar start.jar
>> >
>> > and then hit url: http://localhost:8983/solr/core0/admin/  or
>> > http://localhost:8983/solr/core1/admin/
>> >
>> > -Jay
>> > http://www.lucidimagination.com
>> >
>> > On Fri, Oct 9, 2009 at 1:17 PM, Jason Rutherglen <
>> jason.rutherglen@gmail.com
>> >> wrote:
>> >
>> >> I have a fresh checkout from trunk, "cd example", after running "java
>> >> -Dsolr.solr.home=core -jar start.jar",
>> >> http://localhost:8983/solr/admin yields a 404 error.
>> >>
>> >
>>
>

Re: java -Dsolr.solr.home=core -jar start.jar not working for me

Posted by Jay Hill <ja...@gmail.com>.
After checking out the latest revision did you do a build? I've made that
mistake myself a few times: check out the latest revision and then fire up
jetty before running "ant example" - could that be it?

-Jay
http://www.lucidimagination.com


On Fri, Oct 9, 2009 at 1:38 PM, Jason Rutherglen <jason.rutherglen@gmail.com
> wrote:

> Jay,
>
> I tried that as well, still nothing.
>
> When I run: java -Dsolr.solr.home=solr -jar start.jar
> I see:
> 2009-10-09 13:37:04.887::INFO:  Logging to STDERR via
> org.mortbay.log.StdErrLog
> 2009-10-09 13:37:05.051::INFO:  jetty-6.1.3
> 2009-10-09 13:37:05.096::INFO:  Started SocketConnector @ 0.0.0.0:8983
>
> And http://localhost:8983/solr/admin yields a 404 error.
>
> On Fri, Oct 9, 2009 at 1:27 PM, Jay Hill <ja...@gmail.com> wrote:
> > Shouldn't that be:  java -Dsolr.solr.home=multicore -jar start.jar
> >
> > and then hit url: http://localhost:8983/solr/core0/admin/  or
> > http://localhost:8983/solr/core1/admin/
> >
> > -Jay
> > http://www.lucidimagination.com
> >
> > On Fri, Oct 9, 2009 at 1:17 PM, Jason Rutherglen <
> jason.rutherglen@gmail.com
> >> wrote:
> >
> >> I have a fresh checkout from trunk, "cd example", after running "java
> >> -Dsolr.solr.home=core -jar start.jar",
> >> http://localhost:8983/solr/admin yields a 404 error.
> >>
> >
>

Re: java -Dsolr.solr.home=core -jar start.jar not working for me

Posted by Jason Rutherglen <ja...@gmail.com>.
Jay,

I tried that as well, still nothing.

When I run: java -Dsolr.solr.home=solr -jar start.jar
I see:
2009-10-09 13:37:04.887::INFO:  Logging to STDERR via org.mortbay.log.StdErrLog
2009-10-09 13:37:05.051::INFO:  jetty-6.1.3
2009-10-09 13:37:05.096::INFO:  Started SocketConnector @ 0.0.0.0:8983

And http://localhost:8983/solr/admin yields a 404 error.

On Fri, Oct 9, 2009 at 1:27 PM, Jay Hill <ja...@gmail.com> wrote:
> Shouldn't that be:  java -Dsolr.solr.home=multicore -jar start.jar
>
> and then hit url: http://localhost:8983/solr/core0/admin/  or
> http://localhost:8983/solr/core1/admin/
>
> -Jay
> http://www.lucidimagination.com
>
> On Fri, Oct 9, 2009 at 1:17 PM, Jason Rutherglen <jason.rutherglen@gmail.com
>> wrote:
>
>> I have a fresh checkout from trunk, "cd example", after running "java
>> -Dsolr.solr.home=core -jar start.jar",
>> http://localhost:8983/solr/admin yields a 404 error.
>>
>

Re: java -Dsolr.solr.home=core -jar start.jar not working for me

Posted by Jay Hill <ja...@gmail.com>.
Shouldn't that be:  java -Dsolr.solr.home=multicore -jar start.jar

and then hit url: http://localhost:8983/solr/core0/admin/  or
http://localhost:8983/solr/core1/admin/

-Jay
http://www.lucidimagination.com

On Fri, Oct 9, 2009 at 1:17 PM, Jason Rutherglen <jason.rutherglen@gmail.com
> wrote:

> I have a fresh checkout from trunk, "cd example", after running "java
> -Dsolr.solr.home=core -jar start.jar",
> http://localhost:8983/solr/admin yields a 404 error.
>