tracker issue : CF-4205439

select a category, or use search below
(searches all categories and all time range)
Title:

CFHTTP Randomly Hangs After ColdFusion 2018, Update 5

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/Duplicate

Reporter/Name(from Bugbase): Dave C. / ()

Created: 10/15/2019

Components: Net Protocols, HTTP

Versions: 2018

Failure Type: Crash

Found In Build/Fixed In Build: Update 5 /

Priority/Frequency: Normal / All users will encounter

Locale/System: English / Win 2016

Vote Count: 5

Problem Description:

Ever since we installed ColdFusion 2018, update 5 we have noticed random CFHTTP transactions hanging in Fusion Reactor. This did not happen before with update 4.

Steps to Reproduce:

Since this happens randomly there are no steps to reproduce it.

Actual Result:

The transaction hangs in Fusion Reactor showing "Still Open" many hours later.

Expected Result:

The transaction should show completed.

Any Workarounds:

There are no workarounds that I know of.

Stack Trace:

"ajp-nio-8018-exec-36" Id=157 WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@6fcf3a2c 
   java.lang.Thread.State: WAITING
        at java.base@11.0.4/jdk.internal.misc.Unsafe.park(Native Method)
        - waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@6fcf3a2c
        at java.base@11.0.4/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
        at java.base@11.0.4/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2081)
        at org.apache.http.pool.AbstractConnPool.getPoolEntryBlocking(AbstractConnPool.java:379)
        at org.apache.http.pool.AbstractConnPool.access$200(AbstractConnPool.java:69)
        at org.apache.http.pool.AbstractConnPool$2.get(AbstractConnPool.java:245)
        - locked org.apache.http.pool.AbstractConnPool$2@47996e5c
        at org.apache.http.pool.AbstractConnPool$2.get(AbstractConnPool.java:193)
        at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.leaseConnection(PoolingHttpClientConnectionManager.java:276)
        at org.apache.http.impl.conn.PoolingHttpClientConnectionManager$1.get(PoolingHttpClientConnectionManager.java:263)
        at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:190)
        at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)
        at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)
        at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
        at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
        at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
        at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)
        at coldfusion.tagext.net.HttpTag.createConnection(HttpTag.java:1936)
        at coldfusion.tagext.net.HttpTag.connHelper(HttpTag.java:1126)
        at coldfusion.tagext.net.HttpTag.doEndTag(HttpTag.java:1274)
        at cflloyd_mats2ecfc128155067$funcYEARLIST.runFunction(E:\WEBROOT\americanfloormats.com\global\extensions\components\lloyd_mats.cfc:21)
        at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:553)
        at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
        at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:484)
        at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:447)
        at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95)
        at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:398)
        at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:371)
        at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:597)
        at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:837)
        at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:643)
        at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:3506)
        at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:3481)
        at coldfusion.tagext.lang.InvokeTag.doEndTag(InvokeTag.java:472)
        at cfcarmats2ecfm196137890._factor12(E:\WEBROOT\americanfloormats.com\global\product\action\carmats.cfm:57)
        at cfcarmats2ecfm196137890._factor1(E:\WEBROOT\americanfloormats.com\global\product\action\carmats.cfm)
        at cfcarmats2ecfm196137890._factor46(E:\WEBROOT\americanfloormats.com\global\product\action\carmats.cfm:54)
        at cfcarmats2ecfm196137890._factor37(E:\WEBROOT\americanfloormats.com\global\product\action\carmats.cfm)
        at cfcarmats2ecfm196137890._factor48(E:\WEBROOT\americanfloormats.com\global\product\action\carmats.cfm:49)
        at cfcarmats2ecfm196137890._factor38(E:\WEBROOT\americanfloormats.com\global\product\action\carmats.cfm)
        at cfcarmats2ecfm196137890._factor50(E:\WEBROOT\americanfloormats.com\global\product\action\carmats.cfm:42)
        at cfcarmats2ecfm196137890._factor39(E:\WEBROOT\americanfloormats.com\global\product\action\carmats.cfm)
        at cfcarmats2ecfm196137890._factor71(E:\WEBROOT\americanfloormats.com\global\product\action\carmats.cfm:33)
        at cfcarmats2ecfm196137890._factor72(E:\WEBROOT\americanfloormats.com\global\product\action\carmats.cfm:2)
        at cfcarmats2ecfm196137890.runPage(E:\WEBROOT\americanfloormats.com\global\product\action\carmats.cfm:1)
        at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:262)
        at coldfusion.tagext.lang.IncludeTag.handlePageInvoke(IncludeTag.java:735)
        at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:565)
        at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
        at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:557)
        at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:43)
        at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
        at coldfusion.filter.PathFilter.invoke(PathFilter.java:162)
        at coldfusion.filter.IpFilter.invoke(IpFilter.java:45)
        at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:96)
        at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
        at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
        at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:60)
        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.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:151)
        at coldfusion.CfmServlet.service(CfmServlet.java:226)
        at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:311)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:46)
        at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:47)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at jdk.internal.reflect.GeneratedMethodAccessor66.invoke(Unknown Source)
        at java.base@11.0.4/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base@11.0.4/java.lang.reflect.Method.invoke(Method.java:566)
        at com.intergral.fusionreactor.j2ee.filterchain.WrappedFilterChain.doFilter(WrappedFilterChain.java:134)
        at com.intergral.fusionreactor.j2ee.filter.FusionReactorRequestHandler.doNext(FusionReactorRequestHandler.java:764)
        at com.intergral.fusionreactor.j2ee.filter.FusionReactorRequestHandler.doHttpServletRequest(FusionReactorRequestHandler.java:344)
        at com.intergral.fusionreactor.j2ee.filter.FusionReactorRequestHandler.doFusionRequest(FusionReactorRequestHandler.java:207)
        at com.intergral.fusionreactor.j2ee.filter.FusionReactorRequestHandler.handle(FusionReactorRequestHandler.java:801)
        at com.intergral.fusionreactor.j2ee.filter.FusionReactorCoreFilter.doFilter(FusionReactorCoreFilter.java:36)
        at jdk.internal.reflect.GeneratedMethodAccessor83.invoke(Unknown Source)
        at java.base@11.0.4/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base@11.0.4/java.lang.reflect.Method.invoke(Method.java:566)
        at com.intergral.fusionreactor.j2ee.filterchain.WrappedFilterChain.doFilter(WrappedFilterChain.java:71)
        at jdk.internal.reflect.GeneratedMethodAccessor55.invoke(Unknown Source)
        at java.base@11.0.4/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base@11.0.4/java.lang.reflect.Method.invoke(Method.java:566)
        at app//com.intergral.fusionreactor.agent.filter.FusionReactorStaticFilter.doFilter(FusionReactorStaticFilter.java:54)
        at app//com.intergral.fusionreactor.agent.pointcuts.NewFilterChainPointCut$1.invoke(NewFilterChainPointCut.java:42)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:357)
        at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:422)
        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:853)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1587)
        at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
        - locked org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper@5ce452d0
        at java.base@11.0.4/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base@11.0.4/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.base@11.0.4/java.lang.Thread.run(Thread.java:834)

   Locked ownable synchronizers: 
        - java.util.concurrent.ThreadPoolExecutor$Worker <0x6535df76>

Attachments:

Comments:

We uninstalled HF5. But, the work around they gave us was add -Dcoldfusion.http.usepooling=false in jvm.config file. We haven't tried it in production yet, just our staging environment.
Comment by Aaron W.
31605 | October 15, 2019 09:32:37 PM GMT
Hi Aaron, Thanks for your reply and workaround. Did Adobe say exactly what the issue is? What have your results been like in your staging environment?
Comment by Dave C.
31606 | October 15, 2019 09:50:35 PM GMT
Adobe has not giving us an answer on why this was happening. Our staging environment hasn't had problems since we changed the jvm.config. But, as far as we know we have never had the problem in the staging environment due to the lower amount of traffic.
Comment by Aaron W.
31617 | October 16, 2019 01:40:09 PM GMT
Hi All, This is a duplicate of another bug. We are tracking this issue as part of that bug. Hence, I am withdrawing this bug as duplicate. -Nimit
Comment by Nimit S.
31658 | October 21, 2019 05:39:24 AM GMT