Uploaded image for project: 'Pax Runner'
  1. PAXRUNNER-92

Space in bundle url not handled correctly in Concierge startup file

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.5.6
    • Fix Version/s: 0.6.0
    • Component/s: concierge
    • Labels:
      None

      Description

      When the path to pax runner working directory contains spaces Concierge will interpret the space as a separator between bundles to be installed as reported by Cameron Taggart:

      Pax Runner from OPS4J - http://www.ops4j.org
      --------------------------------------------

      -> Using config classpath:META-INF/runner.properties
      -> Downloading bundles...
      -> Execution environment J2SE-1.6
      -> Starting platform Concierge 1.0.0. Runner has succesfully finished his job!
      ---------------------------------------------------------
      Concierge OSGi 1.0_RC1 on Windows XP 5.1 starting ...
      ---------------------------------------------------------
      purging storage ...
      IGNORING NON-BUNDLE file:/D:/eclipse/workspace/.metadata/.plugins/org.eclipse.pde.core/Concierge
      IGNORING NON-BUNDLE via
      INSTALLING Pax/runner/bundles/1243266899.jar
      IGNORING NON-BUNDLE file:/D:/eclipse/workspace/.metadata/.plugins/org.eclipse.pde.core/Concierge
      IGNORING NON-BUNDLE via
      INSTALLING Pax/runner/bundles/2049110755.jar
      org.osgi.framework.BundleException: Cannot retrieve bundle from Pax/runner/bundles/1243266899.jar
      at ch.ethz.iks.concierge.framework.Framework.installNewBundle(Framework.java:1059)
      at ch.ethz.iks.concierge.framework.Framework.startup (Framework.java:457)
      at ch.ethz.iks.concierge.framework.Framework.main(Framework.java:314)
      java.io.FileNotFoundException: D:\eclipse\workspace\.metadata\.plugins\org.eclipse.pde.core\Concierge via Pax\runner\concierge\Pax\runner\bundles\1243266899.jar (The system cannot find the path specified)
      at java.io.FileInputStream.open(Native Method)
      at java.io.FileInputStream.<init>(FileInputStream.java:106)
      at java.io.FileInputStream.<init>(FileInputStream.java:66)
      at sun.net.www.protocol.file.FileURLConnection.connect (FileURLConnection.java:70)
      at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
      at ch.ethz.iks.concierge.framework.Framework.installNewBundle(Framework.java:1056)
      at ch.ethz.iks.concierge.framework.Framework.startup(Framework.java:457)
      at ch.ethz.iks.concierge.framework.Framework.main(Framework.java:314)
      org.osgi.framework.BundleException: Cannot retrieve bundle from Pax/runner/bundles/2049110755.jar
      at ch.ethz.iks.concierge.framework.Framework.installNewBundle(Framework.java:1059)
      at ch.ethz.iks.concierge.framework.Framework.startup(Framework.java:457)
      at ch.ethz.iks.concierge.framework.Framework.main (Framework.java:314)
      java.io.FileNotFoundException: D:\eclipse\workspace\.metadata\.plugins\org.eclipse.pde.core\Concierge via Pax\runner\concierge\Pax\runner\bundles\2049110755.jar (The system cannot find the path specified)
      at java.io.FileInputStream.open(Native Method)
      at java.io.FileInputStream.<init>(FileInputStream.java:106)
      at java.io.FileInputStream.<init>(FileInputStream.java:66)
      at sun.net.www.protocol.file.FileURLConnection.connect (FileURLConnection.java:70)
      at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
      at ch.ethz.iks.concierge.framework.Framework.installNewBundle(Framework.java:1056)
      at ch.ethz.iks.concierge.framework.Framework.startup(Framework.java:457)
      at ch.ethz.iks.concierge.framework.Framework.main(Framework.java:314)
      ---------------------------------------------------------
      Framework started in 0.891 seconds.
      ---------------------------------------------------------

        Attachments

          Activity

            People

            • Assignee:
              adreghiciu@gmail.com Alin Dreghiciu
              Reporter:
              adreghiciu@gmail.com Alin Dreghiciu
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: