What kind of Mach II logging if any do you have configured?

On Tue, May 21, 2013 at 11:17 AM, elfpro <[email protected]> wrote:

> All,
>
> I've got a weird error that keep popping up randomly on a new site built on
> MachII 1.8 and Railo.
>
> It appears to be getting caught on some lock within the MachII code, but I
> am not sure why or what the root cause may be.  Here is the error message
> displayed:
>
> Railo 4.0.2.002 Error (java.lang.InterruptedException)  Message
> java.lang.InterruptedException  Cause java.lang.InterruptedException
> Stacktrace The Error Occurred in
>  * /home/sharprod/public_html/MachII/logging/LogFactory.cfc: line 90*
>
> 88:
> 89: <!--- Single thread this since we want to keep the log cache from
> overwritting an entry --->
> *90: <cflock name="_MachIILogFactory.channel_#channelHash#"
> type="exclusive" timeout="10" throwontimeout="true">*
> 91: <cfif hasInCache(arguments.channel)>
> 92: <cfset log = getFromCache(arguments.channel) />
>
>  *called from*/home/sharprod/public_html/MachII/framework/ViewContext.cfc:
> line 64
>
>
>
>
>
>
>
>  *called from*/home/sharprod/public_html/MachII/framework/EventContext.cfc:
> line 97
>
>
>
>
>
>
>
>  *called from*/home/sharprod/public_html/MachII/framework/RequestHandler.cfc:
> line 249
>
>
>
>
>
>
>
>  *called from*/home/sharprod/public_html/MachII/framework/RequestHandler.cfc:
> line 367
>
>
>
>
>
>
>
>  *called from*/home/sharprod/public_html/MachII/framework/RequestHandler.cfc:
> line 327
>
>
>
>
>
>
>
>  *called from*/home/sharprod/public_html/MachII/framework/RequestHandler.cfc:
> line 271
>
>
>
>
>
>
>
>  *called from*/home/sharprod/public_html/MachII/framework/RequestHandler.cfc:
> line 201
>
>
>
>
>
>
>
>  *called from*/home/sharprod/public_html/MachII/mach-ii.cfc: line 195
>
>
>
>
>
>
>
>  *called from*/home/sharprod/public_html/MachII/mach-ii.cfc: line 113
>
>
>
>
>
>
>
>   Java Stacktrace java.lang.InterruptedException
>    at
> java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireNanos(Unknown
> Source):-1
>    at
> java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock.tryLock(Unknown
> Source):-1
>    at railo.commons.lock.rw.RWLock.lock(RWLock.java:30):30
>    at railo.commons.lock.rw.RWWrap.lock(RWKeyLock.java:107):107
>    at railo.commons.lock.rw.RWKeyLock.lock(RWKeyLock.java:35):35
>    at railo.runtime.lock.LockManagerImpl.lock(LockManagerImpl.java:39):39
>    at railo.runtime.tag.Lock.doStartTag(Lock.java:218):218
>    at
> logging.logfactory_cfc$cf._1(/home/sharprod/public_html/MachII/logging/LogFactory.cfc:90):90
>    at
> logging.logfactory_cfc$cf.udfCall(/home/sharprod/public_html/MachII/logging/LogFactory.cfc):-1
>    at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:103):103
>    at railo.runtime.type.UDFImpl._call(UDFImpl.java:371):371
>    at railo.runtime.type.UDFImpl.call(UDFImpl.java:284):284
>    at railo.runtime.ComponentImpl._call(ComponentImpl.java:607):607
>    at railo.runtime.ComponentImpl._call(ComponentImpl.java:490):490
>    at railo.runtime.ComponentImpl.call(ComponentImpl.java:1781):1781
>    at
> railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:723):723
>    at
> railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1506):1506
>    at
> framework.viewcontext_cfc$cf._1(/home/sharprod/public_html/MachII/framework/ViewContext.cfc:64):64
>    at
> framework.viewcontext_cfc$cf.udfCall(/home/sharprod/public_html/MachII/framework/ViewContext.cfc):-1
>    at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:103):103
>    at railo.runtime.type.UDFImpl._call(UDFImpl.java:371):371
>    at railo.runtime.type.UDFImpl.call(UDFImpl.java:284):284
>    at railo.runtime.ComponentImpl._call(ComponentImpl.java:607):607
>    at railo.runtime.ComponentImpl._call(ComponentImpl.java:490):490
>    at railo.runtime.ComponentImpl.call(ComponentImpl.java:1781):1781
>    at
> railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:723):723
>    at
> railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1506):1506
>    at
> framework.eventcontext_cfc$cf._1(/home/sharprod/public_html/MachII/framework/EventContext.cfc:97):97
>    at
> framework.eventcontext_cfc$cf.udfCall(/home/sharprod/public_html/MachII/framework/EventContext.cfc):-1
>    at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:103):103
>    at railo.runtime.type.UDFImpl._call(UDFImpl.java:371):371
>    at railo.runtime.type.UDFImpl.call(UDFImpl.java:284):284
>    at railo.runtime.ComponentImpl._call(ComponentImpl.java:607):607
>    at railo.runtime.ComponentImpl._call(ComponentImpl.java:490):490
>    at railo.runtime.ComponentImpl.call(ComponentImpl.java:1781):1781
>    at
> railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:723):723
>    at
> railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1506):1506
>    at
> framework.requesthandler_cfc$cf._1(/home/sharprod/public_html/MachII/framework/RequestHandler.cfc:249):249
>    at
> framework.requesthandler_cfc$cf.udfCall(/home/sharprod/public_html/MachII/framework/RequestHandler.cfc):-1
>    at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:103):103
>    at railo.runtime.type.UDFImpl._call(UDFImpl.java:371):371
>    at railo.runtime.type.UDFImpl.call(UDFImpl.java:284):284
>    at
> railo.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:774):774
>    at
> railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:723):723
>    at
> railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1506):1506
>    at
> framework.requesthandler_cfc$cf._1(/home/sharprod/public_html/MachII/framework/RequestHandler.cfc:367):367
>    at
> framework.requesthandler_cfc$cf.udfCall(/home/sharprod/public_html/MachII/framework/RequestHandler.cfc):-1
>    at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:103):103
>    at railo.runtime.type.UDFImpl._call(UDFImpl.java:371):371
>    at railo.runtime.type.UDFImpl.call(UDFImpl.java:284):284
>    at
> railo.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:774):774
>    at
> railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:723):723
>    at
> railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1506):1506
>    at
> framework.requesthandler_cfc$cf._1(/home/sharprod/public_html/MachII/framework/RequestHandler.cfc:327):327
>    at
> framework.requesthandler_cfc$cf.udfCall(/home/sharprod/public_html/MachII/framework/RequestHandler.cfc):-1
>    at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:103):103
>    at railo.runtime.type.UDFImpl._call(UDFImpl.java:371):371
>    at railo.runtime.type.UDFImpl.call(UDFImpl.java:284):284
>    at
> railo.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:774):774
>    at
> railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:723):723
>    at
> railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1506):1506
>    at
> framework.requesthandler_cfc$cf._1(/home/sharprod/public_html/MachII/framework/RequestHandler.cfc:271):271
>    at
> framework.requesthandler_cfc$cf.udfCall(/home/sharprod/public_html/MachII/framework/RequestHandler.cfc):-1
>    at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:103):103
>    at railo.runtime.type.UDFImpl._call(UDFImpl.java:371):371
>    at railo.runtime.type.UDFImpl.call(UDFImpl.java:284):284
>    at
> railo.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:774):774
>    at
> railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:723):723
>    at
> railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1506):1506
>    at
> framework.requesthandler_cfc$cf._1(/home/sharprod/public_html/MachII/framework/RequestHandler.cfc:201):201
>    at
> framework.requesthandler_cfc$cf.udfCall(/home/sharprod/public_html/MachII/framework/RequestHandler.cfc):-1
>    at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:103):103
>    at railo.runtime.type.UDFImpl._call(UDFImpl.java:371):371
>    at railo.runtime.type.UDFImpl.call(UDFImpl.java:284):284
>    at railo.runtime.ComponentImpl._call(ComponentImpl.java:607):607
>    at railo.runtime.ComponentImpl._call(ComponentImpl.java:490):490
>    at railo.runtime.ComponentImpl.call(ComponentImpl.java:1781):1781
>    at
> railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:723):723
>    at
> railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1506):1506
>    at
> sharedinc.machii.mach_ii_cfc225$cf._1(/home/sharprod/public_html/MachII/mach-ii.cfc:195):195
>    at
> sharedinc.machii.mach_ii_cfc225$cf.udfCall(/home/sharprod/public_html/MachII/mach-ii.cfc):-1
>    at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:103):103
>    at railo.runtime.type.UDFImpl._call(UDFImpl.java:371):371
>    at railo.runtime.type.UDFImpl.call(UDFImpl.java:284):284
>    at
> railo.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:774):774
>    at
> railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:723):723
>    at
> railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1506):1506
>    at
> sharedinc.machii.mach_ii_cfc225$cf._1(/home/sharprod/public_html/MachII/mach-ii.cfc:113):113
>    at
> sharedinc.machii.mach_ii_cfc225$cf.udfCall(/home/sharprod/public_html/MachII/mach-ii.cfc):-1
>    at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:103):103
>    at railo.runtime.type.UDFImpl._call(UDFImpl.java:371):371
>    at railo.runtime.type.UDFImpl.call(UDFImpl.java:284):284
>    at railo.runtime.ComponentImpl._call(ComponentImpl.java:607):607
>    at railo.runtime.ComponentImpl._call(ComponentImpl.java:490):490
>    at railo.runtime.ComponentImpl.call(ComponentImpl.java:1781):1781
>    at
> railo.runtime.listener.ModernAppListener.call(ModernAppListener.java:346):346
>    at
> railo.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:107):107
>    at
> railo.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:18):18
>    at railo.runtime.PageContextImpl.execute(PageContextImpl.java:2255):2255
>    at railo.runtime.PageContextImpl.execute(PageContextImpl.java:2222):2222
>    at
> railo.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:310):310
>    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.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222):222
>    at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123):123
>    at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472):472
>    at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171):171
>    at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99):99
>    at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118):118
>    at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407):407
>    at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:200):200
>    at
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589):589
>    at
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310):310
>    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source):-1
>    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source):-1
>    at java.lang.Thread.run(Unknown Source):-1
>
>
>
>
> Thanks for the insight,
>
> Ben Ellefson
>
>  --
> --
> For more options and to unsubscribe, visit this group at
> http://groups.google.com/group/mach-ii-for-coldfusion?hl=en
>
> Git & Wiki: https://github.com/Mach-II/Mach-II-Framework
> ---
> You received this message because you are subscribed to the Google Groups
> "Mach-II for CFML" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
--
For more options and to unsubscribe, visit this group at 
http://groups.google.com/group/mach-ii-for-coldfusion?hl=en

Git & Wiki: https://github.com/Mach-II/Mach-II-Framework
--- 
You received this message because you are subscribed to the Google Groups 
"Mach-II for CFML" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to