Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-2675

Multiple Struts2 .war in a single .ear

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.0.11.1
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      Glassfish v2, Eclipse

    • Flags:
      Important

      Description

      This is a reopen of the issue https://issues.apache.org/struts/browse/WW-2668

      I've had exactly the same problem and asked on the user mailing list without solution for now : "Multiple Struts2 WAR in a single EAR" :
      http://mail-archives.apache.org/mod_mbox/struts-user/200806.mbox/%3c20080612093905.GA25760@smtp.kabhal.org%3e

      It seems the XmlConfigurationProvider of xwork does not support parsing struts-default.xml several times (1 for each .war) in a single ear.

      To reproduce the bug : just put struts2-blank and struts2-mailreader example apps in an .ear and deploy it in Glassfish

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mrdon Donald J. Brown
                Reporter:
                kabhal Hugo de Paix de Coeur
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: