how to change the default path of Solr Tomcat

2010-07-21 Thread Eben

Hi everyone,
I really need your help

this is the default address that I got from the solr:
http://172.16.17.126:8983/solr/

the question is how to change that path to be:
http://172.16.17.126:8983/search/

Please I really need your help
thanks a lot before



Re: how to change the default path of Solr Tomcat

2010-07-21 Thread kenf_nc

Your environment may be different, but this is how I did it. (Apache Tomcat
on Windows 2008)

go to \program files\apache...\Tomcat\conf\catalina\localhost
rename solr.xml to search.xml
recycle Tomcat service

-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/how-to-change-the-default-path-of-Solr-Tomcat-tp985881p985937.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: how to change the default path of Solr Tomcat

2010-07-21 Thread Eben

firstly, I really appreciate your respond to my question Ken

I'm using Tomcat on Linux Debian
I can't find the solr.xml in  \program 
files\apache...\Tomcat\conf\catalina\localhost

there are only 2 files in localhost folder:
host-manager.xml and manager.xml

any solutions?

On 7/22/2010 10:41 AM, kenf_nc wrote:

Your environment may be different, but this is how I did it. (Apache Tomcat
on Windows 2008)

go to \program files\apache...\Tomcat\conf\catalina\localhost
rename solr.xml to search.xml
recycle Tomcat service

   





Re: how to change the default path of Solr Tomcat

2010-07-21 Thread Girish Pandit
it seems like you are using Default server (Jetty with port 8983), also 
it looks like you are trying to run it with command java -jar 
start.jar if so then under same directory there is another directory 
called webapps go in there, rename solr.war to search.war bounce 
server and you should be good to go!



Eben wrote:

firstly, I really appreciate your respond to my question Ken

I'm using Tomcat on Linux Debian
I can't find the solr.xml in  \program 
files\apache...\Tomcat\conf\catalina\localhost

there are only 2 files in localhost folder:
host-manager.xml and manager.xml

any solutions?

On 7/22/2010 10:41 AM, kenf_nc wrote:
Your environment may be different, but this is how I did it. (Apache 
Tomcat

on Windows 2008)

go to \program files\apache...\Tomcat\conf\catalina\localhost
rename solr.xml to search.xml
recycle Tomcat service

   








Re: how to change the default path of Solr Tomcat

2010-07-21 Thread K Wong
Check: /var/lib/tomcat5.5/conf/Catalina/localhost/

Are you using Tomcat on a custom port (the default tomcat port is
8080)? Check your ports ($ sudo netstat -nlp)

Maybe try searching the file system for the solr.xml file?

$ sudo find / -name solr.xml

Hope this helps.

K


On Wed, Jul 21, 2010 at 8:22 PM, Eben e...@tokobagus.com wrote:
 firstly, I really appreciate your respond to my question Ken

 I'm using Tomcat on Linux Debian
 I can't find the solr.xml in  \program
 files\apache...\Tomcat\conf\catalina\localhost
 there are only 2 files in localhost folder:
 host-manager.xml and manager.xml

 any solutions?

 On 7/22/2010 10:41 AM, kenf_nc wrote:

 Your environment may be different, but this is how I did it. (Apache
 Tomcat
 on Windows 2008)

 go to \program files\apache...\Tomcat\conf\catalina\localhost
 rename solr.xml to search.xml
 recycle Tomcat service







Re: how to change the default path of Solr Tomcat

2010-07-21 Thread Eben

Hi Wong,
I'm using Default server (Jetty with port 8983)
Girish solution already solve my problem
thanks for your response Wong :)

On 7/22/2010 11:57 AM, K Wong wrote:

Check: /var/lib/tomcat5.5/conf/Catalina/localhost/

Are you using Tomcat on a custom port (the default tomcat port is
8080)? Check your ports ($ sudo netstat -nlp)

Maybe try searching the file system for the solr.xml file?

$ sudo find / -name solr.xml

Hope this helps.

K


On Wed, Jul 21, 2010 at 8:22 PM, Ebene...@tokobagus.com  wrote:
   

firstly, I really appreciate your respond to my question Ken

I'm using Tomcat on Linux Debian
I can't find the solr.xml in  \program
files\apache...\Tomcat\conf\catalina\localhost
there are only 2 files in localhost folder:
host-manager.xml and manager.xml

any solutions?

On 7/22/2010 10:41 AM, kenf_nc wrote:
 

Your environment may be different, but this is how I did it. (Apache
Tomcat
on Windows 2008)

go to \program files\apache...\Tomcat\conf\catalina\localhost
rename solr.xml to search.xml
recycle Tomcat service