I've run into a phenomena I have no explanation for, and I'm looking for 
advice.  Here's the scenario:

I've added a function loadFramework() to my Application.cfc that is run during 
onApplicationStart().

Then I've got a remote façade that is being used to provide services to a Flex 
2 app, using CFMX 7.02 as the backend.

Periodically, I'm getting an error : Element SERVICEFACTORY is undefined in a 
Java object of type class [Ljava.lang.String; referenced as ". Note: 
SERVICEFACTORY is residing in the application scope.

This error disappears if I reload ColdSpring.  I could work around it by 
checking for it's existence in my Remote façade and loading it, but that is a 
kludge. What I don't understand is how my SERVICEFACTORY could not exist in the 
application scope if onApplicationStart() is reloading my framework.

Note my call to loadFramework() isn't CFLOCKed although the code in the 
function is - perhaps it should be? To prevent a race condition?

Anyone encountered this or something similar?

Jeff Battershall
Application Architect
Dow Jones Indexes
[EMAIL PROTECTED]
(609) 520-5637 (p)
(484) 477-9900 (c)

Reply via email to