Technology Stack - EBS (MOSC)

MOSC Banner

500 Internal Server Error - error java.lang.OutOfMemoryError PermGen space/servlet error

edited May 20, 2014 10:55PM in Technology Stack - EBS (MOSC) 4 comments

Application throws the following:

500 Internal Server Error

Servlet error: An exception occurred. The current application deployment descriptors do not allow for including it in this response. Please consult the application log for details.

When reviewing logs I found:

$LOG_HOME/ora/10.1.3/j2ee/oacore/oacore_default_group_1/application.log

     14/04/22 08:54:36.790 html: Servlet error

     java.lang.OutOfMemoryError: PermGen space

I found a few different potential solutions on MOS but want to be sure increasing the MaxPermSize is the best first approach. The following are current settings in the $CONTEXT_FILE that show MaxPermSize:

<forms_jvm_start_options oa_var="s_forms_jvm_start_options">-server -verbose:gc -Xmx256M -Xms64M -XX:MaxPermSize=128M -XX:NewRatio=2 -XX:+PrintGCTimeStamps -XX:+UseTLAB -XX:+UseParallelGC -XX:ParallelGCThreads=2 -Djava.security.policy=$ORACLE_HOME/j2ee/oacore/config/java2.policy -Djava.awt.headless=true -Dhttp.webdir.enable=false -Doracle.security.jazn.config=/u06/cobuateb/app/COBUATEB/inst/apps/COBUATEB_cbeapn0102/ora/10.1.3/j2ee/forms/config/jazn.xml</forms_jvm_start_options>

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center