Hi, I guess you should change the Tomcat's configuration files, I'm new
to Tomcat so I haven't any clue about that :-(

Maybe you can find the answer at:
http://tomcat.apache.org/tomcat-6.0-doc/index.html

Please, let me know if you find out how to do that.

Regards,
Alejandro




On 2/28/08, newBea <[EMAIL PROTECTED]> wrote:
>
>  Hi  Alejandro,
>
>  I followed the steps given by you on this forum for solr installation. Its
>  working well...
>
>  However do you have any idea about starting solr on prerequisite port. I
>  mean if I want solr to run on port different than 8080 and with the same
>  steps provided by you, what would be the better way? If you have any clues
>  about it please do let me know...
>
>  Thanks in advance...
>
>
>  Alejandro Valdez wrote:
>  >
>  > Hello, yes of course.
>  >
>  > I followed the instructions from
>  > http://wiki.apache.org/solr/SolrTomcat (see below)
>  > but instead of copy the example configuration files into the directory
>  > c:\web\solr\ as
>  > is explained in that page, I did it into c:\tomcat\webapps\solr and
>  > started Tomcat with:
>  > -Dsolr.solr.home=c:\tomcat\webapps\solr
>  >
>  > But it didn't work.
>  >
>  > ****
>  > Apparently the directory used in solr.solr.home variable MUST NOT
>  > point inside the Tomcat's webapps directory, or it will be ignored.
>  > ***
>  >
>  > The enviroment I used was:
>  > Windows XP Professional
>  > XAMPP 1.6.4
>  > Tomcat 6.0.13
>  > Sun JDK 5
>  >
>  >
>  > Updated content of http://wiki.apache.org/solr/SolrTomcat:
>  >
>  > Tomcat on Windows
>  > Single Solr app
>  >
>  > 1) Download and install [WWW] Tomcat for Windows using the MSI
>  > installer. Install it with the tcnative.dll file. Say you installed it
>  > in c:\tomcat\
>  > 2) Check if Tomcat is installed correctly by going to [WWW]
>  > http://localhost:8080/
>  > 3) Change the c:\tomcat\conf\server.xml file to add the URIEncoding
>  > Connector element as shown above.
>  > 4) Download and unzip the Solr distribution zip file into (say)
>  > c:\temp\solrZip\
>  > 5) Make a directory called solr where you intend the application
>  > server to function, say c:\web\solr\ (Important: It must be outside
>  > the Tomcat's webapps directory)
>  > 6) Copy the contents of the example\solr directory
>  > c:\temp\solrZip\example\solr\ to c:\web\solr\
>  > 7) Stop the Tomcat service
>  > 8) Copy the *solr*.war file from c:\temp\solrZip\dist\ to the Tomcat
>  > webapps directory c:\tomcat\webapps\
>  > 9) Rename the *solr*.war file solr.war
>  > 10)Use the system tray icon to configure Tomcat to start with the
>  > following Java option: -Dsolr.solr.home=c:\web\solr
>  > 11)Start the Tomcat service
>  > 12)Go to the solr admin page to verify that the installation is
>  > working. It will be at [WWW] http://localhost:8080/solr/admin
>  >
>  >
>  > On Thu, Feb 21, 2008 at 4:38 PM, David Pratt <[EMAIL PROTECTED]>
>  > wrote:
>  >> Hi Alejandro. Since this was a bit of trouble for you could you post the
>  >>  steps you used to get it to work (and/or any deviation from the wiki) to
>  >>  summarize this thread. It has been some days that I have seen the thread
>  >>  on the list and it would leave something useful other than I got it
>  >>  running for other folks with a similar issue in future. Many thanks.
>  >>
>  >>  Regards
>  >>  David
>  >>
>  >>
>  >>
>  >>  Alejandro Valdez wrote:
>  >>  > Thanks a lot, it's running right now.
>  >>  >
>  >>  > It seems that solr.solr.home should not point into the webapps
>  >>  > directory, maybe this tip should be included in the installation
>  >>  > guide...
>  >>  >
>  >>  > Thanks again.
>  >>  >
>  >>  >
>  >>  > On Wed, Feb 20, 2008 at 10:50 PM, Yonik Seeley <[EMAIL PROTECTED]>
>  >> wrote:
>  >>  >> On Wed, Feb 20, 2008 at 5:32 PM, Alejandro Valdez
>  >>  >>
>  >>  >> <[EMAIL PROTECTED]> wrote:
>  >>  >>
>  >>  >>> Hi, I changed that line to:
>  >>  >>  >
>  >>  >>  >  set JAVA_OPTS=-Dsolr.home=C:\xampp\tomcat\webapps\solr
>  >> -Duser.language=en
>  >>  >>  >
>  >>  >>  >  But It STILL isn't working...I almost give up :-(
>  >>  >>  >
>  >>  >>  >  When I try to open http://localhost:8080/solr/admin, I get:
>  >>  >>  >
>  >>  >>  > ---
>  >>  >>  >  HTTP Status 404 - /solr/admin
>  >>  >>  >  type Status report
>  >>  >>  >  message /solr/admin
>  >>  >>  >  description The requested resource (/solr/admin) is not
>  >> available.
>  >>  >>  >  Apache Tomcat/6.0.13
>  >>  >>  >  ---
>  >>  >>  >
>  >>  >>  >
>  >>  >>  >  Someone should fix the page
>  >> http://wiki.apache.org/solr/SolrTomcat,
>  >>  >>  >  there says that should be used -Dsolr.solr.home=... :
>  >>  >>
>  >>  >>  solr.solr.home is the correct variable.
>  >>  >>  Try putting the solr home (the contents of solr/example) outside the
>  >>  >>  webapps directory.  Only solr.war should go inside webapps.
>  >>  >>
>  >>  >>  You could also try the "simple example install" from here:
>  >>  >>
>  >>  >>
>  >>  >> http://wiki.apache.org/solr/SolrTomcat
>  >>  >>
>  >>  >>  -Yonik
>  >>  >>
>  >>  >
>  >>
>  >
>  >
>
>
> --
>  View this message in context: 
> http://www.nabble.com/Solr-in-Windows-XP-%2B-JDK-5-%2B-Tomcat-6.0.13-tp15570591p15735974.html
>  Sent from the Solr - User mailing list archive at Nabble.com.
>
>

Reply via email to