Uploaded image for project: 'Seam 2'
  1. Seam 2
  2. JBSEAM-4689

Make SEAM work with Apache Tomcat 6 and unpackWARs="false"

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.2.1.CR1
    • Fix Version/s: None
    • Component/s: Core
    • Environment:

      Apache Tomcat 6.0.24, Ubuntu 10.4

    • Workaround:
      Workaround Exists
    • Workaround Description:
      Hide

      Unpack war files

      Show
      Unpack war files
    • Estimated Difficulty:
      Medium

      Description

      Currently SEAM is not able to run in a Tomcat that does not unpack its war files. This is because WarRootDeploymentStrategy + URLScanner is not capable of retrieving files from the ServletContext so that *.page.xml files won't be found.

      The attached patch tries to work around this problem but it's more of a hack than a bugfix. It does not work properly as the information from the *.page.xml is read but not fully used (e.g. rewrite pattern will work but s:link does not use them). And it also spits many warnings to the console regarding getRealPath()-failures.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                manaRH Marek Novotny
                Reporter:
                egore911 Christoph Brill
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated: