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

Marcel Reutegger updated SLING-1305:
------------------------------------

    Description: 
>From time to time I see a timeout warning logged by the 
>SynchronousRefreshPackagesTask in my system, triggered by a bundle update in 
>the repository. In most cases the event is received within a reasonably time 
>frame, but in some cases the event is not received and the time limit of 30 
>seconds is reached.

When an update works fine, the log messages are something like (debug enabled 
for osgi installer):

*DEBUG* [FelixDispatchQueue] org.apache.sling.osgi.installer 
FrameworkEvent.PACKAGES_REFRESHED
*INFO* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent PACKAGES 
REFRESHED

But when it doesn't, then there is only the info message.

  was:
>From time to time I see a timeout warning logged by the 
>SynchronousRefreshPackagesTask in my system, triggered by a bundle update in 
>the repository. In most cases the event is received within a reasonably time 
>frame, but in some cases the event is not received and the time limit of 30 
>seconds is reached.

When an update works fine, the log messages are something like:


Enabling debug messages for the osgi installer classes shows the event is 
propagated correctly in most cases. but when it doesn't, only this info message 
is


> SynchronousRefreshPackagesTask may miss PACKAGES_REFRESHED event
> ----------------------------------------------------------------
>
>                 Key: SLING-1305
>                 URL: https://issues.apache.org/jira/browse/SLING-1305
>             Project: Sling
>          Issue Type: Bug
>          Components: Installer
>            Reporter: Marcel Reutegger
>            Priority: Minor
>
> From time to time I see a timeout warning logged by the 
> SynchronousRefreshPackagesTask in my system, triggered by a bundle update in 
> the repository. In most cases the event is received within a reasonably time 
> frame, but in some cases the event is not received and the time limit of 30 
> seconds is reached.
> When an update works fine, the log messages are something like (debug enabled 
> for osgi installer):
> *DEBUG* [FelixDispatchQueue] org.apache.sling.osgi.installer 
> FrameworkEvent.PACKAGES_REFRESHED
> *INFO* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent 
> PACKAGES REFRESHED
> But when it doesn't, then there is only the info message.

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