Mike: As I said in the previous mail, by editing the tomcat.bat file to explicitly have the classpath contain tools.jar solved the problem. But it is weird. I am 100% sure that I had set the TOMCAT_HOME, JAVA_HOME AND CLASSPATH variables as per the documented requirements and I double checked it. Really not sure why it did not work with Windows 98. Best Regards Gunjan > ---------- > From: Mike Angel[SMTP:chmikeangel@usa.net] > Reply To: tomcat-user@jakarta.apache.org > Sent: Friday, July 14, 2000 10:53 AM > To: tomcat-user@jakarta.apache.org > Subject: Re: [Tomcat Installation Help] > > It might sound strange, did you try to use jdk1.3 instead? I remember the > first time I install tomcat on win98 using jdk1.3, it works right away. > My > configuration is JAVA_HOME=C:\jdk1.3, TOMCAT_HOME=H:\tomcat, > CLASSPATH=C:\jdk1.3\lib\tools.jar (but what I remember). However, the > second > time when I try to install tomcat in another win98 machine, I couldn't get > it > to work at all. That machine uses jdk1.2.2... I eventually give up and > install tomcat on an NT4 machine with jdk1.3, it works right away... I > should > have tried to use jdk1.3 on the second machine, too. However, I don't > have > access to that machine anymore. > > Hoi > > > "Doshi, Gunjan" wrote: > > Friends: > > Greetings to all. > > I tested Tomcat 3.1 on Windows NT. It works > great. > > But our developers use Windows 98 laptops with > > JDK1.2.2. So I have been trying to get Tomcat 3.1 working on Windows 98. > But > > it is > > getting very frustrating as I keep on getting > > errors on startup. > > > > This is NOT a out of environment space problem. > I > > have already fixed that. > > > > Also I have my JAVA_HOME set to c:\JDK1.2.2 and > > TOMCAT_HOME set to C:\jakarta-tomcat as per my machine setup. Also I > have > > the classpath set up to contain > > c:\jdk1.2.2\lib\tools.jar > > > > Details of the error: > > 1. I started Tomcat 3.1 using startup bat file > > > > 2. It starts another window. Gives the some > > exception and shuts down the new window. I cannot record the exception > as I > > do not > > know how to increase the window height to more > that > > 50 lines and the exception goes to more than 50 lines. The exception is > for > > sure > > related to XML as I see that org.apache.jasper > > being mentioned > > > > 3. To record the exception, I edited the > tomcat.bat > > file to remove the start command in front of java and hence know the > startup > > process takes place in the same window. > > > > 4. Now I do not get the exceptionat startup. > But > my > > JSPs do not work and I get the following exception: > > 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(Compiler.java, Compiled C > > ode) > > > > 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(JspServlet.java, Compile > > d Code) > > > > at > > javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > > > > at > > org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.ja > > va, Compiled Code) > > > > at > > org.apache.tomcat.core.ContextManager.service(ContextManager.java:559 > > ) > > > > at > > org.apache.tomcat.service.http.HttpConnectionHandler.processConnectio > > n(HttpConnectionHandler.java:160) > > > > at > > org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.j > > ava, Compiled Code) > > > > at java.lang.Thread.run(Thread.java:479) > > > > > > > > Any help will be appreciated. > > > > > > Best Regards > > > > Gunjan > > > ____________________________________________________________________ > Get free email and a permanent address at http://www.netaddress.com/?N=1 >