Hello and thank you for your email. We strive to respond to all email inquiries within
one business day. If your issue cannot wait that long, please call us at
877-438-8966. Our hours are 6:00 a.m. to 6:00 p.m. Pacific Standard Time, Monday
through Friday.
For reference, your assigned case ID is:983706
-----Original Message-----
From: Bernhard Wraase [EMAIL PROTECTED]
Sent: Friday, Jan 30 2004 12:22AM
To: [EMAIL PROTECTED] [EMAIL PROTECTED]
Subject: JSP compiling don't work with jsvc
Hi,
after I configured jsvc it works like expected -except for automatic JSP
compiling. If I start tomcat with startup.sh the compiling of JSP works
normal. Once that JSP are compiled the start method doesn't matter
anymore. Tomact acts normally.
Here is my testcase:
Copy the sample web-application from
jakarta-tomcat-5.0.18/webapps/tomcat-docs/appdev/sample/
to
jakarta-tomcat-5.0.18/webapps/
Put this to the appropriate place inside the server.xml:
<!-- Tomcat Root Context -->
<Context path="" docBase="web" debug="0">
</Context>
Start tomcat with /etc/init.d/tomcat.sh.
In my case I got the follwing response in my browser:
(The log catalina.out does not show more hints)
HTTP Status 500 -
--------------------------------------------------------------------------------
type Exception report
message
description The server encountered an internal error () that prevented
it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:558)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
root cause
java.io.FileNotFoundException:
/opt/wupperring/jakarta-tomcat-5.0.18/work/Catalina/localhost/_/org/apache/jsp/hello_jsp.java
java.io.FileOutputStream.open(Native Method)
java.io.FileOutputStream.<init>(FileOutputStream.java:176)
java.io.FileOutputStream.<init>(FileOutputStream.java:70)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:223)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:456)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:552)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
note The full stack trace of the root cause is available in the Tomcat logs.
Regards Bernhard
--
MfG Bernhard Wraase
NET.KOSMOS Projektentwicklung und Management GmbH
Tel.: +49 231 5522931
Fax: +49 231 5522930
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
=======================================================
This email and its contents are confidential. If you
are not the intended recipient, please do not disclose
or use the information within this email or its
attachments. If you have received this email in error,
please delete it immediately. Thank you.
=======================================================
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]