Copyright © Cloud Software Group, Inc. All Rights Reserved |
The following table describes the top level <JMXConfiguration> element of the JMXPluginConfig.xml configuration file.
The default location is TIBCO_HOME/hawk/<version>/plugin. The default name is jmxTrace.log. If this property is set to true the Hawk microagent name for every MBean discovered by the plug-in will include the MBeanServer name.The default value is false.
• name: The name given to the MBean server
• type: The type of the MBean server. Valid values are:
− JSR160, (for Tomcat, JVM, JBOSS)
− WebSphere (for IBM WebSphere)
− WebLogic (for Oracle WebLogic)
• JMXClassPath: The class path to the vendor specific MBean server jar files.When connecting to multiple MBean servers, this element has to be replicated with one <MBeanServer> element for each MBean server. For information on customizing this element for the supported application server, see Customizing the MBeanServer Element. Additional parameters can be specified using name-value pairs.The <MBeanServer> element of the configuration file contains connection information for each MBean sever. This filter is a list, delimited by ’;’, of the MBeans that you are interested in exposing as TIBCO Hawk microagents.The following sections describe in details in the information required by each supported servers.
For Tomcat, to enable JMX, set CATALINA_OPTS property to -Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=%my.jmx.port%
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false
• JMXServiceURL, the connection URL to connect to the MBean server.
• login and password, which are the used to connect to the application server.
• MBeanFilter, which is the list of MBean(s) that you are interested in. If the MBeanFilter has a null value or if the MBeanFilter element is not used, all MBeans are accessed.The <JMXClassPath> element should be defined as:where, <JBOSS_HOME> is the JBOSS installation directory.
• JMXServiceURL, the connection URL to connect to the MBean server.
• MBeanFilter, the list of MBeans that you are interested in.To connect to Weblogic on a local machine, define the <JMXClassPath> element as <WEBLOGIC_HOME>/wlserver/server/lib/weblogic.jar.To connect to Weblogic on a remote machine, define the <JMXClassPath> element as <WEBLOGIC_HOME>/wlserver/server/lib/wlfullclient.jar. For more information on how to build the wlfullclient.jar, refer to https://docs.oracle.com/middleware/1212/wls/SACLT/jarbuilder.htm#SACLT240.<WEBLOGIC_HOME> in the above paths is your WebLogic installation directory.
• JNDIUrl, which is the location of the JNDI name server.
• User, which is the username used to connect to the server.
• Password, which is the encrypted password for a valid username used to connect to the server. See Encrypting Password for details on encrypting your password.
• MBeanFilter, which is the list of MBean(s) that you are interested in.<!-- MBean Filter Value -->The <JMXClassPath> element when using IBM WebSphere contains the location of the required classes and should be defined as:<WEBSPHERE_HOME>/AppServer/runtimes/com.ibm.ws.admin.client_8.5.0.jar;<WEBSPHERE_HOME>/AppServer/runtimes/com.ibm.ws.ejb.thinclient_8.5.0.jar;<WEBSPHERE_HOME>/runtimes/com.ibm.ws.orb_8.5.0.jar
•
• ConnectorHost, which is the host where the server is running.
• MBeanFilter, which is the list of MBean(s) that you are interested in.
1. Invoke the command line using the syntax. The scripts are located in the directory TIBCO_HOME/tibco/cfgmgmt/hawk/bin.On Microsoft Windows, tibhawkpassword.exe -encryptOn UNIX, tibhawkpassword.sh -encrypt
Copyright © Cloud Software Group, Inc. All Rights Reserved |