Cannot Create a New OC4J Container on AIX (Doc ID 427400.1)

Last updated on FEBRUARY 24, 2017

Applies to:

Oracle Containers for J2EE - Version 10.1.3.0.0 to 10.1.3.5.0 [Release AS10gR3]
z*OBSOLETE: IBM AIX 4.3 Based Systems (64-bit)
***Checked for relevance on 12-Nov-2012***
AIX-Based Systems (64-bit)
iAS/OC4J 10.1.3.x on AIX systems


Symptoms

Creating OC4J instance "mytest"...
Set OC4J administrator password for "mytest" (password text will not be displayed as it is entered):
Enter password:
Confirm password:
Error creating new OC4J instance: create oc4j instance fails: Invalid protocol
or port range. invalid jvm options: -Xss512k -Djava.awt.headless=true
-Xjit:exclude={oracle/sysman/emSDK/eml/util/iAS/IASLogConfig.getViewLogsURL(/ja
vax/servlet/ServletContext;/javax/servlet/http/HttpServletRequest;/javax/servle
t/http/HttpServletResponse;)/java/lang/String;},exclude={oracle/security/jazn/u
til/OHSH.update([B)V},exclude={com/phaos/ASN1/ASN1Sequence.(/java/io/Inpu
tStream;)V},exclude={com/phaos/crypto/DES.l([B[IZ)V}
-Djava.security.policy=$ORACLE_HOME/j2ee/mytest/config/java2.policyv -Dhttp.webdir.enable=false -Xmx512M

Looking in the opmn.xml for the home container, you will see:


<process-type id="home" module-id="OC4J" status="enabled">
   <module-data>
   <category id="start-parameters">
   <data id="java-options" value="-Xss512k -Djava.awt.headless=true -Xjit:exclude={oracle/sysman/emSDK/eml/util/iAS/IASLogConfig.getViewLogsURL(Ljavax/serv let/ServletContext;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/H ttpServletResponse;)Ljava/lang/String;},exclude={oracle/security/jazn/util/OHSH .update([B)V},exclude={com/phaos/ASN1/ASN1Sequence.<init>(Ljava/io/InputStre am;)V},exclude={com/phaos/crypto/DES.l([B[IZ)V}  -Djava.security.policy=$ORACLE_HOME/j2ee/home/config/java2.policy   -Dhttp.webdir.enable=false -Xmx512M"/>
  </category>
    <category id="stop-parameters">
    <data id="java-options" value="-Djava.security.policy=$ORACLE_HOME/j2ee/home/config/java2.policy -Dhttp.webdir.enable=false -Xmx512M"/>
  </category>
</module-data>

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms