https://bz.apache.org/bugzilla/show_bug.cgi?id=60683

--- Comment #2 from Remy Maucherat <r...@apache.org> ---
(In reply to Coty Sutherland from comment #0)
> When using the IBM JDK (version 7) and the security manager requests to some
> JSPs return a 500 status and an NPE is logged. The odd thing is that you can
> make numerous requests to / and get a 500 every time, but after you make a
> request to /examples/jsp/dates/date.jsp, everything works fine. I'm not
> exactly sure what's causing that, but IBM JDK is weird so...

It's probably a buffering issue, / is a bigger page most likely, so it is
flushing from the JSP and the classloading is then more likely to fail with
weird JDKs (if Tomcat flushes itself, no problem !). Once the class is loaded,
the error should go away. For this sort of issue, I often prefer preloading
over adding to the policy, but both have been done.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to