You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bertrand Delacretaz (JIRA)" <ji...@apache.org> on 2009/04/20 16:31:47 UTC

[jira] Created: (SLING-931) Felix webconsole not restarted after upgrading via jcrinstall

Felix webconsole not restarted after upgrading via jcrinstall
-------------------------------------------------------------

                 Key: SLING-931
                 URL: https://issues.apache.org/jira/browse/SLING-931
             Project: Sling
          Issue Type: Bug
          Components: JCR Install
            Reporter: Bertrand Delacretaz


After upgrading the Felix webconsole from 1.2.6 to 1.2.8 via jcrinstall, by copying the 1.2.8 bundle in a JCR repository folder that's watched by jcrinstall, the webconsole bundle is not restarted.

AFAICS the failure scenario is:
- jcrinstall updates the webconsole bundle and starts a package refresh
-Several bundles that import the webconsole plugin interfaces are stopped and restarted
-That causes more bundles to stop and restart, including eventually jcrinstall
-As jcrinstall doesn't persist the list of bundles that must be restarted after the update, the webconsole restart is lost

Steps to reproduce:
Start the sling launchpad/app
Install the Felix shell and shell text UI services (http://felix.apache.org/site/downloads.cgi)
Install and start the Sling runmode and jcrinstall bundles.
Uninstall the webconsole bundle using the Felix shell UI.
Install and start the Felix webconsole 1.2.6 using the Felix shell UI. 
Refresh packages, from the Felix webconsole or shell.
Try to install the Felix webconsole 1.2.8 via jcrinstall, by copying it in the repository under /libs/testing/install

Result:
/system/console does not display the console anymore
After starting the console bundle from the Felix shell, things are back to normal

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


[jira] Commented: (SLING-931) Felix webconsole not restarted after upgrading via jcrinstall

Posted by "Bertrand Delacretaz (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-931?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12706318#action_12706318 ] 

Bertrand Delacretaz commented on SLING-931:
-------------------------------------------

In the above scenario, the jcrinstall service and its required bundles (runmode, jcrinstall.osgiworker) need to be installed and started.

> Felix webconsole not restarted after upgrading via jcrinstall
> -------------------------------------------------------------
>
>                 Key: SLING-931
>                 URL: https://issues.apache.org/jira/browse/SLING-931
>             Project: Sling
>          Issue Type: Bug
>          Components: JCR Install
>            Reporter: Bertrand Delacretaz
>
> After upgrading the Felix webconsole from 1.2.6 to 1.2.8 via jcrinstall, by copying the 1.2.8 bundle in a JCR repository folder that's watched by jcrinstall, the webconsole bundle is not restarted.
> AFAICS the failure scenario is:
> - jcrinstall updates the webconsole bundle and starts a package refresh
> -Several bundles that import the webconsole plugin interfaces are stopped and restarted
> -That causes more bundles to stop and restart, including eventually jcrinstall
> -As jcrinstall doesn't persist the list of bundles that must be restarted after the update, the webconsole restart is lost
> Steps to reproduce:
> Start the sling launchpad/app
> Install the Felix shell and shell text UI services (http://felix.apache.org/site/downloads.cgi)
> Install and start the Sling runmode and jcrinstall bundles.
> Uninstall the webconsole bundle using the Felix shell UI.
> Install and start the Felix webconsole 1.2.6 using the Felix shell UI. 
> Refresh packages, from the Felix webconsole or shell.
> Try to install the Felix webconsole 1.2.8 via jcrinstall, by copying it in the repository under /libs/testing/install
> Result:
> /system/console does not display the console anymore
> After starting the console bundle from the Felix shell, things are back to normal

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


[jira] Commented: (SLING-931) Felix webconsole not restarted after upgrading via jcrinstall

Posted by "Bertrand Delacretaz (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-931?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12711058#action_12711058 ] 

Bertrand Delacretaz commented on SLING-931:
-------------------------------------------

Fixed in revision 776361, leaving this issue open until corresponding tests are added

> Felix webconsole not restarted after upgrading via jcrinstall
> -------------------------------------------------------------
>
>                 Key: SLING-931
>                 URL: https://issues.apache.org/jira/browse/SLING-931
>             Project: Sling
>          Issue Type: Bug
>          Components: JCR Install
>            Reporter: Bertrand Delacretaz
>
> After upgrading the Felix webconsole from 1.2.6 to 1.2.8 via jcrinstall, by copying the 1.2.8 bundle in a JCR repository folder that's watched by jcrinstall, the webconsole bundle is not restarted.
> AFAICS the failure scenario is:
> - jcrinstall updates the webconsole bundle and starts a package refresh
> -Several bundles that import the webconsole plugin interfaces are stopped and restarted
> -That causes more bundles to stop and restart, including eventually jcrinstall
> -As jcrinstall doesn't persist the list of bundles that must be restarted after the update, the webconsole restart is lost
> Steps to reproduce:
> Start the sling launchpad/app
> Install the Felix shell and shell text UI services (http://felix.apache.org/site/downloads.cgi)
> Install and start the Sling runmode and jcrinstall bundles.
> Uninstall the webconsole bundle using the Felix shell UI.
> Install and start the Felix webconsole 1.2.6 using the Felix shell UI. 
> Refresh packages, from the Felix webconsole or shell.
> Try to install the Felix webconsole 1.2.8 via jcrinstall, by copying it in the repository under /libs/testing/install
> Result:
> /system/console does not display the console anymore
> After starting the console bundle from the Felix shell, things are back to normal

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