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:01:27 UTC
[jira] Created: (FELIX-2248) fileinstall does not restart bundles
when the underlying file is modified
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
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.
[jira] Resolved: (FELIX-2248) fileinstall does not restart bundles
when the underlying file is modified
Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-2248?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet resolved FELIX-2248.
------------------------------------
Resolution: Fixed
Fix Version/s: fileinstall-2.0.10
Committing to https://svn.apache.org/repos/asf/felix/trunk ...
M fileinstall/src/main/java/org/apache/felix/fileinstall/internal/DirectoryWatcher.java
Committed r932264
> 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
> Assignee: Guillaume Nodet
> Priority: Critical
> Fix For: fileinstall-2.0.10
>
> 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.
[jira] Assigned: (FELIX-2248) fileinstall does not restart bundles
when the underlying file is modified
Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-2248?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet reassigned FELIX-2248:
--------------------------------------
Assignee: Guillaume Nodet
> 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
> Assignee: Guillaume Nodet
> 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.
>>
>
>
[jira] Updated: (FELIX-2248) fileinstall does not restart bundles
when the underlying file is modified
Posted by "Sahoo (JIRA)" <ji...@apache.org>.
[ 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.