Railo 3.1.2.001 Error
(Transfer.com.factory.exception.AutoWireException)
Error while attempting to autowire object of type
transfer.com.cache.CacheManager
[Line: 30 :: C:\inetpub\wwwroot\transfer\com\exception
\Exception.cfc :: Error while attempting to autowire object of type
transfer.com.cache.provider.ProviderManager ::
[Line: 88 :: C:\inetpub\wwwroot\transfer\com\cache\provider
\EHCacheProvider.cfc :: coldfusion/runtime/TemplateProxy
$InvalidMethodNameException :: ]]
C:\inetpub\wwwroot\transfer\com\exception\Exception.cfc: line 30
28: <cfargument name="detail" hint="the detail in which to throw"
type="string" required="Yes">
29:
30: <cfthrow type="#getMetaData(this).name#"
message="#arguments.message#" detail="#detail#">
31: </cffunction>
I this a known issue? Has anyone else experienced this before?
Many thanks,
Thomas
Maybe this has something to do with loading Transfer into the ColdBox
cache?
- Thomas
Here's the stack trace...
called fromC:\inetpub\wwwroot\cbs-railo\transfer\com\factory\exception
\AutoWireException.cfc: line 31
29: <cfscript>
30: super.init("Error while attempting to autowire object of type
#getMetaData(arguments.target).name#",
31: "<br/>[Line: #arguments.exception.tagContext[1].line# ::
#arguments.exception.tagContext[1].template# ::
#arguments.exception.message# :: #arguments.exception.detail#]");
32: </cfscript>
33: </cffunction>
called fromC:\inetpub\wwwroot\cbs-railo\transfer\com\factory
\AbstractBaseFactory.cfc: line 142
140: catch(any exc)
141: {
142: createObject("component",
"transfer.com.factory.exception.AutoWireException").init(arguments.object,
exc);
143: }
144: </cfscript>
called fromC:\inetpub\wwwroot\cbs-railo\transfer\com\factory
\AbstractBaseFactory.cfc: line 73
71: if(NOT hasSingleton(arguments.class))
72: {
73: object = autowire(createObject("component", arguments.class));
74:
75: setSingleton(object, class);
called fromC:\inetpub\wwwroot\cbs-railo\transfer\com\factory
\Factory.cfc: line 71
69:
70: <cffunction name="getCacheManager" hint="returns the cache
manager" access="public" returntype="transfer.com.cache.CacheManager"
output="false">
71: <cfreturn getSingleton("transfer.com.cache.CacheManager") />
72: </cffunction>
73:
called fromC:\inetpub\wwwroot\cbs-railo\transfer\com\factory
\Factory.cfc: line 78
76: var eventManager =
getSingleton("transfer.com.events.EventManager");
77:
78: eventManager.configure(getCacheManager());
79:
80: return eventManager;
called fromC:\inetpub\wwwroot\cbs-railo\transfer\com\Transfer.cfc:
line 40
38: arguments.factory.getFacadeFactory();
39:
40: setEventManager(arguments.factory.getEventManager());
41:
42: setCacheManager(arguments.factory.getCacheManager());
called fromC:\inetpub\wwwroot\cbs-railo\transfer\TransferFactory.cfc:
line 105
103: setTransactionManager(factory.getTransactionManager());
104:
105: setTransfer(createObject("component",
"transfer.com.Transfer").init(factory));
106: setFactory(factory);
107:
called fromC:\inetpub\wwwroot\cbs-railo\coldbox\system\orm\transfer
\TransferLoader.cfc: line 87
85:
configClassPath=getProperty('TransferConfigurationClassPath'));
86:
87: var TransferFactory =
createObject("component",getProperty('TransferFactoryClassPath')).init(configuration=configuration);
88: var BeanInjectorProperties =
getProperty("BeanInjectorProperties");
89: var TDO = 0;
called fromC:\inetpub\wwwroot\cbs-railo\coldbox\system\beans
\InterceptorState.cfc: line 166
164: <cfinvoke component="#arguments.interceptor#"
method="#getstate()#" returnvariable="results">
165: <cfinvokeargument name="event" value="#arguments.event#">
166: <cfinvokeargument name="interceptData"
value="#arguments.interceptData#">
167: </cfinvoke>
168:
called fromC:\inetpub\wwwroot\cbs-railo\coldbox\system\beans
\InterceptorState.cfc: line 103
101: if( isExecutable(thisInterceptor,arguments.event) ){
102: // Invoke the execution point
103: stopChain = invoker( thisInterceptor, arguments.event,
arguments.interceptData );
104: // Check for results
105: if( stopChain ){ break; }
called fromC:\inetpub\wwwroot\cbs-railo\coldbox\system\services
\InterceptorService.cfc: line 95
93: // Execute Interception
94: timerHash =
controller.getDebuggerService().timerStart("interception
[#arguments.state#]");
95: structFind( getinterceptionStates(),
arguments.state).process(controller.getRequestService().getContext(),arguments.interceptData);
96: controller.getDebuggerService().timerEnd(timerHash);
97: }
called fromC:\inetpub\wwwroot\cbs-railo\coldbox\system\services
\LoaderService.cfc: line 85
83:
84: // Execute afterConfigurationLoad
85:
controller.getInterceptorService().processState("afterConfigurationLoad");
86:
87: // Register Aspects
called fromC:\inetpub\wwwroot\cbs-railo\coldbox\system\Coldbox.cfc:
line 71
69: application[appKey] =
CreateObject("component","coldbox.system.web.Controller").init(COLDBOX_APP_ROOT_PATH);
70: // Setup the Framework And Application
71:
application[appKey].getLoaderService().loadApplication(COLDBOX_CONFIG_FILE,COLDBOX_APP_MAPPING);
72: </cfscript>
73: </cffunction>
called fromC:\inetpub\wwwroot\cbs-railo\Application.cfc: line 37
>> The EHCacheProvider won't work on Railo,
>> as it uses the JavaLoader's dynamic Proxy.
>> I'm waiting on Luis to move his CacheBox project
>> as a seperate project so there is a pluggable cache for all versions of CF.
>> Mark