To Denise, You should point your JAVA_HOME to c:\jdk1.4.1 not c:\jdk1.4.1\bin
To Sean, Please refer to message "Installation - Tomcat 4.1 -Windows 2k". Tomcat works the same way in Win2K/XP. Hope this help guys. cheers, Michael -----Original Message----- From: Scott, Sean [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 04, 2003 12:38 PM To: 'Tomcat Users List' Subject: RE: Tomcat on WinXP I encountered this when I wrote my own start scripts and I failed to add tools.jar to my CLASSPATH. -sean -----Original Message----- From: Denise Mangano [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 04, 2003 1:38 PM To: 'Tomcat Users List' Subject: RE: Tomcat on WinXP I am reading these posts on "Installing Tomcat 4.1 on Win2K" and I see this discussion on the classpath. I have tried my setup with and without a classpath specified, and in either case I am getting the same error message as Baco. The only difference is that I have JDK installed. I have my JAVA_HOME set to point to my c:\jdk1.4.1\bin and export JAVA_HOME in my PATH variable. I checked the error logs, and for some reason it is saying "unable to find java compiler". I created a simple test.java in my G:\tomcat directory and tried to compile from the command prompt. I receive no error messages but the file does not compile. (When I performed the same test on my C:\ drive it compiled fine). Can someone please let me know if having the JDK on a separate partition could be causing my problem? If so then I would imagine I have to install the JDK on the same partition - but would this cause conflicts with the JDK I have installed on the C:\ drive. I'm trying to get tomcat running as soon as possible, and appreciate any help. Thanks in advance. Denise Mangano Help Desk Analyst Complus Data Innovations, Inc. -----Original Message----- From: Denise Mangano [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 04, 2003 1:42 PM To: 'Tomcat Users List' Subject: Tomcat on WinXP Hi everyone. Yesterday I posted to get help with setting up mod_jk on my WinXP machine. As it turns out I was wrong and the httpd that came with the phpdev package won't except dynamically loaded modules. So my solution is to reinstall everything without using the phpdev package. I am following John Turner's how to, and the Apache install went smoothly. I ran the executable for Tomcat install, and installation was successful. However when I go to http://localhost:8080 I get the error below. To me it seems like a possibly a classpath error for the compiler?? The install directory for tomcat is G:\tomcat (I have a separate partition set up to keep my web server separate from everything else on the PC). My PATH (both user and system) includes C:\jdk1.4.1\bin and G:\tomcat\bin. I can't imagine why this set up should cause problems, especially since my PATH is set, and upon Tomcat install the installer found my jdk1.4.1 installation. exception: org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: -1 in the jsp file: null Generated servlet error: [javac] Compiling 1 source file at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandle r.java:130) at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:2 93) at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:340) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:352) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:4 74) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:1 84) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) 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:260) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase .java:493) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180 ) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. java:170) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172 ) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne ction(Http11Protocol.java:386) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav a:530) at java.lang.Thread.run(Thread.java:536) Thanks in advance for any pointers :) Denise --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]