Settings

Parent Previous Next

VisualSim                                                                                                                               

Changes in Oracle Java 1.7.0_u51

In the current version of Java, the security settings has been changed.  When you open a Web Page containing a VisualSim model, you will get the following error message: "Application blocked by security settings".

To view the models and simulate it from the Web Browser, you will need change the security level in the Java console to Medium.

Settings

The models should show up in the Browser page. If they do not show up, follow the instructions on this page. Make sure you can connect to the License Server from your machine. You can do this by trying to start VisualSim Architect.  Step 1 is mandatory. Step 2 maybe required if there are special security firewalls turned on in your computers.

STEP 1:  If you are using Internet Explorer, this step is mandatory to view the models in the Tutorial page. When the Web Browser brings up the tutorial page, a yellow bar will highlight with a warning message right below the Menu Bar. Right-click on this bar and select "Allow Blocked Content". You will need to repeat this, everytime you start the tutorials. In case if you do not receive this warning message this step can be ignored.

STEP 2:  If you get a error stating that the "License Server cannot be reached" or Step 1 does not work, then follow the steps here to add security privilages to the Java Policy. To make these changes, you do not require administration previlages:

jdk1.x.mx_0x/jre/lib/security  

grant

{

permission java.net.SocketPermission "<hostname of License Server>:-",

"connect,resolve";

};

grant codeBase "file:${VisualSim Install Path}/*" {

permission java.security.AllPermission;

};

For ex: C:\VisualSim\VS{Version Number} (Windows) or /User/VisualSim/VS{Version Number} (UNIX)

Windows

<User Application Data Folder>\Sun\Java\Deployment\ deployment.properties

Unix

${user.home}/.java/deployment/deployment.properties

On some version of Unix such as Snow Leopard MAC OS/X, there may not be a separate java directory.  In this case, you will need to save the file in the same location that you copied the file from. 

For user jsmith running on Windows 2000/XP, place the java.policy file in:

C:\Documents and Settings\jsmith\Application Data\Sun\Java Deployment\security

For user bjones running on Unix, place the java.policy file in:

/home/bjones/.java/deployment/security

 

Created with the Personal Edition of HelpNDoc: Full-featured Documentation generator