Thank you for your recommendations. We do have "Save Class Files" turned on for our productions servers.
We are still having a huge problem with createObject calls in ColdFusion 8 taking up to 300 seconds. Please help! Below is a stack trace from Fusion Reactor. customerImport2.cfm:13 is a createObject CFC call. Thread Stack Trace Trace Time: 10:32:50.156 03-Oct-2007 Request ID: 8190 Script Name: http://intranet.uhlig.com/lp_company/import/customerImport2.cfm Started: 10:28:36.850 03-Oct-2007 Exec Time: 253306ms Memory Used: (30%)304,194KB Memory Free: 705,597KB Thread ID: 0x5dfd (24061) Thread Name: jrpp-69 Priority: 5 Hashcode: 11926779 State: RUNNABLE "jrpp-69" prio=5 runnable java.lang.Class.getDeclaredConstructors0(Class.java:???)[Native Method] java.lang.Class.privateGetDeclaredConstructors(Class.java:2389) java.lang.Class.getConstructor0(Class.java:2699) java.lang.Class.newInstance0(Class.java:326) java.lang.Class.newInstance(Class.java:308) coldfusion.runtime.TemplateClassLoader.newInstance(TemplateClassLoader.java:444) coldfusion.runtime.TemplateClassLoader.newInstance(TemplateClassLoader.java:415) coldfusion.runtime.TemplateProxyFactory.getCFCInstance(TemplateProxyFactory.java:240) coldfusion.runtime.TemplateProxyFactory.resolveName(TemplateProxyFactory.java:166) coldfusion.runtime.TemplateProxyFactory.resolveName(TemplateProxyFactory.java:157) coldfusion.runtime.TemplateProxyFactory.resolveName(TemplateProxyFactory.java:1292) coldfusion.cfc.ComponentProxyFactory.getProxy(ComponentProxyFactory.java:28) coldfusion.runtime.ProxyFactory.getProxy(ProxyFactory.java:65) coldfusion.runtime.CFPage.createObjectProxy(CFPage.java:4688) coldfusion.runtime.CFPage.CreateObject(CFPage.java:4533) cfcustomerImport22ecfm987450325._factor0(G:\www\intranet.uhlig.com\lp_company\import\customerImport2.cfm:13) cfcustomerImport22ecfm987450325._factor58(G:\www\intranet.uhlig.com\lp_company\import\customerImport2.cfm:4) cfcustomerImport22ecfm987450325.runPage(G:\www\intranet.uhlig.com\lp_company\import\customerImport2.cfm:1) coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:192) coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:366) coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.java:2644) cfApplication2ecfc1091553182$funcONREQUEST.runFunction(G:\www\intranet.uhlig.com\Application.cfc:28) coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:418) coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:360) coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:324) coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:56) coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:277) coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:192) coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:448) coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:308) coldfusion.runtime.AppEventInvoker.invoke(AppEventInvoker.java:74) coldfusion.runtime.AppEventInvoker.onRequest(AppEventInvoker.java:243) coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:269) coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48) coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40) coldfusion.filter.PathFilter.invoke(PathFilter.java:86) coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70) coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28) coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46) coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38) coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) coldfusion.CfmServlet.service(CfmServlet.java:175) coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89) jrun.servlet.FilterChain.doFilter(FilterChain.java:86) com.intergral.fusionreactor.filter.FusionReactorFilter.B(null:???) com.intergral.fusionreactor.filter.FusionReactorFilter.A(null:???) com.intergral.fusionreactor.filter.FusionReactorFilter.doFilter(null:???) jrun.servlet.FilterChain.doFilter(FilterChain.java:94) coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42) coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46) jrun.servlet.FilterChain.doFilter(FilterChain.java:94) jrun.servlet.FilterChain.service(FilterChain.java:101) jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106) jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:284) jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543) jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203) jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320) jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428) jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266) jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) On 10/1/07, Jayesh Viradiya <[EMAIL PROTECTED]> wrote: > Hi, > > If you don't have your template compiled then at first time it will > under go compilation which takes a few (mili)seconds depending upon your > template size. > > If you clear the Template cache then CF will re-load templates into > memory the next time they are requested and recompile them again if they > have been modified. Once you have all the templated compiled, subsequent > request should be smoother. > > In production environment it is recommended to check the "Save Class > Files" option. > > Regards, > Jayesh Viradiya > Adobe CF Team > > -----Original Message----- > From: Ryan Duckworth [mailto:[EMAIL PROTECTED] > Sent: Monday, October 01, 2007 3:31 PM > To: CF-Talk > Subject: CF 8 Load Time Problem > > We have been running CF 8 in our dev environment without any problems. > After upgrading to CF 8 on one of our production boxes, we are having > lots of problems. > > The first page hit seems to take an extreme amount of time. We have > been watching these requests using Fusion Reactor and have seen the > same stack traces repeatedly. Most of them have to do with > "TemplateClassLoader" or "java.lang.ClassLoader.loadClass" > > The requests seem to backup to the point where they take over a minute > each. > > When we got our server to finally respond quickly we tried "Clear > Template Cache Now" and this triggered the long request times again. > > Below are some of the sample stack traces. Any ideas? > _____________________________________________________________ > java.lang.Class.getDeclaredConstructors0(Class.java:???)[Native Method] > java.lang.Class.privateGetDeclaredConstructors(Class.java:2389) > java.lang.Class.getConstructor0(Class.java:2699) > java.lang.Class.newInstance0(Class.java:326) > java.lang.Class.newInstance(Class.java:308) > coldfusion.runtime.TemplateClassLoader.newInstance > ..... > _____________________________________________________________ > > java.io.WinNTFileSystem.getBooleanAttributes(WinNTFileSystem.java:???)[N > ative > Method] > java.io.File.exists(File.java:733) > sun.misc.URLClassPath$FileLoader.getResource(URLClassPath.java:983) > sun.misc.URLClassPath.getResource(URLClassPath.java:168) > java.net.URLClassLoader$1.run(URLClassLoader.java:192) > java.security.AccessController.doPrivileged(AccessController.java:???)[N > ative > Method] > java.net.URLClassLoader.findClass(URLClassLoader.java:188) > coldfusion.bootstrap.BootstrapClassLoader.loadClass(BootstrapClassLoader > ..java:221) > java.lang.ClassLoader.loadClass(ClassLoader.java:299) > ..... > _______________________________________________________________ > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290184 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

