Package wt.util.jmx

Class WDSJMXConnector

java.lang.Object
wt.util.jmx.WDSJMXConnector

public final class WDSJMXConnector extends Object
Utility to establish a remote JMX connection to the Windchill Directory Server.

These methods will attempt to establish a JMX connection to the Administrative LDAP directory as defined in the ie.properties file. If the directory defined in the ie.properties file is not a Windchill Directory Server, the connection attempt will throw an exception. Making a remote JMX connection to the Windchill Directory Server requires the WinchillDS host and JMX port, and the WindchillDS Administrative DN and password. This information, except for the JMX port is taken from the "seeAlso" URL from ie.properties file. Also taken from this URL is the LDAP port number. The JMX port number is obtained by reading the ds-cfg-listen-port attribute from the entry "cn=JMX Connection Handler,cn=Connection Handlers,cn=config" via a standard LDAP request to the WindchillDS on the LDAP port. If a set of URLs is provided in the seeAlso property, the host and port from the first URL is used to see if that server is responding. If not, then the URL list is used in the JNDI context. The server that responds is queried to see which host, port, and JMX port applies to this connection.

Supported API: true

Extendable: false