I have JDK 1.4.1 install on one drive in my case E: and I have Apache 2.0.44 and Tomcat 4.1.21(Just installed it to day) and they are installed per the .exe method in the "C:\Program Files ... directory with CATALINA_HOME pointing the the proper directory for tomcat.
Regards,
Tony
On Tuesday, Mar 4, 2003, at 21:37 Europe/Berlin, Denise Mangano wrote:
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(DefaultErrorH andle
r.java:130)
at
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.j ava: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.j ava:4
74)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.j ava: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(Applic ation
FilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil terCh
ain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal ve.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(StandardContextVal ve.ja
va:191)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenticato rBase
.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:24 15)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav a:180
)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherV alve.
java:170)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext. invok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav a: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:4 32)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process Conne
ction(Http11Protocol.java:386)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:5 34)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPoo l.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]
