[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
[Home]
Re: Weird init param problem on linux/apache/jserv1
Hi Vincent,
Vincent Schonau wrote:
>
> I've been having a weird problem installing GNUJSP on my system. Relevant
> clues: Linux 2.2.0, Blackdown JDK1.1.7; Server: Apache/1.3.3 (Unix)
> ApacheJServ/1.0b1 mod_ssl/2.0.14 SSLeay/0.9.0b; latest GNUJSP.
>
> jserv.properties has the correct classpaths. The zone properties file has:
>
> servlet.jsp.code=JSPServlet
>
> and
>
> servlet.jsp.initArgs=classfiles=/home/httpd/jsp
>
> However, when I attempt to access a .jsp page, the mod_jserv log sais:
>
> (ERROR) ajp11: Servlet Error: Initialization error while loading the
> servlet: no compiler.classpath init parameter specified
>
> I've tried lots of things so far, but the only thing that works is setting
>
> servlets.default.initArgs=classfiles=/home/httpd/jsp
>
> - and it'll work. In other words: for some reason, JSPServlet won't get
> it's own initArgs.
>
> Where should I start looking for a solution to this?
I think the httpd.conf example that comes with Apache JServ has a line
saying something like:
ApJServAction .jsp /servlets/org.gjt.jsp.JSPServlet
If you change this to something like the following, the servlet is
called by its correct alias and the parameters are passed on correctly:
ApJServAction .jsp /servlets/jsp
Regards, Vincent.
> ps; Hi, neighbour!
And namesake. :)