Unable to connect by using the sample code under ftl 2.1 root\samples\bin\tibrecv
book
Article ID: KB0090343
calendar_today
Updated On:
Products
Versions
TIBCO FTL
-
Not Applicable
-
Description
Resolution: Description: =============== The sample code generates the following error:
com.tibco.ftl.exceptions.FTLTimeoutException: TIBCO Exception: Error Code = Timeout Description = Request to Realm Server timed out Stack Trace: _tibRealm_SyncRequestInPlace, 345 _tibRealm_DoDiscovery, 2084 _tibRealm_InitFromServer, 2150 _tibRealm_Connect, 346 tibRealm_Connect, 525
at com.tibco.ftl.jni.NativeFTL.createRealmFromRealmServer(Native Method) at com.tibco.ftl.jni.NativeFTL.connectToRealm(Unknown Source) at com.tibco.ftl.FTL.connectToRealmServer(Unknown Source) at com.tibco.ftl.samples.TibSend.send(TibSend.java:211) at com.tibco.ftl.samples.TibSend.main(TibSend.java:262)
Reason: = = = = = = The out-of-box realmserver has no objects defined like applications or transports.
Resolution: ===============
After starting a realm server, update the realm with the tibrealmserver.json file.