Flash Builder cannot find cfc
hi all,
i able install cf10 on mac osx 10.9 yesterday
http://forums.adobe.com/message/6001420#6001420
i create fb/cf project using configuration:
cf standalone option with:
cf root folder = /applications/coldfusion10/cfusion
web root = /users/myname/sites
root url = http://localhost/~myname/
i got message:
the web server can accessed cfide folder not found. please ensure web root have specified root folder of web server , not subfolder, or check coldfusion installation.
i copy cfide folder /users/myname/sites , pass message.
i have cfc in /users/myname/sites/cftest1/cfcs/users.cfc
my remote object declared
<mx:remoteobject id="sm_ro" destination="coldfusion" source="cftest1.cfcs.users">
when test app getting error:
unable invoke cfc - not find coldfusion component or interface cftest1.cfcs.users.ensure name correct , component or interface exists.
i check services-config.xml , option use-mappings true.
any ideas issue?
are cf standalone options correct?
thanks !
looks cgi.http_host in mac localhost not localhost/~myname/.
so if set source remote object as: "~myname.cftest1.cfcs.users" works.
i setup my variables in application.cfc when move project windows server don't have change paths.
for example listlast(getdirectoryfrompath(getcurrenttemplatepath()), "\"); reads fine in windows in mac have change "\" "/".
it way check in application.cfc if in mac or windows?
how can webserver variable in mac localhost/~myname/?
thanks
More discussions in ColdFusion
adobe
Comments
Post a Comment