[ https://issues.apache.org/jira/browse/ARIES-1253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Bosschaert resolved ARIES-1253. ------------------------------------- Resolution: Fixed I tried the patch and it works for me too. I've applied it in http://svn.apache.org/viewvc?view=revision&revision=1629199 Thanks Carsten! > 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 > Assignee: David Bosschaert > 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)