Skip to main content
Known Participant
January 23, 2011
Question

java.io.FilePermission + Flex :(

  • January 23, 2011
  • 1 reply
  • 1016 views

Hi Guys,

i have a very strange problem and hope that u can help me. J

I am developing an Air-App using a Coldfusion (Hoster is hostek.com) Backend. The Application has a User-Login which works correctly.

After the login the app calls the server to get a full list of all members to display them into a Datagrid…

Problem: On my localmashine both is working great. “Online” just the login works great… Calling the “getTeam” method causes an error:

Error Loading team: [RPC Fault faultString="access denied (java.io.FilePermission D:\home\website.com\wwwroot\projects\teamplaner\Member.cfc read)"

I just don’t get, why login works super and the other function (is in the same cfc) isn’t working.

Again: local both is working…

Any ideas? L

Greetings from germany,

nico

This topic has been closed for replies.

1 reply

maeldanusAuthor
Known Participant
January 23, 2011

STRANGE:

I "solved" it...

I am using customObjects in my application and on the server. (remoteClass....) If i am parsing an Object of that type to the function on the server there are no problems.... (of course this make sense if i am calling the "login" function... there i am parsing a UserVO instance containing username/password)

anyway...

in the "getTeam" method there is obviously no cfargument, just a returntype. (i am calling all users, without any specific propertys)

Now i parsed an empty instance of that "UserObject" to my Cfc.component... Voila no error and i get the results i want....

It seems that the server just "know" the objects i am parsing... doesn't make any sense for me.

WTF? WHY?

greets, nico