Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 17553 invoked from network); 19 Sep 2008 14:39:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Sep 2008 14:39:07 -0000 Received: (qmail 29395 invoked by uid 500); 19 Sep 2008 14:39:02 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 29337 invoked by uid 500); 19 Sep 2008 14:39:02 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 29326 invoked by uid 99); 19 Sep 2008 14:39:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Sep 2008 07:39:01 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Sep 2008 14:38:11 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 79DA2234C1DF for ; Fri, 19 Sep 2008 07:38:44 -0700 (PDT) Message-ID: <626943727.1221835124498.JavaMail.jira@brutus> Date: Fri, 19 Sep 2008 07:38:44 -0700 (PDT) From: "Lin Sun (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Reopened: (GERONIMO-4306) Plugin list won't be updated after installing a new server plugin In-Reply-To: <332420950.1221558464326.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/GERONIMO-4306?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lin Sun reopened GERONIMO-4306: ------------------------------- Assignee: (was: Jarek Gawor) Currently, the plugin or app module list is stored along with PortletSession and it will be expired whenever the PortletSession is expired. We did this on purpose as it is expensive (I can notice the slow down for a few seconds) to get the list from server whenever the page is visited. I'd prefer to have a refresh button (within the portlet) to explicitly for the user to refresh the plugin or app module list whenever the user desires to do so. Otherwise, we'll just retrieve the cached data. Thoughts? Lin > 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 > > Attachments: GERONIMO-4306.patch > > > 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.