-
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
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.