Tomcat/Jsp Configuration Problem
My system spec/ installed s/w as follows
Win2k Prof.(SP-4), Oracle 8i (8.1.6) with D2K(Forms & Report 6), Ms Office 2000, Visual Studio 6.
Recently i have installed j2sdk 1.4.2 (10) and Jakarta Apachi Tomcat-5.0.28.
I hv the following environment veriable.........
JAVA_HOME = C:\Java\j2sdk1.4.2_10
CATALINA_HOME=C:\Java\Tomcat 5.0
CLASSPATH=c:\Oracle\Ora81\orb\classes\yoj.jar;c:\Oracle\Ora81\orb\classes\share.zip;
%CATALINA_HOME%\common\lib\servlet-api.jar;%CATALINA_HOME%\common\lib\jsp-api.jar
PATH=c:\OraD2K\bin;c:\Oracle\Ora81\bin;%SystemRoot%\system32;%SystemRoot%;
%SystemRoot%\System32\Wbem;c:\Oracle\Ora81\orb\bin;
%JAVA_HOME%\bin;%CATALINA_HOME%\bin;
I hv created one simple jsp page in root folder under C:\Java\Tomcat 5.0\webapps\ROOT
as follows .....
Hello World.
but whenever i am trying to run ("http://localhost:8080/hw.jsp") the same page using IE6
it is showing "HTTP-Status 500" and the root cause as following.....
root cause
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
org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler(CompilerAdapterFactory.java:105)
org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:929)
org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:758)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:407)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:497)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:476)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:464)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(Htt