tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thom May <tho...@amxstudios.com>
Subject Re: cannot install
Date Tue, 25 Jul 2000 16:22:20 GMT
You might also want to check what your CLASSPATH is set as.
And it's TOMCAT_HOME rather than TOMCAT_PATH, too, isn't it?
thom
On Tue, Jul 25, 2000 at 05:09:33PM +0200, kert@core.tb.cz wrote:
> Hello, you have to set JAVA_HOME rather than JAVA_PATH. (the missing class
> is in archive JAVA_HOME/lib/tools.jar).
> 
> regards
> Roman Kratochvil
> 
> On Tue, 25 Jul 2000, Riccardo Cohen wrote:
> 
> > Sorry for this basic question, but I cannot understand why tomcat does not work.
> > 
> > I installed on my win98 :
> > - apache 1.3.12
> > - tomcat 3.1 bin
> > - ApacheModuleJServ.dll from the tomcat win32 subfolder
> > 
> > I read carefully the doc and 
> > - added  Include "C:/soft/tomcat/conf/tomcat-apache.conf" in httpd.conf
> > - set environment variables TOMCAT_PATH and JAVA_PATH directly in the startup.bat
and shutdown.bat (I dont know why autoexec.bat is not read in win98)
> > - added jdk1.2\bin in the PATH variable (also in the bat files)
> > 
> > If I try http://localhost/test/realPath.jsp I have the following error :
> > 
> > 
> > 
> > 
> > 
> > 
> > Unhandled error! You might want to consider having an error page to report such
> > errors more gracefully
> > java.lang.NoClassDefFoundError: sun/tools/javac/Main
> >         at org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.ja
> > va:128)
> >         at org.apache.jasper.compiler.Compiler.compile(Compiled Code)
> >         at org.apache.jasper.runtime.JspServlet.loadJSP(JspServlet.java:413)
> >         at org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessar
> > y(JspServlet.java:149)
> >         at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspSer
> > vlet.java:161)
> >         at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:2
> > 61)
> >         at org.apache.jasper.runtime.JspServlet.service(Compiled Code)
> >         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> >         at org.apache.tomcat.core.ServletWrapper.handleRequest(Compiled Code)
> >         at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559
> > )
> >         at org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processCon
> > nection(Compiled Code)
> >         at org.apache.tomcat.service.TcpConnectionThread.run(Compiled Code)
> >         at java.lang.Thread.run(Compiled Code)
> > 
> > 
> > 
> > 
> > Thanks for any clue
> > 
> > Riccardo Cohen
> > 
> 

-- 
Thomas May
	Sys Admin
(T) +44 (0)20 7440 3955
(F) +44 (0)20 7613 5333
(E) thomas.may@amxstudios.com
(W) http://www.amxstudios.com

Mime
View raw message