RE: [coldbox:18146] [coldbox-3.5.3] Coldbox in server scope

No need to move all of ContentBox. Just change the Wirebox scope registration settings. By default WireBox registers itself in the application scope with the key “wirebox”.

http://wiki.coldbox.org/wiki/WireBox.cfm#scopeRegistration

wirebox.scopeRegistration = {
	enabled = true,
	scope   = "server", // server, cluster, session, application
	key		= "sharedWireBoxInstance"
};

Then, you can get to it as server.sharedWireBoxInstance.getInstance()

Just want out for weird scope widening errors if you start storing instances from one application in another and the first application gets shut down. It will be best to always retrieve the instances from WireBox when you need them and not store them anywhere in the other application.

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

So cool.

Thanks.