Last updated on MARCH 08, 2017
Applies to:Oracle Containers for J2EE - Version 10.1.3.0.0 to 10.1.3.5.0 [Release AS10gR3]
Information in this document applies to any platform.
***Checked for relevance on 15-Dec-2012***
When creating an OC4J instance with the command line tool createInstance it will prompt for a password therefore enabling the OC4J container to start successfully.
It is possible to create an OC4J without being prompted for a password by using the -defaultAdminPass syntax to the createInstance command, as follows:
However, when starting the OC4J instance with the command below it will fail when trying start the instance:
In file $ORACLE_HOME/opmn/logs/default_group~<oc4j_instance~default_group~1.log it will show errors:
08/08/11 11:03:43 Start process
08/08/11 11:03:46 Set OC4J administrator's password (password text will not be displayed as it is entered)
08/08/11 11:03:46 Error initializing server: OC4J administrator's password is empty.
Fatal error: server exiting
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms