Hi,
Having developed a struts application using Tomcat 4.1.24 and JDK 1.3.1_06, I tried mocking up the client's WIN2K machine environment with JRE 1.4.0. After getting past the bug in setclasspath.bat (deleting the tests for jdb and javac, which will not exist in the JRE), I find that the JSPs are not compiling. I can see in my logs that the struts action class is executing and trying to forward to the jsp, but I get the following:
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 %CATALINA_HOME%\work\Standalone\localhost\<my_app> directory has the jsp java file, but no jsp class file (which I do get in my dev environment).
I tried copying the compiled jsp classes into the above dir but it did not seem to help.
Even the tomcat index page does not compile.
Does anyone know of issues using the JRE, and any work arounds?
thanks,
scrat
Having developed a struts application using Tomcat 4.1.24 and JDK 1.3.1_06, I tried mocking up the client's WIN2K machine environment with JRE 1.4.0. After getting past the bug in setclasspath.bat (deleting the tests for jdb and javac, which will not exist in the JRE), I find that the JSPs are not compiling. I can see in my logs that the struts action class is executing and trying to forward to the jsp, but I get the following:
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 %CATALINA_HOME%\work\Standalone\localhost\<my_app> directory has the jsp java file, but no jsp class file (which I do get in my dev environment).
I tried copying the compiled jsp classes into the above dir but it did not seem to help.
Even the tomcat index page does not compile.
Does anyone know of issues using the JRE, and any work arounds?
thanks,
scrat