OpenStreetMap Forum

The Free Wiki World Map

You are not logged in.

#1 2012-03-15 09:32:17

one_half_3544
Member
Registered: 2009-02-24
Posts: 771

josm applet

(в продолжение темы про потлачеров - в плане упрощения перехода на josm для них)

http://josm.openstreetmap.de/wiki/Applet

У кого-нибудь работает? У меня firefox (дебиановский iceweasel 10.0.2) просто закрывается.

Offline

#2 2012-03-15 09:39:54

Fortress
Member
From: Russia, Saint-Petersburg
Registered: 2009-07-09
Posts: 1,109

Re: josm applet

У меня в windows 7 не работает ни в опере ни в лисе, ни в хроме

Offline

#3 2012-03-15 11:17:12

gentoid
Member
From: Samara, Russia
Registered: 2011-07-23
Posts: 75

Re: josm applet

IE8: открывается страница, грузится Java, и все - вкладка зависает.

Offline

#4 2012-03-15 11:27:55

Larry0ua
Member
Registered: 2010-09-19
Posts: 1,061

Re: josm applet

win7/ff: выдает эксепшны на счет :
Warning: failed to access directory 'http://josm.openstreetmap.de/appletdata … ncesimages' for security reasons. Exception was: java.security.AccessControlException: access denied ("java.io.FilePermission" "http:\josm.openstreetmap.de\appletdata\user\preferencesimages\ok.png" "read")

Offline

#5 2012-03-15 12:18:40

MashaP
Member
Registered: 2012-02-21
Posts: 96

Re: josm applet

WinXP-SP3 - в Опере и Хроме сообщение Джавы об ошибке

Using JRE version 1.6.0_18-b07 Java HotSpot(TM) Client VM

java.security.AccessControlException: access denied (java.lang.RuntimePermission setFactory)
    at java.security.AccessControlContext.checkPermission(Unknown Source)
    at java.security.AccessController.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkSetFactory(Unknown Source)
    at java.net.HttpURLConnection.setFollowRedirects(Unknown Source)
    at org.openstreetmap.josm.io.OsmConnection.<clinit>(OsmConnection.java:41)
    at org.openstreetmap.josm.data.ServerSidePreferences.<init>(ServerSidePreferences.java:117)
    at org.openstreetmap.josm.gui.MainApplet.start(MainApplet.java:96)
    at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
reading preferences from http://josm.openstreetmap.de/appletdata … references
java.io.FileNotFoundException: http://josm.openstreetmap.de/appletdata … references
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at org.openstreetmap.josm.data.ServerSidePreferences$Connection.download(ServerSidePreferences.java:63)
    at org.openstreetmap.josm.data.ServerSidePreferences.download(ServerSidePreferences.java:161)
    at org.openstreetmap.josm.gui.MainApplet.start(MainApplet.java:103)
    at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
Caused by: java.io.FileNotFoundException: http://josm.openstreetmap.de/appletdata … references
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at java.net.HttpURLConnection.getResponseCode(Unknown Source)
    at org.openstreetmap.josm.data.ServerSidePreferences$Connection.download(ServerSidePreferences.java:56)
    ... 4 more
Warning: failed to access directory 'http://josm.openstreetmap.de/appletdata … ncesimages' for security reasons. Exception was: java.security.AccessControlException: access denied (java.io.FilePermission http:\josm.openstreetmap.de\appletdata\user\preferencesimages\ok.png read)
java.security.AccessControlException: access denied (java.io.FilePermission ok.png read)
    at java.security.AccessControlContext.checkPermission(Unknown Source)
    at java.security.AccessController.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkRead(Unknown Source)
    at java.io.File.exists(Unknown Source)
    at org.openstreetmap.josm.tools.ImageProvider.getImageUrl(ImageProvider.java:546)
    at org.openstreetmap.josm.tools.ImageProvider.getImageUrl(ImageProvider.java:585)
    at org.openstreetmap.josm.tools.ImageProvider.getIfAvailableImpl(ImageProvider.java:392)
    at org.openstreetmap.josm.tools.ImageProvider.get(ImageProvider.java:242)
    at org.openstreetmap.josm.tools.ImageProvider.get(ImageProvider.java:225)
    at org.openstreetmap.josm.tools.ImageProvider.get(ImageProvider.java:217)
    at org.openstreetmap.josm.tools.ImageProvider.get(ImageProvider.java:273)
    at org.openstreetmap.josm.Main.preConstructorInit(Main.java:454)
    at org.openstreetmap.josm.gui.MainApplet.start(MainApplet.java:129)
    at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
Exception: java.security.AccessControlException: access denied (java.io.FilePermission ok.png read)

Offline

#6 2012-03-15 13:36:29

Sergey Astakhov
Member
From: St.Petersburg, Russia
Registered: 2009-11-13
Posts: 5,487

Re: josm applet

Это всё относительно легко правится - заводите тикеты, пускай чинят.

Last edited by Sergey Astakhov (2012-03-15 13:36:40)

Offline

#7 2012-03-15 13:53:14

AkMeR
Member
From: Samara
Registered: 2008-02-27
Posts: 1,158

Re: josm applet

Надо апплет на главной josm.ru разместить.

Offline

#8 2012-03-16 13:23:33

asaw
Member
From: Moscow
Registered: 2009-05-16
Posts: 179

Re: josm applet

А у кого-то вообще работает? No luck with ubuntu/chrome.

Offline

Board footer

Powered by FluxBB