So, just to be clear, these are separate Mach-II applications (not modules, or includes) that are all under the same Application?
I would imagine that if that is the case, you probably have a mechanism to load ColdSpring in each of those applications, and if that is indeed the case, I suppose it possible that each of those instance is actually being written to the same memory space. Are you pointing to a single CS config file or does each Mach-II application have its own? What I am getting at in those questions is that I can imagine a case where one of the applications may not have the been definition that the others does, and when that application loads, it is overwriting the service factory instance that does contain the bean. Does that fit your scenario? ~Dave Shuck /***************************************** @dshuck - http://daveshuck.com DFW CFML User Group - @dfwcfml *****************************************/ On Thu, Mar 17, 2011 at 9:22 AM, Jeff B <[email protected]> wrote: > Hi, > > We're using Mach-ii 1.6.1 in production (CF9) and have an architecture > with a root application and many sub applications, and many of these > are using ColdSpring. These sub apps are all named the same in > Application.cfc to facilitate session-sharing across applications. One > in particular is also driving a Flex app using a remote facade. > > This last one is causing us problems intermittently when Flex returns > an error from the facade that a particular service bean isn't present > in the service factory. By changing all the application names, we > can force a refresh and functionality is restored, but it is unclear > as to why this is happening in the first place. > > We can obviously work around this by creating the service factory > again in the application scope but would be a hack. We'd like to > understand what is going on. If this has been addressed by a later > version of Mach-ii, we'd like to pursue that as a solution. > > Any advice appreciated. > > Jeff > > -- > Come see Team Mach-II at OpenCFSummit - Feb 21-23, Dallas, TX - > http://www.opencfsummit.org/ > > To post to this group, send email to > [email protected] > For more options and to unsubscribe, visit this group at > http://groups.google.com/group/mach-ii-for-coldfusion?hl=en > > SVN: http://svn.mach-ii.com/machii/ > Wiki / Documentation / Tickets: http://trac.mach-ii.com/machii/ > -- Come see Team Mach-II at OpenCFSummit - Feb 21-23, Dallas, TX - http://www.opencfsummit.org/ To post to this group, send email to [email protected] For more options and to unsubscribe, visit this group at http://groups.google.com/group/mach-ii-for-coldfusion?hl=en SVN: http://svn.mach-ii.com/machii/ Wiki / Documentation / Tickets: http://trac.mach-ii.com/machii/
