You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2009/09/22 08:26:16 UTC

[jira] Created: (FELIX-1628) Fileinstall should load configurations as soon as config admin is available

Fileinstall should load configurations as soon as config admin is available
---------------------------------------------------------------------------

                 Key: FELIX-1628
                 URL: https://issues.apache.org/jira/browse/FELIX-1628
             Project: Felix
          Issue Type: Bug
          Components: File Install
            Reporter: Guillaume Nodet




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


[jira] Resolved: (FELIX-1628) Fileinstall should load configurations as soon as config admin is available

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-1628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet resolved FELIX-1628.
------------------------------------

       Resolution: Fixed
    Fix Version/s: fileinstall-2.0.2
         Assignee: Guillaume Nodet

Committing to https://svn.apache.org/repos/asf/felix/trunk ...
	M	fileinstall/src/main/java/org/apache/felix/fileinstall/internal/DirectoryWatcher.java
	M	fileinstall/src/main/java/org/apache/felix/fileinstall/internal/FileInstall.java
	M	fileinstall/src/main/java/org/apache/felix/fileinstall/internal/Scanner.java
Committed r824270

I've also fixed some possible synchronization problems in FileInstall.java

> Fileinstall should load configurations as soon as config admin is available
> ---------------------------------------------------------------------------
>
>                 Key: FELIX-1628
>                 URL: https://issues.apache.org/jira/browse/FELIX-1628
>             Project: Felix
>          Issue Type: Bug
>          Components: File Install
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>             Fix For: fileinstall-2.0.2
>
>


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


[jira] Commented: (FELIX-1628) Fileinstall should load configurations as soon as config admin is available

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-1628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12762233#action_12762233 ] 

Guillaume Nodet commented on FELIX-1628:
----------------------------------------

I don't think so.
The problem is that fileinstall now needs two cycles before installing an artifact (to make sure that the artifact is not still being copied).  So if you have a period of 1000 ms, it takes up to 2 seconds before all the configuration files are started.
FELIX-1626 has a temporary work around, but I think fileinstall should have a new configuration property that would allow to not wait those two cycles at startup.

> Fileinstall should load configurations as soon as config admin is available
> ---------------------------------------------------------------------------
>
>                 Key: FELIX-1628
>                 URL: https://issues.apache.org/jira/browse/FELIX-1628
>             Project: Felix
>          Issue Type: Bug
>          Components: File Install
>            Reporter: Guillaume Nodet
>


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


[jira] Commented: (FELIX-1628) Fileinstall should load configurations as soon as config admin is available

Posted by "Chris Custine (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-1628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12761779#action_12761779 ] 

Chris Custine commented on FELIX-1628:
--------------------------------------

Isn't this already fixed in this changeset? http://fisheye6.atlassian.com/changelog/felix/?cs=809470

I have bumped up fileinstall to an earlier startlevel and this change handles the earlier startup perfectly.  When configadmin is started, fileinstall reprocesses the config files and all related issues such as FELIX-1626 seem to go away.

> Fileinstall should load configurations as soon as config admin is available
> ---------------------------------------------------------------------------
>
>                 Key: FELIX-1628
>                 URL: https://issues.apache.org/jira/browse/FELIX-1628
>             Project: Felix
>          Issue Type: Bug
>          Components: File Install
>            Reporter: Guillaume Nodet
>


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