Even those that are servlets and not JSP?
John
Marco Miedl wrote:
NO
----- Original Message ----- From: "Shapira, Yoav" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, July 29, 2003 5:25 PM Subject: RE: HTTP Status 500
Howdy, Do the JSP examples work?
Yoav Shapira Millennium ChemInformatics
-----Original Message----- From: Marco Miedl [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 29, 2003 11:24 AM To: [EMAIL PROTECTED] Subject: HTTP Status 500
Hi,
I installed Java (j2sdk1.4.2) and Tomcat (jakarta-tomcat-4.1.24) on
RedHat
Linux 7.3. When I start Tomcat with "startup.sh" and i got the
following
messages:
Using CATALINA_BASE: /usr/local/bin/tomcat Using CATALINA_HOME: /usr/local/bin/tomcat Using CATALINA_TMPDIR: /usr/local/bin/tomcat/temp Using JAVA_HOME: /usr/local/bin/java
When i look at the Process Table I can see the Tomcat-Threads.
But when I try to go to the first Site (http://localhost:8080/) I got
the
error I attached on the end of this mail. When I put a html File
instead of
a JSP File into the webapps/ROOT Directory it works, so I see that the Server is running. I have had the same Problem before with my Win2K
System
but there I fixed the Problem by setting the right PATH (to the SDK Directory). I also searched the web for this Problem and I saw, that a
lot
of Users have the same Problem. But I found no solution for me. I
installed
the SDK not only the JRE (so javac is available). I put the variables JAVA_HOME and CATALINA_HOME and I added the "j2sdk1.4.2/bin" Directory
to
my PATH. I don't understand why it won't work :-(
Perhaps somebody here has a good idea for solving this Problem.
Thanxs in advance Marco
THE ERROR-PAGE: ===============
HTTP Status 500 -
-----------------------------------------------------------------------
----
-----
type Exception report
message
description The server encountered an internal error () that prevented
itfrom fulfilling this request.
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] Since fork is true, ignoring compiler setting. [javac] Compiling 1 source file [javac] Since fork is true, ignoring compiler setting.
at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorH
andl
er.java:130) at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.j
ava:
293) at
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:353)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:370) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.j
ava:
473) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.j
ava:
190) 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
atio
nFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil
terC
hain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal
ve.j
ava:256) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
invo
keNext(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.j
ava:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
invo
keNext(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.StandardContext.invoke(StandardContext.java:24
15)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav
a:18
0) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
invo
keNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherV
alve
.java:171) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
invo
keNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav
a:17
2) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
invo
keNext(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
.jav
a:174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.
invo
keNext(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:5
94)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process
Conn
ection(Http11Protocol.java:392) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:5
65)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPoo
l.ja
va:619) at java.lang.Thread.run(Thread.java:534)
-----------------------------------------------------------------------
----
-----
Apache Tomcat/4.1.24
This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you.
--------------------------------------------------------------------- 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]
