Starting an OC4J Instance Without Password Fails with "Error initializing server: OC4J administrator's password is empty"
(Doc ID 601684.1)
Last updated on OCTOBER 12, 2020
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.
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
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document