Unable to start OpenNMS "An error occurred while attempting to start the "OpenNMS:Name=Eventd" service"
Description
Environment
Acceptance / Success Criteria
Attachments
Lucidchart Diagrams
Activity

Benjamin Reed May 7, 2011 at 9:04 PM
Woot!

Sevan Janiyan May 7, 2011 at 8:55 PM
OpenNMS 1.9.8 snapshot running on FreeBSD 8.2 with OpenJDK 1.6.0

Sevan Janiyan May 7, 2011 at 8:54 PM
Thanks Matt, this is now working without having to do anything with jna

Matt Brozowski May 6, 2011 at 9:19 AM
I have a freebsd VM and the 'standard jna' that's in the maven repo crashes
whenever I try to run
java -jar org.opennms.core.jicmpv6-1.9.8-SNAPSHOT.jar 127.0.0.1
I have downloaded and build the devel/jna port and then copied /usr/local/share/java/classes/jna.jar overtop of jna-3.2.7.jar and the same with jna-platform.jar and it works fine and the above command works fine with a fix a committed last night.
I am not sure how the freebsd package of opennms works (I've never installed). If it is configured to find all of the classes from the /usr/local/share location that you may need to change the build for the jicmpv6 jar so it doesn't add a classpath to its MANIFEST.MF. This was added so it was easy to test it on the command line.
Since this is working now I am going to close this as a simple packaging problem.
Matt

Sevan Janiyan April 30, 2011 at 7:26 AM
No, no linux emulation, everything is native.
hmm, I didn't realise JNA was a dependency, I've installed devel/jna & tried again, same thing.
The current version of JNA in ports is jna-3.2.7 which corresponds with whats up at http://java.net/projects/jna/downloads/directory/3.2.7
I'm happy to provide access to the machine I'm doing the builds on or if you need a freebsd sysadmin to manage a VM or machine running freebsd to knock it into shape & bring it up to date if that'd make it easier?
Fresh build of OpenNMS 1.9.8 snapshot on a newly built system fails with the error message
An error occurred while attempting to start the "OpenNMS:Name=Eventd" service (class org.opennms.netmgt.eventd.jmx.Eventd). Shutting down and exiting.