Minion code throws "java.lang.IllegalStateException: Unknown protocol: mvn"
Description
Acceptance / Success Criteria
Attachments
depends on
Lucidchart Diagrams
Activity

Seth Leger June 14, 2017 at 10:41 AM
The Karaf issue that caused this should be fixed in Karaf 4.0.8:
https://issues.apache.org/jira/browse/KARAF-4762
This should be resolved by the upgrade to Karaf 4.0.8 on OpenNMS and Minion. PR merged, marking as fixed.

Seth Leger April 13, 2017 at 3:47 PM
Just ran into this again, I'll attach the entire log.

Seth Leger April 3, 2017 at 4:17 PM
There is a note in the Apache Karaf 4.1.0 release notes about this issue so it will probably only be resolved by upgrading Karaf.

Jesse White November 28, 2016 at 11:54 AM
Reducing to Major since this is a transient error.

Jesse White November 28, 2016 at 11:53 AM
I've been unable to reproduce this in any consistent way. The 'mvn' protocol handler, is provided by the 'pax-url-aether' bundle, which is loaded by default.
The KarafExtender modifies the configuration of the 'pax-url-aether' bundle at startup, configuring the additional repositories found in the $MINION_HOME/repositories
folder. This should trigger an update, https://github.com/ops4j/org.ops4j.pax.url/blob/url-2.4.7/pax-url-aether/src/main/java/org/ops4j/pax/url/mvn/internal/Activator.java, but the 'mvn' handler should remain available.
I've added some additional logging statements in https://github.com/OpenNMS/opennms/commit/388722cb4ff9bc69e86406017532348236c82ed2, so we can better quantify when this happens.
SNMP Trap exchanges throws below exception.