Hi everybody.

I'm running a web appl. in the following configuration (Win 2k
server):
Tomcat 4.1.12
Apache 2.0.42
mod_jk2-2.0.42.dll
jdk1.4.0_01

The first time I make a request via http, the system doesnt't succed
in generating the ".class" corresponding to the "_jsp.java".

It seems to be a compiling problem, as the system works properly if I
directly put the ".class" file (generated elsewhere) in the
$(TOMCAT_HOME)\work\...\JSP directory (where the ".java" is).

I paste below the lines of my 'workers2.properties' in which I
configure the VM:

[vm:]
info=Parameters used to load a JVM in the server process
JVM=$(JDK_HOME)\jre\bin\server\jvm.dll
OPT=-Djava.class.path=$(TOMCAT_HOME)\bin\tomcat-jni.jar;$(TOMCAT_HOME)
\server\lib\commons-logging.jar
OPT=-Dtomcat.home=$(TOMCAT_HOME)
OPT=-Dcatalina.home=$(TOMCAT_HOME)
OPT=-Djava.compiler=$(JDK_HOME)\bin\
disabled=0


The error is:

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] Compiling 1 source file



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

..................



Thanks in advance for your help!
Francesca ;-)


--
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