key [singleton] doesn't exist

41 views
Skip to first unread message

Chris Blackwell

unread,
Jan 16, 2014, 10:46:49 AM1/16/14
to coldspring-users
I keep seeing this error crop up intermittently, and it requires a re-init of our app to clear the error state.

Its been happening on all Railo 4 versions (currently on Railo 4.2.000).  It looks like either the singleton.instance that is injected into the component metadata is either lost or not created before its used.

I've hacked around this with a try/catch&log @ core/reflect/Class.cfc:42 (which i realize is expensive) to see if the issue goes away in development

But other than that, not sure how else to debug it.

Cheers, Chris


full stack trace below

key [singleton] doesn't exist at railo.runtime.type.util.StructSupport.invalidKey(StructSupport.java:48):48 at 
railo.runtime.type.StructImpl.get(StructImpl.java:112):112 at 
railo.runtime.type.util.StructSupport.get(StructSupport.java:219):219 at 
railo.runtime.util.VariableUtilImpl.get(VariableUtilImpl.java:235):235 at 
railo.runtime.util.VariableUtilImpl.getCollection(VariableUtilImpl.java:229):229 at 
railo.runtime.PageContextImpl.getCollection(PageContextImpl.java:1352):1352 at 
core.reflect.class_cfc$cf.udfCall1(/coldspring/core/reflect/Class.cfc:42):42 at 
core.reflect.class_cfc$cf.udfCall(/coldspring/core/reflect/Class.cfc):-1 at 
railo.runtime.type.UDFImpl.implementation(UDFImpl.java:92):92 at 
railo.runtime.type.UDFImpl._call(UDFImpl.java:303):303 at 
railo.runtime.type.UDFImpl.call(UDFImpl.java:207):207 at 
railo.runtime.ComponentImpl._call(ComponentImpl.java:624):624 at 
railo.runtime.ComponentImpl._call(ComponentImpl.java:507):507 at 
railo.runtime.ComponentImpl.call(ComponentImpl.java:1735):1735 at 
railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:722):722 at 
railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1518):1518 at 
core.reflect.reflectionservice_cfc$cf.udfCall(/coldspring/core/reflect/ReflectionService.cfc:46):46 at 
railo.runtime.type.UDFImpl.implementation(UDFImpl.java:92):92 at 
railo.runtime.type.UDFImpl._call(UDFImpl.java:303):303 at 
railo.runtime.type.UDFImpl.call(UDFImpl.java:207):207 at 
railo.runtime.ComponentImpl._call(ComponentImpl.java:624):624 at 
railo.runtime.ComponentImpl._call(ComponentImpl.java:507):507 at 
railo.runtime.ComponentImpl.call(ComponentImpl.java:1735):1735 at 
railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:722):722 at 
railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1518):1518 at 
beans.wiring.autowirebynamebeaninjector_cfc$cf.udfCall(/coldspring/beans/wiring/AutowireByNameBeanInjector.cfc:52):52 at 
railo.runtime.type.UDFImpl.implementation(UDFImpl.java:92):92 at 
railo.runtime.type.UDFImpl._call(UDFImpl.java:303):303 at 
railo.runtime.type.UDFImpl.call(UDFImpl.java:207):207 at 
railo.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:704):704 at 
railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:722):722 at 
railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1518):1518 at 
beans.wiring.abstractbeaninjector_cfc$cf.udfCall(/coldspring/beans/wiring/AbstractBeanInjector.cfc:33):33 at 
railo.runtime.type.UDFImpl.implementation(UDFImpl.java:92):92 at 
railo.runtime.type.UDFImpl._call(UDFImpl.java:303):303 at 
railo.runtime.type.UDFImpl.call(UDFImpl.java:207):207 at 
railo.runtime.ComponentImpl._call(ComponentImpl.java:624):624 at 
railo.runtime.ComponentImpl._call(ComponentImpl.java:507):507 at 
railo.runtime.ComponentImpl.call(ComponentImpl.java:1735):1735 at 
railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:722):722 at 
railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1518):1518 at 
orm.hibernate.beaninjectoreventhandler_cfc$cf.udfCall1(/coldspring/orm/hibernate/BeanInjectorEventHandler.cfc:61):61 at 
orm.hibernate.beaninjectoreventhandler_cfc$cf.udfCall(/coldspring/orm/hibernate/BeanInjectorEventHandler.cfc):-1 at 
railo.runtime.type.UDFImpl.implementation(UDFImpl.java:92):92 at 
railo.runtime.type.UDFImpl._call(UDFImpl.java:303):303 at 
railo.runtime.type.UDFImpl.call(UDFImpl.java:207):207 at 
railo.runtime.ComponentImpl._call(ComponentImpl.java:624):624 at 
railo.runtime.ComponentImpl._call(ComponentImpl.java:507):507 at 
railo.runtime.ComponentImpl.call(ComponentImpl.java:1735):1735 at 
railo.runtime.orm.hibernate.event.EventListener.invoke(EventListener.java:83):83 at 
railo.runtime.orm.hibernate.event.EventListener.invoke(EventListener.java:67):67 at 
railo.runtime.orm.hibernate.event.EventListener.invoke(EventListener.java:57):57 at 
railo.runtime.orm.hibernate.event.AllEventListener.onPostLoad(AllEventListener.java:57):57 at 
org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:234):234 at 
org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:898):898 at 
org.hibernate.loader.Loader.doQuery(Loader.java:773):773 at 
org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:270):270 at 
org.hibernate.loader.Loader.doList(Loader.java:2449):2449 at 
org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2192):2192 at 
org.hibernate.loader.Loader.list(Loader.java:2187):2187 at 
org.hibernate.loader.criteria.CriteriaLoader.list(CriteriaLoader.java:119):119 at 
org.hibernate.impl.SessionImpl.list(SessionImpl.java:1706):1706 at 
org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:347):347 at 
railo.runtime.orm.hibernate.HibernateORMSession.load(HibernateORMSession.java:632):632 at 
railo.runtime.orm.hibernate.HibernateORMSession.loadAsArray(HibernateORMSession.java:458):458 at 
railo.runtime.functions.orm.EntityLoad.call(EntityLoad.java:63):63 at 
base.gateway_cfc$cf.udfCall1(/model/base/gateway.cfc:24):24 at 
base.gateway_cfc$cf.udfCall(/model/base/gateway.cfc):-1 at 
railo.runtime.type.UDFImpl.implementation(UDFImpl.java:92):92 at 
railo.runtime.type.UDFImpl._call(UDFImpl.java:303):303 at 
railo.runtime.type.UDFImpl.call(UDFImpl.java:207):207 at 
railo.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:704):704 at 
railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:722):722 at 
railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1518):1518 at 
base.gateway_cfc$cf.udfCall1(/model/base/gateway.cfc:20):20 at 
base.gateway_cfc$cf.udfCall(/model/base/gateway.cfc):-1 at 
railo.runtime.type.UDFImpl.implementation(UDFImpl.java:92):92 at 
railo.runtime.type.UDFImpl._call(UDFImpl.java:303):303 at 
railo.runtime.type.UDFImpl.call(UDFImpl.java:207):207 at 
railo.runtime.ComponentImpl._call(ComponentImpl.java:624):624 at 
railo.runtime.ComponentImpl._call(ComponentImpl.java:507):507 at 
railo.runtime.ComponentImpl.call(ComponentImpl.java:1735):1735 at 
railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:722):722 at 
railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1518):1518 at 
solution.solutionservice_cfc$cf.udfCall1(/model/solution/SolutionService.cfc:19):19 at 
solution.solutionservice_cfc$cf.udfCall(/model/solution/SolutionService.cfc):-1 at 
railo.runtime.type.UDFImpl.implementation(UDFImpl.java:92):92 at 
railo.runtime.type.UDFImpl._call(UDFImpl.java:303):303 at 
railo.runtime.type.UDFImpl.call(UDFImpl.java:207):207 at 
railo.runtime.ComponentImpl._call(ComponentImpl.java:624):624 at 
railo.runtime.ComponentImpl._call(ComponentImpl.java:507):507 at 
railo.runtime.ComponentImpl.call(ComponentImpl.java:1735):1735 at 
railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:722):722 at 
railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1518):1518 at 
home.controllers.solution_cfc$cf.udfCall1(/modules/home/controllers/solution.cfc:38):38 at 
home.controllers.solution_cfc$cf.udfCall(/modules/home/controllers/solution.cfc):-1 at 
railo.runtime.type.UDFImpl.implementation(UDFImpl.java:92):92 at 
railo.runtime.type.UDFImpl._call(UDFImpl.java:303):303 at 
railo.runtime.type.UDFImpl.call(UDFImpl.java:207):207 at 
railo.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:704):704 at 
railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:722):722 at 
railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1518):1518 at 
home.controllers.solution_cfc$cf.udfCall1(/modules/home/controllers/solution.cfc:19):19 at 
home.controllers.solution_cfc$cf.udfCall(/modules/home/controllers/solution.cfc):-1 at 
railo.runtime.type.UDFImpl.implementation(UDFImpl.java:92):92 at 
railo.runtime.type.UDFImpl._call(UDFImpl.java:303):303 at 
railo.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:194):194 at 
railo.runtime.ComponentImpl._call(ComponentImpl.java:625):625 at 
railo.runtime.ComponentImpl._call(ComponentImpl.java:507):507 at 
railo.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:1748):1748 at 
railo.runtime.tag.Invoke.doComponent(Invoke.java:203):203 at 
railo.runtime.tag.Invoke.doEndTag(Invoke.java:176):176 at 
core.reflect.method_cfc$cf.udfCall1(/coldspring/core/reflect/Method.cfc:73):73 at 
core.reflect.method_cfc$cf.udfCall(/coldspring/core/reflect/Method.cfc):-1 at 
railo.runtime.type.UDFImpl.implementation(UDFImpl.java:92):92 at 
railo.runtime.type.UDFImpl._call(UDFImpl.java:303):303 at 
railo.runtime.type.UDFImpl.call(UDFImpl.java:207):207 at 
railo.runtime.ComponentImpl._call(ComponentImpl.java:624):624 at 
railo.runtime.ComponentImpl._call(ComponentImpl.java:507):507 at 
railo.runtime.ComponentImpl.call(ComponentImpl.java:1735):1735 at 
railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:722):722 at 
railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1518):1518 at 
aop.methodinvocation_cfc$cf.udfCall(/coldspring/aop/MethodInvocation.cfc:49):49 at 
railo.runtime.type.UDFImpl.implementation(UDFImpl.java:92):92 at 
railo.runtime.type.UDFImpl._call(UDFImpl.java:303):303 at 
railo.runtime.type.UDFImpl.call(UDFImpl.java:207):207 at 
railo.runtime.ComponentImpl._call(ComponentImpl.java:624):624 at 
railo.runtime.ComponentImpl._call(ComponentImpl.java:507):507 at 
railo.runtime.ComponentImpl.call(ComponentImpl.java:1735):1735 at 
railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:722):722 at 
railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1518):1518 at 
aop.controllermethodauthorizationinterceptor_cfc$cf.udfCall(/model/aop/ControllerMethodAuthorizationInterceptor.cfc:21):21 at 
railo.runtime.type.UDFImpl.implementation(UDFImpl.java:92):92 at 
railo.runtime.type.UDFImpl._call(UDFImpl.java:303):303 at 
railo.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:194):194 at 
railo.runtime.ComponentImpl._call(ComponentImpl.java:625):625 at 
railo.runtime.ComponentImpl._call(ComponentImpl.java:507):507 at 
railo.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:1748):1748 at 
railo.runtime.tag.Invoke.doComponent(Invoke.java:203):203 at 
railo.runtime.tag.Invoke.doEndTag(Invoke.java:176):176 at 
aop.framework.adapter.methodinvocationadviceinterceptor_cfc$cf.udfCall(/coldspring/aop/framework/adapter/MethodInvocationAdviceInterceptor.cfc:69):69 at 
railo.runtime.type.UDFImpl.implementation(UDFImpl.java:92):92 at 
railo.runtime.type.UDFImpl._call(UDFImpl.java:303):303 at 
railo.runtime.type.UDFImpl.call(UDFImpl.java:207):207 at 
railo.runtime.ComponentImpl._call(ComponentImpl.java:624):624 at 
railo.runtime.ComponentImpl._call(ComponentImpl.java:507):507 at 
railo.runtime.ComponentImpl.call(ComponentImpl.java:1735):1735 at 
railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:722):722 at 
railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1518):1518 at 
aop.methodinvocation_cfc$cf.udfCall(/coldspring/aop/MethodInvocation.cfc:46):46 at 
railo.runtime.type.UDFImpl.implementation(UDFImpl.java:92):92 at 
railo.runtime.type.UDFImpl._call(UDFImpl.java:303):303 at 
railo.runtime.type.UDFImpl.call(UDFImpl.java:207):207 at 
railo.runtime.ComponentImpl._call(ComponentImpl.java:624):624 at 
railo.runtime.ComponentImpl._call(ComponentImpl.java:507):507 at 
railo.runtime.ComponentImpl.call(ComponentImpl.java:1735):1735 at 
railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:722):722 at 
railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1518):1518 at 
aop.controllermethodauthorizationinterceptor_cfc$cf.udfCall(/model/aop/ControllerMethodAuthorizationInterceptor.cfc:21):21 at 
railo.runtime.type.UDFImpl.implementation(UDFImpl.java:92):92 at 
railo.runtime.type.UDFImpl._call(UDFImpl.java:303):303 at 
railo.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:194):194 at 
railo.runtime.ComponentImpl._call(ComponentImpl.java:625):625 at 
railo.runtime.ComponentImpl._call(ComponentImpl.java:507):507 at 
railo.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:1748):1748 at 
railo.runtime.tag.Invoke.doComponent(Invoke.java:203):203 at 
railo.runtime.tag.Invoke.doEndTag(Invoke.java:176):176 at 
aop.framework.adapter.methodinvocationadviceinterceptor_cfc$cf.udfCall(/coldspring/aop/framework/adapter/MethodInvocationAdviceInterceptor.cfc:69):69 at 
railo.runtime.type.UDFImpl.implementation(UDFImpl.java:92):92 at 
railo.runtime.type.UDFImpl._call(UDFImpl.java:303):303 at 
railo.runtime.type.UDFImpl.call(UDFImpl.java:207):207 at 
railo.runtime.ComponentImpl._call(ComponentImpl.java:624):624 at 
railo.runtime.ComponentImpl._call(ComponentImpl.java:507):507 at 
railo.runtime.ComponentImpl.call(ComponentImpl.java:1735):1735 at 
railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:722):722 at 
railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1518):1518 at 
aop.methodinvocation_cfc$cf.udfCall(/coldspring/aop/MethodInvocation.cfc:46):46 at 
railo.runtime.type.UDFImpl.implementation(UDFImpl.java:92):92 at 
railo.runtime.type.UDFImpl._call(UDFImpl.java:303):303 at 
railo.runtime.type.UDFImpl.call(UDFImpl.java:207):207 at 
railo.runtime.ComponentImpl._call(ComponentImpl.java:624):624 at 
railo.runtime.ComponentImpl._call(ComponentImpl.java:507):507 at 
railo.runtime.ComponentImpl.call(ComponentImpl.java:1735):1735 at 
railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:722):722 at 
railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1518):1518 at 
aop.framework.proxyinvocationhandler_cfc$cf.udfCall1(/coldspring/aop/framework/ProxyInvocationHandler.cfc:68):68 at 
aop.framework.proxyinvocationhandler_cfc$cf.udfCall(/coldspring/aop/framework/ProxyInvocationHandler.cfc):-1 at 
railo.runtime.type.UDFImpl.implementation(UDFImpl.java:92):92 at 
railo.runtime.type.UDFImpl._call(UDFImpl.java:303):303 at 
railo.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:194):194 at 
railo.runtime.ComponentImpl._call(ComponentImpl.java:625):625 at 
railo.runtime.ComponentImpl._call(ComponentImpl.java:507):507 at 
railo.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:1752):1752 at 
railo.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:748):748 at 
railo.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1528):1528 at 
core.proxy.dynamicproxyfactory_cfc$cf.udfCall1(/coldspring/core/proxy/DynamicProxyFactory.cfc:153):153 at 
core.proxy.dynamicproxyfactory_cfc$cf.udfCall(/coldspring/core/proxy/DynamicProxyFactory.cfc):-1 at 
railo.runtime.type.UDFImpl.implementation(UDFImpl.java:92):92 at 
railo.runtime.type.UDFImpl._call(UDFImpl.java:303):303 at 
railo.runtime.type.UDFImpl.call(UDFImpl.java:207):207 at 
railo.runtime.ComponentImpl._call(ComponentImpl.java:624):624 at 
railo.runtime.ComponentImpl.onMissingMethod(ComponentImpl.java:548):548 at 
railo.runtime.ComponentImpl._call(ComponentImpl.java:509):509 at 
railo.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:1752):1752 at 
railo.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:748):748 at 
railo.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:742):742 at 
railo.runtime.util.VariableUtilImpl.callFunction(VariableUtilImpl.java:708):708 at 
railo.runtime.interpreter.ref.func.UDFCall.getValue(UDFCall.java:47):47 at 
railo.runtime.interpreter.CFMLExpressionInterpreter.interpret(CFMLExpressionInterpreter.java:194):194 at 
railo.runtime.functions.dynamicEvaluation.Evaluate._call(Evaluate.java:91):91 at 
railo.runtime.functions.dynamicEvaluation.Evaluate.call(Evaluate.java:84):84 at 
railo.runtime.functions.dynamicEvaluation.Evaluate.call(Evaluate.java:25):25 at 
fw1.framework_cfc$cf.udfCall7(/net/m0nk3y/cyril/fw1/framework.cfc:1209):1209 at 
fw1.framework_cfc$cf.udfCall(/net/m0nk3y/cyril/fw1/framework.cfc):-1 at 
railo.runtime.type.UDFImpl.implementation(UDFImpl.java:92):92 at 
railo.runtime.type.UDFImpl._call(UDFImpl.java:303):303 at 
railo.runtime.type.UDFImpl.call(UDFImpl.java:207):207 at 
railo.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:704):704 at 
railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:722):722 at 
railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1518):1518 at 
fw1.framework_cfc$cf.udfCall4(/net/m0nk3y/cyril/fw1/framework.cfc:679):679 at 
fw1.framework_cfc$cf.udfCall(/net/m0nk3y/cyril/fw1/framework.cfc):-1 at 
railo.runtime.type.UDFImpl.implementation(UDFImpl.java:92):92 at 
railo.runtime.type.UDFImpl._call(UDFImpl.java:303):303 at 
railo.runtime.type.UDFImpl.call(UDFImpl.java:207):207 at 
railo.runtime.ComponentImpl._call(ComponentImpl.java:624):624 at 
railo.runtime.ComponentImpl._call(ComponentImpl.java:507):507 at 
railo.runtime.ComponentImpl.call(ComponentImpl.java:1735):1735 at 
railo.runtime.listener.ModernAppListener.call(ModernAppListener.java:390):390 at 
railo.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:206):206 at 
railo.runtime.listener.ModernAppListener.onRequest(ModernAppListener.java:86):86 at 
railo.runtime.PageContextImpl.execute(PageContextImpl.java:2182):2182 at 
railo.runtime.PageContextImpl.execute(PageContextImpl.java:2149):2149 at 
railo.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:332):332 at 
railo.loader.servlet.CFMLServlet.service(CFMLServlet.java:29):29 at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:728):728 at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305):305 at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210):210 at 
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51):51 at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243):243 at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210):210 at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749):749 at 
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487):487 at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412):412 at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339):339 at 
org.tuckey.web.filters.urlrewrite.NormalRewrittenUrl.doRewrite(NormalRewrittenUrl.java:213):213 at 
org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:171):171 at 
org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145):145 at 
org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92):92 at 
org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394):394 at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243):243 at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210):210 at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222):222 at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123):123 at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171):171 at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100):100 at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953):953 at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118):118 at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408):408 at 
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041):1041 at 
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603):603 at 
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312):312 at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145):1145 at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615):615 at 
java.lang.Thread.run(Thread.java:722):722

Tom Chiverton

unread,
Jan 20, 2014, 5:12:19 AM1/20/14
to coldspri...@googlegroups.com
Does it correlate with when your application is started after the application scope timeout ?

Tom


--
You received this message because you are subscribed to the Google Groups "ColdSpring-Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to coldspring-use...@googlegroups.com.
To post to this group, send email to coldspri...@googlegroups.com.
Visit this group at http://groups.google.com/group/coldspring-users.
For more options, visit https://groups.google.com/groups/opt_out.



--
Tom

Chris Blackwell

unread,
Jan 21, 2014, 7:22:45 AM1/21/14
to coldspring-users
Hi Tom,

Yes, i assuming it does, although i haven't added any tracing to confirm this is the case.  This is a management/dashboard app and we mostly see this error on a monday morning, so it seems pretty likely.

Its a FW/1 app so i'm creating CS bean factories in setupApplication() with a parent bf for the app, then one for each subsystem created in setupSubSystem().

I've increased the app timeout and added tracing in Class.cfc in the production environment. So we'll see if it goes away.



Mark Mandel

unread,
Jan 21, 2014, 11:26:49 PM1/21/14
to coldspri...@googlegroups.com
I think I remember seeing this occasionally on Railo. It seemed to occasionally clear out cfc metadata every so often or something - it was very odd.

Mark

Tom Chiverton

unread,
Jan 24, 2014, 6:02:31 AM1/24/14
to coldspri...@googlegroups.com

On 21 January 2014 12:22, Chris Blackwell <ch...@team193.com> wrote:
Yes, i assuming it does,

When I had this issue, I made sure the Factory that was being created in onApplicationStart() was inside a lock so it would be single threaded.


--
Tom

Chris Blackwell

unread,
Jan 24, 2014, 6:17:18 AM1/24/14
to coldspring-users
i was under the impression that onApplicationStart was single threaded, but maybe thats a flawed assumption.  It wouldn't hurt to chuck locking around the bf creation.  'll give that a try too

cheers, Chris


--
Reply all
Reply to author
Forward
0 new messages