karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Resolved] (KARAF-3857) Error with nested cfg folders and BndUtils
Date Fri, 06 Nov 2015 14:21:27 GMT

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

Jean-Baptiste Onofré resolved KARAF-3857.
-----------------------------------------
    Resolution: Fixed

> Error with nested cfg folders and BndUtils
> ------------------------------------------
>
>                 Key: KARAF-3857
>                 URL: https://issues.apache.org/jira/browse/KARAF-3857
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 4.0.0
>         Environment: Windows
>            Reporter: Paolo Antinori
>            Priority: Minor
>
> Windows only.
> Create a subfolder in {{etc/}}. Ex. {{etc/nested}}
> Put an empty  {{test.cfg}} file in {{etc/nested}}
> You get this error:
> {code}
> 2015-07-15 17:04:18,911 | ERROR | 4.0.0\bin\..\etc | fileinstall                    
 | 4 - org.apache.felix.fileinstall - 3.5.0 | Failed to install artifact: H:\k2\apache-karaf-4.0.0\etc\nested
> java.net.MalformedURLException: Invalid syntax for instruction [Bundle-SymbolicName=H:\k2\apache-karaf].
Take a look at http://www.aqute.biz/Code/Bnd.
> 	at org.ops4j.pax.swissbox.bnd.BndUtils.parseInstructions(BndUtils.java:302)[50:org.ops4j.pax.url.wrap:2.4.1]
> 	at org.ops4j.pax.url.wrap.internal.Parser.<init>(Parser.java:116)[50:org.ops4j.pax.url.wrap:2.4.1]
> 	at org.ops4j.pax.url.wrap.internal.Connection.<init>(Connection.java:67)[50:org.ops4j.pax.url.wrap:2.4.1]
> 	at org.ops4j.pax.url.wrap.internal.Activator$1.createConnection(Activator.java:59)[50:org.ops4j.pax.url.wrap:2.4.1]
> 	at org.ops4j.pax.url.wrap.internal.Activator$1.createConnection(Activator.java:49)[50:org.ops4j.pax.url.wrap:2.4.1]
> 	at org.ops4j.pax.url.commons.handler.HandlerActivator$Handler.openConnection(HandlerActivator.java:222)[50:org.ops4j.pax.url.wrap:2.4.1]
> 	at org.apache.felix.framework.URLHandlersStreamHandlerProxy.openConnection(URLHandlersStreamHandlerProxy.java:271)[org.apache.felix.framework-5.0.1.jar:]
> 	at java.net.URL.openConnection(URL.java:971)[:1.7.0_79]
> 	at java.net.URL.openStream(URL.java:1037)[:1.7.0_79]
> 	at org.apache.felix.fileinstall.internal.DirectoryWatcher.install(DirectoryWatcher.java:943)[4:org.apache.felix.fileinstall:3.5.0]
> 	at org.apache.felix.fileinstall.internal.DirectoryWatcher.install(DirectoryWatcher.java:865)[4:org.apache.felix.fileinstall:3.5.0]
> 	at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:482)[4:org.apache.felix.fileinstall:3.5.0]
> 	at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:358)[4:org.apache.felix.fileinstall:3.5.0]
> 	at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:310)[4:org.apache.felix.fileinstall:3.5.0]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message