Uploaded image for project: '[Read Only] - Hippo Plugins'
  1. [Read Only] - Hippo Plugins
  2. HIPPLUG-1184

Backport to 1.05.xx URL Rewriter: commons httpclient required for proxy type, but not included

    XMLWordPrintable

Details

    Description

      When requesting an URL that's configured to be proxied, you get returned a 500 Server error. And a ClassNotFoundException is thrown:

      [INFO] [talledLocalContainer] Aug 12, 2015 5:12:02 PM org.apache.catalina.core.StandardWrapperValve invoke
      [INFO] [talledLocalContainer] SEVERE: Servlet.service() for servlet [default] in context with path [/site] threw exception [Filter execution threw an exception] with root cause
      [INFO] [talledLocalContainer] java.lang.ClassNotFoundException: org.apache.commons.httpclient.HostConfiguration
      [INFO] [talledLocalContainer] 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1720)
      [INFO] [talledLocalContainer] 	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)
      [INFO] [talledLocalContainer] 	at org.tuckey.web.filters.urlrewrite.RequestProxy.execute(RequestProxy.java:102)
      [INFO] [talledLocalContainer] 	at org.tuckey.web.filters.urlrewrite.NormalRewrittenUrl.doRewrite(NormalRewrittenUrl.java:277)
      [INFO] [talledLocalContainer] 	at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:171)
      [INFO] [talledLocalContainer] 	at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
      [INFO] [talledLocalContainer] 	at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
      [INFO] [talledLocalContainer] 	at org.onehippo.forge.rewriting.HippoRewriteFilter.doFilter(HippoRewriteFilter.java:240)
      [INFO] [talledLocalContainer] 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      [INFO] [talledLocalContainer] 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      [INFO] [talledLocalContainer] 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
      [INFO] [talledLocalContainer] 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
      [INFO] [talledLocalContainer] 	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
      [INFO] [talledLocalContainer] 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
      [INFO] [talledLocalContainer] 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      [INFO] [talledLocalContainer] 	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
      [INFO] [talledLocalContainer] 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
      [INFO] [talledLocalContainer] 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
      [INFO] [talledLocalContainer] 	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
      [INFO] [talledLocalContainer] 	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
      [INFO] [talledLocalContainer] 	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
      [INFO] [talledLocalContainer] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      [INFO] [talledLocalContainer] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      [INFO] [talledLocalContainer] 	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      [INFO] [talledLocalContainer] 	at java.lang.Thread.run(Thread.java:745)
      

      Attachments

        Issue Links

          Activity

            People

              clientserviceteam Client Service Team
              smuco Saimir Muco (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: