Error when discovering Oracle EBS from Enterprise Manager 12C

Hi everyone..
I have installed Enterprise manager 12C and discovered EBS database.But im unable to discover EBS applications through it.
OEM VERSION : 12C R2
EBIS VERSION : VISION INSTANCE 12.1.3
DATABASE : 11.2.0.3
I'm getting below error when im trying to discover through menu Targets----->Oracle E-Business Suite Instances
Error Log
oracle.apps.ebs.amp.oms.discovery.discoverer.AppsDiscoveryException: TargetRegistration :: registerService : SQLException - ORA-20233: Either the target or the metric does not exist for <target_name>/<metric_name>/<metric_column> VIS_ocs.ocs.dmsswt.com_HTTP Server/ResponseStatus
ORA-06512: at "SYSMAN.EM_REP_METRIC", line 390
ORA-06512: at "SYSMAN.EM_REP_METRIC", line 629
ORA-06512: at "SYSMAN.EM_REP_METRIC", line 1775
ORA-06512: at "SYSMAN.MGMT_TARGET", line 4057
ORA-06512: at "SYSMAN.MGMT_SERVICE", line 2227
ORA-06512: at "SYSMAN.MGMT_SERVICE", line 1340
ORA-06512: at line 1
Caused By: java.sql.SQLException: ORA-20233: Either the target or the metric does not exist for <target_name>/<metric_name>/<metric_column> VIS_ocs.ocs.dmsswt.com_HTTP Server/ResponseStatus
ORA-06512: at "SYSMAN.EM_REP_METRIC", line 390
ORA-06512: at "SYSMAN.EM_REP_METRIC", line 629
ORA-06512: at "SYSMAN.EM_REP_METRIC", line 1775
ORA-06512: at "SYSMAN.MGMT_TARGET", line 4057
ORA-06512: at "SYSMAN.MGMT_SERVICE", line 2227
ORA-06512: at "SYSMAN.MGMT_SERVICE", line 1340
ORA-06512: at line 1
oracle.apps.fnd.oam.em.util.job.CommandException
Caused By: oracle.apps.fnd.oam.em.sdk.targetData.discovery.AppsDiscoveryException: Error while attempting to discover EBS on : VIS( oracle_database ) using schema: apps
Caused By: oracle.apps.ebs.amp.oms.discovery.discoverer.AppsDiscoveryException: TargetRegistration :: registerService : SQLException - ORA-20233: Either the target or the metric does not exist for <target_name>/<metric_name>/<metric_column> VIS_ocs.ocs.dmsswt.com_HTTP Server/ResponseStatus
ORA-06512: at "SYSMAN.EM_REP_METRIC", line 390
ORA-06512: at "SYSMAN.EM_REP_METRIC", line 629
ORA-06512: at "SYSMAN.EM_REP_METRIC", line 1775
ORA-06512: at "SYSMAN.MGMT_TARGET", line 4057
ORA-06512: at "SYSMAN.MGMT_SERVICE", line 2227
ORA-06512: at "SYSMAN.MGMT_SERVICE", line 1340
ORA-06512: at line 1
Caused By: java.sql.SQLException: ORA-20233: Either the target or the metric does not exist for <target_name>/<metric_name>/<metric_column> VIS_ocs.ocs.dmsswt.com_HTTP Server/ResponseStatus
ORA-06512: at "SYSMAN.EM_REP_METRIC", line 390
ORA-06512: at "SYSMAN.EM_REP_METRIC", line 629
ORA-06512: at "SYSMAN.EM_REP_METRIC", line 1775
ORA-06512: at "SYSMAN.MGMT_TARGET", line 4057
ORA-06512: at "SYSMAN.MGMT_SERVICE", line 2227
ORA-06512: at "SYSMAN.MGMT_SERVICE", line 1340
ORA-06512: at line 1
=================================================================
Output Log
******Discovery Exceptions:
******Exception 0
oracle.apps.fnd.oam.em.sdk.targetData.discovery.AppsDiscoveryException: Error while attempting to discover EBS on : VIS( oracle_database ) using schema: apps
     at oracle.apps.fnd.oam.em.onDemand.jobs.OAMRegisterEBSOD.execute(Unknown Source)
     at oracle.apps.fnd.oam.em.util.job.AbstractCommandExecutor.executeCommand(Unknown Source)
     at oracle.sysman.emdrep.jobs.CommandStepExecutor.execute(CommandStepExecutor.java:154)
     at oracle.sysman.emWebservices.inbound.jobs.worker.ConsoleJobStepExecutor.execute(ConsoleJobStepExecutor.java:321)
     at oracle.sysman.emWebservices.inbound.jobs.worker.ConsoleJobStepExecutor.executeStep(ConsoleJobStepExecutor.java:187)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:597)
     at oracle.j2ee.ws.server.jaxws.ServiceEndpointRuntime.processMessage(ServiceEndpointRuntime.java:370)
     at oracle.j2ee.ws.server.jaxws.ServiceEndpointRuntime.processMessage(ServiceEndpointRuntime.java:202)
     at oracle.j2ee.ws.server.jaxws.JAXWSRuntimeDelegate.processMessage(JAXWSRuntimeDelegate.java:474)
     at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:1187)
     at oracle.j2ee.ws.server.WebServiceProcessor$1.run(WebServiceProcessor.java:1120)
     at oracle.j2ee.ws.server.WebServiceProcessor$1.run(WebServiceProcessor.java:1118)
     at java.security.AccessController.doPrivileged(Native Method)
     at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
     at oracle.security.jps.internal.jaas.AccActionExecutor.execute(AccActionExecutor.java:74)
     at oracle.security.jps.internal.jaas.CascadeActionExecutor$SubjectPrivilegedExceptionAction.run(CascadeActionExecutor.java:83)
     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
     at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
     at weblogic.security.Security.runAs(Security.java:61)
     at oracle.security.jps.wls.jaas.WlsActionExecutor.execute(WlsActionExecutor.java:51)
     at oracle.security.jps.internal.jaas.CascadeActionExecutor.execute(CascadeActionExecutor.java:56)
     at oracle.j2ee.ws.server.provider.GenericProviderPlatform.runAs(GenericProviderPlatform.java:398)
     at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:1138)
     at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:581)
     at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:233)
     at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:193)
     at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:485)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
     at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
     at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
     at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
     at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:335)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.java:41)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:550)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.adfinternal.view.faces.caching.filter.AdfFacesCachingFilter.doFilter(AdfFacesCachingFilter.java:137)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
     at java.security.AccessController.doPrivileged(Native Method)
     at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
     at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
     at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
     at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
     at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
     at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
     at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
     at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
     at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
     at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
     at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused by: oracle.apps.ebs.amp.oms.discovery.discoverer.AppsDiscoveryException: TargetRegistration :: registerService : SQLException - ORA-20233: Either the target or the metric does not exist for <target_name>/<metric_name>/<metric_column> VIS_ocs.ocs.dmsswt.com_HTTP Server/ResponseStatus
ORA-06512: at "SYSMAN.EM_REP_METRIC", line 390
ORA-06512: at "SYSMAN.EM_REP_METRIC", line 629
ORA-06512: at "SYSMAN.EM_REP_METRIC", line 1775
ORA-06512: at "SYSMAN.MGMT_TARGET", line 4057
ORA-06512: at "SYSMAN.MGMT_SERVICE", line 2227
ORA-06512: at "SYSMAN.MGMT_SERVICE", line 1340
ORA-06512: at line 1
Can anyone help me out?
Thanks very much.
Regards,
Pubudu

Hello,
The errors you are receiving are typically a result of not following our published MOS note and our documentation. It’s important in order for Oracle E-Business Suite systems to be properly recognized by E-Business Suite Plug-in, AutoConfig must be enabled and updated on all nodes. You should prevalidate your system before the running discovery to help ensure success of the discovery process. These tests check that context files, context variables, users, and components are set up correctly in the system for successful discovery.
For more information on both topics refer to:
•     Getting Started with Oracle Application Management Pack (AMP) for Oracle E-Business Suite, Release 12.1.0.1 (Doc ID 1434392.1)
•     Oracle Application Management Pack for Oracle E-Business Suite Guide Release 12.1.0.1.0 Part No. E28715-03 October
If you are still experiencing errors after reviewing our documentation and taking the appropriate steps to prevalidate your system consider filing a Service Request with Support.
Regards,
Product Management

Similar Messages

  • OCI-21500 error when upgrading Oracle database from 10.2 to 11.2

    We have been running some test upgrades from 10.2 to 11.2 before running it on our production server. During one of these tests, the post-upgrade script utlu112s.sql generated the following output:
    Oracle Database 11.2 Post-Upgrade Status Tool 12-12-2011 21:12:54
    Component Status Version HH:MM:SS
    Oracle Server
    . VALID 11.2.0.2.0 00:53:59
    JServer JAVA Virtual Machine
    . VALID 11.2.0.2.0 00:31:25
    Oracle Real Application Clusters
    . INVALID 11.2.0.2.0 00:00:03
    Oracle Enterprise Manager
    . VALID 11.2.0.2.0 00:33:44
    Oracle XDK
    . VALID 11.2.0.2.0 00:13:00
    Oracle Text
    . VALID 11.2.0.2.0 00:05:19
    Oracle XML Database
    . OCI-21500: internal error code, arguments:
    [KODDBG_PUSH_80IMGPTR:dbgecPushPtr
    . failed], [0], [0xFFFFFFFF7FFF55E8], [0xFFFFFFFF7F22E2B8], [1], [], [], []
    . OCI-21500: internal error code, arguments:
    [KODDBG_PUSH_80IMGPTR:dbgecPushPtr
    . failed], [0], [0xFFFFFFFF7FFF55E8], [0xFFFFFFFF7F22E2B8], [1], [], [], []
    . OCI-21500: internal error code, arguments:
    [KODDBG_PUSH_80IMGPTR:dbgecPushPtr
    . failed], [0], [0xFFFFFFFF7FFF55E8], [0xFFFFFFFF7F22E2B8], [1], [], [], []
    . VALID 11.2.0.2.0 00:20:49
    Oracle Database Java Packages
    . VALID 11.2.0.2.0 00:00:53
    Oracle Multimedia
    . VALID 11.2.0.2.0 00:13:00
    Spatial
    . VALID 11.2.0.2.0 00:20:00
    Gathering Statistics
    . 00:24:39
    Total Upgrade Time: 03:37:02
    PL/SQL procedure successfully completed.
    As far as we can tell, everything appears to be up and running, but the OCI-21500 internal errors are troubling. I have not been able to find anything on metalink regarding this error, and I am wondering if anyone else has come across it before. Thanks for your help!
    Simeon

    The OS is Solaris 10 (SunOS 5.10) and the source DB version was 10.2.0.4. We are running the upgrade manually (NOT with DBUA). The upgrade log does not have any ORA-xxxx errors, but it does show a few instances of the same error, such as this example:
    SQL> desc XDB.XDB$RESOURCE_T;
    ERROR: OCI-21500: internal error code, arguments: [KODDBG_PUSH_80IMGPTR:dbgecPushPtr failed], [0], [0xFFFFFFFF7FFF55E8], [0xFFFFFFFF7F22E2B8], [1], [], [], []
    Regards,
    Simeon

  • RW-50004 error when installing Oracle EBS 12.1.1 on Windows 32 bit, 2003

    Hi All
    I am installing Oracle EBS 12.1.1 for Windows 32 bit on a Windows 2003 server, my pre-requisite checks have gone through successfully when checked by the oracle ebs installer.
    However during the installation process i get RW-50004 error and the installation stops, the log file seems to have the following last entries
    Mon 07/04/2011
    05:05 PM
    1 file(s) copied.
    1 file(s) copied.
    1 file(s) copied.
    "afmkinit.cmd exiting with status 0"
    ERRORCODE = 0 ERRORCODE_END
    .end std out.
    .end err out.
    Skipping Profile Phase
    Skipping Apply Phase
    adcvmlog.xml renamed to C:\oracle\VIS\db\tech_st\11.1.0\appsutil\log\VIS_99a4659\adcvmlog.xml.07041705
    [AutoConfig Error Report]
    The following report lists errors AutoConfig encountered during each
    phase of its execution. Errors are grouped by directory and phase.
    The report format is:
    <filename> <phase> <return code where appropriate>
    [SETUP PHASE]
    AutoConfig could not successfully execute the following scripts:
    Directory: C:\oracle\VIS\db\tech_st\11.1.0\appsutil\install\VIS_99a4659
    adsvdlsn.cmd INSTE8_SETUP 9020
    AutoConfig is exiting with status 1
    RC-50014: Fatal: Execution of AutoConfig was failed
    Raised by oracle.apps.ad.clone.ApplyDBTechStack
    Can some one please help me on what I am missing or how can i correct this. Thank you.

    adsvdlsn.cmd INSTE8_SETUP 9020Search AutoConfig log file for adsvdlsn.cmd and you should find more details about the error.
    Please see if (Rapidwiz R12 Failed at 66% with error: RW-50004: Error code received when running external process. [ID 418109.1]) is applicable.
    Also, please run md5sum as per (MD5 Checksums for R12.1.1 Rapid Install Media (Doc ID 802195.1)) to verify the integrity of the stage area directory.
    Thanks,
    Hussein

  • ORA-01002: fetch out of sequence- error when accesing oracle sp from c#

    We have a stored procedure when we exceute it from Sql plus tool ot Toad works fine. But when we call it from C# .ne code gives us the following error.
    ORA-01002: fetch out of sequence ORA-02063: preceding line from SQA1
    Please help.

    with out these lines it works
    (fae_primary_agent_ind = 'X') or
    ((fae_primary_agent_ind is null) and (agn_agt_comp_st_cd = ‘65’)
    This is the stored proc. It works in oracle. It does not work only when we call it from C#.
    CREATE OR REPLACE
    PROCEDURE abc (
    p_report_date IN VARCHAR2,
    p_cur OUT Getadrdata.t_cursor,
    p_run_mode OUT NUMBER
    AS
    v_report_dt DATE;
    backed_out NUMBER := 0;
    previously_paid NUMBER := 0;
    BEGIN
    v_report_dt := TO_DATE (p_report_date, 'DDMMYYYY');
    SELECT COUNT (*)
    INTO backed_out
    FROM r2t_adr_payment a, DUAL
    WHERE a.fap_acctg_dt = v_report_dt
    AND a.fap_status_cd = 'B';
    IF backed_out = 0
    THEN
         SELECT COUNT (*)
    INTO previously_paid
    FROM r2t_adr_payment a, DUAL
    WHERE a.fap_acctg_dt = v_report_dt
    AND a.fap_status_cd = 'P';
    END IF;
    IF backed_out > 0 or previously_paid > 0
    THEN
    p_run_mode := 2;
    OPEN p_cur FOR
    SELECT fae_agent_nbr agent_nbr, fae_ssn_last_4digits ssn_nbr,
    fae_address_ln1 address_line1, fae_address_ln2 address_line2,
    fae_city_nm city, fae_state_cd state, fae_zip_cd zip,
    fae_bus_phone business_phone, fae_supv_region_cd region,
    fae_territory_cd territory, fae_market_cd market,
    -- FAE_AGT_COMP_ST_CD COMP_STAT_CD,
    agn_agt_comp_st_cd comp_stat_cd, fae_emplmt_dt emp_date,
    fae_agent_type_cd status_cd, fae_first_nm first_name,
    fae_last_nm last_name,
    rpt_agent_bonus_class_id p_agent_bonus_class_id
    FROM r2t_adr_epc_agent_info LEFT OUTER JOIN rgt_points
    ON fae_agent_nbr = rpt_agent_nbr
    LEFT OUTER JOIN p1t_tot_agent ON fae_agent_nbr =
    agn_agent_nbr
    INNER JOIN r2t_adr_payment
    ON fae_agent_nbr = fap_primary_agent_nbr
    WHERE FAE_AGENT_TYPE_CD = '41'
    AND rpt_acctg_dt = v_report_dt
    AND v_report_dt BETWEEN agn_start_eff_dt AND agn_end_eff_dt
    AND fap_acctg_dt = v_report_dt
    AND fap_status_cd = 'B'
    UNION ALL
    SELECT fae_agent_nbr agent_nbr, fae_ssn_last_4digits ssn_nbr,
    fae_address_ln1 address_line1, fae_address_ln2 address_line2,
    fae_city_nm city, fae_state_cd state, fae_zip_cd zip,
    fae_bus_phone business_phone, fae_supv_region_cd region,
    fae_territory_cd territory, fae_market_cd market,
    -- FAE_AGT_COMP_ST_CD COMP_STAT_CD,
    agn_agt_comp_st_cd comp_stat_cd, fae_emplmt_dt emp_date,
    fae_agent_type_cd status_cd, fae_first_nm first_name,
    fae_last_nm last_name,
    0 p_agent_bonus_class_id
    FROM r2t_adr_epc_agent_info
    LEFT OUTER JOIN p1t_tot_agent ON fae_agent_nbr =
    agn_agent_nbr
    INNER JOIN r2t_adr_payment
    ON fae_agent_nbr = fap_primary_agent_nbr
    WHERE fae_agent_type_cd = '13'
    AND v_report_dt BETWEEN agn_start_eff_dt AND agn_end_eff_dt
    AND fap_acctg_dt = v_report_dt
    AND fap_status_cd = 'B';
    ELSE
    p_run_mode := 1;
    OPEN p_cur FOR
    SELECT fae_agent_nbr agent_nbr, fae_ssn_last_4digits ssn_nbr,
    fae_address_ln1 address_line1, fae_address_ln2 address_line2,
    fae_city_nm city, fae_state_cd state, fae_zip_cd zip,
    fae_bus_phone business_phone, fae_supv_region_cd region,
    fae_territory_cd territory, fae_market_cd market,
    -- FAE_AGT_COMP_ST_CD COMP_STAT_CD,
    agn_agt_comp_st_cd comp_stat_cd, fae_emplmt_dt emp_date,
    fae_agent_type_cd status_cd, fae_first_nm first_name,
    fae_last_nm last_name,
    rpt_agent_bonus_class_id p_agent_bonus_class_id
    FROM r2t_adr_epc_agent_info LEFT OUTER JOIN rgt_points
    ON fae_agent_nbr = rpt_agent_nbr
    LEFT OUTER JOIN p1t_tot_agent ON fae_agent_nbr =
    agn_agent_nbr
    WHERE rpt_acctg_dt = v_report_dt
    -- Next line for testing of a subset of data - testing purposes only
    -- AND FAE_SUPV_REGION_CD ='002'
    AND FAE_AGENT_TYPE_CD = '41'
    AND (
    (RPT_AGENT_BONUS_CLASS_ID = '3' AND SUBSTR(FAE_EMPLMT_DT,1,2) <> '01' AND ADD_MONTHS(FAE_EMPLMT_DT, 7 ) <= v_report_dt) OR
    (RPT_AGENT_BONUS_CLASS_ID = '3' AND SUBSTR(FAE_EMPLMT_DT,1,2) = '01' AND ADD_MONTHS(FAE_EMPLMT_DT, 6 ) <= v_report_dt) OR
    (RPT_AGENT_BONUS_CLASS_ID = '1')
    AND (
    (fae_primary_agent_ind = 'X') or
    ((fae_primary_agent_ind is null) and (agn_agt_comp_st_cd = ‘65’)
    AND v_report_dt BETWEEN agn_start_eff_dt AND agn_end_eff_dt
    UNION ALL
    SELECT fae_agent_nbr agent_nbr, fae_ssn_last_4digits ssn_nbr,
    fae_address_ln1 address_line1, fae_address_ln2 address_line2,
    fae_city_nm city, fae_state_cd state, fae_zip_cd zip,
    fae_bus_phone business_phone, fae_supv_region_cd region,
    fae_territory_cd territory, fae_market_cd market,
    -- FAE_AGT_COMP_ST_CD COMP_STAT_CD,
    agn_agt_comp_st_cd comp_stat_cd, fae_emplmt_dt emp_date,
    fae_agent_type_cd status_cd, fae_first_nm first_name,
    fae_last_nm last_name, 0 p_agent_bonus_class_id
    FROM r2t_adr_epc_agent_info LEFT OUTER JOIN p1t_tot_agent
    ON fae_agent_nbr = agn_agent_nbr
    WHERE fae_agent_type_cd = '13'
    -- Next line for testing of a subset of data - testing purposes only
    -- AND FAE_SUPV_REGION_CD ='002'
    AND fae_primary_agent_ind = 'X'
    AND v_report_dt BETWEEN agn_start_eff_dt AND agn_end_eff_dt;
    END IF;
    EXCEPTION
    WHEN NO_DATA_FOUND
    THEN
    --DBMS_OUTPUT.PUT_LINE ('no data ' || SQLERRM);
    NULL;
    WHEN OTHERS
    THEN
    --DBMS_OUTPUT.PUT_LINE ('error ' || SQLERRM);
    --OPEN p_cur FOR
    -- SELECT NULL
    -- FROM DUAL;
              RAISE;
    END abc;

  • Extracting metadata from Enterprise manager 12c

    Hi,
    I want to extract metadata information regarding incident rules and metrics which i have configured in OEM 12c.Please tell me the file name and location where i find out this information.

    For findings which targets are assigned to an Incident Rule Set?
    The following query could be used as sysman user on repos DB
    SELECT ruleset_name, target_selection_type, source_selection_type FROM em_rule_sets ORDER BY 3, 1;
    IMPORTANT:
    =========
    - The "target_selection_type" column indicates somehow the target type to which you associated that Rule Set when you initially created it.
    - That column is of type number and has only 4 choices (1, 2, 4 and 6).
    - The below are hints regarding the output of that column:
    TARGET_SELECTION_TYPE    SOURCE_SELECTION_TYPE
    1                                      SELFUPDATE_SECURE_CLASS  ---->> means that the Rule Set is applied to 'Self Update Events'.
    2                                      TARGET  ---->> means that the Rule Set is applied to 'All Targets'.
    2                                      MEXT_SECURE_CLASS  ---->> means that the Rule Set is applied to 'Metric Extensions'.
    2                                      JOB  ---->> means that the Rule Set is applied to 'Jobs'.
    4                                      TARGET  ---->> means that the Rule Set is applied to 'All Targets of type'.
    6                                      TARGET  ---->> means that the Rule Set is applied to 'Specific Targets'.
    Refer to:
    http://docs.oracle.com/cd/E24628_01/doc.121/e25161/views.htm#sthref1292
    Oracle® Enterprise Manager Cloud Control Extensibility Programmer's Reference
    12c Release 2 (12.1.0.2)
    Part Number E25161-07
    18 Using Management Repository Views
    For Metric details with threshold you can refer to repos table MGMT$TARGET_METRIC_SETTINGS
    example query
    set markup html on spool on
    set pages 9999
    spool /temp/metricdef.html
    TTITLE LEFT 'MetricThresholds Settings'
    Select distinct target_type, target_name, column_label, metric_name, metric_column, key_value,
    decode(WARNING_OPERATOR, 0,'GT',1,'EQ',2,'LT',3,'LE',4, 'GE',5,'CONTAINS', 6,'NE',7,'MATCH'), WARNING_THRESHOLD,
    decode(CRITICAL_OPERATOR, 0,'GT',1,'EQ',2,'LT',3,'LE',4, 'GE',5,'CONTAINS', 6,'NE',7,'MATCH'), CRITICAL_THRESHOLD
    from MGMT$TARGET_METRIC_SETTINGS
    where WARNING_THRESHOLD > ' '
    and CRITICAL_THRESHOLD > ' '
    order by 1,2,4,5;
    spool off
    set markup html off
    Ref
    How to Get the Current Critical and Warning Thresholds on Different Targets in Cloud Control 12c ? (Doc ID 1538897.1)

  • Error when contect Oracle rac from resin

    when resin contenct a Oracle rac invironment, it alwarys report error like below:
    conf/resin.conf:63: java.sql.SQLException: Io exception: Connection refused(DESCRIPTION=(ERR=1153)(VSNNUM
    =153094144)(ERROR_STACK=(ERROR=(CODE=1153)(EMFI=4)(ARGS='(ADDRESS=(PROTOCOL=TCP)(HOST=rac001)(PORT=1
    521))'))(ERROR=(CODE=305)(EMFI=1)))), after some times it can content successfully, but the failover mode get from the v$session is none.Meanwhile Oracle rac can be contect from PL/SQL successfully and the failover mode is select.
    the contection info in the resion.conf is :
    <resource jndi-name="jdbc/OVAConnectionPool">
    <type>oracle.jdbc.pool.OracleConnectionCacheImpl</type>
    <init>
    <url>
    jdbc:oracle:thin:@
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = rac001)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = rac002)(PORT = 1521))
    (FAILOVER = ON)
    (LOAD_BALANCE = ON)
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (service_name = rmans.test.com)
    (failover_mode = (type=select))
    </url>
    <user>ova</user>
    <password>ova</password>
         <minlimit>5</minlimit>
    <maxlimit>512</maxlimit>
    </init>
    </resource>
    Any help will be apprecite!

    Hello,
    The errors you are receiving are typically a result of not following our published MOS note and our documentation. It’s important in order for Oracle E-Business Suite systems to be properly recognized by E-Business Suite Plug-in, AutoConfig must be enabled and updated on all nodes. You should prevalidate your system before the running discovery to help ensure success of the discovery process. These tests check that context files, context variables, users, and components are set up correctly in the system for successful discovery.
    For more information on both topics refer to:
    •     Getting Started with Oracle Application Management Pack (AMP) for Oracle E-Business Suite, Release 12.1.0.1 (Doc ID 1434392.1)
    •     Oracle Application Management Pack for Oracle E-Business Suite Guide Release 12.1.0.1.0 Part No. E28715-03 October
    If you are still experiencing errors after reviewing our documentation and taking the appropriate steps to prevalidate your system consider filing a Service Request with Support.
    Regards,
    Product Management

  • Error when trying to bring up Enterprise Manager

    Application Server: 10.1.3.1.0 SOA
    Linux: Red Hat Enterprise Linux ES release 3 (Taroon Update 8)
    Trying to log into em directly after a fresh install. Any advice? The splash page at :7777 comes up just fine...
    500 Internal Server Error
    oracle.classloader.util.AnnotatedNoClassDefFoundError:
           Missing class: org.apache.log4j.spi.ThrowableInformation
         Dependent class: org.apache.log4j.spi.LoggingEvent
                  Loader: ascontrol.web.ascontrol:0.0.0
             Code-Source: /u01/app/oracle/product/1013as/j2ee/home/applications/ascontrol/ascontrol/WEB-INF/lib/log4j-core.jar
           Configuration: WEB-INF/lib/ directory in /u01/app/oracle/product/1013as/j2ee/home/applications/ascontrol/ascontrol/WEB-INF/lib
    ...

    Did you configure it as an Admin instance ?

  • Error when connecting to database from connection manager

    New installation of JDeveloper 11r2.
    java.lang.NullPointerException
         at oracle.dms.context.DMSContextManager.getContext(DMSContextManager.java:437)
         at oracle.dms.context.ExecutionContext.get(ExecutionContext.java:445)
         at oracle.dms.context.ExecutionContext.get(ExecutionContext.java:492)
         at oracle.dms.instrument.Noun.<init>(Noun.java:188)
         at oracle.dms.instrument.Noun.create(Noun.java:275)
         at oracle.dms.instrument.NounFactory.create(NounFactory.java:66)
         at oracle.jdbc.driver.DMSFactory.createNoun(DMSFactory.java:69)
         at oracle.jdbc.driver.PhysicalConnection.createDMSSensors(PhysicalConnection.java:2253)
         at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:617)
         at oracle.jdbc.driver.T2CConnection.<init>(T2CConnection.java:132)
         at oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:54)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:413)
         at oracle.jdeveloper.db.adapter.AbstractConnectionCreator.getConnection(AbstractConnectionCreator.java:117)
         at oracle.jdeveloper.db.adapter.DatabaseProvider.getConnection(DatabaseProvider.java:174)
         at oracle.jdeveloper.db.adapter.DatabaseProvider.getConnection(DatabaseProvider.java:143)
         at oracle.jdevimpl.db.adapter.CADatabaseFactory.createConnectionImpl(CADatabaseFactory.java:44)
         at oracle.javatools.db.DatabaseFactory.createConnection(DatabaseFactory.java:352)
         at oracle.javatools.db.DatabaseFactory.createDatabase(DatabaseFactory.java:148)
         at oracle.jdeveloper.db.DatabaseConnections.getDatabase(DatabaseConnections.java:504)
         at oracle.jdeveloper.db.DatabaseConnections.getDatabase(DatabaseConnections.java:440)
         at oracle.dbtools.raptor.utils.Connections$ConnectionInfo$ConnectRunnable.doWork(Connections.java:1051)
         at oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:156)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:612)
         at java.lang.Thread.run(Thread.java:595)
    Occurs with both thin and oci8 connections.
    Any ideas?
    Conection name: tryit
    Connection type: Oracle (JDBC)
    username: me
    password: mine
    save password: ticked
    Driver: thin (also tried oci8)
    Host Name: myhost
    SID: my10gdb (also tried service name).

    yes, when we install oracle 8i in windows professionel we have this problem, before installing 8i we connected to the database without problem
    thank you

  • Export error from enterprise manager

    Im getting this error when trying to do a table export from enterprise manager(oracle 10g statndard edition). There is a problem writing to the export files: ORA-39094: Parallel execution not supported in this database edition. I looked on line and places said to have parallelism to 1 but i think i already have that set.
    Export Type Tables
    Statistics type Estimate optimizer statistics when data is imported
    Parallelism 1
    Files to Export WRITABLE_DIRECTORY tables.DMP
    Log File WRITABLE_DIRECTORY EXPDAT.LOG

    Its trying to create a dump file, but file by that name already exists. Verify that name & path is correct.

  • Error messages from Enterprise Manager Grid control

    Hi,
    Hi,
    I get several messages in my email daily from Enterprise Manager that Services from Application server control are down when all ther services are up and running. Messages like
    EM Alert: Critical: testdev - The OC4J instance is down.
    Any idea why this is happening.
    Thank You

    Here is the error in the "installActions<date>.log" file:
    SEVERE: OUI-25031:Some of the configuration assistants failed. It is strongly recommended that you retry the configuration assistants at this time. Not successfully running any "Recommended" assistants means your system will not be correctly configured.
    1. Check the Details panel on the Configuration Assistant Screen to see the errors resulting in the failures.
    2. Fix the errors causing these failures.
    3. Select the failed assistants and click the 'Retry' button to retry them.
    I checked in the details section and it listed this as the issue:
    Configuration assistant "OMS Configuration" failed
    The "D:\oracle\product\10.1.0\agent10g\cfgtoollogs\configToolFailedCommands" script contains all commands that failed, were skipped or were cancelled. This file may be used to run these configuration assistants outside of OUI. Note that you may have to update this script with passwords (if any) before executing the same.-----------------------------------------------------------------------------
    How do I fix this?? When I open up the configToolFailedCommands file, all it lists is "oracle.sysman.emcp.agent.AgentPlugIn".

  • Error deploy shared library from Enterprise Manager IAS10.1.3.5.0

    Hi,
    I am trying deploy one shared library in my OC4J instance (prd_oc4j) from Enterprise Manager, but when i run my application its not loading this library (error missing class), but when i put this shared library in file server.xml without Enterprise Manager my application run sucessfully.
    Help me please or this problem is a bug?
    Tks,
    Haysar Lelis

    If finally found the cause of the problem, lack of PermGen space for the home instance;
    When opening the EM Console most of the times i was able to open the login page, under stress opening this page failed most of the times.
    The ascontrol-application.log pointed me in the right direction;
    10/09/07 15:26:59.111 ascontrol: Servlet error
    java.lang.OutOfMemoryError: PermGen space
    When monitoring the PermGen of the home instance, is showed that the system was running out of PermGen space.
    Increasing the PermGen size for the home instance in opmn.xml did the trick
    <data id="java-options" value="-Xrs -server -XX:MaxPermSize=128M......"

  • Oracle Enterprise Manager 12c - OMS error

    Dear Team,
    We are working on Oracle 11.2.0.3 Database on Linux platform. Today, we tried to install Oracle enterprise manager 12c and it got installed successfully.
    But when I try to start oms, its giving below error message:
    [oracle@development2 bin]$ ./emctl start oms
    EM Configuration issue. /u01/app/oracle/product/11.2.0/dbhome_1/development2_orcl not found.
    I checked and found that hostname_dbname folder is not available at $ORACLE_HOME location.
    I am able to open weblogic console but unable to login EM due to above error.
    Please let me know how this issue can be resolved.
    Appreciate your assistance.
    Regards,
    Saurabh

    Already set env correctly:
    [oracle@development2 ~]$ echo $ORACLE_HOME
    /u01/app/oracle/product/11.2.0/dbhome_1
    [oracle@development2 ~]$ echo $OMS_HOME
    /u01/app/oracle/Middleware/oms
    [oracle@development2 ~]$ echo $AGENT_HOME
    /u01/app/oracle/Middleware/agent/core/12.1.0.1.0
    [oracle@development2 bin]$ ./emctl start oms
    EM Configuration issue. /u01/app/oracle/product/11.2.0/dbhome_1/development2_orcl not found.

  • Error in creating new listener from Enterprise Mgr Console

    When I try to create a new listener from Enterprise Manager Console, it displays an error message: Error in getting data for creating new listener. Check if the listener.ora location "/u01/app/oracle/product/10.2.0/db_1/network/admin" is a valid one. It is absolutely a valid ORACLE_HOME, in fact, I can setup TNS Connect Alias and Profiles from here, but the listener has became a pain in the neck.
    I know I can use the java netmgr or netca or even vi to set it up; however, it is a must that it has to be done through Enterprise Manager Console (show EM manageability issues).
    Thanks for your feedback

    Credentials are valid, so the ORACLE_HOME path, otherwise I would not have been able to modify the other TNSNAMES.ORA and SQLNET.ORA.
    I use the ORACLE_HOME owner credentials (oracle user at the OS level).
    Message was edited by:
    Hector Rivera Madrid
    Message was edited by:
    Madrid

  • Problem Autodiscovery of node from Enterprise Manager

    We are using Oracle Enterprise Manager 2.1.0.1.0 through Management Server on NT for Oracle 8i(8.1.6) on Linux
    While autodiscovery of node from Enterprise Manager I am getting following
    error
    "Discovery Failed VNI-4002:Unknown gateway Exception"
    Even Intelligent agent and all the requisite services are started.
    If we configure manually we will get
    following error while using the tools of management pack
    "VTO-2018 This wizard Couldnt be launched because target was manually
    configured.It can only be launched for targets which have been discovered using an Intelligent Agent."
    I shall be thankful if you provide the solution ASAP
    Thanks
    Micky
    null

    Hi,
    Error: wrong password for user
    Are you grant LOG ON AS AN BATCH job to OS USER.
    OR
    before emctl command you always set ORACLE_SID enviourment variable.
    regards
    Taj

  • Can't do anything from Enterprise Manager

    I am trying to undeploy an application from Enterprise Manager Web Site, and I get the following error:
    An error occured while undeploying the application. The configuration files for this Oracle9iAS instance are inconsistent with the configuration stored in the repository. In order to protect the repository, no further configuration or deployment operations are allowed until the problem with the configuration on the filesystem is resolved. This condition arises when a prior operation was unsuccessful. Please check the logs located at ORACLE_HOME/dcm/logs to determine why DCM was unsuccessful in updating the configuration files on disk. Some possible causes are: * permissions on files * file contention issues on Windows NT * EMD and dcmctl running concurrently * internal Oracle error After resolving the problem that prevented DCM from updating the configuration files, you may use the dcmctl resyncInstance command to resolve the problem. Alternatively, you can stop and then restart the active dcmctl or EMD process and resyncInstance will automatically be performed.
    It won't let me do anything. I tried dcm, too. It happens too often to me that I cannot deploy or undeploy apps from EM, or even to alter simple properties. Is there a way to recover from this situation?
    I have checked the errors at $ORACLE_HOME/dcm/logs but I can't get any ideas from there.
    Help me

    check out the Application Server - General forum. this has been discussed quite many times. Specifically,
    9iAS instance out  of sync with Repository
    -Prasad

Maybe you are looking for

  • Fund Management User Manual

    Dear All, Can anyone give fund management user manual? Regards, Mohan.M Moderator: http://help.sap.com

  • Importing parameters not available in Production system

    Hi Experts, I am facing an issue after moving my objects into Production system. I have created a calss and which contains five methods. Each method contains itsown importing parameter. There is one method to send mail, which contains three importing

  • Registered version now asking me to sign in for trial

    I purchased Dreamweaver CS6 a little over 2 years ago. It's stand-alone - not part of a cloud package. I thought that I had purchased it directly from Adobe, but I can't find it within my products on the Adobe site. It is registered. Starting yesterd

  • Keyword reference

    Hi, i'm a new one in Abap,  could someone tell me where can i find keyword reference? thanks!

  • New iPhone, error message contact iTunes support for further assistance

    New iPhone today, get it home and can't do a thing. Everytime I go to iTunes/app store it prompts me for I D and password then tells me to review acct info on iTunes and when I do it gives me a red message that says contact iTunes for further assista