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

Guillaume Nodet resolved FELIX-938.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: fileinstall-1.4.0

URL: http://svn.apache.org/viewvc?rev=805479&view=rev
Log:
FELIX-938: fileinstall try to start too many bundles

Modified:
   
felix/trunk/fileinstall/src/main/java/org/apache/felix/fileinstall/DirectoryWatcher.java


> FileInstall starts a stopped bundles even if it is stopped transiently by user
> ------------------------------------------------------------------------------
>
>                 Key: FELIX-938
>                 URL: https://issues.apache.org/jira/browse/FELIX-938
>             Project: Felix
>          Issue Type: Bug
>          Components: File Install
>         Environment: generic
>            Reporter: Sahoo
>            Assignee: Guillaume Nodet
>             Fix For: fileinstall-1.4.0, fileinstall-0.9.2
>
>
> Configure File Install to watch a directory. Add some bundles there. File 
> Install will install and start them. Now, using Felix shell or some other 
> utility, stop one of these bundles, wait for File Install to loop again. You 
> shall notice that File Install will start the bundle again. I think this 
> behavior is not desirable. if user has explicitly stopped a bundle, why 
> should File Install start it immediately? In act, there is no way to stop a 
> bundle other than removing it from watched directory. Removing a bundle from 
> watched dir may not always be practical because of file system permission 
> issues. So, I think File Install should not automatically restart a stopped 
> bundle, at least not in the same framework instance.

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