Selecting Network Views incorrectly displays "0 node(s)"

Technote (troubleshooting)


Problem(Abstract)

java.security.AccessControlException when attempting to display ITNM Network Views in TIP.

Symptom

When selecting anything from the Network views the java applet
loads then displays "0 node(s)" and nothing is rendered even though

there are nodes to display.

Example:
network: Connecting fptwebt61.fpet-admin.pok.ibm.prv:
16311/ibm/console/webtop/TransientEntityStatus with proxy=DIRECTnetwork: Connecting fptwebt61.fpet-admin.pok.ibm.prv:16311/ with proxy=DIRECT
java.security.AccessControlException: access denied (com.sun.deploy.security.SecureCookiePermission origin.
fptwebt61.fpet-admin.pok.ibm.prv:16311)


Cause

Oracle introduced new security controls in JRE 1.6_29


Environment

Oracle JRE 1.6_29 or JRE 1.6_30 used with Internet Explorer or Firefox browsers

Diagnosing the problem

#############

Check the version of Oracle JRE being used with your browser.

Start -> Control Panel -> Select "Java" ->

This will display Oracle JAVA control panel.

-> General Tab -> About -> This will display the Oracle Java 6 banner with the version information.

You can also see this version at the top of the java console output such as:


Java Plug-in 1.6.0_30
Using JRE version 1.6.0_30-b12 Java HotSpot(TM) Client VM
User home directory = C:\Users\admin1


It is possible to have a number of different versions of JRE for your browser, but only one of them "enabled" and the rest disabled. So, double check the:

Control panel -> Java -> Java Runtime Environment settings (under Java tab) for the one enabled.

You should also check the Advanced Tab for the Java Control Panel

Default Java for Browsers:

___ Microsoft Internet Explorer

____ Mozilla Family

to confirm which JRE version is in use with which type of browser.

It is also possible to confirm your JRE version using the following tool:


http://javatester.org/version.html

The above website provides a loader for applets and checks which version of Java you are at the moment running.

Note: Firefox, provides a list of plug-ins and add-ons, and it does give a list of Java console and run time installed, often their version does not reflect the actual running version.

################

Turn off the automatic update feature for Oracle JRE. Uncheck the

"check for updates automatically".

Start -> Control Panel -> Select "Java" ->

This will display Oracle JAVA control panel.

-> Update tab

Notify me: Before Downloading

Before Installing

__ Check for updates automatically

Advanced tab: Automatic Update Advanced Settings

Select how often and when you would like the scan to occur

Daily, weekly, monthly, when...

#####################


Resolving the problem

To correct this, Grant read permission on com.sun.deploy.security.SecureCookiePermission for your server. In the case above, it is the fptwebt61 system.

To do this, edit the C:\Program Files (x86) \Java\jre6\lib\security\java.policy file
and add the following entry at the bottom:

grant {
permission com.sun.deploy.security.SecureCookiePermission "origin.https://fptwebt61.fpet-admin.pok.ibm.prv:16311", "read" ;
};

Save the file, stop/restart the browser .


Note: There may be an alternative form of this exception which requires an alternative
form of the resolution. Consider the following alternative exception and resolution
for this same issue:

java.security.AccessControlException: access denied (java.net.SocketPermission 10.11.12.13:16311 connect,resolve)

Resolved by:

grant {
permission java.net.SocketPermission "10.11.12.13:16311", "connect, accept, read";
permission java.net.SocketPermission "10.11.12.13:16311 ", "connect,resolve";
};

Another example:
"AWT-EventQueue-2" java.security.AccessControlException: access denied java.util.PropertyPermission user.dir read)

Resolved by two lines:
grant {
permission java.util.PropertyPermission "java.vm.name", "read";
permission java.security.AllPermission;
};

Related information

Other Oracle JRE issues

Rate this page:

(0 users)Average rating

Document information


More support for:

Tivoli Network Manager IP Edition

Software version:

3.8, 3.9

Operating system(s):

AIX, Linux, Solaris, Windows

Reference #:

1571622

Modified date:

2014-09-17

Translate my page

Machine Translation

Content navigation