-
1. Re: Remoting call to .CFC is turned into a .cfm
nicetim May 25, 2011 8:00 PM (in response to nicetim)Anyone??
Could an ORM mapping have anything to do with it?
I had a folder named CFC/PTO/ but have since renamed it thinking that might be the issue.
-
2. Re: Remoting call to .CFC is turned into a .cfm
Adam Cameron. May 26, 2011 12:15 AM (in response to nicetim)You don't have a rewrite messing with the URLs do you? Or have IIS misconfigured in its handling of CF requests (although I dunno how it could get that messed up)?
Is it Flash requesting the wrong file, or is it IIS messing with it, or is it CF getting it mixed up?
--
Adam
-
3. Re: Remoting call to .CFC is turned into a .cfm
nicetim May 26, 2011 5:00 AM (in response to Adam Cameron.)That's the first thing I looked for. But don't any like that setup
Its cf, I have a cgi dump in the error emails. The error is a missingtemplate error from cf. The cgi show query string being one thing a path translated something else
Tim
Tim Garver
MIS Programmer
NICE Systems. USA
(T) + (704)932-4246
(C) + (704)264-9723
-
4. Re: Remoting call to .CFC is turned into a .cfm
Adam Cameron. May 26, 2011 5:08 AM (in response to nicetim)OK, the CGI variables come from the WEB SERVER. So if they're messed up (in that they don't match when one would reasonably expect them to), then it's the webserver doing it.
Try routing your remote call through the JRun webserver as a test (if possible): that'll remove IIS from the equation.
--
Adam
-
5. Re: Remoting call to .CFC is turned into a .cfm
nicetim May 26, 2011 5:58 AM (in response to Adam Cameron.)Adam
Thanks for replying
This the production box and make changes until after hours.
The dev box is identical and not experiancing the issue
I will give that a shot tonight
Tim
Tim Garver
MIS Programmer
NICE Systems. USA
(T) + (704)932-4246
(C) + (704)264-9723
-
6. Re: Remoting call to .CFC is turned into a .cfm
nicetim May 26, 2011 9:58 AM (in response to Adam Cameron.)I was able to reproduce this issue in our dev env.
Its the folder name that caused the issue.
/CFC/pto.cfc test()
And a folder named
/CFC/PTO/
Remoting turns this
Cfc.pto.test()
Into
Cfc/pto/test.cfm
Which is a cf 404 or missing template error
Hope this helps someone
Tim
Tim Garver
MIS Programmer
NICE Systems. USA
(T) + (704)932-4246
(C) + (704)264-9723
-
7. Re: Remoting call to .CFC is turned into a .cfm
nicetim May 29, 2011 7:13 AM (in response to Adam Cameron.)I figured it out
It was the folder names.
I have a cfc file with the same name as a folder so all requests through remoting would fail for that cfc.
I renamed the folder and all is good.
Thanks again for the response.
Tim

