cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

We are happy to announce the new Windchill Customization board! Learn more.

Applets are Failed to Load

vuchekar
9-Granite

Applets are Failed to Load

Hello All,

On Monolithic Windchill Server 10.1M040, All Applets are failed to load.

Its shows a message in Pop up's as below,

The following error occurred during initialization: The operation: "getGlobalDomain" failed.

Nested exception is: wt.util.WTRemoteException: Unable to invoke remote method

Nested exception is: wt.util.WTRemoteException: Unable to locate method server

Nested exception is: wt.util.WTRemoteException: Unable to locate method server

Nested exception is: wt.util.WTRemoteException: Unable to get server

Nested exception is: java.security.AccessControlException: access denied ("java.net.SocketPermission" "127.0.0.1:5002" "connect,resolve")

Please guide us to solve this.

Regards,

Vivek

8 REPLIES 8
ngiacom
14-Alexandrite
(To:vuchekar)
kkazi
1-Newbie
(To:ngiacom)

Thanks!

This fixed my problem as well.

Nested exception is: java.security.AccessControlException: access denied ("java.net.SocketPermission" "connect,resolve"); nested exception is:

(wt.fc.fcResource/0) wt.util.WTException: The operation: "getObject" failed.

What version of Java are you using on the client machine?

ngiacom
14-Alexandrite
(To:ChrisSpartz)

Normally I use Java 1.7.25 but the issue there is with Java 8.

The article solved the issue for me.

Hello All,

Thanks for your suggestions and response.

This issue was fixed after editing java.policy file.

Thanks,

Vivek

jessh
5-Regular Member
(To:vuchekar)

One should not have to use a java.policy file to get applets to work.

A couple of thing here:

  1. One should be sure the server has the latest generic patches for Java client compatibility -- various recent changes in the Java applet security model have required patches to Windchill.
  2. Java 8 clients are not yet officially supported with any version of Windchill. They will be with 10.2 M030. Whether or not they are officially supported, the applet security model in Java 8 requires all RMI to be tunneled. Workarounds include fully signing an applet (impractical except for a couple of Windchill applets) or editing the java.policy file, but the general approach is simply to enable RMI tunneling, which is enabled out-of-the-box in 10.2 M030.
jbailey
17-Peridot
(To:jessh)

Is there any word yet on Java 8 support for builds of Windchill prior to 10.2 M030? Specifically 10.1 M040.

jessh
5-Regular Member
(To:jbailey)

I know of no official news at this time for previous releases.

Top Tags