Struts 2
  1. Struts 2
  2. WW-3487

The plugin can't find the actions if the war embeded in an ear.

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.1
    • Fix Version/s: 2.3.12
    • Component/s: Plugin - Convention
    • Labels:
      None
    • Environment:

      JBoss 5.1

      Description

      If I deploy an ear that contains a war, the plugin can't find the actions under JBoss 5.1. If I only deploy the war everything is fine. Tha actions defined in struts.xml works perfectly in both cases. I did some investigation, and i think the problem is in the method org.apache.struts2.convention.PackageBasedActionConfigBuilder.findActions.

      1. struts2-src.tar.gz
        1 kB
        Böszörményi Péter
      2. struts2.ear
        2.68 MB
        Böszörményi Péter

        Activity

        Lukasz Lenart made changes -
        Fix Version/s 2.3.12 [ 12324067 ]
        Fix Version/s 3.0 [ 12319158 ]
        Lukasz Lenart made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Lukasz Lenart made changes -
        Fix Version/s 3.x [ 12319158 ]
        Lukasz Lenart made changes -
        Assignee Lukasz Lenart [ lukaszlenart ]
        Böszörményi Péter made changes -
        Field Original Value New Value
        Attachment struts2.ear [ 12452957 ]
        Attachment struts2-src.tar.gz [ 12452958 ]
        Böszörményi Péter created issue -

          People

          • Assignee:
            Lukasz Lenart
            Reporter:
            Böszörményi Péter
          • Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development