tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-francois Arcand <jeanfrancois.arc...@sun.com>
Subject Re: Setup - Samples not working
Date Wed, 14 Aug 2002 19:24:41 GMT


godbout.francois@rcgt.com wrote:

>Hi.
>
>I downloaded and installed the SDK 1.3 (found at
>http://java.sun.com/j2se/1.3/download.html )
>
>I took the SDK (j2sdk-1_3_1_04-windows-i586.exe - 35meg) (second column -
>second download)
>
>I Installed it.
>
>I changed my PATH (win2000 control panel/system/..) to include
>"c:\jdk1.3.1_04\bin" (so that javac.exe is in the path and i tested it in a
>dos prompt - yes, javac is accessible)
>
>I changed JAVA_HOME to be "C:\jdk1.3.1_04"
>
>I rebooted my computer.
>
>I still get this :
>
Close your DOS Window and create a new one. The changes you made are not 
reflected simultaneously (Windows limitation ;-))

-- Jeanfrancois

>
>Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error
>
>----------------------------------------------------------------------------
>----
>
>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:485)
>	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>	at
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
>FilterChain.java:247)
>	at
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
>ain.java:193)
>	at
>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
>va:243)
>	at
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
>66)
>	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.ja
>va:190)
>	at
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
>66)
>	at
>org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase
>.java:475)
>	at
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
>64)
>	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:5
>66)
>	at
>org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
>java:170)
>	at
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
>64)
>	at
>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
>)
>	at
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
>64)
>	at
>org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
>	at
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
>64)
>	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:5
>66)
>	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(Unknown Source)
>
>
>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(JspSe
>rvlet.java:177)
>	at
>org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
>va: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(Application
>FilterChain.java:247)
>	at
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
>ain.java:193)
>	at
>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
>va:243)
>	at
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
>66)
>	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.ja
>va:190)
>	at
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
>66)
>	at
>org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase
>.java:475)
>	at
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
>64)
>	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:5
>66)
>	at
>org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
>java:170)
>	at
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
>64)
>	at
>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
>)
>	at
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
>64)
>	at
>org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
>	at
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
>64)
>	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:5
>66)
>	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(Unknown Source)
>Messages de confidentialité 
>
>Ce courriel (de même que les fichiers joints) est strictement réservé à
>l'usage de la personne ou de l'entité à qui il est adressé et peut contenir
>de l'information privilégiée et confidentielle. Toute divulgation,
>distribution ou copie de ce courriel est strictement prohibée. Si vous avez
>reçu ce courriel par erreur, veuillez nous en aviser sur-le-champ, détruire
>toutes les copies et le supprimer de votre système informatique. 
>
>Merci. 
>
>Confidentiality Notice 
>
>This communication (including any files transmitted with it) is intended
>solely for the person or entity to whom it is addressed, and may contain
>confidential or privileged information. The disclosure, distribution or
>copying of this message is strictly forbidden. Should you have received this
>communication in error, kindly contact the sender promptly, destroy any
>copies and delete this message from your computer system. 
>
>Thank you.
>
>--
>To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>
>
>  
>


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


Mime
View raw message