You receive below error while starting oracledbconsole service on Windows.
“Windows could not start OracleDbConsoleorcl on Local Computer. If this is a non-Microsoft service, contact the service vendor, and refer the service specific error code 2”
In the directory ORACLE_HOME\oc4j\j2ee there is a directory OC4J_DBConsole_localhost_orcl or OC4J_DBConsole_HOSTNAME_orcl.
make a copy (or set a link) from the directory and rename it to the specified name. So you have two directory
This should resolve the issue