Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Apr 2003 13:41:13 -0600
From:      Sean Page <Sean.Page@epsb.ca>
To:        ports@freebsd.org
Subject:   Jakarta Tomcat ARGHH!
Message-ID:  <ADEDBE1A539BD311907A00508B1349370D5AB123@EXCHANGE06>

next in thread | raw e-mail | index | archive | help
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>;  



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ADEDBE1A539BD311907A00508B1349370D5AB123>