geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Gawor (JIRA)" <j...@apache.org>
Subject [jira] Commented: (GERONIMO-4306) Plugin list won't be updated after installing a new server plugin
Date Tue, 16 Sep 2008 21:29:46 GMT

    [ https://issues.apache.org/jira/browse/GERONIMO-4306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12631560#action_12631560
] 

Jarek Gawor commented on GERONIMO-4306:
---------------------------------------

Another solution to this problem would be to add some kind of a listener mechanism to PluginInstallerGBean
where the PluginInstallerGBean would call the right listener methods whenever a plugin was
installed or uninstalled from the system (however it was installed). That way the portlet
could register its own listener and figure out if any plugins where installed or uninstalled
since the last time the plugin list was obtained/cached. 

However, I'm totally ok with solution #1.


> Plugin list won't be updated after installing a new server plugin
> -----------------------------------------------------------------
>
>                 Key: GERONIMO-4306
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4306
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: console
>    Affects Versions: 2.1.3
>            Reporter: Rex Wang
>             Fix For: 2.1.4, 2.2
>
>
> Steps:
> 1. Login web console
> 2. Go to "Plugin -> Assemble Server" portlet, and click the button - "Assemble a server",
then get the current plugin list.
> 3. Go to "Plugin -> Install Plugins" portlet to install a new plugin
> 4. Go back to the "Assemble Server", and click the button, then the list is not updated.
> Proposed fix:
> 1.
> In "AssemblyListHandler.java", we cached the plugin list in portlet session, and that
won't be updated after installing a new plugin by web console.
> If we add codes to refresh the session after installing a plugin in "Install Plugins"
portlet, it seems to solve this problem. But it does not work for using the gsh to install
new plugins.
> So, we have to let the AssemblyListHandler load the plugin list each time we open the
portlet. And good news is that I did not see any significant performance falling.
> 2.
> And another method to solve this problem is that  "ask user to logout and login back
when they install some plugins if they want to see their plugins list in the 'assemble Server'
portlet", but is it acceptable?
> If the #1 is more reasonable, I can provide a patch. 
> Thanks
> Rex

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


Mime
View raw message