CF references CFC paths from the current webroot, the current folder, custom tag paths, and mappings, so if you have c:\inetpub\wwwroot\reactor, you should be fine instantiating reactor.reactorFactory. If you put your Reactor distro in c:\cfusionmx7\custom tags, you should be fine instantiating reactor.reactorFactory.
If you have ApplicationA at c:\inetpub\wwwroot\applicationA and put reactor in the app folder at c:\inetpub\wwwroot\applicationA\reactor and try to instantiate reactor.reactorFactory from /applicationA/index.cfm, it will find the reactorFactory object but blow up trying to find everything else that's supposed to be at /reactor. If you have a /Reactor mapping, you could put Reactor at c:\inetpub\wwwroot\applicationA\reactor, since there are dependencies on the path /reactor, (for returntype and type attributes in various tags) you're asking for trouble because CF prefers a local path to a root path if one exists and you'll get various errors depending on what's going on. You could end up with a bunch of "Object X tried to return an object of type applicationa.reactor.project.... when it should be returning an object of type reactor.project.yadda.DAO.etc" errors instead of the correct objects. All in all, your best bet is to put reactor at c:\inetpub\wwwroot\reactor and leave it there. Let the Reactor files themselves and CF manage the various paths you need to get to things. IF, however, you want to have c:\inetpub\wwwroot\applicationA\reactor contain your project files, that's fine since the project files are generated with the right paths from the get-go, you'd put /applicationa/reactor in the config file or your coldspring config under the "mapping" attribute (yes, this is confusing... it's not a CF mapping, it's where you want Reactor to store the generated, persistent versions of the files it creates... DAO, metadata, dictionary, gateway, TO, record and validator). I hope that provides more clarity than confusion... Laterz, J On Wed, 26 Jul 2006 23:32:01 +0100 "Kevin Roche" <[EMAIL PROTECTED]> wrote: > I deleted the mapping to /reactor on my laptop which is > running IIS on > Windows 2000 Pro. It still works, as far as I can tell! > So the mapping was > not really needed. > > Will have to try it on a Windows 2000 server where IIS > mappings are set for > multiple hosts and see what that does. > > I will let you know. > > Kevin > -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Reactor for ColdFusion Mailing List [email protected] Archives at: http://www.mail-archive.com/reactor%40doughughes.net/ -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
