We have a basic JSTL/Struts application (mainly JSTL in pages, Struts for flow control) deployed under Oracle Enterprise Manager 10g; the webapp is configured as EE 2.3/JSP 1.2. Periodically, JSP pages fail to display: about the third or fourth screen into the app, the browser will display a generic HTTP 500 error screen (this behavior is consistent--but the affected screens do not differ significantly from the prior screens that do not fail). Rather irritatingly, neither the application nor the server provides any informative error messages: the only error message that appears in the logs is (with no further stack trace given):
06/03/16 14:17:29 webapp: JspServlet: unable to dispatch to requested page: Exception:java.lang.NoClassDefFoundError: javax/servlet/jsp/SkipPageException
Interestingly, modifying the crashing page (often as simply as adding/deleting a comment) and redeploying will cause the page to display correctly--and then the next page in sequence crashes.
And naturally, the application runs without errors in the embedded OC4J in JDeveloper (10G--10.1.3.x).
Please see my message How to set developer's mode for oracle jsp engine, which applies to 188.8.131.52.0 as well. You should be able to see the stack trace in the browser as well as in the application.log for your application. Post the stack trace if you can not solve the problem still.
this is a frustrating problem indeed. has anyone uncovered additional information? I'm having a reallly hard time deploying a working app from jdeveloper to 10g because of this exact same error (works fine in jdeveloper, but not on 10g).
I ran into this with Jdev 10.1.3.2 and OC4J 10.1.2.0.2.
Sometimes the deployment process breaks jsp pages that use tag resulting in the mentioned classnotfound error. The only way I've found to work around this is to modify all the "broken" jsps in someway (adding a space is enough) and redeploying.
If someone has found a way to prevent this random behaviour, please let me know.
I run my struts1.2 application successfully in JDeveloper10.1.3.4, but when I deploy it onto OracleAS 10.1.2, two exceptions occur by chance:
Finally I solve it. My way is that do not include any servlet files created from jsp files in WAR file which will be deployed onto OracleAS.
So that the JSP&Servlet environment in OracleAS can compile the JSP files to use in that container.