You probably need j2sdk (you can grab one for solaris on sun's website). It has
development tools like tools.jar in its lib folder. Make sure you JAVA_HOME is
set in order for tomcat to find required jars in the JAVA_HOME/lib
hth
- Boris
>MIME-Version: 1.0
>X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N
>
>Hi all
>
>I'm trying to install Tomcat 3.2 with Apache 1.3.12 and JRE1.3 on Solaris 7.
>I did install the last patches for Solaris to get JRE working.
>I've followed the instructions of the
><<http://jakarta.apache.org/tomcat/tomcat-3.2-doc/mod_jk-howto.html>> web
>page. (compiling Apache with mod_so, building mod_jk for Solaris, modifying
>Apache's httpd.conf to refer to mod_jk.conf, modifying mod_jk.conf, and
>workers.properties files)
>I've started Tomcat before Apache with no error message.
>Everything seemed fine so far, but I get an ERROR 500 with the JSP examples
>files provided with tomcat. (in examples/jsp/).
>
>Anyone can help me with this?
>
>If it can help, i pasted below the error message i get with one of the JSP
>example.
>
>David Berger
>SETRA - France
>
>
>Error: 500
>Location: /examples/jsp/num/numguess.jsp
>Internal Servlet Error:
>javax.servlet.ServletException: sun/tools/javac/Main
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:399)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
>org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
> at org.apache.tomcat.core.Handler.service(Handler.java:286)
> at
>org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
> at
>org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
>7)
> at
>org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
> at
>org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection
>(Ajp12ConnectionHandler.java:166)
> at
>org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
> at
>org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
> at java.lang.Thread.run(Thread.java:484)
>Root cause:
>java.lang.NoClassDefFoundError: sun/tools/javac/Main
> at
>org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:128)
> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:245)
> at
>org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:462)
> at
>org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
> at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:433)
> at
>org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
>rvlet.java:152)
> at
>org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
>va:164)
> at
>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
>org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
> at org.apache.tomcat.core.Handler.service(Handler.java:286)
> at
>org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
> at
>org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
>7)
> at
>org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
> at
>org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection
>(Ajp12ConnectionHandler.java:166)
> at
>org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
> at
>org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
> at java.lang.Thread.run(Thread.java:484)
>