Do you have your environment var JAVA_HOME set to the path of your jdk? For example export JAVA_HOME=/opt/IBMJava2-s390-14
On Monday 17 March 2003 15:36, you wrote: > I installed Tomcat version 4. When I start up tomcat is squawks about an > error: > no valid java configuration found in directory /etc/java > But Tomcat does come up. > When I point my browser to http://mylinux:8080 I do see Tomcat > functioning (somewhat) the Servlet examples work fine but the JSP > examples fail, see below > type Exception report > > message Internal Server Error > > description The server encountered an internal error (Internal Server > Error) that prevented it from fulfilling this request. > > exception > > javax.servlet.ServletException: sun/tools/javac/Main > at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:481) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio >nFilterChain.java:247) > > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC >hain.java:193) > > ... more similar lines > > root cause > > java.lang.NoClassDefFoundError: sun/tools/javac/Main > at > org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:136 >) > > at org.apache.jasper.compiler.Compiler.compile(Compiler.java:272) > ...more simialr lines > > Anyone have a clue what I am missing? I was having trouble finding info > on java configuration.
