The solution below appears to be for Tomcat 3.2.x. However, the stacktrace indicates Tomcat 3.3.
The tomcat.sh script sets your CLASSPATH to contain just tomcat.jar. Tomcat internally tries to add tools.jar, which contains the missing class, using the "java.home" system property. The simplest way to cause this error is to use a JRE (which doesn't include a tools.jar), instead of a JDK. Another way is was discovered by David Morsberger, who found that using a link in the JAVA_HOME path caused problems. Hope this helps, Cheers, Larry > -----Original Message----- > From: Marius Matei [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, November 27, 2001 5:54 AM > To: Tomcat Users List > Subject: Re: Tomcat on IRIX6.5 > > > One possible solution could be this : > > You must put the archive tools.jar in $TOMCAT_HOME/lib and set your > CLASSPATH=$TOMCAT_HOME/lib/tools.jar. > You'll find this archive in your JDK distribution. > > Hope this will be useful for you. > > > ----- Original Message ----- > From: "Mouneer M Rabie" <[EMAIL PROTECTED]> > To: "Tomcat Users List" <[EMAIL PROTECTED]> > Sent: Tuesday, November 27, 2001 11:34 AM > Subject: Tomcat on IRIX6.5 > > > > hi all: > > > > I ran Tomcat on IRIX 6.5 , the servlets work fine ..but any > request for a > > JSP page produce a Java Exception: > > > > Error: 500 > > Location: /examples/jsp/num/numguess.jsp > > Internal Servlet Error: > > > > java.lang.NoClassDefFoundError: sun/tools/javac/Main > > at > org.apache.jasper.compiler.SunJavaCompiler.compile(Unknown Source) > > at org.apache.tomcat.facade.JasperLiaison.javac(Unknown Source) > > at > org.apache.tomcat.facade.JasperLiaison.processJspFile(Unknown Source) > > at > org.apache.tomcat.facade.JspInterceptor.requestMap(Unknown Source) > > at > org.apache.tomcat.core.ContextManager.processRequest(Unknown Source) > > at > org.apache.tomcat.core.ContextManager.internalService(Unknown Source) > > at org.apache.tomcat.core.ContextManager.service(Unknown Source) > > at > > > org.apache.tomcat.modules.server.Http10Interceptor.processConn > ection(Unknown > > Source) > > at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source) > > at > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown > > Source) > > at java.lang.Thread.run(Thread.java:484, Compiled Code) > > > > What could be the reason? > > thanks > > Mouneer > > > > > > > > -- > > To unsubscribe: > <mailto:[EMAIL PROTECTED]> > > For additional commands: > <mailto:[EMAIL PROTECTED]> > > Troubles with the list: > <mailto:[EMAIL PROTECTED]> > > > > > -- > To unsubscribe: <mailto:[EMAIL PROTECTED]> > For additional commands: <mailto:[EMAIL PROTECTED]> > Troubles with the list: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>
