Space in bundle url not handled correctly in Concierge startup file
-------------------------------------------------------------------
Key: PAXRUNNER-92
URL: http://issues.ops4j.org/jira/browse/PAXRUNNER-92
Project: Pax Runner
Issue Type: Bug
Components: platform concierge
Affects Versions: 0.5.6
Reporter: Alin Dreghiciu
Assignee: Alin Dreghiciu
Fix For: 0.5.7
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.
---------------------------------------------------------
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.ops4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general