KB Article #50881
Connecting via Java API , passing userid , port , etc data to CFT configuration , How it could be done ?
How to pass and provide userid , port , etc configuration in CFT using JPI .
Resolution
he port values and hostname can be modified in the file " <CFT installation folder>\xfb.ini "
Further communication parameters can be specified in the configuration file : "coms.cfg " in the same directory .
"Group " parameter is not required in Windows .
You can use your Windows login and password to login to CFT.
For the following parameters, you need indicated the user and password (same at the windows session) and TCP adress of CFT server and TCP port for Copilot (by default 1766)
static private String monitorHost = "hostname"; // Monitor's host
static private String monitorPort = "4999"; // Port number for XFB.IUI on monitor (default is 1766 for CFT and 6390
static private String monitorProfile = JPIMonitor.PROFILE_CFT; // Monitor profile
static private boolean isMonitorSecured = false; // Connection to monitor uses SSL/TLS
static private String certBaseURL = ""; // used to load certificates (from xfb.iui installation directory)
static private String monitorUser = "username"; // Monitor Login
static private String monitorGroup = ""; // Monitor Login
static private String monitorPwd = "mypassword"; // Monitor Login
static private boolean trace = true; // Trace protocolar events and dump requests an responses