Lock error when using "SecurityService" bean

4 views
Skip to first unread message

Jason Durham

unread,
Nov 13, 2009, 11:17:16 AM11/13/09
to col...@googlegroups.com
CB 2.6.4
Transfer 1.1
Coldspring 1.2

I have a bean in coldspring.xml.cfm called SecurityService located
under my web root. When I attempt to load the app with this
declaration, the add bombs out with a lock error pointing to
Coldbox.cfc. Subsequent attempt to load results in this JRun servlet
error..

500

ROOT CAUSE:
coldfusion.runtime.EventHandlerException: Event handler exception.
at coldfusion.runtime.AppEventInvoker.onRequestStart(AppEventInvoker.java:229)
at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:264)
at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48)
at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
................

I've tried emptying SecurityService.cfc except for the <cfcomponent>
tags... and also removing autowire=true from the meta data.

The app _will_ load if I change the bean id to something other than
SecurityService. I've found samples on CB's website using a bean with
this name so I'd be surprised to find this was a reserved word.
Anybody have any idea where to go from here?

My bean declaration is simply...
<bean id="SecurityService" class="model.SecurityService" />

I've commented out any calls to SecurityService as well.


--
Jason Durham

Jason Durham

unread,
Nov 13, 2009, 11:29:24 AM11/13/09
to col...@googlegroups.com
Disregard this. I'm not sure what the problem or fix was... but the
app is loading after a CF restart (did multiple before posting here)
and creating a new SecurityService.
--
Jason Durham

Jason Durham

unread,
Nov 13, 2009, 11:43:55 AM11/13/09
to col...@googlegroups.com
Figured out what's causing the issue.... it was related to autowiring.

My UserService has a <cfproperty> for SecurityService and my
SecurityService has a <cfproperty> for UserService. If I comment out
either <cfproperty>, the app loads.
--
Jason Durham
Reply all
Reply to author
Forward
0 new messages