3 Replies Latest reply on Feb 26, 2010 1:14 PM by Arizona_Steve

    #2048 Security Sandbox Violation


      I searched the forums, but didn't find anything applicable to my situation. I'm attempting to make an RPC call to a BlazeDS server (via Spring / BlazeDS), but am getting the following error:


      faultCode:Client.Error.MessageSend faultString:'Send failed' faultDetail:'Channel.Security.Error error Error #2048: Security sandbox violation: http://localhost:9083/mycontext/myUI-debug/myUI.swf cannot load data from http://locahost:9083/mycontext/messagebroker/amf. url: 'http://locahost:9083/mycontext/messagebroker/amf''


      Now, my thought was that if I'm sending a request to http://localhost:9083/* from http://localhost:9083/* I shouldn't need a crossdomain.xml file. Right? So any ideas what's going on here?


      Example Actionscript code:


              // Retrieve list of state codes.
              public function setStateCodeArray():void {
                  if (stateCodeArray == null) {
                        var asService:RemoteObject = new RemoteObject();
                      asService.destination = "collectionDelegate";
                      asService.endpoint = "http://locahost:9083/mycontext/messagebroker/amf";
                      asService.getList.addEventListener("result", updateStateCodeArray);
                      asService.addEventListener("fault", faultHandler);
              private function updateStateCodeArray(event:ResultEvent):void {
                  stateCodeArray = event.result;


              // Generic error handler.
              private function faultHandler(event:FaultEvent):void {


      I am completely new at this, so please forgive the newbie qiestions...