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

Convention plugin doesn't find any Action classes in EAR deployment on Weblogic 10 and 12

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.3.14
    • 2.3.20
    • Plugin - Convention
    • None
    • Patch

    Description

      The weblogic container versions 10, 11 and 12 has a peculiar way of deploying ear and war files.
      It unpacks the ear and war file, and jars up the contents of WEB-INF classes into a new file: WEB-INF/lib/_wl_cls_gen.jar. After that, all content from WEB-INF/classes is deleted.

      The consequence is that the classloader will return a URL to the WEB-INF/classes directory when the plugin is searching for annotated classes, but it will be empty, so this plugin would never find any Action classes.

      I have a patch that has been verified to work on Weblogic 10 and 12.

      Attachments

        Activity

          People

            lukaszlenart Lukasz Lenart
            sreich Stefan Reich
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: