Jeff,

I think you've misunderstood. I'll try to be clearer.

On Fri, May 2, 2008 at 11:34 AM, Battershall, Jeff <
[EMAIL PROTECTED]> wrote:

>    Personally I have my doubts about this approach as it doesn't seem to
> support a source-control managed environment, but I'm willing to be
> convinced otherwise.
>



Tom's solution seems best. But the files are physically generated, so you
could generate them locally and place them under source control, then deploy
them with everything else. However, that's not the issue here.



> In any event - it would seem that your having trouble finding your proxies
> - is that correct?
>


No. The proxy is found -- it's within the webroot, and the path in the Flex
app points to it correctly. The error comes when the proxy is invoked,
because in its setup, it invokes one of the core ColdSpring files, and the
mapping is not followed.

 Furthernore, I'm not sure why you're placing your remote proxies in the
> ColdSpring framework directory at all.
>



As explained above, I'm not.

But let's make this simpler:

I have a "Hello World" test Flex app. It calls a "test.cfc" with a
sayHello() method.

The webroot of the site is at D:\myWebStuff\myTest.

The CFC lies at D:\myWebStuff\myTest\test\test.cfc.

I set up a CF mapping called "myTest" which points directly to the
D:\myWebStuff\myTest directory. I can place a .cfm file there and invoke the
test.cfc with a path of "myTest.test.test". So as far as CF is concerned,
the mapping is set correctly.

However, if my Flex app sets a RemoteObject call with a source of
"myTest.test.test," the CFC is not found, even though use-mappings is set to
"true." If I set the source to simply "test.test" -- the path from my
webroot -- the CFC is found and invoked correctly.

Moreover, this problem is only occurring on this Production server. On my
local machine, the same .swf, same CFC, same mappings, same
remoting-config.xml, respect the mapping and call the CFC correctly.

That's what's crazy - the different behavior in the two environments, when
the environments seem to be the same.



-- 
Thanks,

Tom

Tom McNeer
MediumCool
http://www.mediumcool.com
1735 Johnson Road NE
Atlanta, GA 30306
404.589.0560

Reply via email to