On 10/3/06, Panayiotis Papadopoulos <[EMAIL PROTECTED]> wrote:
It is not bundled tomcat. I have downloaded form apache jakarta site,
the version i use is 5.5.20

OK, I just tried tomcat 5.5.20 on my windows/cygwin box with a context
fragment, and it worked fine for me.

What I did:
1) download and unzip tomcat 5.5.20
2) put a solr.xml context fragment that points to the war and config
from the bundled example:

[EMAIL PROTECTED] /cygdrive/f/opt/tomcat5520
$ cat conf/Catalina/localhost/solr.xml
<Context docBase="f:/code/solr/example/webapps/solr.war" debug="0" crossContext=
"true" >
  <Environment name="solr/home" type="java.lang.String"
value="f:/code/solr/example/solr" override="true" />
</Context>

3) start tomcat via "bin/startup.sh"
4) open browser at http://localhost:8080/solr/admin/

For you, it looks like that Solr is finding all the config fine.  The
problem looks like an environment/tomcat config problem.  The
exception you list makes it look like tomcat can't compile the JSPs
into classes for some reason.

java.io.FileNotFoundException: 
/usr/lib/apache-tomcat-5.5.20/work/Catalina/localhost/solr/org/apache/jsp/admin/index_jsp.java
 (No such file or directory)


Perhaps a simple file permissions problem?
I assume you are trying to run Tomcat as the same user you unpacked it as?
Maybe try chmod -R a+rwx
/usr/lib/apache-tomcat-5.5.20/

It might also be an environment problem... try unsetting any
environment variable name with CATALINA as part of it's name.

I'd also start off with a single context fragment to make things
simpler, but that doesn't look like it's the problem.

-Yonik

Reply via email to