tracker issue : CF-4206296

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

Server Settings > Settings page slow due to Http call

| View in Tracker

Status/Resolution/Reason: Open//

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

Created: 12/09/2019

Components: Administrator

Versions: 2018

Failure Type: Performance Issue

Found In Build/Fixed In Build: 2018.0.06.316308 /

Priority/Frequency: Normal / All users will encounter

Locale/System: English / Linux Red Hat 7.3

Vote Count: 0

Problem Description:

Somewhere in settings/server_settings.cfm a http request is being performed and will timeout causing the setting page to load in over 2 minutes

Assumption of issue cause is that the server is firewalled off and some XML DTD resolution is waiting for a timeout

Steps to Reproduce:

Fresh installation of Coldfusion 2018 with Hotfix 6 installed on RHEL7 with selinux enforcing and port 8081 opened for apache2 locally, no external http out allowed.

Load http://localhost:8501/CFIDE/administrator/settings/server_settings.cfm after logging in

Actual Result:

Slow load time

Expected Result:

Normal load time

Any Workarounds:

None

Stacktrace

"http-nio-8501-exec-1" Id=174 RUNNABLE (in native)
   java.lang.Thread.State: RUNNABLE
        at java.base@11.0.5/java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.base@11.0.5/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:399)
        - locked java.net.PlainSocketImpl@12723c6f
        at java.base@11.0.5/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:242)
        at java.base@11.0.5/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:224)
        at java.base@11.0.5/java.net.Socket.connect(Socket.java:608)
        at java.base@11.0.5/java.net.Socket.connect(Socket.java:557)
        at java.base@11.0.5/sun.net.NetworkClient.doConnect(NetworkClient.java:182)
        at java.base@11.0.5/sun.net.www.http.HttpClient.openServer(HttpClient.java:474)
        at java.base@11.0.5/sun.net.www.http.HttpClient.openServer(HttpClient.java:569)
        - locked sun.net.www.http.HttpClient@3b8baf55
        at java.base@11.0.5/sun.net.www.http.HttpClient.(HttpClient.java:242)
        at java.base@11.0.5/sun.net.www.http.HttpClient.New(HttpClient.java:341)
        at java.base@11.0.5/sun.net.www.http.HttpClient.New(HttpClient.java:362)
        at java.base@11.0.5/sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1248)
        at java.base@11.0.5/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1187)
        at java.base@11.0.5/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1081)
        at java.base@11.0.5/sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:1015)
        at java.base@11.0.5/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1587)
        - locked sun.net.www.protocol.http.HttpURLConnection@43b484cd
        at java.base@11.0.5/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1515)
        - locked sun.net.www.protocol.http.HttpURLConnection@43b484cd
        at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
        at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)
        at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source)
        at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
        at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
        at java.xml@11.0.5/javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:206)
        at coldfusion.mobile.MobileServlet.isCORSEnabled(MobileServlet.java:1701)
        at coldfusion.runtime.RuntimeServiceImpl.isCORSEnabled(RuntimeServiceImpl.java:2054)
        at java.base@11.0.5/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base@11.0.5/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base@11.0.5/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base@11.0.5/java.lang.reflect.Method.invoke(Method.java:566)
        at coldfusion.runtime.StructBean.invoke(StructBean.java:507)
        at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:3680)
        at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:3561)
        at cfserver_settings2ecfm470815380._factor32(/CFIDE/administrator/settings/server_settings.cfm:948)
        at cfserver_settings2ecfm470815380._factor58(/CFIDE/administrator/settings/server_settings.cfm:936)
        at cfserver_settings2ecfm470815380.runPage(/CFIDE/administrator/settings/server_settings.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:597)
        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.CfmServlet.service(CfmServlet.java:226)
        at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:311)
        at app//org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
        at app//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 app//org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at app//org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at app//org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
        at app//org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at app//org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at coldfusion.filter.ClickjackingProtectionFilter.doFilter(ClickjackingProtectionFilter.java:75)
        at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:47)
        at app//org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at app//org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at jdk.internal.reflect.GeneratedMethodAccessor90.invoke(Unknown Source)
        at java.base@11.0.5/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base@11.0.5/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.GeneratedMethodAccessor95.invoke(Unknown Source)
        at java.base@11.0.5/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base@11.0.5/java.lang.reflect.Method.invoke(Method.java:566)
        at com.intergral.fusionreactor.j2ee.filterchain.WrappedFilterChain.doFilter(WrappedFilterChain.java:71)
        at jdk.internal.reflect.GeneratedMethodAccessor88.invoke(Unknown Source)
        at java.base@11.0.5/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base@11.0.5/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 app//org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java)
        at app//org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)
        at app//org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
        at app//org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490)
        at app//org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
        at app//org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
        at app//org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
        at app//org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:357)
        at app//org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408)
        at app//org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
        at app//org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:853)
        at app//org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1587)
        at app//org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
        - locked org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper@450af2e3
        at java.base@11.0.5/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base@11.0.5/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at app//org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.base@11.0.5/java.lang.Thread.run(Thread.java:834)
   Locked ownable synchronizers: 
        - java.util.concurrent.ThreadPoolExecutor$Worker <0x4a03c4bc>

Attachments:

Comments: