Skip to Main Content

Enterprise Manager

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!

OC4J_DBConsole_test_orcl not found

794948Nov 9 2011 — edited Nov 24 2011
Hi
I am facing a problem to start enterprise manger
----------------- it is single instance 10.2.0.5.0 OEL5.0
I wan

-bash-3.2$ emctl start dbconsole
TZ set to Asia/Karachi
OC4J Configuration issue. /ora/app/oracle/product/102/db1/oc4j/j2ee/OC4J_DBConsole_test_orcl not found


but when i see
-bash-3.2$ cd /ora/app/oracle/product/102/db1/oc4j/j2ee/
-bash-3.2$ ll
total 40
-rw-r--r-- 1 oracle oinstall 504 Oct 15 2010 deploy_db.ini
drwxr-x--- 15 oracle oinstall 4096 Sep 23 2010 home
drwxr-x--- 9 oracle oinstall 4096 Sep 23 2010 isqlplus
drwxr-x--- 3 oracle oinstall 4096 Sep 23 2010 oc4j_applications
-rw-r----- 1 oracle oinstall 735 Nov 8 23:03 sqlnet.log

there is not such file like "OC4J_DBConsole_test_orcl"
++++++++++++++++++++++++++++++++++++++++++++++

I have tried such
-bash-3.2$ emca -config dbcontrol db -repos recreate

STARTED EMCA at Nov 10, 2011 12:06:55 AM
EM Configuration Assistant, Version 10.2.0.5.0 Production
Copyright (c) 2003, 2009, Oracle. All rights reserved.

Enter the following information:
Database SID: orcl
Listener port number: 1521
Password for SYS user:
Password for DBSNMP user:
Password for SYSMAN user:
Email address for notifications (optional):
Outgoing Mail (SMTP) server for notifications (optional):
-----------------------------------------------------------------

You have specified the following settings

Database ORACLE_HOME ................ /ora/app/oracle/product/102/db1

Local hostname ................ test
Listener port number ................ 1521
Database SID ................ orcl
Email address for notifications ...............
Outgoing Mail (SMTP) server for notifications ...............

-----------------------------------------------------------------

----------------------------------------------------------------------
WARNING : While repository is dropped the database will be put in quiesce mode.
----------------------------------------------------------------------
Do you wish to continue? [yes(Y)/no(N)]: Y
Nov 10, 2011 12:07:22 AM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /ora/app/oracle/product/102/db1/cfgtoollogs/emca/orcl/emca_2011-11-10_12-06-55-AM.log
Nov 10, 2011 12:07:36 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Dropping the EM repository (this may take a while) ...
Nov 10, 2011 12:07:36 AM oracle.sysman.emcp.EMReposConfig dropRepository
INFO: Dropping the EM repository (this may take a while) ...
Nov 10, 2011 12:11:44 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully dropped
Nov 10, 2011 12:11:44 AM oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
Nov 10, 2011 12:16:41 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully created
Nov 10, 2011 12:16:52 AM oracle.sysman.emcp.util.FileUtil setAttributeInXML
SEVERE: Error parsing XML file /ora/app/oracle/product/102/db1/oc4j/j2ee/OC4J_DBConsole/config/server.xml
Nov 10, 2011 12:16:52 AM oracle.sysman.emcp.EMConfig perform
SEVERE: Error instantiating OC4J configuration files
Refer to the log file at /ora/app/oracle/product/102/db1/cfgtoollogs/emca/orcl/emca_2011-11-10_12-06-55-AM.log for more details.
Could not complete the configuration. Refer to the log file at /ora/app/oracle/product/102/db1/cfgtoollogs/emca/orcl/emca_2011-11-10_12-06-55-AM.log for more details.


+++++++++++++++++++++++++++++++LOG SHOWS FOLLOWING ++++++++++++++++++++++++++++++++


CONFIG: Completed copying file /ora/app/oracle/product/102/db1/sysman/config/emoms.properties.emca to /ora/app/oracle/product/102/db1/sysman/config/emoms.properties
Nov 10, 2011 12:16:51 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Completed copying file /ora/app/oracle/product/102/db1/sysman/config/emoms.properties.emca.util.tmp to /ora/app/oracle/product/102/db1/sysman/config/emoms.properties
Nov 10, 2011 12:16:52 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Nov 10, 2011 12:16:52 AM oracle.sysman.emcp.util.FileUtil setAttributeInXML
SEVERE: Error parsing XML file /ora/app/oracle/product/102/db1/oc4j/j2ee/OC4J_DBConsole/config/server.xml
Nov 10, 2011 12:16:52 AM oracle.sysman.emcp.util.FileUtil setAttributeInXML
CONFIG: Stack Trace:
java.io.FileNotFoundException: /ora/app/oracle/product/102/db1/oc4j/j2ee/OC4J_DBConsole/config/server.xml (No such file or directory)
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.FileUtil.setAttributeInXML(FileUtil.java:969)
at oracle.sysman.emcp.EMDBCConfig.instantiateOC4JConfigFiles(EMDBCConfig.java:933)
at oracle.sysman.emcp.EMDBCConfig.performConfiguration(EMDBCConfig.java:405)
at oracle.sysman.emcp.EMDBCConfig.invoke(EMDBCConfig.java:162)
at oracle.sysman.emcp.EMDBCConfig.invoke(EMDBCConfig.java:136)
at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:172)
at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:494)
at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1161)
at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:478)
at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:426)
Nov 10, 2011 12:16:52 AM oracle.sysman.emcp.EMDBCConfig instantiateOC4JConfigFiles
CONFIG: Failed to set value in server.xml for application-server tag
Nov 10, 2011 12:16:52 AM oracle.sysman.emcp.EMConfig perform
SEVERE: Error instantiating OC4J configuration files
Refer to the log file at /ora/app/oracle/product/102/db1/cfgtoollogs/emca/orcl/emca_2011-11-10_12-06-55-AM.log for more details.
Nov 10, 2011 12:16:52 AM 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:409)
at oracle.sysman.emcp.EMDBCConfig.invoke(EMDBCConfig.java:162)
at oracle.sysman.emcp.EMDBCConfig.invoke(EMDBCConfig.java:136)
at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:172)
at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:494)
at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1161)
at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:478)
at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:426)
If any body know about it kindly help

Regards
SREHMAN
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 22 2011
Added on Nov 9 2011
12 comments
1,522 views