Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-5462

snmp4j implementation of opennms not usable inside OSGI-Container

    XMLWordPrintable

    Details

      Description

      Caused by: java.lang.ClassNotFoundException: *** Class 'org.snmp4j.smi.Address' was not found because bundle org.opennms.core.snmp.implementations.snmp4j [176] does not import 'org.snmp4j.smi' even though bundle wrap_mvn_org.snmp4j_snmp4j [120] does export it. To resolve this issue, add an import for 'org.snmp4j.smi' to bundle org.opennms.core.snmp.implementations.snmp4j [176]. ***

      org.snmp4j.smi.Address is used in Snmp4JAgentConfig

      OpenNMS SNMP4J SNMP Implementation (176)
      ----------------------------------------
      Manifest-Version = 1
      Bnd-LastModified = 1343570102804
      Tool = Bnd-1.43.0
      Built-By = thargor
      Build-Jdk = 1.6.0_24
      Created-By = Apache Maven Bundle Plugin

      Bundle-Name = OpenNMS SNMP4J SNMP Implementation
      Bundle-Description = OpenNMS is the world's first enterprise grade network management platform developed under the open source model. It consists of a community supported open-source project as well as a commercial services, training and support organization.
      Bundle-SymbolicName = org.opennms.core.snmp.implementations.snmp4j
      Bundle-Version = 1.11.2.SNAPSHOT
      Bundle-ManifestVersion = 2

      Import-Package =
      org.apache.commons.lang.builder;version="[2.6,3)",
      org.opennms.core.utils;version="[1.11,2)",
      org.opennms.netmgt.snmp;version="[1.11,2)",
      org.snmp4j,
      org.snmp4j.asn1,
      org.snmp4j.event,
      org.snmp4j.mp,
      org.snmp4j.security,
      org.snmp4j.transport
      Export-Package =
      org.opennms.netmgt.snmp.snmp4j;
      uses:="org.opennms.core.utils,
      org.snmp4j.asn1,
      org.snmp4j.security,
      org.snmp4j.transport,
      org.opennms.netmgt.snmp,
      org.snmp4j,
      org.snmp4j.mp,
      org.snmp4j.event,
      org.apache.commons.lang.builder";
      version=1.11.2.SNAPSHOT

        Attachments

          Activity

            People

            • Assignee:
              seth Seth Leger
              Reporter:
              thargor Simon Walter
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: