[opencms-dev] Re: redirect without apache (Hartmann, Waehrisch & Feykes GmbH)

Hartmann, Waehrisch & Feykes GmbH hartmann at waehrisch-feykes.de
Fri Nov 7 10:51:01 CET 2003


Can you exactly expain what you did?

  ----- Original Message ----- 
  From: Zhang NC 
  To: opencms-dev at opencms.org 
  Sent: Friday, November 07, 2003 10:12 AM
  Subject: [opencms-dev] Re: redirect without apache (Hartmann, Waehrisch & Feykes GmbH)


  Thank Stephan for that you provid:

  Tomcat also supports virtual hosts. No need for apache.
  There is a filter for url rewriting / redirecting:
  http://tuckey.org/urlrewrite/

  Bye,
  Stephan


  I've tryed this method, but can't get throuth. 

  I've got problem:


  javax.servlet.ServletException: Resource loader error in file '/system/modules/org.opencms.welcome/jsptemplates/welcome.jsp'

  Root cause:
  javax.servlet.ServletException: org.apache.oro.text.perl.Perl5Util.substitute(Ljava/lang/StringBuffer;Ljava/lang/String;Ljava/lang/String;)I
   at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:673)
   at org.apache.jsp.WEB_002dINF.jsp.online.system.modules.org_opencms_welcome.jsptemplates.welcome_jsp_jsp._jspService(welcome_jsp_jsp.java:81)
   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
   at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
   at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:284)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)
   at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:742)
   at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:630)
   at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:542)
   at com.opencms.flex.cache.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:180)
   at com.opencms.flex.CmsJspLoader.service(CmsJspLoader.java:955)
   at com.opencms.flex.cache.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:268)
   at com.opencms.flex.jsp.CmsJspTagInclude.includeTagAction(CmsJspTagInclude.java:370)
   at com.opencms.flex.jsp.CmsJspTagInclude.doEndTag(CmsJspTagInclude.java:262)
   at org.apache.jsp.WEB_002dINF.jsp.online.index_jsp_jsp._jspx_meth_cms_include_0(index_jsp_jsp.java:191)
   at org.apache.jsp.WEB_002dINF.jsp.online.index_jsp_jsp._jspService(index_jsp_jsp.java:64)
   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
   at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
   at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:284)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)
   at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:742)
   at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:630)
   at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:542)
   at com.opencms.flex.cache.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:180)
   at com.opencms.flex.CmsJspLoader.service(CmsJspLoader.java:955)
   at com.opencms.flex.cache.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:268)
   at com.opencms.flex.CmsJspLoader.load(CmsJspLoader.java:567)
   at com.opencms.flex.CmsJspLoader.initlaunch(CmsJspLoader.java:235)
   at com.opencms.core.OpenCms.showResource(OpenCms.java:956)
   at com.opencms.core.OpenCmsHttpServlet.doGet(OpenCmsHttpServlet.java:310)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:284)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
   at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
   at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563)
   at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:245)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:199)
   at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
   at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:195)
   at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
   at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
   at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156)
   at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
   at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563)
   at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)
   at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:209)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:670)
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:517)
   at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:575)
   at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:666)
   at java.lang.Thread.run(Unknown Source)

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

   at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:670)
   at org.apache.jsp.WEB_002dINF.jsp.online.index_jsp_jsp._jspService(index_jsp_jsp.java:173)
   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
   at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
   at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:284)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)
   at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:742)
   at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:630)
   at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:542)
   at com.opencms.flex.cache.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:180)
   at com.opencms.flex.CmsJspLoader.service(CmsJspLoader.java:955)
   at com.opencms.flex.cache.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:268)
   at com.opencms.flex.CmsJspLoader.load(CmsJspLoader.java:567)
   at com.opencms.flex.CmsJspLoader.initlaunch(CmsJspLoader.java:235)
   at com.opencms.core.OpenCms.showResource(OpenCms.java:956)
   at com.opencms.core.OpenCmsHttpServlet.doGet(OpenCmsHttpServlet.java:310)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:284)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
   at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
   at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563)
   at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:245)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:199)
   at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
   at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:195)
   at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
   at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
   at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156)
   at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
   at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563)
   at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)
   at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:209)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:670)
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:517)
   at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:575)
   at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:666)
   at java.lang.Thread.run(Unknown Source)


  Would you please tell me what would I do?

  Thanks advance!

  Zhang


   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20031107/3d6e5037/attachment.htm>


More information about the opencms-dev mailing list