[opencms-dev] javax.servlet.ServletException: Resource loader error

EXCELSIS - Timo Grueber timo.grueber at excelsisnet.com
Wed Mar 10 15:41:02 CET 2004


Hi all,

in the new Version of OpenCMS (5.0.1) I get a Resource loader error in
JSP-Files
that include a JSP-Template. In the 5.0 Version it works. Can anybody help
me.

The have tested the following without success:

It has nothing to do with...
- Encoding
- Version of Xalan
- Version of Tomcat
- Wrong URL
- Access Rights

My System:

OpenCMS 5.0.1
Tomcat 4.1.27
Java 1.4.1_02

This is the Exception:

javax.servlet.ServletException: Resource loader error in file
'/excelsisnet/de/index_print.jsp'

Root cause:
org.apache.jasper.JasperException:
/WEB-INF/jsp/offline/excelsisnet/de/index_print.jsp.jsp(7,0) File
"/opencms/opencms/system/modules/com.opencms.excelsis.website/jsptemplates/predef_template.jsp"

not found
      at
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:94)
      at
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:428)
      at
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:170)
      at
org.apache.jasper.compiler.Parser.processIncludeDirective(Parser.java:305)
      at
org.apache.jasper.compiler.Parser.parseIncludeDirective(Parser.java:340)
      at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:378)
      at org.apache.jasper.compiler.Parser.parseElements(Parser.java:795)
      at org.apache.jasper.compiler.Parser.parse(Parser.java:122)
      at
org.apache.jasper.compiler.ParserController.parse(ParserController.java:199)
      at
org.apache.jasper.compiler.ParserController.parse(ParserController.java:153)
      at
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:227)
      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:369)
      at
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:473)
      at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java: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.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:575)
      at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:498)
      at
com.opencms.flex.cache.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:158)
      at com.opencms.flex.CmsJspLoader.service(CmsJspLoader.java:972)
      at
com.opencms.flex.cache.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:256)
      at com.opencms.flex.CmsJspLoader.load(CmsJspLoader.java:577)
      at com.opencms.flex.CmsJspLoader.initlaunch(CmsJspLoader.java:239)
      at com.opencms.core.OpenCms.showResource(OpenCms.java:961)
      at
com.opencms.core.OpenCmsHttpServlet.doGet(OpenCmsHttpServlet.java:310)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
      at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
      at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
      at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(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(StandardContextValve.java:191)
      at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(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:2416)
      at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
      at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
      at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
      at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
      at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
      at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(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.invokeNext(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.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:263)
      at
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:360)
      at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:604)
      at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:562)
      at
org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:679)
      at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
      at java.lang.Thread.run(Thread.java:536)

--------------- End of root cause.

      at com.opencms.flex.CmsJspLoader.service(CmsJspLoader.java:979)
      at
com.opencms.flex.cache.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:256)
      at com.opencms.flex.CmsJspLoader.load(CmsJspLoader.java:577)
      at com.opencms.flex.CmsJspLoader.initlaunch(CmsJspLoader.java:239)
      at com.opencms.core.OpenCms.showResource(OpenCms.java:961)
      at
com.opencms.core.OpenCmsHttpServlet.doGet(OpenCmsHttpServlet.java:310)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
      at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
      at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
      at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(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(StandardContextValve.java:191)
      at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(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:2416)
      at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
      at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
      at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
      at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
      at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
      at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(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.invokeNext(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.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:263)
      at
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:360)
      at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:604)
      at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:562)
      at
org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:679)
      at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
      at java.lang.Thread.run(Thread.java:536)













More information about the opencms-dev mailing list