Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>While waiting to see what the full stacktrace reveals, here's another option. This <a href="http://code.google.com/appengine/docs/java/config/webxml.html#Filters" rel="nofollow noreferrer">filter</a> will look for JSTL config params in web.xml and set them as request attributes in the hope that this will short-circuit any need for GAE to access the session:</p> <pre><code>import java.io.IOException; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; import javax.servlet.ServletContext; import javax.servlet.ServletException; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; import javax.servlet.jsp.jstl.core.Config; public class JSTLConfigFilter implements Filter { private static final String[] JSTL_CONFIG_PARAMS = { Config.FMT_FALLBACK_LOCALE, Config.FMT_LOCALE, Config.FMT_LOCALIZATION_CONTEXT, Config.FMT_TIME_ZONE, Config.SQL_DATA_SOURCE, Config.SQL_MAX_ROWS }; private final Map&lt;String, String&gt; jstlConfig = new ConcurrentHashMap&lt;String, String&gt;(); public void init(FilterConfig config) throws ServletException { ServletContext ctx = config.getServletContext(); for (String param : JSTL_CONFIG_PARAMS) { String value = ctx.getInitParameter(param); if (value != null) { this.jstlConfig.put(param, value); } } } public void destroy() { this.jstlConfig.clear(); } public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException { for (Map.Entry&lt;String, String&gt; entry : this.jstlConfig.entrySet()) { Config.set(request, entry.getKey(), entry.getValue()); } chain.doFilter(request, response); } } </code></pre> <p>Variations are, of course, possible, but hopefully you get the idea...</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload