# Java RPC Server: How to increase number of restarts

**URL:** <https://techcommunity.softwareag.com/t/java-rpc-server-how-to-increase-number-of-restarts/58779>\
**Category:** Forum\
**Tags:** Mainframe-Integration, EntireX\
**Created:** [November 10, 2004, 11:33am UTC](https://techcommunity.softwareag.com/t/java-rpc-server-how-to-increase-number-of-restarts/58779 "2004-11-10T11:33:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![stemutec](https://avatars.discourse-cdn.com/v4/letter/s/fbc32d/32.png) [@stemutec](https://techcommunity.softwareag.com/u/stemutec)\
**Post date:** [November 10, 2004, 11:33am UTC](https://techcommunity.softwareag.com/t/java-rpc-server-how-to-increase-number-of-restarts/58779/1 "2004-11-10T11:33:23Z")

</div>

We have a Java RPC server, version 7.1.1.0, running on Win2K and a BS2000-broker on the remote end. Sometimes the broker goes offline for maintainance reasons. During this offline-time the RPC server make 15 attempts to reconnect to the broker and finally shuts down.  
  
How can we increase this number of attempts from 15 to a higher value? Any hints on what to insert in the server’s property-file?  
  
tia,  
stemutec

---

<div class="post-metadata">

**Author:** ![Rolf\_Bahlke](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/rolf_bahlke/32/109_2.png) [@Rolf\_Bahlke](https://techcommunity.softwareag.com/u/Rolf_Bahlke)\
**Post date:** [November 10, 2004, 2:29pm UTC](https://techcommunity.softwareag.com/t/java-rpc-server-how-to-increase-number-of-restarts/58779/2 "2004-11-10T14:29:15Z")

</div>

In the 7.1.1.30 version of the Documentation you will find in the section _Administration of the EntireX Java RPC Server on …_ the description of the properties.  
  
**entirex.server.restartcycles** is defined as _Number of restart attempts if the Broker is not available. This can be used to keep the Java RPC Server running while the Broker is down for a short time._  
  
Kind regards,  
Rolf

---

<div class="post-metadata">

**Author:** ![stemutec](https://avatars.discourse-cdn.com/v4/letter/s/fbc32d/32.png) [@stemutec](https://techcommunity.softwareag.com/u/stemutec)\
**Post date:** [November 10, 2004, 9:09pm UTC](https://techcommunity.softwareag.com/t/java-rpc-server-how-to-increase-number-of-restarts/58779/3 "2004-11-10T21:09:21Z")

</div>

Hi Rolf,  
  
thanks a lot for your immediate answer. We’ll try to get the latest version of the Communicator.  
  
cu,  
Stefan

---

<div class="post-metadata">

**Author:** ![Grit\_Gentsch](https://avatars.discourse-cdn.com/v4/letter/g/f08c70/32.png) [@Grit\_Gentsch](https://techcommunity.softwareag.com/u/Grit_Gentsch)\
**Post date:** [April 19, 2005, 3:12pm UTC](https://techcommunity.softwareag.com/t/java-rpc-server-how-to-increase-number-of-restarts/58779/4 "2005-04-19T15:12:50Z")

</div>

Hi,

can we increase the waiting time before restarting the server?

Our broker is going offline every weekday between 6pm and 7pm while backup the databases and other. The Java RPC server should wait 5 - 10 minutes before try to restart.

Thanks  
Grit

---

<div class="post-metadata">

**Author:** ![Rolf\_Bahlke](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/rolf_bahlke/32/109_2.png) [@Rolf\_Bahlke](https://techcommunity.softwareag.com/u/Rolf_Bahlke)\
**Post date:** [April 19, 2005, 6:16pm UTC](https://techcommunity.softwareag.com/t/java-rpc-server-how-to-increase-number-of-restarts/58779/5 "2005-04-19T18:16:25Z")

</div>

Hi Grit,

unfortunately it is not possible to change the value of the wait time.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 2:39pm UTC](https://techcommunity.softwareag.com/t/java-rpc-server-how-to-increase-number-of-restarts/58779/6 "2021-04-02T14:39:28Z")

</div>


