Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change notification.
The "RemoveUnpackWARs" page has been changed by KonstantinKolinko: https://wiki.apache.org/tomcat/RemoveUnpackWARs?action=diff&rev1=4&rev2=5 Comment: Add a testing use case (getRealPath() returning null) for unpackWARs="false". === Actually read-only filesystem === + If the filesystem is actually read-only (or effectively so, where the effective Tomcat user has no file-write rights whatsoever), then unpackWARs must be false in order to deploy. If all JSPs are pre-compiled and logs are not written to disk, Tomcat should be able to run on a read-only filesystem. Deploying an exploded WAR file with pre-compiled JSPs would also meet this requirement. + === Testing - configuration with getRealPath() returning null === + + When unpackWARs="false" the `SevletContext.getRealPath()` method always returns `null`. This configuration can be used to test that a web application is programmed correctly and can function without relying on `getRealPath()` method. === Other use cases === --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org