tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kwok Peng Tuck <pengt...@makmal.net>
Subject Re: hello sir
Date Tue, 15 Apr 2003 06:40:08 GMT
By any chance did you set JAVA_HOME variable  ?

ashok wrote:

>dear sir,
>               i have some problems with tomcat server. my system has both win 98 and
win 2k professional. i have installed tomcat 4.0 in win 98. while i was trying to start the
server for the first time i got the msg that java.exe file cannot be found. then i browsed
and selected java.exe file from the jdk folder. now server is working. but i m not able to
run jsp files. whenever i try to run a jsp file i get the following error page:
>
>javax.servlet.ServletException: sun/tools/javac/Main
>	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:485)
>	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
>	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
>	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
>	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
>	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
>	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
>	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:475)
>	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
>	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>	at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
>	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
>	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
>	at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
>	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
>	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
>	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
>	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
>	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
>	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
>	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
>	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>	at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1012)
>	at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107)
>	at java.lang.Thread.run(Thread.java:479)
>
>
>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)
>	at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:552)
>	at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:177)
>	at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:189)
>	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
>	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
>	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
>	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
>	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
>	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
>	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
>	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
>	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:475)
>	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
>	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>	at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
>	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
>	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
>	at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
>	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
>	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
>	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
>	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
>	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
>	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
>	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
>	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>	at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1012)
>	at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107)
>	at java.lang.Thread.run(Thread.java:479)
>
>i think the tomcat server is not able to find the lib folder in java insatallation. can
u suggest any solutions? by the way bfor installing win2k the tomcat server was working fine.
>
>regs
>
>ashok
>
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message