|
From: Casson S. <cas...@ea...> - 2004-07-05 20:25:21
|
Hi all, Thanks Martin. The units.jar solved the last problem. For the rest of you it is in the binary distribution as units-0.01.jar. So if you get undefined classes from javax/units/.. put this jar on your classpath. Since I got the program up and running in the IDE I could once again test it via the web. I got the following set of security exceptions (see below). I recall some security issues came up about a month ago, but I thought these were fixed. If they were not fixed can someone tell me how to change whatever it is that I need to change. I saved the instructions someone sent out, but they did not mention what was being changed. Or have I run into a different problem. I have all the files (shapefiles, jars, and class)on the web site in the same directory as the HTML page. I'll put the applet section below also. Thanks in advance. I'll go read another chapter. I'm up to sensitivity analysis during Monte Carlo modeling. java.security.AccessControlException: access denied (java.util.PropertyPermission 3 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.checkPropertyAccess(Unknown Source) at java.lang.System.getProperty(Unknown Source) at java.lang.Integer.getInteger(Unknown Source) at java.lang.Integer.getInteger(Unknown Source) at Applet2.loadAppletParameters(Applet2.java:109) at Applet2.init(Applet2.java:82) at sun.applet.AppletPanel.run(Unknown Source) at java.lang.Thread.run(Unknown Source) <APPLET code="Applet2.class" width=400 height=400 archive="main-2.0.RC0.jar,shapefile-2.0.RC0.jar,JTS-1.4.jar,vecmath-1.3.jar,geoapi-SNAPSHOT.jar,units-0.01.jar"> <param name="QueryLayerName" value="polygons.shp"> <param name="NameFieldIndex" value="3"> <param name="URLBodyFieldIndex" value="4"> <param name="URLPrefix" value="http://home.earthlink.net/~CassonStallings/"> <param name="URLSuffix" value=".html"> <param name="PageTarget" value=""> <param name="ShapeFileList" value="polygons.shp lines.shp points.shp"> <param name="DisplayColorList" value="BLACK BLUE RED"> <param name="IconSize" value="24"> Your browser is completely ignoring the <APPLET> tag! </APPLET> Casson Stallings cas...@ea... |