Patch for Apache Connector ArithmeticException Divide By Zero (ColdFusion 8.0.1)Products affected
Issue
Adobe ColdFusion 8.0.1 servers connected to Apache web servers mayexperience a java.lang.ArithmeticException - divide by zero error. java.lang.ArithmeticException: / by zeroat coldfusion.util.CaseInsensitiveMap.findStringKey(CaseInsensitiveMap.java:122)
at coldfusion.util.CaseInsensitiveMap.find(CaseInsensitiveMap.java:82)
at coldfusion.util.CaseInsensitiveMap.put(CaseInsensitiveMap.java:230)
at coldfusion.runtime.TemplateProxyFactory.resolveName(TemplateProxyFactory.java:201)
at coldfusion.runtime.TemplateProxyFactory.resolveComponentHelper(TemplateProxyFactory.java:354)
at coldfusion.runtime.TemplateProxyFactory.resolveName(TemplateProxyFactory.java:211)
at coldfusion.runtime.TemplateProxyFactory.resolveName(TemplateProxyFactory.java:157)
at coldfusion.runtime.TemplateProxyFactory.resolveFile(TemplateProxyFactory.java:110)
at coldfusion.runtime.TemplateProxyFactory.resolveFile(TemplateProxyFactory.java:101)
at coldfusion.cfc.CFCProxy.<init>(CFCProxy.java:92)
at coldfusion.runtime.AppEventInvoker.<init>(AppEventInvoker.java:47)
at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:148)
at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48)
at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)
at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)
at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
at coldfusion.CfmServlet.service(CfmServlet.java:175)
at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)
at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
at jrun.servlet.FilterChain.service(FilterChain.java:101)
at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)
at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) This error occurs as ColdFusion tries to resolve ColdFusion Component (CFC) paths.
Solution
The installation process is the same for all platforms and installation choices. Use the ColdFusion 8 Administrator to install hot fix jar files.
- Download hf801-71362.zip (19k) and extract the hf801-71362.jar.
- Open the ColdFusion 8 Administrator, and then select the System Information page.
- Next to the Update File box, click Browse and browse to the extracted jar file.
- Select the hf801-71362.jar file, and then click Submit.
- Restart ColdFusion.
The hf801-71362 hot fix JAR file does not need to be retained after installing it with the ColdFusion Administrator. The file has been copied into the correct location.
The hf801-71362.jar hot fix file will appear as a new entry in the System Information classpath list.
Hot fix jar files are installed in the cf_root\lib\updates directory. After stopping the ColdFusion 8 application server, delete a specific jar file from the updates directory in order to uninstall that hot fix.
Additional Information
Doc ID
(kb403433)
Last updated
2008-05-01
Products affected
