It`s a two simple applications for help to reproduce bug.
simple-spring-boot-node - has handler for make response to check is node still live
monitoring - contains periodic timer which sends every 2 sec event to check is node still live.
and simple html page for help monitoring status at port 8082
Steps.
- Build all mvn clean install.
- Run two nodes of simple-spring-boot-node :
cd simple-spring-boot-node/
java -jar target/vertx-spring-boot-service-1.0-SNAPSHOT-fat.jar -cluster -conf channel1.conf
java -jar target/vertx-spring-boot-service-1.0-SNAPSHOT-fat.jar -cluster -conf channel2.conf - Run one monitoring
cd monitoring/
java -jar java -jar target/monitoring-1.0-SNAPSHOT-fat.jar -cluster -conf monitoring.conf
You can check simple html page at localhost: 8082. Where you can see some stuff received from simple-spring-boot-node and see simple table with last node status. At this stage at html all green and success. Any timeout errors at logs.
-
Next. Look for PID of started java apps.
$ ps ax | grep vertx-spring-boot-service -
Terminate kill this nodes, so should left only monitoring node
kill -9 PID1 PID2 -
Start this nodes again. (step 2)
-
Wait minutes and check logs in console - time to time you can see (TIMEOUT,-1) Timed out waiting for reply And this never end. At monitoring this issues will marked as unstable