[coldbox:17890] [wirebox-1.6] Injector.shutdow() fails on standalone

Brian,

I am guessing this code only runs on reinit of your app right?

If that is correct it looks good.

Internally WireBox uses LogBox for helping you debug and do logging, no need to install it or add it, it is part of WireBox.

signature0.jpg

Luis F. Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com

Social: twitter.com/lmajano facebook.com/lmajano

Luis:

That is correct. This is only running when the application is initialized or manually reinitialized. The problem is that I am getting errors on 2 lines in wirebox.system.ioc.Injector::shutdown():

line 175: instance.log.info(“Shutdown of Injector: #getInjectorID()# requested and started.”);

line 199: instance.log.info(“Shutdown of injector: #getInjectorID()# completed.”);

I am not using LogBox. It is throwing the following execption:

Could not find the ColdFusion component or interface wirebox.system.logging.LogEvent.
Ensure that the name is correct and that the component or interface exists.
``
The error occurred in /www/local.word-skill.com/www/org/coldbox/wirebox/system/logging/Logger.cfc: line 313
Called from /www/local.word-skill.com/www/org/coldbox/wirebox/system/logging/Logger.cfc: line 243
Called from /www/local.word-skill.com/www/org/coldbox/wirebox/system/ioc/Injector.cfc: line 175
Called from /www/local.word-skill.com/www/application.cfc: line 51
Called from /www/local.word-skill.com/www/application.cfc: line 39

313 : logEvent = createobject(“component”,“wirebox.system.logging.LogEvent”).init(argumentCollection=arguments);

Digging into this a little bit, it looks like maybe it’s not picking up the mapping from my application.cfc correctly.

this.mappings['/wirebox'] = getDirectoryFromPath(getCurrentTemplatePath()) & "org/coldbox/wirebox";

I am running Adobe ColdFusion: 9,0,1,274733. No need to reply unless you think there is a potential issue/bug. I just wanted you to be aware. :slight_smile:

Brian

Hi Brian,

LogBox is integrated so if it cannot find it, it might be a mapping issue.

signature0.jpg

Luis F. Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com

Social: twitter.com/lmajano facebook.com/lmajano