You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Sahoo (JIRA)" <ji...@apache.org> on 2010/04/03 02:03:27 UTC

[jira] Updated: (FELIX-2248) fileinstall does not restart bundles when the underlying file is modified

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

Sahoo updated FELIX-2248:
-------------------------

    Attachment: FELIX-2248.patch.txt

Patch to address the bug. The start level comparison seems wrong.

> fileinstall does not restart bundles when the underlying file is modified
> -------------------------------------------------------------------------
>
>                 Key: FELIX-2248
>                 URL: https://issues.apache.org/jira/browse/FELIX-2248
>             Project: Felix
>          Issue Type: Bug
>          Components: File Install
>    Affects Versions: fileinstall-2.0.8
>         Environment: Linux
>            Reporter: Sahoo
>            Priority: Critical
>         Attachments: FELIX-2248.patch.txt
>
>
> As I reported earlier in the forum, I found some strange behavior with fileinstall-2.0.8. If I modify a jar in watched directory, fileinstall stops the corresponding bundle and does not restart it until the framework is restarted.
> To reproduce this:
> Copy a new bundle to watched directory.
> Wait for fileinstall to install and start it.
> Now modify the bundle jar in watched dir.
> You shall see the bundle is either in RESOLVED state or INSTALLED state now depending on whether this bundle participates in class loading or not.

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


Re: [jira] Updated: (FELIX-2248) fileinstall does not restart bundles when the underlying file is modified

Posted by Sahoo <Sa...@Sun.COM>.
Has anyone got a chance to look into it?

Thanks,
Sahoo

Sahoo (JIRA) wrote:
>      [ https://issues.apache.org/jira/browse/FELIX-2248?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>
> Sahoo updated FELIX-2248:
> -------------------------
>
>     Attachment: FELIX-2248.patch.txt
>
> Patch to address the bug. The start level comparison seems wrong.
>
>   
>> fileinstall does not restart bundles when the underlying file is modified
>> -------------------------------------------------------------------------
>>
>>                 Key: FELIX-2248
>>                 URL: https://issues.apache.org/jira/browse/FELIX-2248
>>             Project: Felix
>>          Issue Type: Bug
>>          Components: File Install
>>    Affects Versions: fileinstall-2.0.8
>>         Environment: Linux
>>            Reporter: Sahoo
>>            Priority: Critical
>>         Attachments: FELIX-2248.patch.txt
>>
>>
>> As I reported earlier in the forum, I found some strange behavior with fileinstall-2.0.8. If I modify a jar in watched directory, fileinstall stops the corresponding bundle and does not restart it until the framework is restarted.
>> To reproduce this:
>> Copy a new bundle to watched directory.
>> Wait for fileinstall to install and start it.
>> Now modify the bundle jar in watched dir.
>> You shall see the bundle is either in RESOLVED state or INSTALLED state now depending on whether this bundle participates in class loading or not.
>>     
>
>