IAS 500 points

Posted on 2006-04-26
Last Modified: 2013-12-01
This is the message I get when tyring to start the services under the infrastucture:

An error was encountered while loading page. Failed to initialize configuration management user session.. Repository access failed Root Cause: Unable to connect to Directory Server:javax.naming.CommunicationException: [Root exception is Connection refused: connect]. Unable to connect to Directory Server:javax.naming.CommunicationException: [Root exception is Connection refused: connect]

Help please!!!!
Question by:tadeu_lbc
    LVL 6

    Assisted Solution

    What version of IAS are you running?  Without more to go on though - it appears you installed OID and a Metadata Repository but the OID isn't configured - and the Java is complaining.  My experience with this is pretty limited right now, but I believe the binary is 'oidmonctl' to start, stop or get some --help with the commands.  

    First check to see if it's running: ps -fu oracle|grep oidmon
    If not:
    Set your $ORACLE_HOME to the OID home and include the $ORACLE_HOME/bin in your $PATH.  'oidmonctl start'

    I could go on, but without more info, it's all speculative. Post versions and installed products please.

    Author Comment

    Thank you for your help!  Fallowing is a mesage from the log files that I am reading.  It seems to me that this is really is where the problem would be but I don't know exacly what to do.  I don't know where to find the getDB() to edit.  I also wan to say that my targets.xml could be misconfigured.  The server version is: IAS

        <HOST_NWADDR>***IP address***</HOST_NWADDR>
        <MSG_TEXT>[ RM ] Exception in repository API getDBConnect()</MSG_TEXT>
        <SUPPL_DETAIL><![CDATA[oracle.ias.repository.schema.SchemaException: Unable to connect to Directory Server:javax.naming.CommunicationException: ***hostname:4032*** [Root exception is Connection refused: connect]
          at oracle.ias.repository.IASSchema.getDBConnect(
          at oracle.ias.repository.IASSchema.getDBConnect(
          at oracle.ias.repository.SchemaManager.getDBConnect(
          at oracle.ias.sysmgmt.persistence.SeedDbAccess.getDBConnect(Unknown Source)
          at oracle.ias.sysmgmt.persistence.PersistenceManager.getSeedInfo(Unknown Source)
          at oracle.ias.sysmgmt.persistence.PersistenceManager.<init>(Unknown Source)
          at oracle.ias.sysmgmt.task.TaskMaster.initRepository(Unknown Source)
          at oracle.ias.sysmgmt.task.TaskMaster.<init>(Unknown Source)
          at oracle.ias.sysmgmt.task.InstanceManager.addIASInstance(Unknown Source)
          at oracle.ias.sysmgmt.EntryPoint.addTarget(Unknown Source)
          at oracle.sysman.emSDK.eml.util.iAS.IASEntryPoint.getEntryPoint(
          at oracle.sysman.eml.ias.clusters.ClusterUtils.getClusterName(
          at oracle.sysman.eml.ias.configure.ConfigureComponentObject.getComponents(
          at oracle.sysman.eml.ias.configure.ConfigureComponentObject.getConfiguredComponentsByInternalNames(
          at oracle.sysman.eml.ias.configure.ConfigureSchemaObject.getSchemas(
          at oracle.sysman.eml.ias.ias.applicationServerObject.processAdmin(
          at oracle.sysman.eml.ias.ias.applicationServerObject.<init>(
          at oracle.sysman.eml.ias.ias.applicationServerObject.<init>(
          at oracle.sysman.eml.ias.ias.applicationServer.doRestartServer(
          at java.lang.reflect.Method.invoke(Native Method)
          at oracle.cabo.servlet.event.MethodEventHandler.handleEvent(Unknown Source)
          at oracle.cabo.servlet.event.TableEventHandler.handleEvent(Unknown Source)
          at oracle.cabo.servlet.event.TableEventHandler.handleEvent(Unknown Source)
          at oracle.cabo.servlet.event.BasePageFlowEngine.handleRequest(Unknown Source)
          at oracle.cabo.servlet.AbstractPageBroker.handleRequest(Unknown Source)
          at oracle.cabo.servlet.PageBrokerHandler.handleRequest(Unknown Source)
          at oracle.cabo.servlet.BajaServlet.doGet(Unknown Source)
          at oracle.sysman.emSDK.eml.svlt.EMServlet.doGet(
          at oracle.cabo.servlet.BajaServlet.doPost(Unknown Source)
          at javax.servlet.http.HttpServlet.service(
          at javax.servlet.http.HttpServlet.service(
          at com.evermind.server.http.ResourceFilterChain.doFilter(
          at com.evermind.server.http.ServletRequestDispatcher.invoke(
          at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(
          at com.evermind.server.http.HttpRequestHandler.processRequest(


    Author Comment

    Another error on the logs:

    EMSDK DEBUG: Global Tabs
    EMSDK DEBUG: Link[name=targets,text=Targets,destination=/emd/console/targets,image=null]
    oracle.sysman.eml.ias.util.IASMetricResult$S_HostException: Unable to find a host parameter for infrastructure.ppfmapps.ppfm.csulb.edu_BC4J:oracle_bc4j
     No Agent Manager detected on port: 6666
     No Agent Manager detected on port: 6666
    LVL 13

    Accepted Solution

    As bpeterse says your issue is with OID...

    ><![CDATA[oracle.ias.repository.schema.SchemaException: Unable to connect to Directory
    ...and all those reference to...
    ...tell us that.

    We can go one step further, the following will work on a 9.0.2 instance, try them then post back...

    From the command prompt on the App Server>>

    cd \%ORACLE_INFRA_HOME%\opmn\bin\
    oidmon start
    oidctl connect=iasdb server=oidldapd instance=1 start
    call opmnctl startall

    cd \
    cd \%ORACLE_MIDTIER_HOME%\opmn\bin\
    call opmnctl startall

    Replace %ORACLE_INFRA_HOME% and %ORACLE_MIDTIER_HOME% as appropriate.

    Try those and post back with the results...


    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    jBoss vs. other App Servers 11 373
    Where is my Java compiler located 3 1,503
    Session migration 1 87
    Mysql [Warning] Aborted connection 13 87
    Verbose logging is used to diagnose garbage collector problems. By default, -verbose:gc output is written to either native_stderr.log or native_stdout.log.   It is also possible to redirect the logs to a user-specified file. This article will de…
    Most of the developers using Tomcat find it easy to configure the datasource in Server.xml and use the JNDI name in the code to get the connection.  So the default connection pool using DBCP (or any other framework) is made available and the life go…
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now