I'm getting this error on a
an app that was initially deployed with an old version of Reactor.The parameter USERNAME to function init is required but was not passed in.The error occurred in objectFactory.cfc: line 96 Called from objectFactory.cfc: line 29 Called from D:\hshome\wayn0\customTags\reactor\reactorFactory.cfc: line 35 Called from D:\hshome\wayn0\customTags\wbm\admin\listeners\casestudies\casestudyListener.cfc: line 8 I just grabbed the latest Reactor out of SVN and put it on my server. "New" apps that were deployed under this install run fine but this "older" site now gives the above error. I am using Mach-ii and set up my Reactor Gateways etc in the init function of my listeners like this -- feel free to tell me that this is wrong (if it is) <cffunction name="init"> <cfset reactorObj = CreateObject("Component", "reactor.reactorFactory").init(expandPath("config/reactor.xml")) /> <cfset casestudyGateway = reactorObj.createGateway("casestudies") />> <cfset casestudyRecord = reactorObj.createRecord("casestudies") /> <cfset mediacasestudiesGateway = reactorObj.createGateway("mediacasestudies") /> <cfset casestudiesworktypesGateway = reactorObj.createGateway("casestudiesworktypes") /> <cfset worktypesGateway = reactorObj.createGateway("worktypes") /> </cffunction> My reactor config looks like this <project value="wbm" /> <dsn value="wbm" /> <type value="mysql" /> <mapping value="/wbmModel" /> <mode value="development" /> This exact same app runs fine on my development box and the problem is with a live deployment on a server I can't just cycle. I see in the archives mention of a similar problem that Michael mentions he thought involved an Application variable not set properly. Any hints? thanks in advance Wayne McFetridge -- Reactor for ColdFusion Mailing List -- [email protected] -- Archives at http://www.mail-archive.com/reactor%40doughughes.net/ |
- [Reactor For CF] The parameter USERNAME to function init ... Wayne McFetridge
- Re: [Reactor For CF] The parameter USERNAME to funct... Sean Corfield
- Re: [Reactor For CF] The parameter USERNAME to f... Wayne McFetridge
- Re: [Reactor For CF] The parameter USERNAME ... Sean Corfield
- Re: [Reactor For CF] The parameter USERNAME to f... Brian Rinaldi
- RE: [Reactor For CF] The parameter USERNAME ... Doug Hughes
- Re: [Reactor For CF] The parameter USERN... Brian Rinaldi
- Re: [Reactor For CF] The parameter ... Wayne McFetridge
- Re: SPAM LOW: [Reactor For CF] The parameter USERNA... Brian Rinaldi
- Re: SPAM LOW: [Reactor For CF] The parameter US... Wayne McFetridge

