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=... :

"Use the system tray icon to configure Tomcat to start with the
following Java option: -Dsolr.solr.home=c:\web\solr"



Here is the output of Tomcat when started:
-----
Feb 20, 2008 8:27:59 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The Apache Tomcat Native library which allows optimal performance in produ
ction environments was not found on the java.library.path: C:\Sun\SDK\jdk\bin;.;
C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WI
NDOWS;C:\WINDOWS\System32\Wbem;c:\Archivos de programa\python25;C:\Sun\SDK\jdk\j
re\bin;C:\Sun\SDK\bin;C:\Archivos de programa\CollabNet Subversion Server
Feb 20, 2008 8:27:59 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Feb 20, 2008 8:27:59 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 522 ms
Feb 20, 2008 8:27:59 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Feb 20, 2008 8:27:59 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.13
Feb 20, 2008 8:27:59 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive solr.war
Feb 20, 2008 8:28:00 PM com.sun.faces.config.ConfigureListener contextInitialize
d
INFO: Initializing Sun's JavaServer Faces implementation (1.2_04-b07-FCS) for co
ntext '/myproject'
log4j:WARN No appenders could be found for logger (org.ajax4jsf.application.Debu
gLifecycleFactory).
log4j:WARN Please initialize the log4j system properly.
Feb 20, 2008 8:28:02 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Feb 20, 2008 8:28:02 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Feb 20, 2008 8:28:02 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/31  config=null
Feb 20, 2008 8:28:02 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 3557 ms
----



On Wed, Feb 20, 2008 at 12:33 PM, Hausherr, Jens
<[EMAIL PROTECTED]> wrote:
> It should work if you use -Dsolr.home=... instead of -Dsolr.solr.home=...
>
>  Or is this just a copy and paste error?
>
>  Jens
>
>  -----Ursprüngliche Nachricht-----
>  Von: Alejandro Valdez [mailto:[EMAIL PROTECTED]
>  Gesendet: Dienstag, 19. Februar 2008 20:37
>  An: solr-user@lucene.apache.org
>  Betreff: Re: Solr in Windows XP + JDK 5 + Tomcat 6.0.13
>
>
>
>  I updated the tomcat startup bat to:
>
>  set JAVA_OPTS=-Dsolr.solr.home=C:\xampp\tomcat\webapps\solr 
> -Duser.language=en
>
>  and to:
>
>  set JAVA_OPTS=-Dsolr.solr.home=C:/xampp/tomcat/webapps/solr 
> -Duser.language=en
>
>  I'm still getting the same error:
>
>  ---------------
>  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
>  ----------------
>
>
>
>  I opened http://localhost:8080/manager/html and I can see a line that says:
>
>  /solr           true    0
>
>  'true' means that the solr application is running...
>
>
>  :-(
>
>
>
>
>
>
>
>
>  On Feb 19, 2008 5:16 PM, Shalin Shekhar Mangar <[EMAIL PROTECTED]> wrote:
>  > In that case, your solr.solr.home should be
>  > "C:/xampp/tomcat/webapps/solr". Remove the conf at the end. I would
>  > suggest keeping the conf in a separate place though.
>  >
>  >
>  > On Feb 19, 2008 10:46 PM, Alejandro Valdez <[EMAIL PROTECTED]> wrote:
>  > > Hi, I copied the content of the directory examples/solr to
>  > > C:\xampp\tomcat\webapps\solr and updated the tomcat startup bat to:
>  > >
>  > > set JAVA_OPTS=-Dsolr.solr.home=C:\xampp\tomcat\webapps\solr\conf
>  > > -Duser.language=en
>  > >
>  > > I get the same 404 error when open http://127.0.0.1:8080/solr/admin,
>  > > and there is no error message in the tomcat logs.
>  > >
>  > > If I start Solr from the example directory using jetty it's start ok
>  > > and the admin page shows ok.
>  > >
>  > > Any help would be very appreciated.
>  > >
>  > >
>  > >
>  > >
>  > >
>  > > On Feb 19, 2008 2:49 PM, Shalin Shekhar Mangar <[EMAIL PROTECTED]> wrote:
>  > > > The problem is that your SOLR home is incorrect. You're making
>  > > > -Dsolr.solr.home point to the deployed solr webapp inside solr. It
>  > > > should actually point to a directory which contains conf folder
>  > > > containing solrconfig.xml and schema.xml.
>  > > >
>  > > > For an example configuration folder see example/solr supplied with 
> solr builds.
>  > > >
>  > > >
>  > > > On Feb 19, 2008 10:02 PM, Alejandro Valdez <[EMAIL PROTECTED]> wrote:
>  > > > > Hello, I'm trying to install Solr in Windows but it's not working.
>  > > > >
>  > > > > I followed the instructions at
>  > > > > http://wiki.apache.org/solr/SolrTomcat for configuring Solr in 
> Windows.
>  > > > >
>  > > > > If I open the localhost tomcat URL (http://localhost:8080/) it
>  > > > > shows the tomcat page.
>  > > > >
>  > > > > If I open the localhost URL for my project
>  > > > > (http://localhost:8080/myproject) it works ok.
>  > > > >
>  > > > > But if I open the Solr URL (http://localhost:8080/solr/admin) It
>  > > > > fails with tomcat's 404 error.
>  > > > >
>  > > > > The files are correctly deployed in the webapps directory...
>  > > > >
>  > > > > The tomcat's log says "Feb 19, 2008 2:24:54 PM
>  > > > > org.apache.catalina.startup.HostConfig deployWAR
>  > > > > INFO: Deploying web application archive solr.war" but it still
>  > > > > don't work :-(
>  > > > >
>  > > > >
>  > > > > Any clue?
>  > > > >
>  > > > >
>  > > > >
>  > > > >
>  > > > > This is the tomcat_start.bat
>  > > > > --------------
>  > > > > set JAVA_HOME=C:\Sun\SDK\jdk
>  > > > > set workers.catalina_home=c:\xampp\tomcat
>  > > > > set workers.java_home=C:\Sun\SDK\jdk set
>  > > > > TOMCAT_HOME=c:\xampp\tomcat set TOMCAT_BASE=c:\xampp\tomcat set
>  > > > > CLASSPATH=c:\xampp\tomcat;C:\Sun\SDK\jdk\lib\tools.jar
>  > > > > set CATALINA_BASE=c:\xampp\tomcat set
>  > > > > CATALINA_HOME=c:\xampp\tomcat set
>  > > > > JAVA_OPTS=-Dsolr.solr.home=c:\xampp\tomcat\webapps\solr
>  > > > > -Duser.language=en tomcat\bin\catalina.bat start
>  > > > > --------------
>  > > > >
>  > > > > This is the output when Tomcat start:
>  > > > > --------------
>  > > > > Feb 19, 2008 2:24:54 PM
>  > > > > org.apache.catalina.core.AprLifecycleListener init
>  > > > > INFO: The Apache Tomcat Native library which allows optimal
>  > > > > performance in produ ction environments was not found on the
>  > > > > java.library.path: C:\Sun\SDK\jdk\bin;.;
>  > > > > C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOW
>  > > > > S\system32;C:\WI NDOWS;C:\WINDOWS\System32\Wbem;c:\Archivos de
>  > > > > programa\python25;C:\Sun\SDK\jdk\j
>  > > > > re\bin;C:\Sun\SDK\bin;C:\Archivos de programa\CollabNet
>  > > > > Subversion Server Feb 19, 2008 2:24:54 PM
>  > > > > org.apache.coyote.http11.Http11Protocol init
>  > > > > INFO: Initializing Coyote HTTP/1.1 on http-8080 Feb 19, 2008
>  > > > > 2:24:54 PM org.apache.catalina.startup.Catalina load
>  > > > > INFO: Initialization processed in 523 ms Feb 19, 2008 2:24:54 PM
>  > > > > org.apache.catalina.core.StandardService start
>  > > > > INFO: Starting service Catalina
>  > > > > Feb 19, 2008 2:24:54 PM org.apache.catalina.core.StandardEngine
>  > > > > start
>  > > > > INFO: Starting Servlet Engine: Apache Tomcat/6.0.13 Feb 19, 2008
>  > > > > 2:24:54 PM org.apache.catalina.startup.HostConfig deployWAR
>  > > > > INFO: Deploying web application archive solr.war Feb 19, 2008
>  > > > > 2:24:56 PM com.sun.faces.config.ConfigureListener
>  > > > > contextInitialize d
>  > > > > INFO: Initializing Sun's JavaServer Faces implementation
>  > > > > (1.2_04-b07-FCS) for co ntext '/mailstat'
>  > > > > log4j:WARN No appenders could be found for logger
>  > > > > (org.ajax4jsf.application.Debu gLifecycleFactory).
>  > > > > log4j:WARN Please initialize the log4j system properly.
>  > > > > Feb 19, 2008 2:24:58 PM org.apache.coyote.http11.Http11Protocol
>  > > > > start
>  > > > > INFO: Starting Coyote HTTP/1.1 on http-8080 Feb 19, 2008 2:24:58
>  > > > > PM org.apache.jk.common.ChannelSocket init
>  > > > > INFO: JK: ajp13 listening on /0.0.0.0:8009 Feb 19, 2008 2:24:58
>  > > > > PM org.apache.jk.server.JkMain start
>  > > > > INFO: Jk running ID=0 time=0/32  config=null Feb 19, 2008
>  > > > > 2:24:58 PM org.apache.catalina.startup.Catalina start
>  > > > > INFO: Server startup in 3558 ms
>  > > > > --------------
>  > > > >
>  > > > > This is the content of catalina.log:
>  > > > > --------------
>  > > > > Feb 19, 2008 2:24:54 PM
>  > > > > org.apache.catalina.core.AprLifecycleListener init
>  > > > > INFO: The Apache Tomcat Native library which allows optimal
>  > > > > performance in production environments was not found on the
>  > > > > java.library.path:
>  > > > > C:\Sun\SDK\jdk\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32
>  > > > > ;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\W
>  > > > > bem;c:\Archivos de
>  > > > > programa\python25;C:\Sun\SDK\jdk\jre\bin;C:\Sun\SDK\bin;C:\Archi
>  > > > > vos de programa\CollabNet Subversion Server Feb 19, 2008 2:24:54
>
>
> > > > > PM org.apache.coyote.http11.Http11Protocol init
>  > > > > INFO: Initializing Coyote HTTP/1.1 on http-8080 Feb 19, 2008
>  > > > > 2:24:54 PM org.apache.catalina.startup.Catalina load
>  > > > > INFO: Initialization processed in 523 ms Feb 19, 2008 2:24:54 PM
>  > > > > org.apache.catalina.core.StandardService start
>  > > > > INFO: Starting service Catalina
>  > > > > Feb 19, 2008 2:24:54 PM org.apache.catalina.core.StandardEngine
>  > > > > start
>  > > > > INFO: Starting Servlet Engine: Apache Tomcat/6.0.13 Feb 19, 2008
>  > > > > 2:24:54 PM org.apache.catalina.startup.HostConfig deployWAR
>  > > > > INFO: Deploying web application archive solr.war Feb 19, 2008
>  > > > > 2:24:56 PM com.sun.faces.config.ConfigureListener
>  > > > > contextInitialized
>  > > > > INFO: Initializing Sun's JavaServer Faces implementation
>  > > > > (1.2_04-b07-FCS) for context '/myproject'
>  > > > > Feb 19, 2008 2:24:58 PM org.apache.coyote.http11.Http11Protocol
>  > > > > start
>  > > > > INFO: Starting Coyote HTTP/1.1 on http-8080 Feb 19, 2008 2:24:58
>  > > > > PM org.apache.jk.common.ChannelSocket init
>  > > > > INFO: JK: ajp13 listening on /0.0.0.0:8009 Feb 19, 2008 2:24:58
>  > > > > PM org.apache.jk.server.JkMain start
>  > > > > INFO: Jk running ID=0 time=0/32  config=null Feb 19, 2008
>  > > > > 2:24:58 PM org.apache.catalina.startup.Catalina start
>  > > > > INFO: Server startup in 3558 ms
>  > > > > --------------
>  > > > >
>  > > > > This is the content of localhost.log
>  > > > > --------------
>  > > > > Feb 19, 2008 2:24:55 PM
>  > > > > org.apache.catalina.core.ApplicationContext log
>  > > > > INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain:
>  > > > > [org.apache.webapp.balancer.RuleChain:
>  > > > > [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string:
>  > > > > News / Redirect URL: http://www.cnn.com],
>  > > > > [org.apache.webapp.balancer.rules.RequestParameterRule: Target
>  > > > > param
>  > > > > name: paramName / Target param value: paramValue / Redirect URL:
>  > > > > http://www.yahoo.com],
>  > > > > [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL:
>  > > > > http://jakarta.apache.org]]
>  > > > > Feb 19, 2008 2:24:55 PM
>  > > > > org.apache.catalina.core.ApplicationContext log
>  > > > > INFO: ContextListener: contextInitialized() Feb 19, 2008 2:24:55
>  > > > > PM org.apache.catalina.core.ApplicationContext log
>  > > > > INFO: SessionListener: contextInitialized() Feb 19, 2008 2:24:55
>  > > > > PM org.apache.catalina.core.ApplicationContext log
>  > > > > INFO: ContextListener: contextInitialized() Feb 19, 2008 2:24:55
>  > > > > PM org.apache.catalina.core.ApplicationContext log
>  > > > > INFO: SessionListener: contextInitialized() Feb 19, 2008 2:24:55
>  > > > > PM org.apache.catalina.core.ApplicationContext log
>  > > > > INFO: ContextListener: contextInitialized() Feb 19, 2008 2:24:55
>  > > > > PM org.apache.catalina.core.ApplicationContext log
>  > > > > INFO: SessionListener: contextInitialized() Feb 19, 2008 2:24:58
>  > > > > PM org.apache.catalina.core.ApplicationContext log
>  > > > > INFO: ContextListener: contextInitialized() Feb 19, 2008 2:24:58
>  > > > > PM org.apache.catalina.core.ApplicationContext log
>  > > > > INFO: SessionListener: contextInitialized()
>  > > > > --------------
>  > > > >
>  > > >
>  > > >
>  > > >
>  > > > --
>  > > > Regards,
>  > > > Shalin Shekhar Mangar.
>  > > >
>  > >
>  >
>  >
>  >
>  > --
>  > Regards,
>  > Shalin Shekhar Mangar.
>  >
>
>
>  This e-mail and any attachment is for authorised use by the intended 
> recipient(s) only. It may contain proprietary material, confidential 
> information and/or be subject to legal privilege. It should not be copied, 
> disclosed to, retained or used by, any other party. If you are not an 
> intended recipient then please promptly delete this e-mail and any attachment 
> and all copies and inform the sender. Thank you.
>
>
>

Reply via email to