OC4J Configuration issue

链接http://ip:1158/em提示网页不存在,因而登陆系统检查oracle

$ emctl start dbconsole
OC4J Configuration issue. /u01/app/oracle/product/11.2.0/dbhome_1/oc4j/j2ee/OC4J_DBConsole_test_orcl not found.app

原来是当时安装oracle后,没有配置em,如下是配置步骤:this

[@more@]

$emca -config dbcontrol db -repos createspa

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): .net

-----------------------------------------------------------------
You have specified the following settings
Database ORACLE_HOME ................ /u01/app/oracle/product/11.2.0/dbhome_1 hostname ................ XXXXXX
Listener port number ................ 1521
Database SID ................ orcl
Email address for notifications ...............
Outgoing Mail (SMTP) server for notifications ...............orm

Do you wish to continue? [yes(Y)/no(N)]: y
Aug 29, 2012 2:03:51 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /oracle/app/10.2.0/db_1/cfgtoollogs/emca/wmtest/emca_2012-08-29_02-01-27-PM.log.
Aug 29, 2012 2:03:52 PM oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
Aug 29, 2012 2:07:11 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully created
Aug 29, 2012 2:07:14 PM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...
Aug 29, 2012 2:08:52 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: Database Control started successfully
Aug 29, 2012 2:08:52 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: >>>>>>>>>>> The Database Control URL is http://hostname:1158/em <<<<<<<<<<<
Enterprise Manager configuration completed successfully
FINISHED EMCA at Aug 29, 2012 2:08:52 PMserver

来自 “ ITPUB博客 ” ,连接:http://blog.itpub.net/17254424/viewspace-1059298/,如需转载,请注明出处,不然将追究法律责任。 blog

转载于:http://blog.itpub.net/17254424/viewspace-1059298/ip