I have configured an Internal server and the Gateway server on my servers and it was working fine. After a few days, the gateway server got stopped and I was not able to start it back. It was failing with the “Ack idle bootstrap failed: RV timeout after 300 seconds” error. Complete error trace is below.
[2017-07-20 17:03:34,699(INFO )]GatewayServer Idle bootstrap ... [2017-07-20 17:08:34,848(INFO )]GatewayServer Ack Idle bootstrap ... [2017-07-20 17:13:34,853(ERROR)]GatewayServer Failed to ack idle bootstrap. com.tibco.ax.gs.runtime.GatewayRuntimeException: Ack idle bootstrap failed. at com.tibco.ax.gs.runtime.GatewayServer.ackIdleBootStrap(GatewayServer.java:285) at com.tibco.ax.gs.runtime.GatewayServer.init(GatewayServer.java:127) at com.tibco.ax.gs.runtime.GatewayServer.<init>(GatewayServer.java:81) at com.tibco.ax.gs.runtime.GatewayServer.Startup(GatewayServer.java:618) Caused by: com.tibco.ax.gs.runtime.GatewayRuntimeException: RV timeout after 300 seconds. at com.tibco.ax.gs.runtime.impl.GSBootstrapUtil.sendDmzMshRequest(GSBootstrapUtil.java:377) at com.tibco.ax.gs.runtime.impl.GSBootstrapUtil.sendDmzMshRequest(GSBootstrapUtil.java:343) at com.tibco.ax.gs.runtime.GatewayServer.ackIdleBootStrap(GatewayServer.java:283) ... 3 more [2017-07-20 17:13:34,854(ERROR)]GatewayServer com.tibco.ax.gs.runtime.GatewayRuntimeException: Idle bootstrap failed.
I have fixed the issue by following the below steps. Hope this will help someone who facing the issue.
- Checked whether the RV communication is working in both ways.
- Ran the below queries in BC DB and truncated the tables
select tname from tab where tname like "%_DUPLICATES". select tname from tab where tname like "%_INTERNAL". select tname from tab where tname like "%_JOB"
The first query returned 6 table names as output. But none of the tables was having records in it. The second query returned 6 table names as output. Each table was holding 1 record and I truncated all the 6 tables (INTERIOR_S_95713532_INTERNAL, INTERIOR_S_87106214_INTERNAL, INTERIOR_S_59952039_INTERNAL, INTERIOR_S_51872776_INTERNAL, INTERIOR_S_46682888_INTERNAL and INTERIOR_S_26941778_INTERNAL).The last query also returned 6 table names as output. Out of 6 table, only one had 169 records and I truncated the table (INTERIOR_S_26941778_JOB).
- If you have huge entries in BC_USER_PERM_ASSIGNMENT table then truncate this table. – Since we had only 460 entries in this table, I didn’t truncate this.
- Add property “java.property.gs.dmzrv.timeout=300” in gsengine.tra and try restart the engine.
After restarting the BC and GS engine, I didn’t see any error in logs and I could see files are detected and processed with Response status in gs.log