Thanks to RLS I have managed to get Tomcat 4.1.12 working with Apache 2
using jk2 and jdk 1.3.1_02

Or at least, partially working...there's a snag!

If I run TC standalone then I can get all the examples JSP working fine. In
other words Jasper compiles them and they run.

If I then run TC with Apache inprocess then the pages *already complied*
from running TC standalone run fine. But pages that are not compiled refuse
to compile. And if I delete the already compiled classed from
TOMCAT/work.foobar, then they won't recompile.

In all cases the error is this:

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] Compiling 1 source file
    [javac] Modern compiler not found - looking for classic compiler



             at
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:120)

             at
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:293)

             at
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:313)
             at
org.apache.jasper.compiler.Compiler.compile(Compiler.java:324)
             at
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:474)

             at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:184)


etc.......

Can anyone please throw some light on this? I am completely puzzled.

Thanks in advance

JDL




--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>

Reply via email to