# Shutdown and Restart RPC server

**URL:** <https://techcommunity.softwareag.com/t/shutdown-and-restart-rpc-server/59677>\
**Category:** Forum\
**Tags:** Mainframe-Integration, EntireX\
**Created:** [July 31, 2006, 9:21pm UTC](https://techcommunity.softwareag.com/t/shutdown-and-restart-rpc-server/59677 "2006-07-31T21:21:10Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ricardo1](https://avatars.discourse-cdn.com/v4/letter/r/b9bd4f/32.png) [@ricardo1](https://techcommunity.softwareag.com/u/ricardo1)\
**Post date:** [July 31, 2006, 9:21pm UTC](https://techcommunity.softwareag.com/t/shutdown-and-restart-rpc-server/59677/1 "2006-07-31T21:21:10Z")

</div>

Running Java RPC Server under linux, this server connects to a JBoss application to run our business logic.

We create a hourly job to connect to JBoss and the RPC server to check if they are running ok.

Is there a argument to be given to com.softwareag.entirex.aci.RPCServer to deregister from broker without manual intervention(System Management Hub)? Any other ideas?

Thank you all

---

<div class="post-metadata">

**Author:** ![Douglas\_Kelly](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/douglas_kelly/32/102_2.png) [@Douglas\_Kelly](https://techcommunity.softwareag.com/u/Douglas_Kelly)\
**Post date:** [August 1, 2006, 12:42pm UTC](https://techcommunity.softwareag.com/t/shutdown-and-restart-rpc-server/59677/2 "2006-08-01T12:42:02Z")

</div>

configure entirex.server.minserver=1, entirex.server.fixedservers=no with entirex.server.waitserver=nS

When the waitserver timeout is reached, the server will deregister until there is only 1 (minserver) server running (set maxserver to number of concurrent processes you expect; this can be 1 also). Note that at least one server is always running.

These parameters can be supplied from the command line or the properties file.

---

<div class="post-metadata">

**Author:** ![ricardo1](https://avatars.discourse-cdn.com/v4/letter/r/b9bd4f/32.png) [@ricardo1](https://techcommunity.softwareag.com/u/ricardo1)\
**Post date:** [August 2, 2006, 4:44am UTC](https://techcommunity.softwareag.com/t/shutdown-and-restart-rpc-server/59677/3 "2006-08-02T04:44:02Z")

</div>

This is what we have on our properties file  
entirex.server.waitserver=15S  
entirex.server.maxservers=32  
entirex.server.minservers=1  
entirex.server.fixedservers=no  
entirex.server.restartcycles=15

But yet this server sometimes stop working properly, than I have to shut it down manually than restart. Am I setting something wrong or is there a way around?

---

<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:** [August 2, 2006, 5:28pm UTC](https://techcommunity.softwareag.com/t/shutdown-and-restart-rpc-server/59677/4 "2006-08-02T17:28:41Z")

</div>

> [@ricardo](#):
>
> But yet this server sometimes stop working properly, …

What happens exactly ?

---

<div class="post-metadata">

**Author:** ![ricardo1](https://avatars.discourse-cdn.com/v4/letter/r/b9bd4f/32.png) [@ricardo1](https://techcommunity.softwareag.com/u/ricardo1)\
**Post date:** [August 7, 2006, 6:19am UTC](https://techcommunity.softwareag.com/t/shutdown-and-restart-rpc-server/59677/5 "2006-08-07T06:19:43Z")

</div>

We suspect a remote ejb class was out dated, but error message was saying it could load the class, so… my bad… I was wondering if is there anyone using avaRPCServer with JMX? It could be great being able to run a test call or use a timer call…

Thanks…:oops:

---

<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:** [August 7, 2006, 3:23pm UTC](https://techcommunity.softwareag.com/t/shutdown-and-restart-rpc-server/59677/6 "2006-08-07T15:23:27Z")

</div>

You can set/change the properties

entirex.server.verbose=yes  
entirex.trace=2

to get more diagnostic information from the Java RPC Server.

---

<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/shutdown-and-restart-rpc-server/59677/7 "2021-04-02T14:39:59Z")

</div>


