Chris Hostetter wrote:
: After following Otis' and Thorsten's advice, I still get:
:
: HTTP ERROR: 500 No Java compiler available
Just so i'm clear, you:
1) downloaded solr, tried out the tutorial, and had the
url http://localhost:8983/solr/admin/ work when you ran:
> cd $DIR_CONTAINING_SOLR/example
> java -jar start.jar
2) you then installed the debian packaging of jetty (which aparently
uses port 8280).
Yes exactly.
3) you copied the solr WAR into the debian install of jetty, and how
you get an error about no compiler when you hit the url
http://localhost:8280/solr/admin
I did not copy the WAR the debian install if jetty. It looked like the
debian install took care of that:
% ls -al /usr/share/jetty/webapps
drwxr-xr-x 3 root root 4096 Nov 20 15:32 .
drwxr-xr-x 6 root root 4096 Nov 20 15:32 ..
drwxr-xr-x 15 root root 4096 Nov 20 15:32 root
lrwxrwxrwx 1 root root 10 Nov 20 15:32 solr -> ../../solr
where ../../solr is
% ls -al ../../solr
total 32
drwxr-xr-x 6 root root 4096 2007-11-20 15:38 ./
drwxr-xr-x 379 root root 8192 2007-11-21 16:34 ../
drwxr-xr-x 2 root root 4096 2007-11-20 15:38 admin/
drwxr-xr-x 2 root root 4096 2007-11-20 15:38 bin/
lrwxrwxrwx 1 root root 14 2007-11-20 15:32 conf -> /etc/solr/conf/
-rw-r--r-- 1 root root 1213 2007-09-07 03:55 index.html
drwxr-xr-x 2 root root 4096 2007-11-20 15:38 META-INF/
drwxr-xr-x 3 root root 4096 2007-11-20 15:38 WEB-INF/
Hmmm. I'm not seeing solar.war anywhere under the solr symlinked from
/usr/share/jetty/webapps. Is that the problem here?
Phil
did i sum that up correctly?
have you by any chance attempted to get the debian install of jetty to
compile/run a simple helloworld.jsp ? If that doesn't work, then
you have a much more fundemental problem with the way Jetty is setup then
anything related to Solr.
I haven't tried that. I'd have to get proficient in JSP :-)
This really sounds like maybe there is a problem with the debain packaging
of jetty, and nothing specific to Solr ... perhaps people on the jetty
user list or one of the debian user lists might have some ideas?
I'll check that out. Thanks
-Hoss