Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Security exception in applet (hangs..) #119

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment
Closed

Security exception in applet (hangs..) #119

openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment

Comments

@openstreetmap-trac
Copy link

Reporter: erik[at]tiq.com
[Submitted to the original trac issue database at 2.29pm, Friday, 30th December 2005]

Not sure if this matters but I got this security exception, can't give any info on how I got it except this log. It will continue to print messages to the java console but the applet GUI itself will not work.

2005-dec-30 15:28:01 org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception caught when processing request: The server www.openstreetmap.org failed to respond
2005-dec-30 15:28:01 org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
adding image 1590,13831
Trying to download image http://www.openstreetmap.org/tile/0.1/wms?map=/usr/lib/cgi-bin/steve/wms.map&service=WMS&WMTVER=1.0.0&REQUEST=map&STYLES=&TRANSPARENT=TRUE&LAYERS=landsat,gpx&bbox=17.46826171875,60.256166965894586,17.479248046875,60.2588921377932&width=256&height=128
Ansluter http://www.openstreetmap.org/tile/0.1/wms?map=/usr/lib/cgi-bin/steve/wms.map&service=WMS&WMTVER=1.0.0&REQUEST=map&STYLES=&TRANSPARENT=TRUE&LAYERS=landsat,gpx&bbox=17.46826171875,60.256166965894586,17.479248046875,60.2588921377932&width=256&height=128 utan proxy 
Ansluter http://www.openstreetmap.org/tile/0.1/wms?map=/usr/lib/cgi-bin/steve/wms.map&service=WMS&WMTVER=1.0.0&REQUEST=map&STYLES=&TRANSPARENT=TRUE&LAYERS=landsat,gpx&bbox=17.46826171875,60.256166965894586,17.479248046875,60.2588921377932&width=256&height=128 med cookie "wikidbUserID=72; osmwikiUserID=72; openstreetmap=FzqJfHacN6B9k7aS7HXRVC5mA9VuQ7; wikidbUserName=Emj; osmwikiUserName=Emj; osmwikiToken=999e08483c3ce34db32b434283a3cc46"
adding image 1590,13831
Trying to download image http://www.openstreetmap.org/tile/0.1/wms?map=/usr/lib/cgi-bin/steve/wms.map&service=WMS&WMTVER=1.0.0&REQUEST=map&STYLES=&TRANSPARENT=TRUE&LAYERS=landsat,gpx&bbox=17.479248046875,60.256166965894586,17.490234375,60.2588921377932&width=256&height=128
Ansluter http://www.openstreetmap.org/tile/0.1/wms?map=/usr/lib/cgi-bin/steve/wms.map&service=WMS&WMTVER=1.0.0&REQUEST=map&STYLES=&TRANSPARENT=TRUE&LAYERS=landsat,gpx&bbox=17.479248046875,60.256166965894586,17.490234375,60.2588921377932&width=256&height=128 utan proxy 
Ansluter http://www.openstreetmap.org/tile/0.1/wms?map=/usr/lib/cgi-bin/steve/wms.map&service=WMS&WMTVER=1.0.0&REQUEST=map&STYLES=&TRANSPARENT=TRUE&LAYERS=landsat,gpx&bbox=17.479248046875,60.256166965894586,17.490234375,60.2588921377932&width=256&height=128 med cookie "wikidbUserID=72; osmwikiUserID=72; openstreetmap=FzqJfHacN6B9k7aS7HXRVC5mA9VuQ7; wikidbUserName=Emj; osmwikiUserName=Emj; osmwikiToken=999e08483c3ce34db32b434283a3cc46"
adding image 1591,13831
Trying to download image http://www.openstreetmap.org/tile/0.1/wms?map=/usr/lib/cgi-bin/steve/wms.map&service=WMS&WMTVER=1.0.0&REQUEST=map&STYLES=&TRANSPARENT=TRUE&LAYERS=landsat,gpx&bbox=17.435302734375,60.27251459483244,17.4462890625,60.275238405838536&width=256&height=128
Ansluter http://www.openstreetmap.org/tile/0.1/wms?map=/usr/lib/cgi-bin/steve/wms.map&service=WMS&WMTVER=1.0.0&REQUEST=map&STYLES=&TRANSPARENT=TRUE&LAYERS=landsat,gpx&bbox=17.435302734375,60.27251459483244,17.4462890625,60.275238405838536&width=256&height=128 utan proxy 
Unable to connect to "http://www.openstreetmap.org/api/0.2/map?bbox=17.442383766174316,60.26061513607994,17.472424507141113,60.27125760493901"
java.security.AccessControlException: access denied (java.lang.RuntimePermission exitVM)
	at java.security.AccessControlContext.checkPermission(AccessControlContext.java:269)
	at java.security.AccessController.checkPermission(AccessController.java:401)
	at java.lang.SecurityManager.checkPermission(SecurityManager.java:524)
	at java.lang.SecurityManager.checkExit(SecurityManager.java:736)
	at java.lang.Runtime.exit(Runtime.java:88)
	at java.lang.System.exit(System.java:715)
	at org.openstreetmap.client.Adapter.getNodesAndLines(Adapter.java:99)
	at org.openstreetmap.client.Adapter.getNodesAndLines(Adapter.java:49)
	at org.openstreetmap.client.VFetch.run(Tile.java:518)
Ansluter http://www.openstreetmap.org/tile/0.1/wms?map=/usr/lib/cgi-bin/steve/wms.map&service=WMS&WMTVER=1.0.0&REQUEST=map&STYLES=&TRANSPARENT=TRUE&LAYERS=landsat,gpx&bbox=17.435302734375,60.27251459483244,17.4462890625,60.275238405838536&width=256&height=128 med cookie "wikidbUserID=72; osmwikiUserID=72; openstreetmap=FzqJfHacN6B9k7aS7HXRVC5mA9VuQ7; wikidbUserName=Emj; osmwikiUserName=Emj; osmwikiToken=999e08483c3ce34db32b434283a3cc46"
adding image 1587,13837
Trying to download image http://www.openstreetmap.org/tile/0.1/wms?map=/usr/lib/cgi-bin/steve/wms.map&service=WMS&WMTVER=1.0.0&REQUEST=map&STYLES=&TRANSPARENT=TRUE&LAYERS=landsat,gpx&bbox=17.4462890625,60.27251459483244,17.457275390625,60.275238405838536&width=256&height=128
Ansluter http://www.openstreetmap.org/tile/0.1/wms?map=/usr/lib/cgi-bin/steve/wms.map&service=WMS&WMTVER=1.0.0&REQUEST=map&STYLES=&TRANSPARENT=TRUE&LAYERS=landsat,gpx&bbox=17.4462890625,60.27251459483244,17.457275390625,60.275238405838536&width=256&height=128 utan proxy 
Ansluter http://www.openstreetmap.org/tile/0.1/wms?map=/usr/lib/cgi-bin/steve/wms.map&service=WMS&WMTVER=1.0.0&REQUEST=map&STYLES=&TRANSPARENT=TRUE&LAYERS=landsat,gpx&bbox=17.4462890625,60.27251459483244,17.457275390625,60.275238405838536&width=256&height=128 med cookie "wikidbUserID=72; osmwikiUserID=72; openstreetmap=FzqJfHacN6B9k7aS7HXRVC5mA9VuQ7; wikidbUserName=Emj; osmwikiUserName=Emj; osmwikiToken=999e08483c3ce34db32b434283a3cc46"
adding image 1588,13837
Trying to download image http://www.openstreetmap.org/tile/0.1/wms?map=/usr/lib/cgi-bin/steve/wms.map&service=WMS&WMTVER=1.0.0&REQUEST=map&STYLES=&TRANSPARENT=TRUE&LAYERS=landsat,gpx&bbox=17.457275390625,60.27251459483244,17.46826171875,60.275238405838536&width=256&height=128
Ansluter http://www.openstreetmap.org/tile/0.1/wms?map=/usr/lib/cgi-bin/steve/wms.map&service=WMS&WMTVER=1.0.0&REQUEST=map&STYLES=&TRANSPARENT=TRUE&LAYERS=landsat,gpx&bbox=17.457275390625,60.27251459483244,17.46826171875,60.275238405838536&width=256&height=128 utan proxy 
Ansluter http://www.openstreetmap.org/tile/0.1/wms?map=/usr/lib/cgi-bin/steve/wms.map&service=WMS&WMTVER=1.0.0&REQUEST=map&STYLES=&TRANSPARENT=TRUE&LAYERS=landsat,gpx&bbox=17.457275390625,60.27251459483244,17.46826171875,60.275238405838536&width=256&height=128 med cookie "wikidbUserID=72; osmwikiUserID=72; openstreetmap=FzqJfHacN6B9k7aS7HXRVC5mA9VuQ7; wikidbUserName=Emj; osmwikiUserName=Emj; osmwikiToken=999e08483c3ce34db32b434283a3cc46"
adding image 1589,13837

@openstreetmap-trac
Copy link
Author

Author: immanuel.scholz[at]gmx.de
[Added to the original trac issue at 9.17am, Tuesday, 28th March 2006]

There was a System.exit within a catch handler for connection problems when downloading the main data. System.exit's are not allowed in an applet.

I replaced it with a message box telling you that the server is busy.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant