tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benoît Jacquemont <benoit.jacquem...@smile.fr>
Subject RE: Servlet Exception against
Date Thu, 05 Apr 2001 13:02:43 GMT
> Hi all, I'm a new tomcat user  and when I want to open a JSP,
> I have this
> error :
> I use Tomcat 4.0 et JDK 1.2.1.

First thing, you should check if the directory in which Tomcat is installed
is writable for the user you use to start tomcat. Indeed, Tomcat converts
JSP pages into Servlets within a special directory ('work') in order to run
the generated servlet. If Tomcat cannot write a file in this directory, it
cannot execute your JSP pages...

By the way, are you working at Clearstream Luxembourg ?

Benoît
>
> A Servlet Exception Has Occurred
> org.apache.jasper.JasperException: Unable to compile class
> for JSPerror:
> Can't write:
> ..\work\localhost\Project\Datacapture_0005fProject\_0002fDatac
> apture_0005fPr
> oject_0002fModification_0005fSimple_0005fDatacapture_0005fRequ
> est_0002ejspMo
> dification_0005fSimple_0005fDatacapture_0005fRequest_jsp_0.class
> 1 error
>
> 	at org.apache.jasper.compiler.Compiler.compile(Compiled Code)
> 	at
> org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:478)
> 	at
> org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader1
> 2.java:146)
> 	at
> org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:449)
> 	at
> org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfN
> ecessary(JspSe
> rvlet.java:159)
> 	at
> org.apache.jasper.servlet.JspServlet$JspServletWrapper.service
> (JspServlet.ja
> va:171)
> 	at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet
> .java:328)
> 	at org.apache.jasper.servlet.JspServlet.service(Compiled Code)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> 	at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
> cationFilterCh
> ain.java:215)
> 	at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardW
> rapperValve.ja
> va:251)
> 	at org.apache.catalina.core.ContainerBase.invoke(Compiled Code)
> 	at
> org.apache.catalina.core.StandardContextValve.invoke(StandardC
> ontextValve.ja
> va:196)
> 	at org.apache.catalina.core.ContainerBase.invoke(Compiled Code)
> 	at
> org.apache.catalina.core.StandardContext.invoke(Compiled Code)
> 	at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHost
> Valve.java:161
> )
> 	at
> org.apache.catalina.valves.ValveBase.invokeNext(ValveBase.java:242)
> 	at
> org.apache.catalina.valves.AccessLogValve.invoke(Compiled Code)
> 	at org.apache.catalina.core.ContainerBase.invoke(Compiled Code)
> 	at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEn
> gineValve.java
> :159)
> 	at org.apache.catalina.core.ContainerBase.invoke(Compiled Code)
> 	at
> org.apache.catalina.connector.http.HttpProcessor.process(Compiled
> Code)
> 	at org.apache.catalina.connector.http.HttpProcessor.run(Compiled
> Code)
> 	at java.lang.Thread.run(Thread.java:479)
>
>
> Code of the page :
>
> <HTML>
> <HEAD>
>   <TITLE>Modification Simple Datacapture Request</TITLE>
> </HEAD>
> <BODY bgcolor="#FFFFDE">
> <P align=center>
> <B><FONT size="+3" face="Arial">Modification Simple Datacapture
> Request</FONT></B>
> <P align=center>
> <BR>
> <BR>
> <FORM name="SDP" action="" method="post">
>   <TABLE border=0 cellspacing=0 cellpadding=0>
>     <TR>
>       <TD bgcolor="#FFD339"><FONT size=2 face="Verdana,
> Arial, Helvetica,
> sans-serif"
>             color="#003399"><B>Datacapture
> Specifications</B></FONT></TD>
>       <TD bgcolor="#FFD339">&nbsp;</TD>
>       <TD bgcolor="#FFD339">&nbsp;</TD>
>     </TR>
>     <TR>
>       <TD bgcolor="#F9F1BF">&nbsp;</TD>
>       <TD bgcolor="#F9F1BF">&nbsp;</TD>
>       <TD bgcolor="#F9F1BF">&nbsp;</TD>
>     </TR>
>     <TR>
>       <TD bgcolor="#F9F1BF" ><FONT size=2 face="Verdana,
> Arial, Helvetica,
> sans-serif"
>             color="#003399">Reference:&nbsp;</FONT>
>         <SELECT name="reference"
> onchange="top.main.location.href='Modification_Simple_Datacapt
> ure_Request_Sp
> ecification.jsp';">
>                 <OPTION value="">Select a reference</option>
>                 <OPTION value="">14-MAR-1801B_NTP</option>
>                 <OPTION value="">10-MAR-1801A_DTP</option>
>                 <OPTION value="">17-MAR-1801B_RBS</option>
>         </SELECT></TD>
>         <TD bgcolor="#F9F1BF">&nbsp;</TD>
>       <TD bgcolor="#F9F1BF">&nbsp;</TD>
>     </TR>
>     <TR>
>       <TD bgcolor="#F9F1BF">&nbsp;</TD>
>       <TD bgcolor="#F9F1BF">&nbsp;</TD>
>       <TD bgcolor="#F9F1BF">&nbsp;</TD>
>     </TR>
>     <TR>
>       <TD bgcolor="#F9F1BF"><INPUT type="button" name="BACK"
> value="BACK"
> onclick="top.main.location.href='trame.jsp';"></TD>
>       <TD bgcolor="#F9F1BF">&nbsp;</TD>
>       <TD bgcolor="#F9F1BF">&nbsp;</TD>
>     </TR>
>   </TABLE>
> </FORM>
> </BODY></HTML>
>
> Can you help me, It's very Urgent. Thank you for your help.
>
> > Frédéric LELIEVRE
> > TTE -  (BA / F04 C024)
> >
> > *   +352-44992--2485
> > * flelievre.cs@clearstream.com
> >
>
>
> Visit us at http://www.clearstream.com
> Check out current job vacancies at
> http://www.clearstream.com/public/english/e_vacs.htm
>
> IMPORTANT MESSAGE
>
> Internet communications are not secure and therefore
> Clearstream International does not
> accept legal responsibility for the contents of this message.
>
> The information contained in this e-mail is confidential and
> may be legally privileged. It is
> intended solely for the addressee. If you are not the
> intended recipient, any disclosure,
> copying, distribution or any action taken or omitted to be
> taken in reliance on it, is
> prohibited and may be unlawful. Any views expressed in this
> e-mail are those of the
> individual sender, except where the sender specifically
> states them to be the views of
> Clearstream International or of any of its affiliates or subsidiaries.
>
> END OF DISCLAIMER


Mime
View raw message