Just raised https://issues.apache.org/jira/browse/FELIX-1771 for that

On Mon, Oct 19, 2009 at 08:46, Guillaume Nodet <[email protected]> wrote:
> Yes, it looks like a bug specific to windows.
> I have reproduced the problem and I can see the following exception in the 
> log:
>
> 08:43:24,950 | ERROR | nerated-bundles} | FeatureDeploymentListener
>    | atures.FeatureDeploymentListener  200 | Unable to install /
> uninstall feature
> java.net.URISyntaxException: Illegal character in path at index 65:
> bundle://30.0:0/META-INF/org.apache.felix.karaf.shell.features/C:\Java\apache-felix-karaf-1.
> 0.0\deploy\feature.xml
>        at java.net.URI$Parser.fail(URI.java:2809)
>        at java.net.URI$Parser.checkChars(URI.java:2982)
>        at java.net.URI$Parser.parseHierarchical(URI.java:3066)
>        at java.net.URI$Parser.parse(URI.java:3014)
>        at java.net.URI.<init>(URI.java:578)
>        at java.net.URL.toURI(URL.java:918)
>        at 
> org.apache.felix.karaf.deployer.features.FeatureDeploymentListener.bundleChanged(FeatureDeploymentListener.java:168)
>        at 
> org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:800)
>        at 
> org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:728)
>        at 
> org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:610)
>        at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:3592)
>        at org.apache.felix.framework.Felix.installBundle(Felix.java:2483)
>        at org.apache.felix.framework.Felix.installBundle(Felix.java:2282)
>        at 
> org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:130)
>        at 
> org.apache.felix.fileinstall.internal.DirectoryWatcher.install(DirectoryWatcher.java:668)
>        at 
> org.apache.felix.fileinstall.internal.DirectoryWatcher.install(DirectoryWatcher.java:580)
>        at 
> org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:287)
>
> Could you please raise a JIRA and we'll get that fix asap.  We are
> planning  a 1.0.2 release in the coming weeks.
>
> 2009/10/18 Peter Gardfjäll <[email protected]>:
>> Hi,
>>
>> I've just started experimenting with Apache Karaf, and have been trying to
>> hot deploy a feature descriptor by simply dropping the file in the deploy
>> directory which, according to the user's guide, should trigger the
>> installation of all feature bundles listed in the descriptor.
>> However, nothing seems to happen, besides a feature bundle being installed
>> in the OSGi container.
>> The osgi:list command at the prompt reveals that a new bundle is available:
>>
>>   [  30] [Active     ] [            ] [   60] C:\tmp\apache-felix-karaf
>> (1.0.0.deploymyfeature)
>>
>> But none of the bundles that the descriptor lists has been installed.
>>
>> My feature descriptor (myfeature.xml) has the following content:
>>
>> <features>
>>    <feature name="myfeature" version="1.0.0">
>>
>> <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.aopalliance/1.0_1</bundle>
>>        <bundle>mvn:org.springframework/spring-core/2.5.6.SEC01</bundle>
>>        <bundle>mvn:org.springframework/spring-beans/2.5.6.SEC01</bundle>
>>
>> <bundle>mvn:org.springframework/spring-aop/2.5.6.SEC01</bundle>
>>        <bundle>mvn:org.springframework/spring-context/2.5.6.SEC01</bundle>
>>
>> <bundle>mvn:org.springframework/spring-context-support/2.5.6.SEC01</bundle>
>>    </feature>
>> </features>
>>
>> Am I doing some obvious mistake or have I encountered a bug?
>>
>> I am using the Karaf 1.0.0 release in a win xp setting.
>>
>> best regards, Peter
>>
>
>
>
> --
> Cheers,
> Guillaume Nodet
> ------------------------
> Blog: http://gnodet.blogspot.com/
> ------------------------
> Open Source SOA
> http://fusesource.com
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to