Skip navigation
1402 Views 3 Replies Latest reply: Apr 3, 2012 4:07 AM by jessh RSS
ChrisPeters Bronze 22 posts since
May 18, 2011
Currently Being Moderated

Mar 30, 2012 1:45 PM

Java RMI Applet Error

Hi All,

 

I have installed Windchill 10 M020. Everything seems to be working finr except the Workflow Template Management. I'm not able to open a workflow. After a few troubleshooting, I found that it's a RMI access permission. This is the error which I got in JRE console.

 

Exception in thread "Thread-12" java.security.AccessControlException: access denied (java.net.SocketPermission 127.0.0.1:5003 connect,resolve)

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.checkConnect(Unknown Source)

          at sun.plugin2.applet.Applet2SecurityManager.checkConnect(Unknown Source)

          at sun.rmi.transport.tcp.TCPChannel.checkConnectPermission(Unknown Source)

          at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)

          at sun.rmi.server.UnicastRef.invoke(Unknown Source)

          at wt.method.MethodServerImpl_Stub.invoke(Unknown Source)

          at wt.method.RemoteMethodServer.invoke(RemoteMethodServer.java:654)

          at wt.clients.workflow.definer.ProcessInfo.getWfProcessTemplate(ProcessInfo.java:176)

          at wt.clients.workflow.definer.WfTemplateEditorApplet$ViewThread.run(WfTemplateEditorApplet.java:335)

 

 

I'm using JRE 1.6.0_31 which seems to be a supported one.

 

I even added "permission java.security.AllPermission;" in the java.policy file under C:\ptc\Windchill_10.0\Java\jre\lib\security, but to no avail.

 

Please suggest.

 

Thanks,

 

Wasim

  • MatthewKnight Silver 258 posts since
    Apr 29, 2009
    Currently Being Moderated
    Mar 30, 2012 2:21 PM (in response to ChrisPeters)
    Re: Java RMI Applet Error

    • wt.manager.port=5001

     

    • wt.method.minPort=5002

     

    • wt.method.maxPort=5010

     

    Make sure the min to Max range is open in your firewall

      • jessh PTCEmployee 117 posts since
        Nov 20, 2008
        Currently Being Moderated
        Apr 3, 2012 4:07 AM (in response to ChrisPeters)
        Re: Java RMI Applet Error

        This implies that you are lacking the latest Windchill patches.

         

        Security fixes in a number of Java 6 Update releases starting with 19 and going through some of the most recent updates broke a number of Windchill applets.  This is not to say the applets themselves were insecure, but rather that some Java security fixes required adjustment to existing code in cases for continued proper operation.  This particular case appears to involve an issue which is reproducible only with certain network configurations.

         

        At any rate there are temp patches available for these issues, all of which should be generic/common temp patches, I believe.

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • Correct Answers - 3 points
  • Helpful Answers - 1 points