Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Enterprise manager configuration error: error instantiating OC4J Files

941675Jun 5 2012 — edited Jun 6 2012
Good day to all.

Its my first time to install Oracle 11g on my Windows 7 computer.
After i installed and configured the database, i get this following error , so i can't go through the Enterprise Manager.

Enterprise Manager Configuration failed due to the following error - Error instantiating OC4J Configuration files

So i checked the emConfig.log for error details, and i found out that i have some several files missing, in which i checked the folder also.
I don't know why these files are missing.


Jun 5, 2012 4:32:53 PM oracle.sysman.emcp.util.PortManager findUsedPortsFromXML
CONFIG: Could not find or correctly parse file C:\app\ROMMEL\product\11.2.0\dbhome_1\oc4j\j2ee\OC4J_DBConsole\config\jms.xml in searching for tag jms-server with attribute port
java.io.FileNotFoundException: C:\app\ROMMEL\product\11.2.0\dbhome_1\oc4j\j2ee\OC4J_DBConsole\config\jms.xml (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at java.io.FileReader.<init>(FileReader.java:41)
at oracle.sysman.emcp.util.PortManager.findUsedPortsFromXML(PortManager.java:296)
at oracle.sysman.emcp.util.PortManager.markAllUsedPorts(PortManager.java:1297)


Jun 5, 2012 4:32:53 PM oracle.sysman.emcp.util.PortManager findUsedPortsFromXML
CONFIG: Could not find or correctly parse file C:\app\ROMMEL\product\11.2.0\dbhome_1\oc4j\j2ee\OC4J_DBConsole\config\rmi.xml in searching for tag rmi-server with attribute port
java.io.FileNotFoundException: C:\app\ROMMEL\product\11.2.0\dbhome_1\oc4j\j2ee\OC4J_DBConsole\config\rmi.xml (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)

Jun 5, 2012 4:32:53 PM oracle.sysman.emcp.util.PortManager findUsedPortsFromXML
CONFIG: Could not find or correctly parse file C:\app\ROMMEL\product\11.2.0\dbhome_1\oc4j\j2ee\OC4J_DBConsole\config\http-web-site.xml in searching for tag web-site with attribute port
java.io.FileNotFoundException: C:\app\ROMMEL\product\11.2.0\dbhome_1\oc4j\j2ee\OC4J_DBConsole\config\http-web-site.xml (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)

Jun 5, 2012 4:33:57 PM oracle.sysman.emcp.util.FileUtil setAttributeInXML
CONFIG: Stack Trace:
java.io.FileNotFoundException: C:\app\ROMMEL\product\11.2.0\dbhome_1\oc4j\j2ee\OC4J_DBConsole\config\server.xml (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)

Jun 5, 2012 4:33:57 PM oracle.sysman.emcp.EMDBCConfig instantiateOC4JConfigFiles
CONFIG: Failed to set value in server.xml for application-server tag
Jun 5, 2012 4:33:57 PM oracle.sysman.emcp.EMConfig perform
SEVERE: Error instantiating OC4J configuration files
Refer to the log file at C:\app\ROMMEL\cfgtoollogs\dbca\RommelDB\emConfig.log for more details.
Jun 5, 2012 4:33:57 PM oracle.sysman.emcp.EMConfig perform
CONFIG: Stack Trace:
oracle.sysman.emcp.exception.EMConfigException: Error instantiating OC4J configuration files
at oracle.sysman.emcp.EMDBCConfig.performConfiguration(EMDBCConfig.java:427)
at oracle.sysman.emcp.EMDBCConfig.invoke(EMDBCConfig.java:174)


IT seems that the folder OC4J_DBConsole\config\ does not contain any xml files.!

Prior to this, i get some files that are not found error when running the SETUP, there are several of them, i just pressed CONTINUE in
order to finish the installation.

Hope anyone can give me a good advice and help so that i can start to run Enterprise Manager and to learn how to get around with database creation and configuration
Im a total newbie in Oracle, so any help would be greatly appreciated.

Thank you very much.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 4 2012
Added on Jun 5 2012
6 comments
2,158 views