SeleniumMonitor with PhantomJS driver needs gson JAR

Description

If you're using SeleniumMonitor with PhantomJSDriver and your services are failing, with the following appearing in poller.log:

Then you probably need to add the following JAR to /opt/opennms/lib and restart:

https://search.maven.org/remotecontent?filepath=com/google/code/gson/gson/2.3.1/gson-2.3.1.jar

It appears the PhantomJSDriver POM does not declare this dependency. We should probably add it to the protocols/selenium POM?

This issue references support ticket https://mynms.opennms.com/Ticket/Display.html?id=3887

Environment

Any system polling services with the SeleniumMonitor via PhantomJSDriver

Acceptance / Success Criteria

None

Attachments

1

Lucidchart Diagrams

Activity

Alejandro Galue July 27, 2015 at 11:07 AM

Fixed in foundation on revision b333828f8af4c59c1658d077c5ffee63b02f89d5.

Cherry-picked on 069f546459aa35d5a6d025768ff0200d28e29b39 for 16.0.3

Alejandro Galue July 1, 2015 at 1:57 PM

The attached file fixes the problem. I tested it on foundation with a full assembly.

Alejandro Galue July 1, 2015 at 1:56 PM

I think this could affect Meridian as well, so I updated the versions.

Fixed

Details

Assignee

Reporter

Labels

Components

Affects versions

Priority

PagerDuty

Created June 15, 2015 at 1:58 PM
Updated July 27, 2015 at 3:07 PM
Resolved July 27, 2015 at 11:07 AM