You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2026/05/27 08:15:40 UTC

(tomcat) branch 11.0.x updated: Jasper cannot operate without a valid work folder

This is an automated email from the ASF dual-hosted git repository.

markt-asf pushed a commit to branch 11.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/11.0.x by this push:
     new a5d1cf397a Jasper cannot operate without a valid work folder
a5d1cf397a is described below

commit a5d1cf397a9d84c6d06fc1178cc5fe1d3788bacb
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Wed May 27 09:15:10 2026 +0100

    Jasper cannot operate without a valid work folder
---
 java/org/apache/jasper/EmbeddedServletOptions.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/org/apache/jasper/EmbeddedServletOptions.java b/java/org/apache/jasper/EmbeddedServletOptions.java
index e9dc23a0d5..84450b3967 100644
--- a/java/org/apache/jasper/EmbeddedServletOptions.java
+++ b/java/org/apache/jasper/EmbeddedServletOptions.java
@@ -701,7 +701,7 @@ public final class EmbeddedServletOptions implements Options {
         }
 
         if (!(scratchDir.exists() && scratchDir.canRead() && scratchDir.canWrite() && scratchDir.isDirectory())) {
-            log.fatal(Localizer.getMessage("jsp.error.bad.scratch.dir", scratchDir.getAbsolutePath()));
+            throw new IllegalStateException(Localizer.getMessage("jsp.error.bad.scratch.dir", scratchDir.getAbsolutePath()));
         }
 
         this.compiler = config.getInitParameter("compiler");


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org