Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-4273

MockServletContext is unaware of the EAP 5's Virtual File System

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: EAP 5.0.1
    • Fix Version/s: EAP_EWP 5.1.0
    • Component/s: Seam2
    • Labels:
      None
    • Affects:
      Release Notes

      Description

      The EAP 5 now uses the Virtual File System whereas 4.3 does not. From reviewing the MockServletContext constructor method the following api is used:

      webappRoot = new File(getClass().getResource("/.").toURI());

      The MockServletContext is trying to access the URI as a file so it seems the MockServletContext is unaware of the VFS. An InputStream, for example, would be necessary to access the VFS but the Java File api is unaware of it.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                manaRH Marek Novotny
                Reporter:
                sjmenden Samuel Mendenhall
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: