Your link is using a relative path from the current directory (of the
template that is running), which won't work. What you want is either a
hardcoded path (/myapp/config/reactor.xml) or force it to use a path
relative to the Application.cfc file (which I think you can get via
getBaseTemplatePath()). The reason it works if you call the home page is
because your home page must be in the same folder as Application.cfc, so the
relative link will work correctly in that one case.
On 10/9/07, Mark Hosny <[EMAIL PROTECTED]> wrote:
>
> Hey guys,
>
> I recently updated our site using application.cfc, and although things are
> working well, I'm getting this error message involving Reactor when trying
> to directly go to a link instead of the home page:
>
> E:\Websites\encfsa\mailinglist/reactor.xml does not exist. This could be
> any link.
> 1. Reactor has no involvement with this particular link
> 2. I can go to any link once I first visit our home page first thing. This
> seems to "activate" things.
> I've place this code in my OnApplicationStart:
>
> <CFSET Application.Reactor = CreateObject("Component", "
> reactor.reactorFactory").init(expandPath(".") & "/reactor.xml") />
>
> Is there a different place to put this, or is there a reason Reactor may
> be trying to get involved?
>
> thanks,
> hoz
>
>
>
> -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
> -- --
> Reactor for ColdFusion Mailing List
> [EMAIL PROTECTED]
> Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
> -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
> -- --
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[EMAIL PROTECTED]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --