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 18:36:24 GMT


godbout.francois@rcgt.com wrote:

>Hi.
>
>It`s probably a stupid question, but i'm starting with this... (i should get
>less dummy within a few weeks)
>
>1 ) Environment
>I took Tomcat 4.0.3 for windows (.exe).
>
>My Laptop is a Pentium3-1000mhz / 512meg ram with Windows 2000 pro SP2.
>
>
>2 ) Installation
>I installed JRE 1.3
>I defined JAVA_HOME (C:\Program Files\JavaSoft\JRE\1.3.1)
>I installed Tomcat
>I defined CATALINA_HOME (C:\Program Files\Apache Tomcat 4.0 )
>
You need to setup you path to the full version of  J2SE 1.3, not  only 
the JRE. That will solve the exception your receiving.

Ca devrait fonctionner :-)

-- Jeanfrancois

>
>3 ) What i do
>i open the browser
>i go to http://zz11766:8080  and it work well (zz11766 is my machine name)
>i go into "samples"
>i try all these samples and get the following error (it may be a simple
>setup problem) :
>
>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)
>
>------------------------------------------
>François Godbout, chargé de projet
>Département des TI
>Raymond Chabot Grant Thornton
>Téléphone : (514) 878-2691  ext:2176
>
>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