You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2014/10/02 17:21:33 UTC

[jira] [Updated] (ARIES-1253) Subsystem installation assumes location to be a valid url

     [ https://issues.apache.org/jira/browse/ARIES-1253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler updated ARIES-1253:
------------------------------------
    Attachment: Location.java.patch

Potential patch

> 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
>         Attachments: Location.java.patch
>
>
> 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)