Carsten Ziegeler created ARIES-1253:
---------------------------------------
Summary: Subsystem installation assumes location to be a valid url
Key: ARIES-1253
URL: https://issues.apache.org/jira/browse/ARIES-1253
Project: Aries
Issue Type: Bug
Components: Subsystem
Reporter: Carsten Ziegeler
Priority: Critical
If you provide any value for the location parameter of the install() method,
the implementation tries to interpret this as a valid url and fails, for
example if you use "fileinstall:/something.esa"
I think this should work, especially as the spec does not mandate the location
information to be a url
02.10.2014 16:38:31.306 *ERROR* [OsgiInstallerImpl]
org.apache.sling.installer.core.impl.OsgiInstallerImpl Uncaught exception
during task execution!
org.osgi.service.subsystem.SubsystemException: java.net.MalformedURLException:
Unknown protocol: fileinstall
at
org.apache.aries.subsystem.core.internal.InstallAction.run(InstallAction.java:93)
at
org.apache.aries.subsystem.core.internal.InstallAction.run(InstallAction.java:33)
at java.security.AccessController.doPrivileged(Native Method)
at
org.apache.aries.subsystem.core.internal.BasicSubsystem.install(BasicSubsystem.java:621)
at
org.apache.aries.subsystem.core.internal.BasicSubsystem.install(BasicSubsystem.java:259)
at
org.apache.aries.subsystem.core.internal.BasicSubsystem.install(BasicSubsystem.java:63)
at
org.apache.sling.installer.factories.subsystems.impl.InstallSubsystemTask.execute(InstallSubsystemTask.java:48)
at
org.apache.sling.installer.core.impl.OsgiInstallerImpl.executeTasks(OsgiInstallerImpl.java:735)
at
org.apache.sling.installer.core.impl.OsgiInstallerImpl.run(OsgiInstallerImpl.java:249)
at java.lang.Thread.run(Thread.java:745)
C
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)