[visad] Applet in VisAD

Hi Geoff

I think the problem is that the security restrictions inherent in the applet sandbox are stopping Visad from doing some things that it would otherwise like to do (like reading System properties).

There are two basic solutions to this. The first is to digitally sign the applet - this is the way to go if you want to make the applet available to others.

The second route, more for testing purposes, is to use the policytool that comes with Java to make a small policy file in your home directory that grants the appropriate permissions.

This forum post gives a brief outline and explains how to find your "home" directory in Windows.
http://forums.sun.com/thread.jspa?forumID=40&threadID=148232

If you search the java forums for other posts with "policytool" there are examples of the policy file format, such as
http://forums.sun.com/thread.jspa?forumID=58&threadID=149862

Regards
Matthew
No virus found in this outgoing message.
Checked by AVG - www.avg.com
Version: 8.5.435 / Virus Database: 271.1.1/2697 - Release Date: 02/19/10 
07:34:00
  • 2010 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: