Article - CS48041

Opening applet gives error message "java.net.ConnectException: Connection refused...." with Windchill PDMLink

Modified: 06-Nov-2020   


Applies To

  • Windchill PDMLink 9.0 to 11.0 M030

Description

  • Windchill is configured for  RMI Tunneling over HTTP as described in Windchill Advanced Deployment Guide
  • None of the Java Applet can be opened when Windchill is configurated working as cluster.
  • Following message error appears  in Java Console when opening Windchill applet like Workflow Administrator :
 
network: Connecting http://<pc-name>/crossdomain.xml with proxy=DIRECT
network: Connecting http://<pc-name>:80/ with proxy=DIRECT
Connection refused: connect
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.deploy.net.CrossDomainXML.check(Unknown Source)
at com.sun.deploy.net.CrossDomainXML.check(Unknown Source
at sun.plugin2.applet.SecurityManagerHelper.checkConnectHelper(Unknown  Source)
at sun.plugin2.applet.AWTAppletSecurityManager.checkConnect(Unknown Source)
at java.net.InetAddress.getLocalHost(Unknown Source)

or 
java.security.PrivilegedActionException: java.net.ConnectException: Connection refused: connect
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.deploy.net.CrossDomainXML.check(Unknown Source)
    at com.sun.deploy.net.CrossDomainXML.check(Unknown Source)
    at sun.plugin2.applet.Applet2SecurityManager.checkConnect(Unknown Source)
    at java.net.InetAddress.getLocalHost(Unknown Source)
    at sun.management.VMManagementImpl.getVmId(Unknown Source)
    at sun.management.RuntimeImpl.getName(Unknown Source)
    at wt.util.JvmIdUtils.getJvmId(JvmIdUtils.java:31)
    at wt.util.UniqueIdentifier.<clinit>(UniqueIdentifier.java:59)
    at wt.method.RemoteMethodServer.invoke(RemoteMethodServer.java:580)
    at wt.method.RemoteMethodServer.ping(RemoteMethodServer.java:1362)
    at wt.clients.checker.RMIConnectChecker.ping(RMIConnectChecker.java:100)
    at wt.clients.checker.RMIConnectChecker.configureClient(RMIConnectChecker.java:90)
    at wt.clients.checker.Checker.configureClient(Checker.java:154)
    at wt.clients.checker.CheckerApplet.init(CheckerApplet.java:67)
    at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
Caused by: java.net.ConnectException: Connection refused: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(Unknown Source)
    at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
    at java.net.PlainSocketImpl.connect(Unknown Source)
    at java.net.SocksSocketImpl.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at sun.net.NetworkClient.doConnect(Unknown Source)
    at sun.net.www.http.HttpClient.openServer(Unknown Source)
    at sun.net.www.http.HttpClient.openServer(Unknown Source)
    at sun.net.www.http.HttpClient.<init>(Unknown Source)
    at sun.net.www.http.HttpClient.New(Unknown Source)
    at sun.net.www.http.HttpClient.New(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
    at com.sun.deploy.net.CrossDomainXML$2.run(Unknown Source)
    ... 17 more
  • Bootstrap installed but not helping on enhancing the MPSE/PSE launching performance
This is a printer-friendly version of Article 48041 and may be out of date. For the latest version click CS48041