To me it sounds like it's not finding solr home. I have Windows Vista and
JDK 1.6.0_11 and when I run java -jar start.jar, I too get a ton of the INFO
messages and one of them should read something like:INFO: solr home
defaulted to 'solr/' (could not find system property or JNDI)
May 13, 2009 10:45:16 PM org.apache.solr.servlet.SolrServlet init

I assume that you are running java -jar start.jar in the example/ directory
and that in that example directory there is a folder called solr/? If you
don't specify a JNDI or Java system property specifying solr's home then it
defaults to the <current_directory>/solr (in this case example/solr).

The fact that it's printing out "INFO: JNDI not configured for solr
(NoInitialContextEx)" indicates that the war file is being loaded properly
by JETTY.

Hope that helps some
Amit



On Wed, May 13, 2009 at 5:36 PM, John Bennett <jbennett...@gmail.com> wrote:

> I'm having difficulty getting Solr running on Vista. I've got the 1.6 JDK
> installed, and I've successfully compiled file and run other Java programs.
>
> When I run java -jar start.jar in the Apache Solr example directory, I get
> a large number of INFO messages, including:
>
> INFO: JNDI not configured for solr (NoInitialContextEx)
>
> When I visit localhost:8983/solr/, I get a 404 error message:
>
>
>   HTTP ERROR: 404
>
> NOT_FOUND
>
> RequestURI=/solr/
>
> /Powered by jetty:// <http://jetty.mortbay.org>/
>
> I've talked to a couple of engineers who suspect that the problem is with
> my Java environment. My environment is configured as follows:
>
> CLASSPATH=.;C:\Program
> Files\Java\jdk1.6.0_13\lib\ext\QTJava.zip;C:\Users\John\Documents\Java;C:\Program
> Files\Java\jdk1.6.0_13;
> JAVA_HOME=C:\Program_Files\Java\jdk1.6.0_13
> Path=C:\Program Files\Snap\scripts;C:\Program
> Files\Snap;C:\Python25\Scripts;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;c:\Program
> Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Common
> Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio
> Shared\9.0\DLLShared\;C:\Program Files\QuickTime\QTSystem\;C:\Program
> Files\Java\jdk1.6.0_13\bin
>
> Any ideas?
>
> Regards,
>
> John
>
>

Reply via email to