• Decrease font size
  • Reset font size to default
  • Increase font size
Banner
Merapi Forums
Welcome, Guest
Please Login or Register.    Lost Password?
Go to bottom Post Reply Favoured: 0
TOPIC: Re:Blazeds
#296
jimmythesaint (User)
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Blazeds 1 Year, 4 Months ago Karma: 0  
When using Blazeds I always get a crash in the java app


flex.messaging.io.UnknownTypeException: Unknown AMF type '60'.
at flex.messaging.io.amf.Amf3Input.readObjectValue(Amf3Input.java:216)
at flex.messaging.io.amf.Amf3Input.readObject(Amf3Input.java:129)
at merapi.io.amf.AMF3Reader.read(AMF3Reader.java:75)
at merapi.BridgeListenerThread.run(BridgeListenerThread.java:97)

Guessing this is to do with the Blazeds remoting ... maybe it should be possible to set destination?
 
Logged Logged  
  The administrator has disabled public write access.
#297
jimmythesaint (User)
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Re:Blazeds 1 Year, 4 Months ago Karma: 0  
Response from Flex debug




[SWF] /Merapi//Merapi.swf - 686,485 bytes after decompression
Warning: Timeout on xmlsocket://localhost:12345 (at 3 seconds) while waiting for socket policy file. This should not cause any problems, but see http://www.adobe.com/go/strict_policy_files for an explanation.

Error: SWF from http://localhost:8080/Merapi//Merapi.swf may not connect to a socket in its own domain without a policy file. See http://www.adobe.com/go/strict_policy_files to fix this problem.

*** Security Sandbox Violation ***
Connection to localhost:12345 halted - not permitted from http://localhost:8080/Merapi//Merapi.swf
Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: http://localhost:8080/Merapi//Merapi.swf cannot load data from localhost:12345.
at merapi::Bridge$/connect()[/Users/adam/dev/os/merapi/svn/branches/private-beta-v2/core/flex/merapi-core/src/merapi/Bridge.as:169]
at merapi::Bridge$/get instance()[/Users/adam/dev/os/merapi/svn/branches/private-beta-v2/core/flex/merapi-core/src/merapi/Bridge.as:120]
at merapi::BridgeInstance()[/Users/adam/dev/os/merapi/svn/branches/private-beta-v2/core/flex/merapi-core/src/merapi/BridgeInstance.as:79]
at Merapi/_Merapi_BridgeInstance1_i()[/home/james/workspace/Merapi/src/Merapi.mxml:3]
at Merapi()[/home/james/workspace/Merapi/src/Merapi.mxml:3]
at _Merapi_mx_managers_SystemManager/create()
at mx.managers::SystemManager/initializeTopLevelWindow()[C:\autobuild\3.3.0\frameworks\projects\framework\src\mx\managers\SystemManager.as:3233]
at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::docFrameHandler()[C:\autobuild\3.3.0\frameworks\projects\framework\src\mx\managers\SystemManager.as:3103]
at mx.managers::SystemManager/docFrameListener()[C:\autobuild\3.3.0\frameworks\projects\framework\src\mx\managers\SystemManager.as:2955]










I actually figure its the policy file request thats breaking it
 
Logged Logged  
  The administrator has disabled public write access.
#301
nlassalle (User)
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
Re:Blazeds 1 Year, 3 Months ago Karma: 1  
are you trying to connect to merapi from a air app or from a swf app ?
 
Logged Logged  
  The administrator has disabled public write access.
#302
jimmythesaint (User)
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Re:Blazeds 1 Year, 3 Months ago Karma: 0  
Flex swf

Is that possible?
 
Logged Logged  
  The administrator has disabled public write access.
#303
nlassalle (User)
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
Re:Blazeds 1 Year, 3 Months ago Karma: 1  
yes, you to start the PolicyServerclass included in merapi jar like this :
Code:

new PolicyServer(...).start();
... because I can't remember the arguments Enjoy
 
Logged Logged  
  The administrator has disabled public write access.
#304
jimmythesaint (User)
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Re:Blazeds 1 Year, 3 Months ago Karma: 0  
aahhhhh ... excellent ..thanks
 
Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop