My Blog

All about my activities, Ideas and everything.

Category: Application Server

OC4J : set http.webdir.enable option to be enabled in 10.1.3.x

in Oracle Application Server 10.1.2.x this option is enabled, but in 10.1.3.x this option is disabled. So, the way to enable this option is to put the java option to OC4J. This is for OC4J standalone COMMAND java -Dhttp.webdir.enable=true -jar oc4j.jar But if you are using embedded-oc4j, look at this topic

OC4J : how to set java option in embedded OC4J

Project Properties->Run/Debug->Launch Setting

Tuning : Set heap and perm for OC4J

Go to ${ORACLE_HOME}\opmn\conf\opmn.xml And Insert “-mx1024m -Doc4j.userThreads=true -XX:MaxPermSize=128″ this parameter is inside??data node and??arrtibute??value. This is not default you??have to set it for every OC4J??instance??you??have created CODE XML <process-type id=”home” module-id=”OC4J” status=”enabled”> ???????????????????????????? <module-data> ?????????????????????????????????? <category id=”start-parameters”> ???????????????????????????????????????? <data id=”java-options” value=”-Xrs -server -Djava.security.policy=$ORACLE_HOME/j2ee/home/config/java2.policy -Djava.awt.headless=true -Dhttp.webdir.enable=false -mx1024m -Doc4j.userThreads=true -XX:MaxPermSize=128m“/> ?????????????????????????????????? </category> ????????????????????????????????????… ?????????????????????? </process-type>