BTW, the start of that stack trace there, line 19 in the controller is this:
<cfset var SecurityService = getModelGlue().getBean("SecurityService") />

On Wednesday, March 12, 2014 4:19:13 PM UTC-5, Ryan Stille wrote:
>
> Hi, I'm trying to track down why I'm getting cflock timeouts when I reinit 
> my MG app. I'm running MG 3.1.299, ColdSpring 1.2, on CF10.
>
> We recently added a new service to our ColdSpring configuration. Now 
> whenever I reinit my app (90% of the time) I get an exception:
>
> A timeout occurred while attempting to lock 
> bf_2FF19388-5056-8039-313716B9BA80BB20.bean_SessionService.
>  C:\inetpub\wwwroot\coldspring\beans\DefaultXmlBeanFactory.cfc (756)
> C:\inetpub\wwwroot\coldspring\beans\DefaultXmlBeanFactory.cfc (632)
> C:\inetpub\wwwroot\ModelGlue\gesture\externaladapters\ioc\ColdSpringAdapter.cfc
>  
> (46)
> C:\inetpub\wwwroot\ModelGlue\gesture\ModelGlue.cfc (228)
> C:\inetpub\wwwroot\navpointcx\controller\Controller.cfc (19)
>
> I've added debugging code to ColdSpring to log when beans are created and 
> inited. They all take < 10ms. The "init" method on this new service just 
> sets 2 config values and then returns "this". There's nothing in here that 
> I can see that would be slowing things down.
>
> I could see how other requests might get a lock timeout while they wait 
> for me to reinit the framework, but I don't understand why *I* am getting 
> a lock timeout since I'm the one reinitalizing.
> How is another request creating beans and blocking me? Shouldn't only my 
> request be the one creating beans?
>
> I only get the timeout in production so it's hard to troubleshoot.
>
> Thanks for any help.
>

-- 
-- 
Model-Glue Sites:
Home Page: http://www.model-glue.com
Documentation: http://docs.model-glue.com
Bug Tracker: http://bugs.model-glue.com
Blog: http://www.model-glue.com/blog

You received this message because you are subscribed to the Google
Groups "model-glue" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/model-glue?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"model-glue" 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/d/optout.

Reply via email to