Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-662

Cannot find root context when app deployed without geronimo-tomcat.xml

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0-M4
    • Component/s: Tomcat
    • Labels:
      None
    • Environment:

      WinXP Pro SP1, SUN Java VM 1.4.2_-07-b05

      Description

      By default, deploying a WAR or EAR without a geronimo-tomcat.xml results in the use of a default deployment plan.

      The web.xml webapp id, or the base archive file name is used as a configuration id, and also for the root context. This is consistent with Jetty and OpenEJB behavior, and an ease-of-use feature by design.

      A minor bug during the creation of the default plan, in TomcatModuleBuilder.java, prevents the root context from being created properly. The attached patch should fix this.

        Attachments

        1. patch.txt
          0.5 kB
          Sing Li

          Activity

            People

            • Assignee:
              jgenender Jeff Genender
              Reporter:
              roamer323 Sing Li
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: