Forum Stats

  • 3,836,897 Users
  • 2,262,204 Discussions
  • 7,900,138 Comments

Discussions

oc4j configuration issue not found

user12308409
user12308409 Member Posts: 1
edited Jun 2, 2016 1:51AM in Database Ideas - Ideas

Many people had this problem, but normally some dba find wrong way to solve this issue recreating the repo.

The EM has simple config, and you must sure that the parameters are correct. Some times the problem occurs because directory or system variable are incorrect.

Verify
SID/Service_name and ORACLE_UNQNAME variables that must correspond with directories name:
$ORACLE_HOME/oc4j/j2ee/OC4J_DBConsole_host_databaseName

The 'emct start dbconsole' command get errors when some parameters are wrong and "DBAs" recreate repo every time that get errors. It´s a poor resolution!

When you get Enterprise Manager oc4j configuration issue check the system vars and directorires and solve the problem as true DBA

Jagadekara
-7
9 votes

Not considering · Last Updated

Comments

  • Richard Harrison .
    Richard Harrison . Member Posts: 2,065 Gold Trophy

    All this has disappeared in v12 anyway - so no more problem........

  • Dude!
    Dude! Member Posts: 22,830 Black Diamond

    You are reporting a problem, but what is your idea?

    $ emctl status dbconsole<br/>OC4J Configuration issue. /u01/app/oracle/product/112/db/oc4j/j2ee/OC4J_DBConsole_oel.example.com_orcl not found. <br/>$ emctl EM Configuration issue. /u01/app/oracle/product/112/db/oel.example.com_orcl not found.
    

    Although, for some reason the usual suggested fix is to drop and recreate the dbconsole repository, there is actually no real need to do so. The following will also correct the problem by simply creating a symbolic link between the old and new hostname, for example.

    ln -s localhost_orcl oel.example.com_orcl<br/>ln -s OC4J_DBConsole_localhost_orcl OC4J_DBConsole_oel.example.com_orcl
    

    The problem has to do with the OUI reading the hostname from the fist line of the /etc/hosts file. When you later define the hostname or change the hostname, the dbconsole directory is no longer valid. You an simply avoid the problem by defining the ORACLE_HOSTNAME variable prior to installing the database.

  • Tmicheli-Oracle
    Tmicheli-Oracle Member Posts: 24 Red Ribbon

    We, Oracle are working on our internal process as to how to evaluate and prioritize the IDEAS submitted.  But the more votes obviously the more priority we will put on the request.  However votes/popularity alone will not determine the priority.

    As we move through the process the IDEA will change stages: (not in flow order)

    - Active

    - Already Offered

    - Archived

    - Coming Soon

    - For Future Consideration

    - in Progress

    - Partially Implemented

    - Under Review

  • Dude!
    Dude! Member Posts: 22,830 Black Diamond

    We, Oracle are working on our internal process as to how to evaluate and prioritize the IDEAS submitted.  But the more votes obviously the more priority we will put on the request.  However votes/popularity alone will not determine the priority.

    As we move through the process the IDEA will change stages: (not in flow order)

    - Active

    - Already Offered

    - Archived

    - Coming Soon

    - For Future Consideration

    - in Progress

    - Partially Implemented

    - Under Review

    Interesting, but sorry I wonder about your response. Where is the context?

  • Gerald Venzl-Oracle
    Gerald Venzl-Oracle Member, Moderator Posts: 85 Employee

    Thank you for your contribution. But as the technology has moved on this is not an issue any longer.