Uploaded image for project: 'Aries'
  1. Aries
  2. ARIES-1861

Blueprint Spring does not work without internet connection

    XMLWordPrintableJSON

Details

    Description

      We are migrating for a customer a lot of old Spring-DM based bundles he used to run on a Karaf 2.x to Karaf 4.x. We were hoping to leverage the Blueprint Spring functionality available in Karaf to not have to not have to change to Blueprint (at least for now).

      Unfortunately, it doesn't seem to work when no internet connection is available, because it is trying to download the spring bean schema 'http://www.springframework.org/schema/osgi/spring-osgi.xsd'.

      I created a simple Spring-DM based bundle  based on the Aries blueprint Hello World sample and I am able successfully run it on a Karaf 4.2.1 - start karaf, install aries-blueprint-spring and copy the jar to the deploy folder => bundle starts and service is available. Same scenario with internet connection disabled => the bundle is in failed status .
      I have attached the simple project and the Karaf log file with the exception.

      Requiring a internet connection is a no go for the customer.

      Attachments

        1. blueprint-spring.zip
          7 kB
          Zsolt Beothy-Elo
        2. karaf.log
          68 kB
          Zsolt Beothy-Elo

        Activity

          People

            gnodet Guillaume Nodet
            zbeothy Zsolt Beothy-Elo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: