Copy link to clipboard
Copied
On CF10 (Windows Server 2008 R2) we recently tried to install update 17 with the anticipation of then installing 21. Our last installed update was 12. We started with 17 because it was the highest one listed as cumulative. The 17 update failed and we tried to uninstall. That also failed so we tried a manual uninstall per the instructions. After that we had problems with the CF administrator page not able to display. We found a corrupt neo_updates.xml file and fixed that per:
Our symptom now is a problem with cfhttp tags. We get a "NoSuchMethodError" error (see log). This happens on public facing pages with the cfhttp tag as well as the "Updates" link in CFAdmin which I assume uses the same cfhttp tag.
My concern now is that we really don't trust the integrity of the current CF install/configuration at all. We really need to fix this without a CF reinstall. How is the best way to locate the problem and fix and also verify that the current install is configured properly?
Any help is greatly appreciated.
From the CF Exception Log:
"Error","ajp-bio-8012-exec-4","10/03/16","08:27:02",,"org.apache.http.impl.client.DefaultHttpClient.execute(Lorg/apache/http/client/methods/HttpUriRequest;)Lorg/apache/http/client/methods/CloseableHttpResponse; The specific sequence of files included or processed is: REDACTED...TEST.cfm, line: 337 "
java.lang.NoSuchMethodError: org.apache.http.impl.client.DefaultHttpClient.execute(Lorg/apache/http/client/methods/HttpUriRequest;)Lorg/apache/http/client/methods/CloseableHttpResponse;
at coldfusion.tagext.net.HttpTag.createConnection(HttpTag.java:2015)
at coldfusion.tagext.net.HttpTag.connHelper(HttpTag.java:972)
at coldfusion.tagext.net.HttpTag.doEndTag(HttpTag.java:1263)
at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2796)
at cffrm_submit_srl_usage_request_TEST2ecfm1591744291.runPage(REDACTED...TEST.cfm:337)
at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:244)
at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:446)
at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
at coldfusion.filter.IpFilter.invoke(IpFilter.java:64)
at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:451)
at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48)
at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
at coldfusion.filter.PathFilter.invoke(PathFilter.java:112)
at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:94)
at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:58)
at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62)
at coldfusion.CfmServlet.service(CfmServlet.java:219)
at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)
at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:928)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:414)
at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:204)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:539)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:298)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:722)
Copy link to clipboard
Copied
Please file a bug report. It certainly will compel the Coldfusion Team to have a look. Remember to mention the URL of this thread as reference.
Copy link to clipboard
Copied
See if this previous cfhttp thread helps