Geronimo
  1. Geronimo
  2. GERONIMO-5769

Web Application Bundles (WABs) do not show up in admin console

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.0
    • Component/s: None
    • Security Level: public (Regular issues)
    • Labels:
      None

      Description

      Deployed Web Application Bundles (WABs) do not show up anywhere in the admin console. We should either list them under web application view (with their context paths) or add additional view (similar to EBAs) to view WABs only.

        Activity

        Hide
        Jarek Gawor added a comment -

        I was trying to address a few minor issues with the way the WABs were displayed in the console and ended up refactoring the WAB handling code into a separate portlet. Committed the changes to trunk in revision 1074041 and M2 branch in revision 1074042.

        Show
        Jarek Gawor added a comment - I was trying to address a few minor issues with the way the WABs were displayed in the console and ended up refactoring the WAB handling code into a separate portlet. Committed the changes to trunk in revision 1074041 and M2 branch in revision 1074042.
        Hide
        Shawn Jiang added a comment -

        Thanks Jarek, I'm also thinking about how to make it right. I agree searching with OSGi API is a better way to handle this and will try it tomorrow.

        Show
        Shawn Jiang added a comment - Thanks Jarek, I'm also thinking about how to make it right. I agree searching with OSGi API is a better way to handle this and will try it tomorrow.
        Hide
        Jarek Gawor added a comment -

        I think we need to get this right. The portlet displaying the WABs should be using regular OSGi API to find all bundles with Web-ContextPath header. It shouldn't have to use the Configuration API to find & manage the WABs. Stop should not uninstall the bundle!

        Show
        Jarek Gawor added a comment - I think we need to get this right. The portlet displaying the WABs should be using regular OSGi API to find all bundles with Web-ContextPath header. It shouldn't have to use the Configuration API to find & manage the WABs. Stop should not uninstall the bundle!
        Hide
        Shawn Jiang added a comment -

        because of the lifecycle differences, WAB configuration can't be found with configurationManager.listConfigurations(). I have to use other hack way to do this.

        Furthermore, the wab stop action in portlet will uninstall the wab somehow.

        -----------------------------------------------------
        ASF #1071183 Wed Feb 16 09:29:50 UTC 2011 genspring GERONIMO-5769 Web Application Bundles (WABs) do not show up in admin console
        Files Changed
        MODIFY /geronimo/server/trunk/plugins/console/console-core/src/main/java/org/apache/geronimo/console/util/KernelManagementHelper.java
        MODIFY /geronimo/server/trunk/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/config/ConfigurationModuleType.java
        MODIFY /geronimo/server/trunk/plugins/console/console-base-portlets/src/main/webapp/WEB-INF/web.xml
        MODIFY /geronimo/server/trunk/plugins/console/console-tomcat/src/main/plan/plan.xml
        MODIFY /geronimo/server/trunk/plugins/console/console-base-portlets/src/main/java/org/apache/geronimo/console/configmanager/ConfigManagerPortlet.java
        MODIFY /geronimo/server/trunk/plugins/wab/geronimo-web-extender/src/main/java/org/apache/geronimo/osgi/web/extender/WebApplication.java
        MODIFY /geronimo/server/trunk/plugins/console/console-base-portlets/src/main/webapp/WEB-INF/portlet.xml
        Repository Revision Date User Message
        ASF #1071193 Wed Feb 16 09:50:38 UTC 2011 genspring svn merge -c r1071183 https://svn.apache.org/repos/asf/geronimo/server/trunk ., GERONIMO-5769 Web Application Bundles (WABs) do not show up in admin console

        Show
        Shawn Jiang added a comment - because of the lifecycle differences, WAB configuration can't be found with configurationManager.listConfigurations(). I have to use other hack way to do this. Furthermore, the wab stop action in portlet will uninstall the wab somehow. ----------------------------------------------------- ASF #1071183 Wed Feb 16 09:29:50 UTC 2011 genspring GERONIMO-5769 Web Application Bundles (WABs) do not show up in admin console Files Changed MODIFY /geronimo/server/trunk/plugins/console/console-core/src/main/java/org/apache/geronimo/console/util/KernelManagementHelper.java MODIFY /geronimo/server/trunk/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/config/ConfigurationModuleType.java MODIFY /geronimo/server/trunk/plugins/console/console-base-portlets/src/main/webapp/WEB-INF/web.xml MODIFY /geronimo/server/trunk/plugins/console/console-tomcat/src/main/plan/plan.xml MODIFY /geronimo/server/trunk/plugins/console/console-base-portlets/src/main/java/org/apache/geronimo/console/configmanager/ConfigManagerPortlet.java MODIFY /geronimo/server/trunk/plugins/wab/geronimo-web-extender/src/main/java/org/apache/geronimo/osgi/web/extender/WebApplication.java MODIFY /geronimo/server/trunk/plugins/console/console-base-portlets/src/main/webapp/WEB-INF/portlet.xml Repository Revision Date User Message ASF #1071193 Wed Feb 16 09:50:38 UTC 2011 genspring svn merge -c r1071183 https://svn.apache.org/repos/asf/geronimo/server/trunk ., GERONIMO-5769 Web Application Bundles (WABs) do not show up in admin console
        Hide
        Shawn Jiang added a comment -

        similar fixed JIRA on EBA show up in admin console:

        https://issues.apache.org/jira/browse/GERONIMO-5571

        Show
        Shawn Jiang added a comment - similar fixed JIRA on EBA show up in admin console: https://issues.apache.org/jira/browse/GERONIMO-5571

          People

          • Assignee:
            Shawn Jiang
            Reporter:
            Jarek Gawor
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development