tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthew Ma <lsgr...@gmail.com>
Subject ssiservlet ioexception include directive error
Date Fri, 15 Jul 2005 22:58:06 GMT
Hello,

I'm using Tomat in a jboss distribution and while all of my include
files are working just fine, I'm getting the following error stack
trace periodically (not tied to any page requests and at regular
intervals - maybe once every couple of minutes).  The include files
referenced in the ioexception include ok.

2005-07-14 23:59:49,474 ERROR [org.jboss.web.localhost.Engine]
StandardContext[]ssi: #include--Couldn't include file:
include/footer.inc
java.io.IOException: Couldn't find file: /include/footer.inc
       at org.apache.catalina.ssi.SSIServletExternalResolver.getFileText(SSIServletExternalResolver.java:372)
       at org.apache.catalina.ssi.SSIMediator.getFileText(SSIMediator.java:142)
       at org.apache.catalina.ssi.SSIInclude.process(SSIInclude.java:48)
       at org.apache.catalina.ssi.SSIProcessor.process(SSIProcessor.java:121)
       at org.apache.catalina.ssi.SSIServlet.processSSI(SSIServlet.java:204)
       at org.apache.catalina.ssi.SSIServlet.requestHandler(SSIServlet.java:178)
       at org.apache.catalina.ssi.SSIServlet.doGet(SSIServlet.java:112)
       at javax.servlet.http.HttpServlet.doHead(HttpServlet.java:270)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:714)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at sun.reflect.GeneratedMethodAccessor83.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
       at java.security.AccessController.doPrivileged(Native Method)
       at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
       at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:272)
       at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:245)
       at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:50)
       at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156)
       at java.security.AccessController.doPrivileged(Native Method)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152)
       at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
       at sun.reflect.GeneratedMethodAccessor110.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
       at java.security.AccessController.doPrivileged(Native Method)
       at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
       at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:272)
       at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:217)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:197)
       at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:50)
       at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156)
       at java.security.AccessController.doPrivileged(Native Method)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
       at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
       at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
       at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
       at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:66)
       at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
       at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:162)
       at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
       at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
       at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
       at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:535)
       at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
       at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
       at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
       at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
       at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
       at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
       at java.lang.Thread.run(Thread.java:534)

My web.xml looks like this for the ssi directive:
  <servlet>
       <servlet-name>ssi</servlet-name>
       <servlet-class>
         org.apache.catalina.ssi.SSIServlet
       </servlet-class>
       <init-param>
         <param-name>buffered</param-name>
         <param-value>1</param-value>
       </init-param>
       <init-param>
         <param-name>debug</param-name>
         <param-value>5</param-value>
       </init-param>
       <init-param>
         <param-name>expires</param-name>
         <param-value>666</param-value>
       </init-param>
       <init-param>
         <param-name>isVirtualWebappRelative</param-name>
         <param-value>0</param-value>
       </init-param>
       <load-on-startup>4</load-on-startup>
   </servlet>

I can't find this problem documented anywhere.  Any suggestions on
where to start looking to solve this would be greatly appreciated.
Thanks in advance!

-Matthew
http://www.lightspoke.com

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message