Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

java.io.FilePermission + Flex :(

New Here ,
Jan 23, 2011 Jan 23, 2011

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

TOPICS
Flash integration
993
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 23, 2011 Jan 23, 2011
LATEST

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources