Re: muticore setup with tomcat

2009-03-17 Thread Chris Hostetter

You haven't really given us a lot of information to work with...

what shows up in your logs?
what did you name the context fragment file?
where did you put the context fragment file?
where did you put the multicore directory?

sharing *exact* directory lisings and the *exact* commands you've 
executed is much more likely to help people understand what you're seeing.

For example: the SolrTomcat wiki page shows an exact set of shell commands 
to install solr and tomcat on linux or cygwin and get it running against a 
simple example ... if you can provide a similar set commands showing 
*exactly* what you've done, people might be able to spot the problem (or 
try the steps themselve and reproduce the problem)

http://wiki.apache.org/solr/SolrTomcat

: Date: Mon, 9 Mar 2009 14:55:47 +0530

: Hi,
: 
: I am trying to do amulticore set up..
: 
: I added the following from the 1.3 solr download to new dir called multicore
: 
: core0 ,core1,solr.xml and solr.war
: 
: in the tomcat context fragment i have defined as
: 
: Context docBase=c:/multicore/solr.war debug=0 crossContext=true 
:Environment name=solr/home type=java.lang.String value=C:\multicore
: override=true /
: /Context
: http://localhost:8080/multicore/admin
: http://localhost:8080/multicore/admin/core0
: 
: The above 2 ursl give me resource not found error
: 
: the solr.xml is the default one from the download.
: 
: Please tell me as to what needs to be changed to make this work in tomcat
: 
: Regards
: Sujatha
: 



-Hoss



Re: muticore setup with tomcat

2009-03-17 Thread Cheng Zhang

below is my setup, 

Context docBase=/home/zhangyongjiang/applications/solr/solr.war debug=0 
crossContext=true 
   Environment name=solr/home type=java.lang.String 
value=/home/zhangyongjiang/applications/solr override=false /
/Context

then under /home/zhangyongjiang/applications/solr, I have solr.xml as below,

solr persistent=true sharedLib=lib
 cores adminPath=/admin/cores
  core name=core1 instanceDir=core1 /
  core name=core2 instanceDir=core2 /
  core name=core3 instanceDir=core3 /
  core name=core4 instanceDir=core4 /
 /cores
/solr

under /home/zhangyongjiang/applications/solr, I created core1/, core2/, core3/, 
core4 subdirectories.


hope it helps.





- Original Message 
From: Chris Hostetter hossman_luc...@fucit.org
To: solr-user@lucene.apache.org
Sent: Tuesday, March 17, 2009 3:46:11 PM
Subject: Re: muticore setup with tomcat


You haven't really given us a lot of information to work with...

what shows up in your logs?
what did you name the context fragment file?
where did you put the context fragment file?
where did you put the multicore directory?

sharing *exact* directory lisings and the *exact* commands you've 
executed is much more likely to help people understand what you're seeing.

For example: the SolrTomcat wiki page shows an exact set of shell commands 
to install solr and tomcat on linux or cygwin and get it running against a 
simple example ... if you can provide a similar set commands showing 
*exactly* what you've done, people might be able to spot the problem (or 
try the steps themselve and reproduce the problem)

http://wiki.apache.org/solr/SolrTomcat

: Date: Mon, 9 Mar 2009 14:55:47 +0530

: Hi,
: 
: I am trying to do amulticore set up..
: 
: I added the following from the 1.3 solr download to new dir called multicore
: 
: core0 ,core1,solr.xml and solr.war
: 
: in the tomcat context fragment i have defined as
: 
: Context docBase=c:/multicore/solr.war debug=0 crossContext=true 
:Environment name=solr/home type=java.lang.String value=C:\multicore
: override=true /
: /Context
: http://localhost:8080/multicore/admin
: http://localhost:8080/multicore/admin/core0
: 
: The above 2 ursl give me resource not found error
: 
: the solr.xml is the default one from the download.
: 
: Please tell me as to what needs to be changed to make this work in tomcat
: 
: Regards
: Sujatha
: 



-Hoss


Re: muticore setup with tomcat

2009-03-17 Thread Chris Hostetter


: below is my setup, 
: 
: Context docBase=/home/zhangyongjiang/applications/solr/solr.war debug=0 
crossContext=true 
:Environment name=solr/home type=java.lang.String 
value=/home/zhangyongjiang/applications/solr override=false /
: /Context

you provided that information before, but you still haven't answered the 
most of the questions i asked you...

: You haven't really given us a lot of information to work with...
: 
: what shows up in your logs?
: what did you name the context fragment file?
: where did you put the context fragment file?
: where did you put the multicore directory?

...the answer to that last question is the only new piece of information 
you provided.

My other comments also still hold true...

: sharing *exact* directory lisings and the *exact* commands you've 
: executed is much more likely to help people understand what you're seeing.

...please cut and paste directory listings of the directories in question, 
cust/paste how you are running tomcat, which directory you are running 
tomcat in, what log messages you are getting, etc...

: For example: the SolrTomcat wiki page shows an exact set of shell commands 
: to install solr and tomcat on linux or cygwin and get it running against a 
: simple example ... if you can provide a similar set commands showing 
: *exactly* what you've done, people might be able to spot the problem (or 
: try the steps themselve and reproduce the problem)
: 
: http://wiki.apache.org/solr/SolrTomcat



-Hoss