Closed Tom-Willemsen closed 7 years ago
Any port above 49152 is in the dynamic allocation range and can be allocated by any windows process - ActiveMQ should either dynamically allocate a port or be changed to use one with a lower number. Restarting ibex suggests it was one of our processes, so starting activeMQ earlier instartup sequence might fix it. Note that it is not just explicit use of our own freeport() function that might claim this port - any IOC that starts up and cannot bind to 5064 will allocate a dynamic port implicitly. These IOC ports are on loopback, but Active MQ may try to bind to all interfaces. Is the activemq port hard-coded in ibex somewhere?
When changing port will also need to change it on:
Port 39990 chosen as it's far from anything in use on SECI or IBEX systems and appears unassigned generally.
This has been seen on Polaris: Some other service (presumably one using freeport) used port 61616. This caused ActiveMQ / JMS to constantly crash and attempt to restart. This was fixed on NDXPOLARIS by restarting IBEX server, but we should fix the root cause as well.
Possible solutions to this ticket:
Below is a sample of the log / error as found on polaris.