felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filippo Diotalevi (JIRA)" <j...@apache.org>
Subject [jira] Commented: (FELIX-937) FileInstall can't handle autostart bundles that are part of watched directory
Date Fri, 20 Feb 2009 20:29:01 GMT

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

Filippo Diotalevi commented on FELIX-937:

I actually tried the same thing that Richard and Sahoo describe... autostarting fileinstall
from the bundle directory. As far as I am concerned, the patch would be welcome.

> 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.

View raw message