Geronimo
  1. Geronimo
  2. GERONIMO-5302

A successfully deployed war package(contained in a ear package) is not listed on admin console.

    Details

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

      OS:WIN XP
      GERONIMO Build:3.0 SNAPSHOT 2010.5.6 build
      JDK:1.6

      Description

      Sendmail-ear.ear can be successfully deployed on geronimo 3.0 snapshot.
      Open http://localhost:8080/sendmail/ in a web browser ,this application works fine.
      But As far as I can remember if the ear contains a war package and this war package is specifiled in application .xml like:
      <module>
      <web>
      <web-uri>sendmail-war-2.1.1.4.war</web-uri>
      <context-root>/sendmail</context-root>
      </web>
      </module>

      Then on admin console,under Console Navigation/Applicatios,click web App Wars,it/s expected to see an item like this:
      org.apache.geronimo.samples/sendmail-ear_sendmail-war-2.1.1.4.war/2.1.1/car /sendmail running Stop Restart Uninstall
      then we can get access to the application via the link /sendmail.
      But currently on 3.0 snapshot console,the deployed war will not be listed.

        Activity

        Lu Jiang created issue -
        Lu Jiang made changes -
        Field Original Value New Value
        Attachment sendmail-ear-2.1.1.4.ear [ 12444288 ]
        Hide
        David Jencks added a comment -

        This is a side effect of the current way we are deploying ears in which we generate one bundle for the entire ear, rather than one bundle per module. I'm not sure we should ever allow starting/stopping module bundles. In 2.x you could only see war modules individually, not rar or ejb modules as they were all put into a single ear level plugin.

        My current thinking is that we should deploy ears as ebas with one bundle per ee module and possibly one bundle for the ear level.

        Show
        David Jencks added a comment - This is a side effect of the current way we are deploying ears in which we generate one bundle for the entire ear, rather than one bundle per module. I'm not sure we should ever allow starting/stopping module bundles. In 2.x you could only see war modules individually, not rar or ejb modules as they were all put into a single ear level plugin. My current thinking is that we should deploy ears as ebas with one bundle per ee module and possibly one bundle for the ear level.
        Hide
        Han Hong Fang added a comment -

        https://issues.apache.org/jira/browse/GERONIMO-5449 was opened for the same problem. I set 5449 as close and leave this one open.

        Show
        Han Hong Fang added a comment - https://issues.apache.org/jira/browse/GERONIMO-5449 was opened for the same problem. I set 5449 as close and leave this one open.
        Han Hong Fang made changes -
        Assignee Han Hong Fang [ hanhongfang ]
        Hide
        Jacky Liu added a comment - - edited

        This bug still exists when deploying ears in 20110325 Geronimo 3.0 server daily build, and it affects all successfully deployed wars package(contained in ears package). We have to open related application.xml file to find the context-root. We can check the following ears out:
        /samples/trunk/samples/javaee5/app-per-port/app-per-port-ear
        /samples/trunk/samples/javaee5/DataCDInfo/DataCDInfo-ear
        /samples/trunk/samples/javaee5/bank/bank-ear
        /samples/trunk/samples/javaee5/calculator/calculator-ear

        Show
        Jacky Liu added a comment - - edited This bug still exists when deploying ears in 20110325 Geronimo 3.0 server daily build, and it affects all successfully deployed wars package(contained in ears package). We have to open related application.xml file to find the context-root. We can check the following ears out: /samples/trunk/samples/javaee5/app-per-port/app-per-port-ear /samples/trunk/samples/javaee5/DataCDInfo/DataCDInfo-ear /samples/trunk/samples/javaee5/bank/bank-ear /samples/trunk/samples/javaee5/calculator/calculator-ear
        Ivan made changes -
        Assignee Han Hong Fang [ hanhongfang ] Ivan [ xuhaihong ]
        Ivan committed 1143308 (2 files)
        Hide
        Ivan added a comment -

        Commit changes to trunk at r1143308. Now, the portlet will iternator all the sub gbean data for web module information.

        Show
        Ivan added a comment - Commit changes to trunk at r1143308. Now, the portlet will iternator all the sub gbean data for web module information.
        Ivan made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 3.0 [ 12314206 ]
        Resolution Fixed [ 1 ]
        Hide
        Forrest Xia added a comment -

        Verified with daytrader sample of 20110714, the web context root appears in the EAR list page, so close this jira.

        Show
        Forrest Xia added a comment - Verified with daytrader sample of 20110714, the web context root appears in the EAR list page, so close this jira.
        Forrest Xia made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Ivan
            Reporter:
            Lu Jiang
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development