RTView® 
User Guide


Application Options

TIBCO Hawk SSL Parameters
NOTE: This section assumes you have a working knowledge of writing, compiling and deploying Java classes.

To use SSL with EMS Transport for TIBCO Hawk (version 4.6+), you will need to create a Java class named MyHawkSSLHandler that extends the GmsRtViewHawkCustomSSLHandler class.

In MyHawkSSLHandler.java, define the following method:

public Hashtable getSSLParams ()
This method will get called  to retrieve the list of SSL parameters to pass in when RTView creates the TIBCO Hawk Console. See TIBCO Hawk documentation for information on creating a Hashtable of SSL parameters suitable to pass into the TIBCO Hawk Console.

Add gmsjhawkds.jar, located in the lib directory (found in your installation directory), to your classpath when you compile MyHawkSSLHandler. The compiled MyHawkSSLHandler class must be included in the RTView classpath by adding it to the definition for the RTV_USERPATH environment variable.

The following is an example of MyHawkSSLHandler:

import java.util.Hashtable;
import com.tibco.tibjms.TibjmsSSL;
import com.sl.gmsjhawkds.GmsRtViewHawkCustomSSLHandler;

public class MyHawkSSLHandler extends GmsRtViewHawkCustomSSLHandler
{

public Hashtable getSSLParams ()
{
        System.out.println("==> getSSLParams");

        Hashtable sslParameters = new Hashtable();
        sslParameters.put(com.tibco.tibjms.TibjmsSSL.TRACE, new Boolean(true));
        sslParameters.put(com.tibco.tibjms.TibjmsSSL.DEBUG_TRACE,
                                                        new Boolean(true));
        sslParameters.put(com.tibco.tibjms.TibjmsSSL.VENDOR, "j2se");
        return sslParameters;

}
}  


 
SL, SL-GMS, GMS, RTView, SL Corporation, and the SL logo are trademarks or registered trademarks of Sherrill-Lubinski Corporation in the United States and other countries. Copyright © 1998-2014 Sherrill-Lubinski Corporation. All Rights Reserved.

 

JMS, JMX and Java are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other countries. They are mentioned in this document for identification purposes only. 

 

Third Party Notice Requirements