Uploaded image for project: 'opendove'
  1. opendove
  2. OPENDOVE-1

bundle installation order causes 404 error when accessing DMC NB API

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • unspecified
    • None
    • General
    • None
    • Operating System: Mac OS
      Platform: All

    • 243

    Description

      Reproducing the error:

      In daylight console, I load dove bundles:
      osgi> install file:///root/opendove/odmc/target/odmc-0.4.0-SNAPSHOT.jar
      osgi> install file:///root/opendove/odmc/rest/target/odmc.rest-0.4.0-SNAPSHOT.jar
      osgi> install file:///root/opendove/odmc/rest/northbound/target/odmc.rest.northbound-0.4.0-SNAPSHOT.jar
      osgi> install file:///root/opendove/odmc/rest/southbound/target/odmc.rest.southbound-0.4.0-SNAPSHOT.jar
      osgi> install file:///root/opendove/odmc/implementation/target/odmc.implementation-0.4.0-SNAPSHOT.jar

      5) In daylight console, I start these dove bundles:
      osgi> start 248
      osgi> start 249
      osgi> start 250
      osgi> start 251
      osgi> start 252

      Here I get an error:
      2013-12-12 15:02:36.426 EST [Gogo shell] ERROR o.e.g.w.i.StandardWebApplication - Failed to start web application at context path '/controller/nb/v2/opendove/odmc'
      org.eclipse.gemini.web.core.spi.ContextPathExistsException: Context path '/controller/nb/v2/opendove/odmc' already exists

      I turn on my browser and check these URLs:

      http://sysnet26.watson.ibm.com:8080/controller/nb/v2/neutron/networks
      It retuens:
      {
      "networks" : [ ]
      }

      http://sysnet26.watson.ibm.com:8080/controller/nb/v2/opendove/odmc/networks
      It returns:
      HTTP Status 404 - /controller/nb/v2/opendove/odmc/networks

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            aashaikh@us.ibm.com Anees Shaikh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: