opennms-ackd shouldn't load component-service.xml Spring contexts

Description

The beanRefContext.xml for opennms-ackd tries to load all of the component-service.xml contexts from the classpath. It doesn't need to do this: component-service.xml contexts are loaded as part of the webapp inside web.xml. This will cause duplicate beans to be loaded if you put them inside a component-service.xml file.

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Seth Leger April 27, 2017 at 5:16 PM

PR merged, marking as fixed.

commit e6c63015759aaef6b66cfdcd962db94ed744ab9c

Seth Leger November 14, 2016 at 6:59 PM

There's work in progress for this issue in the jira/NMS-8610 branch.

Seth Leger August 9, 2016 at 5:29 PM

If the component-service.xml is removed from the Ackd beanRefContext.xml, then the following exception occurs on startup:

Fixed

Details

Assignee

Reporter

Components

Sprint

Fix versions

Affects versions

Priority

PagerDuty

Created July 20, 2016 at 12:06 PM
Updated April 27, 2017 at 9:15 PM
Resolved April 27, 2017 at 5:16 PM