Error when stopping opennms during normal operation

Description

I am getting the below messages nearly everytime I try and stop opennms on my Mac

uzbekistan:bin brozow$ sudo ./opennms -Q stop
Password:
Stopping OpenNMS: error invoking stop operation
stopped

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Donald Desloge October 15, 2014 at 10:57 AM

Exiting with the correct code now.

Benjamin Reed October 15, 2014 at 10:34 AM

Ah, yeah, 0 is the exit status for correct exit.

Alejandro Galue October 15, 2014 at 9:57 AM

Alejandro Galue October 15, 2014 at 9:55 AM

That does the trick ... No more exception, but:

It is going to be a problem on RHEL/CentOS 7 or any other system that works with Systemd.

Donald Desloge October 9, 2014 at 4:19 PM

Delayed the System.exit(1) by 500 milliseconds so that the Controller class would receive the data instead of throwing a SocketException.

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

PagerDuty

Created September 15, 2014 at 11:22 AM
Updated October 15, 2014 at 2:58 PM
Resolved October 15, 2014 at 10:57 AM