23.08.2010, 08:31
(30.06.2010, 21:57)routeconverter Wrote:(20.06.2010, 16:23)routeconverter Wrote: Of course - that's related to problem with the unreachable port. Something is blocking the web browser (I guess it's a Web Kit-based component) to direct AJAX-calls to the port from the RouteConverter process.
I found out, what the for this behaviour is: the error is NS_ERROR_DOM_BAD_URI and the cause is the same origin policy that changed between XUL Runner 1.8 and 1.9 as explained here.
Hello Mac OS X and Linux users,
I think I found a solution to the callback problem:
- the dialog "check your firewall settings" is gone
- instead RouteConverter switches to polling instead of event listening (the log says something like 'setCallbackListenerPort(-1)')
- i.e. the JavaScript side does not execute AJAX requests to notify the Java side, but it collects the events and the Java side is polling them
From a software engineering perspective this isn't a good solution but it seems to work on my box. You should be able to select positions in the position list and drag them on the map. And the Tools/Insert positions... dialog should be working now.
Please check the latest prerelease and report!
--
Christian
Christian