Jakarta Tomcat ARGHH!

Sean Page Sean.Page at epsb.ca
Tue Apr 15 12:46:20 PDT 2003


G'day,

I'm running 4.8 Release, with the latest cvs of the ports.
I seem to be struggling with installing the Jakarta Tomcat 4.1 port, or
rather with making it work. After getting all the JDK etc. and Jakarta
installed, the server seems to start without error. But when I hit the
server with a browser I get the following error:

type Exception report
message 
description The server encountered an internal error () that prevented it
from fulfilling this request.
exception 
org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: -1 in the jsp file: null

Generated servlet error:
    [javac] Since fork is true, ignoring compiler setting.
    [javac] Compiling 1 source file
    [javac] Since fork is true, ignoring compiler setting.

The only error that seems to stand out in the stdout.log is:

--- Nested Exception ---
java.io.IOException: Cannot locate antRun script: Property 'ant.home' not
found

Local_host log reported:

2003-04-15 08:25:53 StandardWrapperValve[jsp]: Servlet.service() for servlet
jsp threw exception
org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: -1 in the jsp file: null

Generated servlet error:
    [javac] Since fork is true, ignoring compiler setting.
    [javac] Compiling 1 source file
    [javac] Since fork is true, ignoring compiler setting.


The only references to this "ant.home" property seem to be to do with
building the package from source. I tried installing the apache-ant port
which did nothing. I tried copying the antRun script into the
/usr/local/jakarta-tomcat4.1/bin directory, to no avail.

I have no experience with Java, so I'm quickly running out of ideas here,
can anyone offer some advice?

Thanks in advance,

Sean




Sean Page
Network Analyst, Internet Services
Information Technology Services
Edmonton Public Schools
Phone: (780) 429-8206
http://its.epsb.ca <http://its.epsb.ca>  



More information about the freebsd-ports mailing list