Copy link to clipboard
Copied
I know the title is a bit odd, but its a large problem and need some help.
I have flash forms, and all of a sudden after a server reboot, at least 1 but maybe more have remoting issues.
The problem i have found is this.
Call to /CFC/file.cfc method test() CFC.file.test() turns into /CFC/FILE/test.cfm and ColdFusion throws a 404 error and returns garbage back through the remoting call.
Has anybody ran into this?
our setup
newer servers runing Win 2003 server.
CF9.01
Thanks in advance.
Tim
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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