[ 
https://issues.apache.org/jira/browse/FELIX-937?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12675385#action_12675385
 ] 

Richard S. Hall commented on FELIX-937:
---------------------------------------

I have been toying with the idea of using File Install as a new Felix launcher 
of sorts, so the ability to auto-start File Install and have it in the same 
directory as the other bundles it manages without erroring, sounds like a good 
idea to me.

> FileInstall can't handle autostart bundles that are part of watched directory
> -----------------------------------------------------------------------------
>
>                 Key: FELIX-937
>                 URL: https://issues.apache.org/jira/browse/FELIX-937
>             Project: Felix
>          Issue Type: Bug
>          Components: File Install
>         Environment: generic
>            Reporter: Sahoo
>
> Let's say you configure File Install to watch directory /tmp/modules and 
> there is a bundle called /modules/foo.jar which is specified as an autostart 
> bundle. In Felix's config.properties, autostart bundles are specified using 
> URLs (file:///modules/foo.jar in this case) which is internally used as the 
> location of the bundle as well. On the other hand, File Install uses 
> "absolute path" (/modules/foo.jar in this case) as the location. As a result, 
> when File Install tries to install the same bundle, it gets the following 
> error:
> INFO: failed to install/start bundle: : org.osgi.framework.BundleException: 
> Could not create bundle object.
> This is caused by org.osgi.framework.BundleException: Bundle symbolic name 
> and version are not unique.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to