felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sahoo <Sa...@Sun.COM>
Subject Re: [jira] Updated: (FELIX-2248) fileinstall does not restart bundles when the underlying file is modified
Date Tue, 06 Apr 2010 05:07:09 GMT
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.
>>     
>
>   

Mime
View raw message