hi jake ,
 i just copied tools.jar in lib\common folder in tomcat it worked.
actually this jar file does not get copied ..........!
Jabs




----- Original Message -----
From: "Jacob Kjome" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Thursday, November 21, 2002 12:42 PM
Subject: Re: problem in compilation in Tomcat 4.0


>
> Did you install the JRE or JDK?  You *have* to have the JDK installed and
> set JAVA_HOME to where the JDK is installed.  Also, at least on Windows,
> you should put JAVA_HOME/bin at the beginning of your PATH variable to
> avoid having Microsoft's VM fire up instead of Sun's.
>
>
> Jake
>
> At 11:54 AM 11/21/2002 +0530, you wrote:
> >hi,
> >
> >Not able to excecute even the examples in Tomcat 4
> >
> >getting the following response............
> >
> >pls help.................
> >
> >Rgds,
> >jabs
> >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(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:2347)
> >         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:
1027)
> >         at
> >
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125
)
> >         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:548)
> >         at
> >
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
rvlet.java:176)
> >         at
> >
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:188)
> >         at
> > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
> >         at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
> >         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:2347)
> >         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:
1027)
> >         at
> >
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125
)
> >         at java.lang.Thread.run(Unknown Source)
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to