Login  Register

Re: adoacorectl.sh: exiting with status 204

Posted by ErmanArslansOracleBlog on Sep 20, 2016; 11:58am
URL: http://erman-arslan-s-oracle-forum.124.s1.nabble.com/adoacorectl-sh-exiting-with-status-204-tp1302p1312.html

1)take a backup of opmn.xml
2)open opmn.xml & change the following lines ->

LINES TO BE CHANGED-->
<process-type id="oacore" module-id="OC4J" status="enabled" working-dir="$ORACLE_HOME/j2ee/home">
<module-data>
<category id="start-parameters">
<data id="java-options" value="-verbose:gc -Xmx512M -Xms128M -Dcom.sun.management.jmxremote -Djava.security.policy=/app/PMTG/apps/tech_st/10.1.3/j2ee/oacore/config/java2.policy -Djava.awt.headless=true -Dhttp.webdir.enable=false -Doracle.security.jazn.config=/app/PMTG/inst/apps/TMTG_r12vision/ora/10.1.3/j2ee/oacore/config/jazn.xml -Dhttp.cookie.ignoreCommaInCookiesNamed=X_NoMatchingCookies"/>

CHANGED VERSION --> (we add -Dclass.transfer=delegate as documented in the note Warning: Unable to Access Loaded Classes in OC4J Log (Doc ID 376890.1))

<process-type id="oacore" module-id="OC4J" status="enabled" working-dir="$ORACLE_HOME/j2ee/home">
<module-data>
<category id="start-parameters">
<data id="java-options" value="-verbose:gc -Xmx1024M -Xms256M -Dcom.sun.management.jmxremote -Djava.security.policy=/app/PMTG/apps/tech_st/10.1.3/j2ee/oacore/config/java2.policy -Djava.awt.headless=true -Dhttp.webdir.enable=false -Doracle.security.jazn.config=/app/PMTG/inst/apps/TMTG_r12vision/ora/10.1.3/j2ee/oacore/config/jazn.xml -Dhttp.cookie.ignoreCommaInCookiesNamed=X_NoMatchingCookies -Dclass.transfer=delegate"/>

3)start oacore