Description
activeMQ status command is not working as expected in 5.16.2 version
Earlier or working version (before 5.16 version) -> ps -p $ACTIVEMQ_PID]" | grep java
with V5.1.6.2 version command changed like below - > ps -o "pid,arg" .....
as per UNIX ps command documentation ps -o command will show current terminal process only.
Problematic scenario: (steps to recreate issue)
Step 1 : open UNIX Terminal 1
Step 2 : Start activeMQ from terminal 1, activemq started successfully and status shows correctly (RUNNING) in terminal 1
Step 3 : open UNIX terminal 2
Step 4 : Check status from terminal 2, activemq status command will show as activemq is down.
Step 5 : Can start activemq again from terminal 2, this is causing levedb corruption and other issue because multiple process