How to enable exception message in stack trace.

When an error occurs in the translation or runtime execution of a JSP page, the container would return the exception, message and a stack trace to the client. However, the exception is not displayed in the page by default in OC4j.




This can be a little annoying for development machines. There are several ways to change this behavior. The easiest way is to set the development flag at the container level. This can be done by updating the element of the global-web-application.xml file.



Here is an example:

--orion-web-app

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/orion-web-10_0.xsd"

jsp-cache-directory="./persistence"

servlet-webdir="/servlet"

development="true"

jsp-timeout="0"

jsp-cache-tlds="standard"

schema-major-version="10"

schema-minor-version="0"

Comments

Popular posts from this blog

Identity Service Authentication failure

Weblogic server is not starting up ; java.lang.AssertionError

jstatd error : Could not create remote object : access denied (java.util.PropertyPermission java.rmi.server.ignoreSubClasses write)