I'm using the CFML event gateway for asynchronous which works as discribed, however, within the listener cfc I cannot access my application's CFCs as they are not within the Coldfusion /cfusion/wwwroot folder but rather in a different directory.
How can I reference an existing CFC within the context of the gateway CFC
I've never used this feature, so don't really know how to help you with this. However, looking at the page you provided the link for, I did see the following:
cfcpath Overrides the CFC path specified in the ColdFusion Administrator. This field lets you use a single gateway configuration in the ColdFusion Administrator multiple CFCs.
Would this optional field allow you to specify the path to the CFCs?
^ _ ^
Unfortunately that's not a fix.
That attribute is to point to the CFC that digests the incoming event. The issue is that the context within that CFC is within the wwwroot, but my application lives somewhere completely different, so when I attempt to call other CFCs (via the component="cfc_files.system.cfcname") it errors out because the CFC that I'm calling 'thinks' it's in the webroot...one would expect something in the configuration of the event gateway but I can't find it.
Thanks for chimming in!
Here's an example of what I'm describing. The first is the output of the ExpandPath(/) in the event gateway the second is occuring outside the gateway. I need the first output to be the same as the second.
Easy. There are at least several possibilities. Here's the one I consider the most straightforward:
Is there anything I can configure in the neoruntime.xml?