PLEASE HELP!
I'm running Tomcat 4.1.18 on a linux server with j2sdk1.4.1_01. I am unable to access the "admin" area and certain other JSPs - I can access the login page but when I submit a username and passwd I get a 500 Internel server error which says:
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
<SNIP!>
The catalina.out says:
Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK
at org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCom
piler(CompilerAdapterFactory.java:139)<SNIP!>
I have checked and the JAVA_HOME is set (correctly) to /usr/local/j2sdk AND the PATH contains /usr/local/j2sdk/bin for the user which is running tomcat.
Is a child process being spawned which doesn't inherit these environment settings or is it a misconfig?!?
ANY help would be greatly appreciated!
I'm running Tomcat 4.1.18 on a linux server with j2sdk1.4.1_01. I am unable to access the "admin" area and certain other JSPs - I can access the login page but when I submit a username and passwd I get a 500 Internel server error which says:
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
<SNIP!>
The catalina.out says:
Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK
at org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCom
piler(CompilerAdapterFactory.java:139)<SNIP!>
I have checked and the JAVA_HOME is set (correctly) to /usr/local/j2sdk AND the PATH contains /usr/local/j2sdk/bin for the user which is running tomcat.
Is a child process being spawned which doesn't inherit these environment settings or is it a misconfig?!?
ANY help would be greatly appreciated!