DBMS_AQADM.DROP_QUEUE_TABLE  PROBLEM

Hi!
I import by mistake the table DEF$_AQCALL in
my user shema.
When I try to drop this table, Oracle tell me for use the
DBMS_AQADM.DROP_QUEUE_TABLE function .
When I execute this function I receive this message
ORA-24002: QUEUE_TABLE MYUSER.DEF$_AQCALL does not exist
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
ORA-06512: at "SYS.DBMS_AQADM", line 1774
ORA-06512: at line 2
COULD YOU HELP ME PLEASE
Its very urgent
thanks for your help

So , I can think that what you are trying to drop is a dictionary view built by AQ. Really I think you have to know very well the object that you drop and according that to use the appropiate way to drop it.
if this documentation can help , fine!!!, if not I do not have more suggestion for you. or post the topic in AQ forum.
Application Developer's Guide - Advanced Queuing Contents / Search / Index / PDF
http://download-east.oracle.com/docs/cd/B10501_01/appdev.920/a96587.pdf
Joel P�rez

Similar Messages

  • DROP_QUEUE_TABLE problem

    Hi,
    I created a queue and, after some "enqueues" and "dequeues", for any operation I try to do on the queue, oracle send this error message:
    ORA-25232: duplicate recipients specified for message
    ORA-06512: at "SYS.DBMS_AQADM_SYS", line 2699
    ORA-06512: at "SYS.DBMS_AQADM", line 192
    ORA-06512: at line 1
    I've tried to stop the queue, but I receive the same message. Even if I try to drop the queue table with the force option, I receive this message. I can´t understand what is happening, because there is no message in the queue.
    Is there any way to drop this queue? I'm using Oracle 8i (8.1.7).
    Thanks for your help

    So , I can think that what you are trying to drop is a dictionary view built by AQ. Really I think you have to know very well the object that you drop and according that to use the appropiate way to drop it.
    if this documentation can help , fine!!!, if not I do not have more suggestion for you. or post the topic in AQ forum.
    Application Developer's Guide - Advanced Queuing Contents / Search / Index / PDF
    http://download-east.oracle.com/docs/cd/B10501_01/appdev.920/a96587.pdf
    Joel P�rez

  • Cannot drop user -must use DBMS_AQADM.DROP_QUEUE_TABLE to drop queue tables

    Hi,
    I had this issue before, but forgot the command that should be used to flush some kind of a trash bin.
    Can someone assist me?
    Thanks!

    Hi,
    Use this link :
    Re: Unable to drop USERS tablespace.

  • Dbms_scheduler - dbms_aq - dbms_aqadm - event driven job runs only once/sec

    hi, i tried here to process events with 2 jobs... surprisingly i had to call dbms_lock.sleep(1) to be able to enqueue events
    at inserts in a row ... even more surprisingly the enqueuing doesn't function if the processing (prc_evsched) lasts some seconds...
    how must the code be changed to be able to enqueue all events after the inserts without any sleep()?
    and how must the code be changed to be able to enqueue all events with a proc (prc_evsched) running longer?
    thanx in advance for your help!
    --evsched
    h4.
    --to remove all test-objects
    h4.
    --test table
    h4.
    --define the object type to act as the payload for the queue
    h4.
    --creating the event queue
    h4.
    --creating the proc for the prog/job
    h4.
    --creating the proc for the prog/job
    h4.
    --creating the program
    h4.
    --creating the first job (for parallel execution)
    h4.
    --creating the second job (for parallel execution)
    h4.
    --test block
    h4.
    --test scenarios/results
    h4.
    --to remove all test-objects
    DECLARE
    exc_ora_27475 EXCEPTION; --ora-27475: <job_name> muss job sein
    PRAGMA EXCEPTION_INIT (exc_ora_27475, -27475);
    exc_ora_27476 EXCEPTION; --ora-27476: <program_name> ist nicht vorhanden
    PRAGMA EXCEPTION_INIT (exc_ora_27476, -27476);
    exc_ora_24010 EXCEPTION; --ORA-24010: QUEUE SYSGIS.EVENT_QUEUE ist nicht vorhanden
    PRAGMA EXCEPTION_INIT (exc_ora_24010, -24010);
    exc_ora_24002 EXCEPTION; --ORA-24002: QUEUE_TABLE SYSGIS.EVENT_QUEUE_TAB ist nicht vorhanden
    PRAGMA EXCEPTION_INIT (exc_ora_24002, -24002);
    exc_ora_4043 EXCEPTION; --ORA-04043: Objekt T_EVENT_QUEUE_PAYLOAD ist nicht vorhanden
    PRAGMA EXCEPTION_INIT (exc_ora_4043, -4043);
    exc_ora_942 EXCEPTION; --ORA-00942: Tabelle oder View nicht vorhanden
    PRAGMA EXCEPTION_INIT (exc_ora_942, -942);
    exc_ora_2289 EXCEPTION; --ORA-02289: Sequence ist nicht vorhanden.
    PRAGMA EXCEPTION_INIT (exc_ora_2289, -2289);
    v_fpos PLS_INTEGER := 1;
    BEGIN
    v_fpos := 10;
    BEGIN
    --remove job
    SYS.DBMS_SCHEDULER.DROP_JOB(job_name=> 'job_evsched', FORCE=>TRUE);
    EXCEPTION WHEN exc_ora_27475 THEN NULL;
    END;
    v_fpos := 12;
    BEGIN
    --remove job
    SYS.DBMS_SCHEDULER.DROP_JOB(job_name=> 'job_evsched_2', FORCE=>TRUE);
    EXCEPTION WHEN exc_ora_27475 THEN NULL;
    END;
    v_fpos := 20;
    BEGIN
    --remove program
    SYS.DBMS_SCHEDULER.DROP_PROGRAM(program_name=>'prg_evsched',FORCE=>TRUE);
    EXCEPTION WHEN exc_ora_27476 THEN NULL;
    END;
    v_fpos := 30;
    BEGIN
    -- stop the event queue.
    DBMS_AQADM.stop_queue (queue_name => 'evsched_event_queue');
    EXCEPTION WHEN exc_ora_24010 THEN NULL;
    END;
    v_fpos := 40;
    BEGIN
    -- drop the event queue.
    DBMS_AQADM.drop_queue (queue_name => 'evsched_event_queue');
    EXCEPTION WHEN exc_ora_24010 THEN NULL;
    END;
    v_fpos := 50;
    BEGIN
    -- Remove the queue table.
    DBMS_AQADM.drop_queue_table(queue_table => 'tab_evsched_event_queue');
    EXCEPTION WHEN exc_ora_24002 THEN NULL;
    END;
    v_fpos := 60;
    BEGIN
    -- remove type
    EXECUTE IMMEDIATE 'DROP TYPE typ_evsched_payload';
    EXCEPTION WHEN exc_ora_4043 THEN NULL;
    END;
    v_fpos := 70;
    BEGIN
    -- remove table
    EXECUTE IMMEDIATE 'DROP TABLE tab_evsched';
    EXCEPTION WHEN exc_ora_942 THEN NULL;
    END;
    v_fpos := 80;
    BEGIN
    -- remove sequence
    EXECUTE IMMEDIATE 'DROP SEQUENCE seq_evsched';
    EXCEPTION WHEN exc_ora_2289 THEN NULL;
    END;
    EXCEPTION
    WHEN OTHERS THEN
    dbms_output.put_line('v_fpos='||v_fpos);
    END;
    h4.
    --test table
    CREATE TABLE tab_evsched
    ( id NUMBER
    , sys_date DATE
    , status VARCHAR2(1)
    , processed VARCHAR2(1) DEFAULT 'N'
    , processed_by varchar2(128)
    GRANT DELETE, INSERT, SELECT, UPDATE ON tab_evsched TO PUBLIC
    CREATE SEQUENCE seq_evsched
    h4.
    --define the object type to act as the payload for the queue
    CREATE OR REPLACE TYPE typ_evsched_payload AS OBJECT
    ( event_name VARCHAR2(30)
    , tab_evsched_id NUMBER
    , daterf DATE
    h4.
    --creating the event queue
    BEGIN
    -- Create a queue table to hold the event queue.
    DBMS_AQADM.create_queue_table
    ( queue_table => 'tab_evsched_event_queue'
    , queue_payload_type => 'typ_evsched_payload'
    , multiple_consumers => TRUE
    , COMMENT => 'Queue Table For Event Messages'
    -- Create the event queue.
    DBMS_AQADM.create_queue
    ( queue_name => 'evsched_event_queue'
    , queue_table => 'tab_evsched_event_queue'
    , queue_type => DBMS_AQADM.NORMAL_QUEUE
    , max_retries => 0
    , retry_delay => 0
    , dependency_tracking => FALSE
    , comment => 'Test Object Type Queue'
    , auto_commit => FALSE
    -- Start the event queue.
    DBMS_AQADM.start_queue
    ( queue_name => 'evsched_event_queue'
    END;
    h4.
    --creating the proc for the prog/job
    CREATE OR REPLACE PROCEDURE prc_evsched
    ( p_message IN typ_evsched_payload
    , p_job_name IN VARCHAR2
    IS
    BEGIN
    UPDATE tab_evsched
    SET processed = 'J'
    , processed_by = p_job_name
    , sys_date = p_message.daterf
    WHERE 1=1
    AND id = p_message.tab_evsched_id
    dbms_lock.sleep(5); --#sleep-1#
    COMMIT;
    END prc_evsched;
    h4.
    --creating the program
    DECLARE
    exc_ora_27476 EXCEPTION; --ora-27476: <program_name> ist nicht vorhanden
    PRAGMA EXCEPTION_INIT (exc_ora_27476, -27476);
    BEGIN
    BEGIN
    SYS.DBMS_SCHEDULER.DROP_PROGRAM(program_name=>'prg_evsched',FORCE=>TRUE);
    EXCEPTION
    WHEN exc_ora_27476 THEN
    NULL;
    END;
    SYS.DBMS_SCHEDULER.CREATE_PROGRAM
    ( program_name => 'prg_evsched'
    , program_type => 'STORED_PROCEDURE'
    , program_action => '"SYSGIS"."PRC_EVSCHED"'
    , number_of_arguments => 2
    , enabled => FALSE
    , comments => 'Program-Komponent für den Test von DBMS_SCHEDULER'
    --event message as the first param to prc_evsched 
    DBMS_SCHEDULER.DEFINE_METADATA_ARGUMENT
    ( program_name => 'prg_evsched'
    , argument_position => 1
    , metadata_attribute => 'EVENT_MESSAGE'
    --name of the job as the second param to prc_evsched 
    SYS.DBMS_SCHEDULER.define_program_argument
    ( program_name => 'prg_evsched'
    , argument_name => 'p_job_name'
    , argument_position => 2
    , argument_type => 'VARCHAR2'
    , default_value => 'dummy'
    --enable program   
    SYS.DBMS_SCHEDULER.ENABLE(NAME=>'prg_evsched');
    END;
    h4.
    --creating the first job (for parallel execution)
    DECLARE
    exc_ora_27475 EXCEPTION; --ora-27475: <job_name> muss job sein
    PRAGMA EXCEPTION_INIT (exc_ora_27475, -27475);
    BEGIN
    BEGIN
    --remove job
    SYS.DBMS_SCHEDULER.DROP_JOB(job_name=> 'job_evsched', FORCE=>TRUE);
    EXCEPTION WHEN exc_ora_27475 THEN NULL;
    END;
    DBMS_SCHEDULER.create_job
    ( job_name => 'job_evsched'
    , program_name => 'prg_evsched'
    , start_date => SYSTIMESTAMP
    , event_condition => 'tab.user_data.event_name = ''MYEVENT'''
    , queue_spec => 'evsched_event_queue'
    , auto_drop => FALSE
    , enabled => FALSE
    SYS.DBMS_SCHEDULER.SET_JOB_ARGUMENT_VALUE
    ( job_name => 'job_evsched'
    , argument_name => 'p_job_name'
    , argument_value => 'job_evsched'
    SYS.DBMS_SCHEDULER.ENABLE(NAME=>'job_evsched');
    END;
    h4.
    --creating the second job (for parallel execution)
    DECLARE
    exc_ora_27475 EXCEPTION; --ora-27475: <job_name> muss job sein
    PRAGMA EXCEPTION_INIT (exc_ora_27475, -27475);
    BEGIN
    BEGIN
    --remove job
    SYS.DBMS_SCHEDULER.DROP_JOB(job_name=> 'job_evsched_2', FORCE=>TRUE);
    EXCEPTION WHEN exc_ora_27475 THEN NULL;
    END;
    DBMS_SCHEDULER.create_job
    ( job_name => 'job_evsched_2'
    , program_name => 'prg_evsched'
    , start_date => SYSTIMESTAMP
    , event_condition => 'tab.user_data.event_name = ''MYEVENT'''
    , queue_spec => 'evsched_event_queue'
    , auto_drop => FALSE
    , enabled => FALSE
    SYS.DBMS_SCHEDULER.SET_JOB_ARGUMENT_VALUE
    ( job_name => 'job_evsched_2'
    , argument_name => 'p_job_name'
    , argument_value => 'job_evsched_2'
    SYS.DBMS_SCHEDULER.ENABLE(NAME=>'job_evsched_2');
    END;
    h4.
    --test block
    DECLARE
    PROCEDURE pr_ins_tab_evsched
    ( p_id IN NUMBER
    , p_status IN VARCHAR2
    IS
    BEGIN
    INSERT INTO tab_evsched(id,status) VALUES (p_id, p_status);
    COMMIT;
    --enqueue the MYEVENT-event
    IF p_status = 'M' THEN
    --enqueue works in 1sekunden-taktung.... !?
    dbms_lock.sleep(1); --#sleep-2#
    DECLARE
    v_enqueue_options DBMS_AQ.enqueue_options_t;
    v_message_properties DBMS_AQ.message_properties_t;
    v_message_handle RAW(16);
    v_queue_msg typ_evsched_payload;
    BEGIN
    v_queue_msg := typ_evsched_payload
    ( event_name => 'MYEVENT'
    , tab_evsched_id => p_id
    , daterf => SYSDATE
    v_enqueue_options.VISIBILITY := DBMS_AQ.ON_COMMIT;
    v_enqueue_options.delivery_mode := DBMS_AQ.PERSISTENT;
    v_message_properties.PRIORITY := 1;
    v_message_properties.DELAY := DBMS_AQ.NO_DELAY;
    v_message_properties.EXPIRATION := DBMS_AQ.NEVER;
    v_message_properties.CORRELATION := 'TEST MESSAGE';
    DBMS_AQ.enqueue
    ( queue_name => 'evsched_event_queue'
    , enqueue_options => v_enqueue_options
    , message_properties => v_message_properties
    , payload => v_queue_msg
    , msgid => v_message_handle
    END;
    END IF;
    COMMIT;
    END pr_ins_tab_evsched;
    BEGIN
    DELETE tab_evsched;
    pr_ins_tab_evsched (seq_evsched.NEXTVAL,'M');
    pr_ins_tab_evsched (seq_evsched.NEXTVAL,'M');
    pr_ins_tab_evsched (seq_evsched.NEXTVAL,'M');
    pr_ins_tab_evsched (seq_evsched.NEXTVAL,'M');
    pr_ins_tab_evsched (seq_evsched.NEXTVAL,'M');
    pr_ins_tab_evsched (seq_evsched.NEXTVAL,'M');
    pr_ins_tab_evsched (seq_evsched.NEXTVAL,'M');
    pr_ins_tab_evsched (seq_evsched.NEXTVAL,'M');
    END;
    SELECT * FROM tab_evsched ORDER BY id;
    SELECT * FROM sysgis.tab_evsched_event_queue;
    h4.
    --test scenarios/resultsh
    h5.
    --test results #sleep-1#=5, #sleep-2#=0
    --job (job_evsched) runs only once, only the first event is enqued/processed
    ID SYS_DATE STATUS PROCESSED PROCESSED_BY
    9 22.03.2012 17:00:41 M J job_evsched
    10 (Null) M N (Null)
    11 (Null) M N (Null)
    12 (Null) M N (Null)
    13 (Null) M N (Null)
    14 (Null) M N (Null)
    15 (Null) M N (Null)
    16 (Null) M N (Null)
    h5.
    --test results #sleep-1#=0, #sleep-2#=1
    --jobs (job_evsched/job_evsched2) run alternately, every events are enqued/processed
    ID SYS_DATE STATUS PROCESSED PROCESSED_BY
    25 22.03.2012 17:04:31 M J job_evsched_2
    26 22.03.2012 17:04:32 M J job_evsched_2
    27 22.03.2012 17:04:33 M J job_evsched
    28 22.03.2012 17:04:34 M J job_evsched_2
    29 22.03.2012 17:04:35 M J job_evsched_2
    30 22.03.2012 17:04:36 M J job_evsched_2
    31 22.03.2012 17:04:37 M J job_evsched
    32 22.03.2012 17:04:38 M J job_evsched_2
    h5.
    --test results #sleep-1#=5, #sleep-2#=1
    --jobs (job_evsched/job_evsched2) run alternately, only two events are enqued/processed
    ID SYS_DATE STATUS PROCESSED PROCESSED_BY
    41 22.03.2012 17:07:42 M J job_evsched_2
    42 (Null) M N (Null)
    43 (Null) M N (Null)
    44 (Null) M N (Null)
    45 (Null) M N (Null)
    46 (Null) M N (Null)
    47 22.03.2012 17:07:48 M J job_evsched
    48 (Null) M N (Null)
    */

    hi, thank you for your (fast) answer! that is the solution to my problem!
    now i have a follow-up question:
    i've got a procedure, that runs between 1 and 2 minutes long. unlimited running lightweight jobs
    would freeze the db...
    how can the count of the parallel running lightweight-jobs be limited?
    according to the documentation it is not possible:
    There is no explicit limit to the number of lightweight jobs that can run simultaneously to process multiple instances of the event.
    However, limitations may be imposed by available system resources.
    could you explain to me, what it (...available system recources...) means?
    eventually what i would like to have: max. two parallel running (lightweight) jobs....
    thank you in advance, bye, á
    ps: can i attach a file to the post anyway?
    Edited by: user4786904 on 23.03.2012 07:22

  • Problem with Queue Table while dropping schema

    Hi,
    I want to DROP a schema, but it gives the following error while trying to drop it:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-24005: must use DBMS_AQADM.DROP_QUEUE_TABLE to drop queue tables
    From TOAD, I found that no queue or queue_table exists in the database presently.
    I'm using 10.2.0.2 RAC database.
    Can anyone help me to drop the schema?
    Thanks in advance..
    Regards,
    Anjan

    I have followed the doc 203225.1..
    Now getting the following error:
    ORA-00081: address range [0x60000000000A89A0, 0x60000000000A89A4) is not readable
    ORA-00600: internal error code, arguments: [kzdukl3], [24], [], [], [], [], [], []

  • AQ; drop_queue_table; ORA-24080

    I tried to drop (dbms_aqadm.drop_queue_table) a multiple consumer queue table (propagation to two subscribers) and received the following error message:
    ora-24080 : unschedule_propagation pending for <queue_name> and <destination>
    I noticed, that the table "user_queue_schedules" contains an entry with the value "P" (Pendig???) in the column "schedule_disabled".
    Has anyone an idea how I can drop the queue table!
    Thanks
    G.Linke

    Hi Kamal,
    thanks a lot for your fast reply. Here my answers to your questions:
    is the destination ... ? Answer: destination instance was up at this time
    did you drop ... ? Answer: No! At the local instance site I removed the jobs ("dbms_job.remove(job)") and finally I dropped the queue tables ("dbms_aqadm. drop_queue_table (<queue_table>, true)"). It worked properly but not for one queue table (see below)!
    did you do a DBMS_AQ...? Answer: No
    select * from user_queue_schedule =>
    QNAME = QUEUE_NAME QUEUE_NAME
    DESTINATION = DB_LINK1.WORLD DB_LINK2.WORLD
    START_DATE = 25.09.2002 13:27:26 24.09.2002 15:26:09
    START_TIME = 13:27:26 15:26:09
    PROPAGATION_WINDOW =
    NEXT_TIME =
    LATENCY = 60 60
    SCHEDULE_DISABLED = P N
    PROCESS_NAME = SNP0
    SESSION_ID = 8, 1730
    INSTANCE = 1 1
    LAST_RUN_DATE = 25.09.2002 16:58:33 25.09.2002 16:58:47
    LAST_RUN_TIME = 16:58:33 16:58:47
    CURRENT_START_DATE = 25.09.2002 13:27:26 24.09.2002 15:26:09
    CURRENT_START_TIME = 13:27:26 15:26:09
    NEXT_RUN_DATE = 08.10.2002 13:35:29
    NEXT_RUN_TIME = 13:35:29
    TOTAL_TIME = 3 1
    TOTAL_NUMBER = 8 9
    TOTAL_BYTES = 3770 4174
    MAX_NUMBER = 0 0
    MAX_BYTES = 0 0
    AVG_NUMBER = 8 9
    AVG_SIZE = 471,25 463,7777777777
    AVG_TIME = ,375 ,11111111111111
    FAILURES = 6 10
    LAST_ERROR_DATE = 07.10.2002 13:10:04 08.10.2002 09:19:29
    LAST_ERROR_TIME = 13:10:04 09:19:29
    LAST_ERROR_MSG = ORA-02019: connection ORA-25226: dequeue failed,
    description for remote queue <QUEUE>
    database not found is not enabled for dequeue
    The "process name" SNP0 seems never not be changed (even if the instance is shutdown and started again or job_queue_processes is altered between 0 and a value > 0 ).
    Thanks,G|nter

  • Problems in dropping the user

    Hi I am trying to drop the user which has got some queue tables. When I drop the user it is giving me
    SQL> drop user O2AQ_ADMIN cascade;
    drop user O2AQ_ADMIN cascade
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-24005: must use DBMS_AQADM.DROP_QUEUE_TABLE to drop queue tables
    I read about in and learned that we need to use DBMS_AQADM.DROP_QUEUE_TABLE to drop the queue tables. So i queried the dba_queue_tables view to findout the name of the queue table, but it gave me this result.
    SQL> SELECT queue_table FROM DBA_QUEUE_TABLES WHERE owner ='O2AQ_ADMIN';
    no rows selected
    How can i proceed? I tried dropping the entire tablespace but that too is giving error
    Please advice . One more thing,I have the full logical backup of the db. Will that help in anyways?
    Thanks

    If you have already partially dropped a user owning Q's some manual cleanup may be required, have a look at the below note on My Oracle Support:
    How to Manually Cleanup Advanced Queuing Tables (Doc ID 203225.1)
    Thanks,
    Paul

  • Emctl failed to start

    Hi
    It is a new configuration of EMCA on clone instance in EBS R12.1.3 on linux (RHEL5.5) x86_64.DB:11.1.0.7
    emca -config dbcontrol db -repos recreate
    failed with error for not getting proper emkey.ora which is not with our any of instance ever.
    Aug 27, 2013 5:30:41 PM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Aug 27, 2013 5:30:41 PM oracle.sysman.emcp.util.ClusterUtil getLocalNode
    CONFIG: isLocalNodeDone: true localNode: null
    Aug 27, 2013 5:30:41 PM oracle.sysman.emcp.EMConfig perform
    SEVERE: Can't find file /oracle/TEST/db/tech_st/11.1.0/ERPTEST.BIL.COM_TEST/sysman/config/emoms.properties
    Refer to the log file at /oracle/TEST/db/tech_st/11.1.0/cfgtoollogs/emca/TEST/emca_2013_08_27_17_30_21.log for more details.
    Aug 27, 2013 5:30:41 PM oracle.sysman.emcp.EMConfig perform
    CONFIG: Stack Trace:
    java.lang.IllegalStateException: Can't find file /oracle/TEST/db/tech_st/11.1.0/ERPTEST.BIL.COM_TEST/sysman/config/emoms.properties
        at oracle.sysman.emSDK.conf.ConfigManager.processProperties(ConfigManager.java:1126)
        at oracle.sysman.emSDK.conf.ConfigManager.processProperties(ConfigManager.java:1104)
        at oracle.sysman.emcp.EMReposConfig.stopDBMSJobs(EMReposConfig.java:1125)
    [appltest@ERPTEST TEST]$ emctl getemhome
    Oracle Enterprise Manager 11g Database Control Release 11.1.0.7.0
    Copyright (c) 1996, 2008 Oracle Corporation.  All rights reserved.
    EMHOME=/oracle/TEST/db/tech_st/11.1.0/ERPTEST.BIL.COM_TEST
    [appltest@ERPTEST TEST]$ emctl start dbconsole
    Unable to determine local host from URL REPOSITORY_URL=http://ERPTEST.BIL.COM:%EM_UPLOAD_PORT%/em/upload/
    what to do?Its non RAC environment.
    [appltest@ERPTEST TEST]$ emctl reload
    Oracle Enterprise Manager 11g Database Control Release 11.1.0.7.0
    Copyright (c) 1996, 2008 Oracle Corporation.  All rights reserved.
    Malformed URL: http://ERPTEST.BIL.COM:%EM_SERVLET_PORT%/emd/main/
    Can't connect to http://ERPTEST.BIL.COM:%EM_SERVLET_PORT%/emd/main/
    reload failed with ret=6
    I used this script to remove sysman when i droped and recreated it.
    sqlplus / as sysdba << EOF
    exec DBMS_AQADM.DROP_QUEUE_TABLE(queue_table=>'SYSMAN.MGMT_NOTIFY_QTABLE',force =>TRUE);
    SHUTDOWN IMMEDIATE;
    STARTUP RESTRICT;
    EXEC sysman.emd_maintenance.remove_em_dbms_jobs;
    EXEC sysman.setEMUserContext('',5);
    REVOKE dba FROM sysman;
    DECLARE
    CURSOR c1 IS
    SELECT owner, synonym_name name
    FROM dba_synonyms
    WHERE table_owner = 'SYSMAN';
    BEGIN
    FOR r1 IN c1 LOOP
    IF r1.owner = 'PUBLIC' THEN
    EXECUTE IMMEDIATE 'DROP PUBLIC SYNONYM '||r1.name;
    ELSE
    EXECUTE IMMEDIATE 'DROP SYNONYM '||r1.owner||'.'||r1.name;
    END IF;
    END LOOP;
    END;
    DROP USER mgmt_view CASCADE;
    DROP ROLE mgmt_user;
    DROP USER sysman CASCADE;
    ALTER SYSTEM DISABLE RESTRICTED SESSION;
    EOF
    Thanks And Regards
    I have already read this docs but found no luck:
    Problem - emctl start dbconsole Fails with Error OC4J Configuration issue OC4J_DBConsole__ not found [ID 555218.1]
    Linux 64bit DBConsole Fails With "OC4J Configuration issue cannot find /oc4j/j2ee/oc4j_DBConsole_..." [ID 462325.1]
    Troubleshooting DbConsole Error - OC4J Configuration issue [ID 456111.1]
    The Database Console Fails to Start After a Change in the Hostname [ID 467598.1]

    [root@ERPTEST ~]# su - appltest
    [appltest@ERPTEST ~]$ . DB_TEST_erptest.env
    [appltest@ERPTEST ~]$  emca -deconfig dbcontrol db -repos drop
    STARTED EMCA at Aug 29, 2013 10:34:11 AM
    EM Configuration Assistant, Version 11.1.0.7.0 Production
    Copyright (c) 2003, 2005, Oracle.  All rights reserved.
    Enter the following information:
    Database SID: TEST
    Listener port number: 1528
    Password for SYSMAN user:
    Password for SYSMAN user:
    Do you wish to continue? [yes(Y)/no(N)]: Y
    Aug 29, 2013 10:34:41 AM oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at /oracle/TEST/db/tech_st/11.1.0/cfgtoollogs/emca/TEST/emca_2013_08_29_10_34_11.log.
    Aug 29, 2013 10:34:41 AM oracle.sysman.emcp.util.DBControlUtil stopOMS
    INFO: Stopping Database Control (this may take a while) ...
    Aug 29, 2013 10:34:43 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    WARNING: Error executing /oracle/TEST/db/tech_st/11.1.0/bin/emctl stop dbconsole
    Aug 29, 2013 10:34:43 AM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Dropping the EM repository (this may take a while) ...
    Aug 29, 2013 10:52:53 AM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Repository successfully dropped
    Enterprise Manager configuration completed successfully
    FINISHED EMCA at Aug 29, 2013 10:52:59 AM
    [appltest@ERPTEST ~]$ emctl status dbconsole
    OC4J Configuration issue. /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST not found.
    [appltest@ERPTEST ~]$ ls /oracle/TEST/db/tech_st/11.1.0/ERPTEST.BIL.COM_TEST/sysman/config/
    ls: /oracle/TEST/db/tech_st/11.1.0/ERPTEST.BIL.COM_TEST/sysman/config/: No such file or directory
    [appltest@ERPTEST ~]$ emca -repos create
    STARTED EMCA at Aug 29, 2013 10:58:14 AM
    EM Configuration Assistant, Version 11.1.0.7.0 Production
    Copyright (c) 2003, 2005, Oracle.  All rights reserved.
    Enter the following information:
    Database SID: TEST
    Listener port number: 1528
    Password for SYSMAN user:
    Password for SYSMAN user:
    Do you wish to continue? [yes(Y)/no(N)]: Y
    Aug 29, 2013 10:58:49 AM oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at /oracle/TEST/db/tech_st/11.1.0/cfgtoollogs/emca/TEST/emca_2013_08_29_10_58_14.log.
    Aug 29, 2013 10:58:49 AM oracle.sysman.emcp.EMReposConfig createRepository
    INFO: Creating the EM repository (this may take a while) ...
    Aug 29, 2013 11:07:21 AM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Repository successfully created
    Enterprise Manager configuration completed successfully
    FINISHED EMCA at Aug 29, 2013 11:07:21 AM
    [appltest@ERPTEST ~]$  emca -config dbcontrol db
    STARTED EMCA at Aug 29, 2013 11:12:00 AM
    EM Configuration Assistant, Version 11.1.0.7.0 Production
    Copyright (c) 2003, 2005, Oracle.  All rights reserved.
    Enter the following information:
    Database SID: TEST
    Listener port number: 1528
    Password for SYSMAN user: Email address for notifications (optional): [email protected]
    Outgoing Mail (SMTP) server for notifications (optional):
    You have specified the following settings
    Database ORACLE_HOME ................ /oracle/TEST/db/tech_st/11.1.0
    Local hostname ................ ERPTEST.BIL.COM
    Listener port number ................ 1528
    Database SID ................ TEST
    Email address for notifications ............... [email protected]
    Outgoing Mail (SMTP) server for notifications ...............
    Do you wish to continue? [yes(Y)/no(N)]: Y
    Aug 29, 2013 11:12:56 AM oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at /oracle/TEST/db/tech_st/11.1.0/cfgtoollogs/emca/TEST/emca_2013_08_29_11_12_00.log.
    Aug 29, 2013 11:13:00 AM oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepository
    INFO: Uploading configuration data to EM repository (this may take a while) ...
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Uploaded configuration data successfully
    Aug 29, 2013 11:13:55 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    WARNING: Error executing /oracle/TEST/db/tech_st/11.1.0/bin/emctl deploy dbconsole /oracle/TEST/db/tech_st/11.1.0/ERPTEST.BIL.COM_TEST ERPTEST.BIL.COM:3938 ERPTEST.BIL.COM TEST
    Aug 29, 2013 11:13:55 AM oracle.sysman.emcp.EMConfig perform
    SEVERE: Error instantiating EM configuration files
    Refer to the log file at /oracle/TEST/db/tech_st/11.1.0/cfgtoollogs/emca/TEST/emca_2013_08_29_11_12_00.log for more details.
    Could not complete the configuration. Refer to the log file at /oracle/TEST/db/tech_st/11.1.0/cfgtoollogs/emca/TEST/emca_2013_08_29_11_12_00.log for more details.
    [appltest@ERPTEST ~]$ cat  /oracle/TEST/db/tech_st/11.1.0/cfgtoollogs/emca/TEST/emca_2013_08_29_11_12_00.log
    Aug 29, 2013 11:12:00 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag '-migrate' set to false
    Aug 29, 2013 11:12:00 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'migrateFromDBControl' set to false
    Aug 29, 2013 11:12:00 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'migrateToCentralAgent' set to false
    Aug 29, 2013 11:12:00 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'migrateFromCentralAgent' set to false
    Aug 29, 2013 11:12:00 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'migrateToDBControl' set to false
    Aug 29, 2013 11:12:00 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag '-config' set to true
    Aug 29, 2013 11:12:00 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'UPDATE_EMAIL' set to true
    Aug 29, 2013 11:12:00 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'dbcontrol' set to true
    Aug 29, 2013 11:12:00 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'db' set to true
    Aug 29, 2013 11:12:00 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: ORACLE_HOME value: /oracle/TEST/db/tech_st/11.1.0
    Aug 29, 2013 11:12:00 AM oracle.sysman.emcp.util.ClusterUtil isCRSInstalled
    CONFIG: isCRSInstalled: false
    Aug 29, 2013 11:12:00 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Aug 29, 2013 11:12:00 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: EM_HOME value: /oracle/TEST/db/tech_st/11.1.0
    Aug 29, 2013 11:12:07 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: SID value: TEST
    Aug 29, 2013 11:12:07 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Aug 29, 2013 11:12:07 AM oracle.sysman.emcp.util.ClusterUtil isCRSInstalled
    CONFIG: isCRSInstalled: false
    Aug 29, 2013 11:12:07 AM oracle.sysman.emcp.util.ClusterUtil getLocalNode
    CONFIG: Cluster.isCluster: false. Skip call to getLocalNode
    Aug 29, 2013 11:12:07 AM oracle.sysman.emcp.util.ClusterUtil getLocalNode
    CONFIG: isLocalNodeDone: true localNode: null
    Aug 29, 2013 11:12:07 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Aug 29, 2013 11:12:07 AM oracle.sysman.emcp.util.DBControlUtil isDBConsoleConfigured
    CONFIG: Sid: TEST Host: ERPTEST.BIL.COM Node: null OH: /oracle/TEST/db/tech_st/11.1.0 isDBC: false
    Aug 29, 2013 11:12:07 AM oracle.sysman.emcp.util.CentralAgentUtil isCentralAgentConfigured
    CONFIG: Sid: TEST Host: ERPTEST.BIL.COM Node: null OH: /oracle/TEST/db/tech_st/11.1.0 agentHome: null isCentral: false
    Aug 29, 2013 11:12:07 AM oracle.sysman.emcp.util.CentralAgentUtil isCentralAgentConfigured
    CONFIG: Sid: TEST Host: ERPTEST.BIL.COM Node: null OH: /oracle/TEST/db/tech_st/11.1.0 agentHome: null isCentral: false
    Aug 29, 2013 11:12:07 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter SYS_PWD.
    Aug 29, 2013 11:12:07 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: TEST, oracleHome: /oracle/TEST/db/tech_st/11.1.0, and user:
    Aug 29, 2013 11:12:07 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Aug 29, 2013 11:12:07 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'asm_db' set to false
    Aug 29, 2013 11:12:07 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'asm_db' set to false
    Aug 29, 2013 11:12:11 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: PORT value: 1528
    Aug 29, 2013 11:12:16 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter SYS_PWD.
    Aug 29, 2013 11:12:16 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: TEST, oracleHome: /oracle/TEST/db/tech_st/11.1.0, and user: SYS
    Aug 29, 2013 11:12:16 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Aug 29, 2013 11:12:22 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: TEST, oracleHome: /oracle/TEST/db/tech_st/11.1.0, and user: DBSNMP
    Aug 29, 2013 11:12:22 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Aug 29, 2013 11:12:27 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: TEST, oracleHome: /oracle/TEST/db/tech_st/11.1.0, and user: SYSMAN
    Aug 29, 2013 11:12:27 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Aug 29, 2013 11:12:46 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: EMAIL_ADDRESS value: [email protected]
    Aug 29, 2013 11:12:52 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: MAIL_SERVER_NAME value:
    Aug 29, 2013 11:12:52 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Aug 29, 2013 11:12:52 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: CONFIRMATION ANSWER value:
    Aug 29, 2013 11:12:56 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: CONFIRMATION ANSWER value: yes
    Aug 29, 2013 11:12:56 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter LOG_FILE.
    Aug 29, 2013 11:12:56 AM oracle.sysman.emcp.EMConfig addEMCALogFile
    CONFIG: ORACLE_BASE :/oracle/TEST/db/tech_st/11.1.0
    Aug 29, 2013 11:12:56 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
    Aug 29, 2013 11:12:56 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
    Aug 29, 2013 11:12:56 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: TEST, oracleHome: /oracle/TEST/db/tech_st/11.1.0, and user: SYS
    Aug 29, 2013 11:12:56 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Aug 29, 2013 11:12:56 AM oracle.sysman.emcp.DatabaseChecks getDbUniqueName
    CONFIG: No Database unique name available. Will try to retrieve it from DB itself
    Aug 29, 2013 11:12:56 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value: TEST
    Aug 29, 2013 11:12:56 AM oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at /oracle/TEST/db/tech_st/11.1.0/cfgtoollogs/emca/TEST/emca_2013_08_29_11_12_00.log.
    Aug 29, 2013 11:12:56 AM oracle.sysman.emcp.util.ClusterUtil isCRSInstalled
    CONFIG: isCRSInstalled: false
    Aug 29, 2013 11:12:56 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'CHECK_CONFIG' set to true
    Aug 29, 2013 11:12:56 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: TEST, oracleHome: /oracle/TEST/db/tech_st/11.1.0, and user: SYS
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: TEST, oracleHome: /oracle/TEST/db/tech_st/11.1.0, and user: DBSNMP
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MODIFY_SID.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: TEST, oracleHome: /oracle/TEST/db/tech_st/11.1.0, and user: SYS
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'asm_db' set to false
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MODIFY_SID.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.DatabaseChecks getDbServiceName
    CONFIG: No service name available. Will try to set db_unique_name.db_domain
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: TEST, oracleHome: /oracle/TEST/db/tech_st/11.1.0, and user: SYS
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value:
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.DatabaseChecks getDbUniqueName
    CONFIG: No Database unique name available. Will try to retrieve it from DB itself
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value: TEST
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_DOMAIN.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.DatabaseChecks getDbDomain
    CONFIG: No db domain available. Will query db for db_domain parameter
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value: TEST
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: SERVICE_NAME value: TEST
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MODIFY_SID.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DBID.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.DatabaseChecks getDbid
    CONFIG: No dbid available. Will query db to extract it.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: TEST, oracleHome: /oracle/TEST/db/tech_st/11.1.0, and user: SYS
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DBID value: 2075308332
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: TEST, oracleHome: /oracle/TEST/db/tech_st/11.1.0, and user: SYSMAN
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MAIL_SERVER_NAME.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: TEST, oracleHome: /oracle/TEST/db/tech_st/11.1.0, and user: SYS
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.EMDBPreConfig invoke
    CONFIG: Passed repository configuration check
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MODIFY_SID.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MODIFY_SID.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter GLOBAL_DB_UNIQUE_NAME.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.DatabaseChecks getGlobalDbUniqueName
    CONFIG: No Global database unique name available. Will try to retrieve it from DB itself
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: TEST, oracleHome: /oracle/TEST/db/tech_st/11.1.0, and user: SYS
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_DOMAIN.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.DatabaseChecks getDbDomain
    CONFIG: No db domain available. Will query db for db_domain parameter
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: GLOBAL_DB_UNIQUE_NAME value: TEST
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/sysman/config/emd.properties to /oracle/TEST/db/tech_st/11.1.0/sysman/config/emd.properties.emca.tmp
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.FileUtil backupFile
    CONFIG: The original file /oracle/TEST/db/tech_st/11.1.0/sysman/config/emd.properties has been copied to /oracle/TEST/db/tech_st/11.1.0/sysman/config/emd.properties.emca.tmp
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/sysman/config/emoms.properties to /oracle/TEST/db/tech_st/11.1.0/sysman/config/emoms.properties.emca.tmp
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.FileUtil backupFile
    CONFIG: The original file /oracle/TEST/db/tech_st/11.1.0/sysman/config/emoms.properties has been copied to /oracle/TEST/db/tech_st/11.1.0/sysman/config/emoms.properties.emca.tmp
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/sysman/emd/targets.xml to /oracle/TEST/db/tech_st/11.1.0/sysman/emd/targets.xml.emca.tmp
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.FileUtil backupFile
    CONFIG: The original file /oracle/TEST/db/tech_st/11.1.0/sysman/emd/targets.xml has been copied to /oracle/TEST/db/tech_st/11.1.0/sysman/emd/targets.xml.emca.tmp
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.ClusterUtil getLocalNode
    CONFIG: isLocalNodeDone: true localNode: null
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'IS_CENTRAL_AGENT_RECONFIG' set to false
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.ClusterUtil getLocalNode
    CONFIG: isLocalNodeDone: true localNode: null
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.CentralAgentUtil isCentralAgentConfigured
    CONFIG: Sid: TEST Host: ERPTEST.BIL.COM Node: null OH: /oracle/TEST/db/tech_st/11.1.0 agentHome: null isCentral: false
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.DBControlUtil isDBConsoleConfigured
    CONFIG: Sid: TEST Host: ERPTEST.BIL.COM Node: null OH: /oracle/TEST/db/tech_st/11.1.0 isDBC: false
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'IS_CENTRAL_AGENT_CONFIGURED' set to false
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'IS_DBCONTROL_CONFIGURED' set to false
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DBCONTROL_HTTP_PORT.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter AGENT_PORT.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter RMI_PORT.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter JMS_PORT.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.ClusterUtil getLocalNode
    CONFIG: isLocalNodeDone: true localNode: null
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.DBControlUtil isDBConsoleConfigured
    CONFIG: Sid: TEST Host: ERPTEST.BIL.COM Node: null OH: /oracle/TEST/db/tech_st/11.1.0 isDBC: false
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter PORTS_FILE.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.ClusterUtil getLocalNode
    CONFIG: isLocalNodeDone: true localNode: null
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter JMS_PORT_TEST.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter JMS_PORT.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter RMI_PORT_TEST.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter RMI_PORT.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DBCONTROL_HTTP_PORT_TEST.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DBCONTROL_HTTP_PORT.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter AGENT_PORT_TEST.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter AGENT_PORT.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.OUIInventoryUtil setOUILoc
    CONFIG: Setting oracle.installer.oui_loc to /oracle/TEST/db/tech_st/11.1.0/oui
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.OUIInventoryUtil setOUILoc
    CONFIG: Setting oracle.installer.oui_loc to /oracle/TEST/db/tech_st/11.1.0/oui
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Homes to scan for used ports: [/oracle/TEST/db/tech_st/11.1.0, /oracle/TEST/apps/tech_st/10.1.3, /oracle/TEST/apps/tech_st/10.1.2]
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Searching all DBConsole instances for used ports under ORACLE_HOME /oracle/TEST/db/tech_st/11.1.0
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Marking JMS port: null from /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Marking RMI port: null from /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Marking HTTP port: null from /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.PortManager getAgentPort
    CONFIG: Cannot parse EMD_URL correctly. No port identified
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Marking Agent port: null from /oracle/TEST/db/tech_st/11.1.0/sysman/config/emd.properties
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Cannnot parse EMD_URL correctly. No port identified
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Searching all DBConsole instances for used ports under ORACLE_HOME /oracle/TEST/apps/tech_st/10.1.3
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.FileUtil getProperties
    CONFIG: Error reading file /oracle/TEST/apps/tech_st/10.1.3/sysman/config/emd.properties
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.PortManager getAgentPort
    CONFIG: Cannot parse EMD_URL correctly. No port identified
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Marking Agent port: null from /oracle/TEST/apps/tech_st/10.1.3/sysman/config/emd.properties
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Cannnot parse EMD_URL correctly. No port identified
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Searching all DBConsole instances for used ports under ORACLE_HOME /oracle/TEST/apps/tech_st/10.1.2
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Marking Agent port: 1157 from /oracle/TEST/apps/tech_st/10.1.2/sysman/config/emd.properties
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.FileUtil getProperties
    CONFIG: Error reading file /oracle/TEST/db/tech_st/11.1.0/install/staticports.ini
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.PortManager getFreePorts
    CONFIG: /oracle/TEST/db/tech_st/11.1.0:ERPTEST.BIL.COM:null:TEST:{}:null:{DBCONTROL_HTTP_PORT=1158, RMI_PORT=5520, JMS_PORT=5540, AGENT_PORT=3938}
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter AGENT_PORT_TEST.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: AGENT_PORT_TEST value: 3938
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DBCONTROL_HTTP_PORT_TEST.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DBCONTROL_HTTP_PORT_TEST value: 1158
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter JMS_PORT_TEST.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: JMS_PORT_TEST value: 5540
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter RMI_PORT_TEST.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: RMI_PORT_TEST value: 5520
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.EMDBPreConfig getFreePorts
    CONFIG: Ports assigned for SID: TEST : {DBCONTROL_HTTP_PORT=1158, RMI_PORT=5520, JMS_PORT=5540, AGENT_PORT=3938}
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.ClusterUtil getLocalNode
    CONFIG: isLocalNodeDone: true localNode: null
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.EMDBPreConfig copyAgentTimeStampFile
    CONFIG: File: /oracle/TEST/db/tech_st/11.1.0/ERPTEST.BIL.COM_TEST/sysman/emd/agntstmp.txt:ERPTEST.BIL.COM does not exists.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MAIL_SERVER_NAME.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MAIL_SERVER_SENDER_NAME.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MAIL_SERVER_SENDER_ADDR.
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.EMReposConfig updateReposVars
    CONFIG: Updating file /oracle/TEST/db/tech_st/11.1.0/sysman/emdrep/config/repository.variables ...
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/sysman/emdrep/config/repository.variables.emca.util.tmp to /oracle/TEST/db/tech_st/11.1.0/sysman/emdrep/config/repository.variables
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.EMReposConfig updateReposVars
    CONFIG: File /oracle/TEST/db/tech_st/11.1.0/sysman/emdrep/config/repository.variables is successfully updated
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: TEST, oracleHome: /oracle/TEST/db/tech_st/11.1.0, and user: SYS
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.EMReposConfig unlockAccounts
    CONFIG: Unlocking dbsnmp and sysman
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.EMReposConfig invoke
    CONFIG: Successfully unlocked relevant accounts
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: TEST, oracleHome: /oracle/TEST/db/tech_st/11.1.0, and user: SYSMAN
    Aug 29, 2013 11:12:57 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Aug 29, 2013 11:13:00 AM oracle.sysman.emcp.EMReposConfig createOutOfBoxJobs
    CONFIG: Finished executing emreposoutofbox.sql
    Aug 29, 2013 11:13:00 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: TEST, oracleHome: /oracle/TEST/db/tech_st/11.1.0, and user: SYSMAN
    Aug 29, 2013 11:13:00 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Aug 29, 2013 11:13:00 AM oracle.sysman.emcp.EMReposConfig createOutOfBoxJobs
    CONFIG: Submitting dbms job: /oracle/TEST/db/tech_st/11.1.0/sysman/admin/emdrep/sql/core/latest/admin/admin_submit_dbms_jobs.sql
    Aug 29, 2013 11:13:00 AM oracle.sysman.emcp.EMReposConfig createOutOfBoxJobs
    CONFIG: Successfully submitted dbms job
    Aug 29, 2013 11:13:00 AM oracle.sysman.emcp.EMReposConfig unlockMGMTAccount
    CONFIG: Unlocking mgmt view user account
    Aug 29, 2013 11:13:00 AM oracle.sysman.emcp.EMReposConfig unlockMGMTAccount
    CONFIG: view user sql: declare repos_pwd varchar2(30); view_user varchar2(30); view_user_pwd varchar2(30); view_user_acc_status varchar2(30); begin repos_pwd := ?; sysman.mgmt_view_priv.get_view_user(view_user); select account_status into view_user_acc_status from sys.dba_users where upper(username) = upper ( view_user ); IF view_user_acc_status like '%LOCKED%' THEN execute immediate 'alter user ' || view_user || ' account unlock'; END IF; IF view_user_acc_status like '%EXPIRED%' THEN sysman.mgmt_view_priv.set_view_user_creds ( repos_pwd ); sysman.mgmt_view_priv.GET_VIEW_USER_CREDS ( view_user, view_user_pwd ); execute immediate 'alter user ' || view_user || ' identified by ' || view_user_pwd || ''; END IF; end;
    Aug 29, 2013 11:13:00 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Starting execution: /oracle/TEST/db/tech_st/11.1.0/sysman/admin/scripts/emca/emcaDbUtil /oracle/TEST/db/tech_st/11.1.0/perl/lib:/oracle/TEST/db/tech_st/11.1.0/perl/lib/site_perl:/oracle/TEST/db/tech_st/11.1.0/sysman/admin/scripts:/oracle/TEST/db/tech_st/11.1.0/bin: /oracle/TEST/db/tech_st/11.1.0/perl/bin/perl /oracle/TEST/db/tech_st/11.1.0/sysman/admin/scripts/emca/emcaDbUtil.pl /oracle/TEST/db/tech_st/11.1.0 TEST SYS SYSDBA declare repos_pwd varchar2(30); view_user varchar2(30); view_user_pwd varchar2(30); view_user_acc_status varchar2(30); begin repos_pwd := ?; sysman.mgmt_view_priv.get_view_user(view_user); select account_status into view_user_acc_status from sys.dba_users where upper(username) = upper ( view_user ); IF view_user_acc_status like '%LOCKED%' THEN execute immediate 'alter user ' || view_user || ' account unlock'; END IF; IF view_user_acc_status like '%EXPIRED%' THEN sysman.mgmt_view_priv.set_view_user_creds ( repos_pwd ); sysman.mgmt_view_priv.GET_VIEW_USER_CREDS ( view_user, view_user_pwd ); execute immediate 'alter user ' || view_user || ' identified by ' || view_user_pwd || ''; END IF; end; 1 SYSMAN_PWD
    Aug 29, 2013 11:13:00 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Exit value of 0
    Aug 29, 2013 11:13:00 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Execution of /oracle/TEST/db/tech_st/11.1.0/sysman/admin/scripts/emca/emcaDbUtil /oracle/TEST/db/tech_st/11.1.0/perl/lib:/oracle/TEST/db/tech_st/11.1.0/perl/lib/site_perl:/oracle/TEST/db/tech_st/11.1.0/sysman/admin/scripts:/oracle/TEST/db/tech_st/11.1.0/bin: /oracle/TEST/db/tech_st/11.1.0/perl/bin/perl /oracle/TEST/db/tech_st/11.1.0/sysman/admin/scripts/emca/emcaDbUtil.pl /oracle/TEST/db/tech_st/11.1.0 TEST SYS SYSDBA declare repos_pwd varchar2(30); view_user varchar2(30); view_user_pwd varchar2(30); view_user_acc_status varchar2(30); begin repos_pwd := ?; sysman.mgmt_view_priv.get_view_user(view_user); select account_status into view_user_acc_status from sys.dba_users where upper(username) = upper ( view_user ); IF view_user_acc_status like '%LOCKED%' THEN execute immediate 'alter user ' || view_user || ' account unlock'; END IF; IF view_user_acc_status like '%EXPIRED%' THEN sysman.mgmt_view_priv.set_view_user_creds ( repos_pwd ); sysman.mgmt_view_priv.GET_VIEW_USER_CREDS ( view_user, view_user_pwd ); execute immediate 'alter user ' || view_user || ' identified by ' || view_user_pwd || ''; END IF; end; 1 SYSMAN_PWD  completed successfully
    Aug 29, 2013 11:13:00 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Arguments passed /oracle/TEST/db/tech_st/11.1.0 TEST SYS SYSDBA declare repos_pwd varchar2(30); view_user varchar2(30); view_user_pwd varchar2(30); view_user_acc_status varchar2(30); begin repos_pwd := ?; sysman.mgmt_view_priv.get_view_user(view_user); select account_status into view_user_acc_status from sys.dba_users where upper(username) = upper ( view_user ); IF view_user_acc_status like '%LOCKED%' THEN execute immediate 'alter user ' || view_user || ' account unlock'; END IF; IF view_user_acc_status like '%EXPIRED%' THEN sysman.mgmt_view_priv.set_view_user_creds ( repos_pwd ); sysman.mgmt_view_priv.GET_VIEW_USER_CREDS ( view_user, view_user_pwd ); execute immediate 'alter user ' || view_user || ' identified by ' || view_user_pwd || ''; END IF; end; 1 SYSMAN_PWD
    Connecting to database TEST in home /oracle/TEST/db/tech_st/11.1.0 with user "SYS" role "SYSDBA".
    connected to database.
    sql to execute declare repos_pwd varchar2(30); view_user varchar2(30); view_user_pwd varchar2(30); view_user_acc_status varchar2(30); begin repos_pwd := ?; sysman.mgmt_view_priv.get_view_user(view_user); select account_status into view_user_acc_status from sys.dba_users where upper(username) = upper ( view_user ); IF view_user_acc_status like '%LOCKED%' THEN execute immediate 'alter user ' || view_user || ' account unlock'; END IF; IF view_user_acc_status like '%EXPIRED%' THEN sysman.mgmt_view_priv.set_view_user_creds ( repos_pwd ); sysman.mgmt_view_priv.GET_VIEW_USER_CREDS ( view_user, view_user_pwd ); execute immediate 'alter user ' || view_user || ' identified by ' || view_user_pwd || ''; END IF; end;
    noOfParams to bind: 1.
    sql execute successfully.
    Aug 29, 2013 11:13:00 AM oracle.sysman.emcp.EMReposConfig unlockMGMTAccount
    CONFIG: Unlocked mgmt_view account
    Aug 29, 2013 11:13:00 AM oracle.sysman.emcp.EMReposConfig invoke
    CONFIG: Successfully unlocked mgmt_view account
    Aug 29, 2013 11:13:00 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Aug 29, 2013 11:13:00 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: TEST, oracleHome: /oracle/TEST/db/tech_st/11.1.0, and user: SYSMAN
    Aug 29, 2013 11:13:00 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Aug 29, 2013 11:13:00 AM oracle.sysman.emcp.ParamsManager checkListenerStatusForDBControl
    CONFIG: Passed listener validation check.Listener is up and running.
    Aug 29, 2013 11:13:00 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Aug 29, 2013 11:13:00 AM oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepository
    INFO: Uploading configuration data to EM repository (this may take a while) ...
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Uploaded configuration data successfully
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.EMDBCConfig updateEmomsProps
    CONFIG: Updating file /oracle/TEST/db/tech_st/11.1.0/sysman/config/emoms.properties ...
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/sysman/config/emoms.properties.emca to /oracle/TEST/db/tech_st/11.1.0/sysman/config/emoms.properties
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/sysman/config/emoms.properties.emca.util.tmp to /oracle/TEST/db/tech_st/11.1.0/sysman/config/emoms.properties
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/server.xml.emca.util.tmp to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/server.xml
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.ClusterUtil getLocalNode
    CONFIG: isLocalNodeDone: true localNode: null
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.EMDBCConfig copyOC4JDir
    CONFIG: Copying OC4J config files from /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _makeDirectory
    CONFIG: Create directory /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/javacache.xml to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/javacache.xml
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/jazn-data.xml to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/jazn-data.xml
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/application.xml to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/application.xml
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/oc4j-connectors.xml to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/oc4j-connectors.xml
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/mime.types to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/mime.types
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/system-application.xml.ouibak.1 to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/system-application.xml.ouibak.1
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/jazn.security.props to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/jazn.security.props
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/jazn.xml to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/jazn.xml
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/entity-resolver-config.xml to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/entity-resolver-config.xml
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/rmi.xml to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/rmi.xml
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/oc4j.properties to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/oc4j.properties
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/global-web-application.xml to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/global-web-application.xml
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/http-web-site.xml to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/http-web-site.xml
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/data-sources.xml to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/data-sources.xml
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/system-application.xml to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/system-application.xml
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/system-application.xml.ouibak.5 to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/system-application.xml.ouibak.5
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/system-application.xml.ouibak.4 to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/system-application.xml.ouibak.4
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/system-jazn-data.xml.ouibak.5 to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/system-jazn-data.xml.ouibak.5
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/system-application.xml.ouibak to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/system-application.xml.ouibak
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/j2ee-logging.xml to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/j2ee-logging.xml
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/system-jazn-data.xml.ouibak.1 to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/system-jazn-data.xml.ouibak.1
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/default-web-site.xml to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/default-web-site.xml
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/system-jazn-data.xml.ouibak.3 to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/system-jazn-data.xml.ouibak.3
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/principals.xml to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/principals.xml
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/system-jazn-data.xml.ouibak to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/system-jazn-data.xml.ouibak
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/system-application.xml.ouibak.2 to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/system-application.xml.ouibak.2
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/system-jazn-data.xml to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/system-jazn-data.xml
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/server.xml to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/server.xml
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/jms.xml to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/jms.xml
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/internal-settings.xml to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/internal-settings.xml
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/orb-config.xml to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/orb-config.xml
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/system-jazn-data.xml.ouibak.4 to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/system-jazn-data.xml.ouibak.4
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/java2.policy to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/java2.policy
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/system-application.xml.ouibak.3 to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/system-application.xml.ouibak.3
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/transaction-manager.xml to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/transaction-manager.xml
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/system-jazn-data.xml.ouibak.2 to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/system-jazn-data.xml.ouibak.2
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _makeDirectory
    CONFIG: Create directory /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/database-schemas
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/database-schemas/postgresql.xml to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/database-schemas/postgresql.xml
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/database-schemas/sybase.xml to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/database-schemas/sybase.xml
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/database-schemas/hypersonic.xml to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/database-schemas/hypersonic.xml
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/database-schemas/ms-access.xml to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/database-schemas/ms-access.xml
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/database-schemas/oracle.xml to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/database-schemas/oracle.xml
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/config/database-schemas/ms-sql.xml to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/database-schemas/ms-sql.xml
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _makeDirectory
    CONFIG: Create directory /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/connectors
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/connectors/README.txt to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/connectors/README.txt
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _makeDirectory
    CONFIG: Create directory /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/connectors/datasources
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/connectors/datasources/datasources.rar to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/connectors/datasources/datasources.rar
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _makeDirectory
    CONFIG: Create directory /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/connectors/OracleASjms
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/connectors/OracleASjms/OracleASjms.rar to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/connectors/OracleASjms/OracleASjms.rar
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _makeDirectory
    CONFIG: Create directory /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/META-INF
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/META-INF/MANIFEST.MF to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/META-INF/MANIFEST.MF
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _makeDirectory
    CONFIG: Create directory /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/application-deployments/default/defaultWebApp
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole/application-deployments/default/defaultWebApp/orion-web.xml to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/application-deployments/default/defaultWebApp/orion-web.xml
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.EMDBCConfig copyOC4JDir
    CONFIG: Finished copying OC4J config files
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/jms.xml.emca.util.tmp to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/jms.xml
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/rmi.xml.emca.util.tmp to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/rmi.xml
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/rmi.xml.emca.util.tmp to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/rmi.xml
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/http-web-site.xml.emca.util.tmp to /oracle/TEST/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole_ERPTEST.BIL.COM_TEST/config/http-web-site.xml
    Aug 29, 2013 11:13:53 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MAIL_SERVER_SENDER_NAME.
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MAIL_SERVER_NAME.
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.EMAgentConfig updateEmdProps
    CONFIG: Updating file /oracle/TEST/db/tech_st/11.1.0/sysman/config/emd.properties ...
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/sysman/config/emd.properties.emca to /oracle/TEST/db/tech_st/11.1.0/sysman/config/emd.properties
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /oracle/TEST/db/tech_st/11.1.0/sysman/config/emd.properties.emca.util.tmp to /oracle/TEST/db/tech_st/11.1.0/sysman/config/emd.properties
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.EMAgentConfig updateAgentConfigFiles
    CONFIG: Updating file /oracle/TEST/db/tech_st/11.1.0/sysman/config/emd.properties ...
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.EMAgentConfig updateTargets
    CONFIG: value for use102tgt: false
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.target.TargetManager removeAllTargets
    CONFIG: Failed to delete target: host:ERPTEST.BIL.COM
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.target.TargetManager removeAllTargets
    CONFIG: Failed to delete target: oracle_database:TEST
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.target.TargetManager removeAllTargets
    CONFIG: Failed to delete target: oracle_listener:TEST_ERPTEST.BIL.COM
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.target.TargetManager removeAllTargets
    CONFIG: Failed to delete target: host:ERPTEST.BIL.COM
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.target.TargetManager removeAllTargets
    CONFIG: Failed to delete target: oracle_database:TEST
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.target.TargetManager removeAllTargets
    CONFIG: Failed to delete target: oracle_listener:TEST_ERPTEST.BIL.COM
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.target.TargetManager removeAllTargets
    CONFIG: Failed to delete target: host:ERPTEST.BIL.COM
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.target.TargetManager removeAllTargets
    CONFIG: Failed to delete target: oracle_database:TEST
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.target.TargetManager removeAllTargets
    CONFIG: Failed to delete target: oracle_listener:TEST_ERPTEST.BIL.COM
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.target.TargetManager removeAllTargets
    CONFIG: Failed to delete target: host:ERPTEST.BIL.COM
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.target.TargetManager removeAllTargets
    CONFIG: Failed to delete target: oracle_database:TEST
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.target.TargetManager removeAllTargets
    CONFIG: Failed to delete target: oracle_listener:TEST_ERPTEST.BIL.COM
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.target.TargetManager removeAllTargets
    CONFIG: Failed to delete target: host:ERPTEST.BIL.COM
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.target.TargetManager removeAllTargets
    CONFIG: Failed to delete target: oracle_database:TEST
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.target.TargetManager removeAllTargets
    CONFIG: Failed to delete target: oracle_listener:TEST_ERPTEST.BIL.COM
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter LISTENER_OH.
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.ParamsManager getListenerHome
    CONFIG: LISTENER_OH not set. Using ORACLE_HOME as listener's home.
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter LISTENER.
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter LISTENER_OH.
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.ParamsManager getListenerHome
    CONFIG: LISTENER_OH not set. Using ORACLE_HOME as listener's home.
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter LISTENER_OH.
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.ParamsManager getListenerHome
    CONFIG: LISTENER_OH not set. Using ORACLE_HOME as listener's home.
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.ParamsManager getLocalListener
    CONFIG: Found listener named: TEST
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.EMAgentConfig updateAgentConfigFiles
    CONFIG: Updating file /oracle/TEST/db/tech_st/11.1.0/sysman/emd/targets.xml ...
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.EMAgentConfig instantiateEMConfigFiles
    CONFIG: Local host name: ERPTEST.BIL.COM
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.util.ClusterUtil getLocalNode
    CONFIG: isLocalNodeDone: true localNode: null
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.util.PlatformInterface addEnvVarToList
    CONFIG: Value for env var 'DISPLAY' is '', discarding the same
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.util.PlatformInterface addEnvVarToList
    CONFIG: Value for env var 'TZ' is '', discarding the same
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.util.PlatformInterface getSortedEnvArray
    CONFIG: New Env List: [ADJREOPTS=-Xms128M -Xmx512M, ADJVAPRG=/oracle/TEST/db/tech_st/11.1.0/appsutil/jre/bin/java, ADPERLPRG=/oracle/TEST/db/tech_st/11.1.0/perl/bin/perl, CLASSPATH=/oracle/TEST/db/tech_st/11.1.0/jlib/emca.jar:/oracle/TEST/db/tech_st/11.1.0/jlib/srvm.jar:/oracle/TEST/db/tech_st/11.1.0/jlib/srvmasm.jar:/oracle/TEST/db/tech_st/11.1.0/jlib/emConfigInstall.jar:/oracle/TEST/db/tech_st/11.1.0/jlib/ldapjclnt11.jar:/oracle/TEST/db/tech_st/11.1.0/jlib/ldap.jar:/oracle/TEST/db/tech_st/11.1.0/jlib/share.jar:/oracle/TEST/db/tech_st/11.1.0/jlib/srvmhas.jar:/oracle/TEST/db/tech_st/11.1.0/jlib/netcfg.jar:/oracle/TEST/db/tech_st/11.1.0/jlib/http_client.jar:/oracle/TEST/db/tech_st/11.1.0/lib/http_client.jar:/oracle/TEST/db/tech_st/11.1.0/lib/xmlparserv2.jar:/oracle/TEST/db/tech_st/11.1.0/assistants/jlib/assistantsCommon.jar:/oracle/TEST/db/tech_st/11.1.0/sysman/jlib/emCORE.jar:/oracle/TEST/db/tech_st/11.1.0/sysman/jlib/emagentSDK.jar:/oracle/TEST/db/tech_st/11.1.0/oui/jlib/OraInstaller.jar:/oracle/TEST/db/tech_st/11.1.0/oui/jlib/OraPrereq.jar:/oracle/TEST/db/tech_st/11.1.0/inventory/prereqs/oui/OraPrereqChecks.jar:/oracle/TEST/db/tech_st/11.1.0/oui/jlib/OraPrereqChecks.jar:, CONTEXT_FILE=/oracle/TEST/db/tech_st/11.1.0/appsutil/TEST_erptest.xml, CONTEXT_NAME=TEST_erptest, CVS_RSH=ssh, DYLD_LIBRARY_PATH=/oracle/TEST/db/tech_st/11.1.0/lib:, G_BROKEN_FILENAMES=1, HISTSIZE=1000, HOME=/home/appltest, HOSTNAME=ERPTEST.BIL.COM, INPUTRC=/etc/inputrc, LANG=en_US.UTF-8, LD_LIBRARY_PATH=/oracle/TEST/db/tech_st/11.1.0/jdk/jre/lib/amd64/server:/oracle/TEST/db/tech_st/11.1.0/jdk/jre/lib/amd64:/oracle/TEST/db/tech_st/11.1.0/jdk/jre/../lib/amd64:/oracle/TEST/db/tech_st/11.1.0/lib:/oracle/TEST/db/tech_st/11.1.0/perl/lib:/oracle/TEST/db/tech_st/11.1.0/lib32:/oracle/TEST/db/tech_st/11.1.0/lib:/usr/X11R6/lib:/usr/openwin/lib:/oracle/TEST/db/tech_st/11.1.0/lib:/usr/dt/lib:/oracle/TEST/db/tech_st/11.1.0/ctx/lib, LESSOPEN=|/usr/bin/lesspipe.sh %s, LIBPATH=/oracle/TEST/db/tech_st/11.1.0/lib:/oracle/TEST/db/tech_st/11.1.0/lib:/usr/X11R6/lib:/usr/openwin/lib:/oracle/TEST/db/tech_st/11.1.0/lib:/usr/dt/lib:/oracle/TEST/db/tech_st/11.1.0/ctx/lib, LINK_CNTRL=, LOGNAME=appltest, LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:, MAIL=/var/spool/mail/appltest, NEED_EXIT_CODE=1, NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat, NLS_DATE_FORMAT=DD-MON-RR, NLS_LANG=American_America.US7ASCII, NLS_NUMERIC_CHARACTERS=.,, NLS_SORT=binary, ORACLE_HOME=/oracle/TEST/db/tech_st/11.1.0, ORACLE_HOSTNAME=ERPTEST.BIL.COM, ORACLE_SID=TEST, ORA_NLS10=/oracle/TEST/db/tech_st/11.1.0/nls/data/9idata, ORA_TZFILE=/oracle/TEST/db/tech_st/11.1.0/oracore/zoneinfo/timezlrg.dat, PATH=/oracle/TEST/db/tech_st/11.1.0/perl/bin:/oracle/TEST/db/tech_st/11.1.0/bin:/usr/bin:/usr/sbin:/oracle/TEST/db/tech_st/11.1.0/appsutil/jre/bin:/bin:/usr/bin/X11:/usr/local/bin:/oracle/TEST/db/tech_st/11.1.0/perl/bin:/oracle/TEST/db/tech_st/11.1.0/bin:/usr/bin:/usr/sbin:/oracle/TEST/db/tech_st/11.1.0/appsutil/jre/bin:/bin:/usr/bin/X11:/usr/local/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/appltest/bin:.:., PERL5LIB=/oracle/TEST/db/tech_st/11.1.0/perl/lib/5.8.3:/oracle/TEST/db/tech_st/11.1.0/perl/lib/site_perl/5.8.3:/oracle/TEST/db/tech_st/11.1.0/appsutil/perl, PWD=/home/appltest, SHELL=/bin/bash, SHLIB_PATH=/oracle/TEST/db/tech_st/11.1.0/lib:/oracle/TEST/db/tech_st/11.1.0/lib:/usr/lib:/oracle/TEST/db/tech_st/11.1.0/ctx/lib, SHLVL=2, SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass, TERM=xterm, TNS_ADMIN=/oracle/TEST/db/tech_st/11.1.0/network/admin/TEST_erptest, USER=appltest, XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt, _=/oracle/TEST/db/tech_st/11.1.0/jdk/jre/bin/java]
    Aug 29, 2013 11:13:54 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Starting execution: /oracle/TEST/db/tech_st/11.1.0/bin/emctl deploy dbconsole /oracle/TEST/db/tech_st/11.1.0/ERPTEST.BIL.COM_TEST ERPTEST.BIL.COM:3938 ERPTEST.BIL.COM TEST
    Aug 29, 2013 11:13:55 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Exit value of 2
    Aug 29, 2013 11:13:55 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Creating shared install...
    Source location: /oracle/TEST/db/tech_st/11.1.0
    Destination (shared install) : /oracle/TEST/db/tech_st/11.1.0/ERPTEST.BIL.COM_TEST
    DeployMode : dbconsole
    Creating directories...
    Aug 29, 2013 11:13:55 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Unable to copy /oracle/TEST/db/tech_st/11.1.0/sysman/config/b64InternetCertificate.txt to /oracle/TEST/db/tech_st/11.1.0/ERPTEST.BIL.COM_TEST/sysman/config/b64InternetCertificate.txt: No such file or directory at /oracle/TEST/db/tech_st/11.1.0/bin/EMDeploy.pm line 262.
    Aug 29, 2013 11:13:55 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    WARNING: Error executing /oracle/TEST/db/tech_st/11.1.0/bin/emctl deploy dbconsole /oracle/TEST/db/tech_st/11.1.0/ERPTEST.BIL.COM_TEST ERPTEST.BIL.COM:3938 ERPTEST.BIL.COM TEST
    Aug 29, 2013 11:13:55 AM oracle.sysman.emcp.EMAgentConfig instantiateEMConfigFiles
    CONFIG: Failed to deploy state dirs
    Aug 29, 2013 11:13:55 AM oracle.sysman.emcp.EMConfig perform
    SEVERE: Error instantiating EM configuration files
    Refer to the log file at /oracle/TEST/db/tech_st/11.1.0/cfgto

  • Messages in Oracle SOA-ESB queues duplicate - enqueing with same ENQ_TXN_ID

    Hi,
    We have a flow which accepts payloads from a third party application and this payload is enqueued into an advanced queue. Another process dequeues these payloads and does further processing. During the process of enqueuing, we observe that one payload gets enqueued more than once. I have observed that these messages get the same ENQ_TXN_ID. Please note that this issue happens sporadically.
    Please advice if there is any patch that should be applied to fix the multiple enqueue issue.
    This issue is seen in the production instance.
    We are able to reproduce this error in QA also. But so far, no solution is working.
    Below is the script used to create our queue.
    BEGIN
    dbms_aqadm.stop_queue(queue_name=>'SAVE_REQUISITION_Q');
    dbms_aqadm.drop_queue(queue_name=>'SAVE_REQUISITION_Q');
    dbms_aqadm.drop_queue_table(queue_table=>'SAVE_REQUISITION_Q_TAB');
    dbms_aqadm.create_queue_table(queue_table=>'SAVE_REQUISITION_Q_TAB',
    queue_payload_type=>'sys.aq$_jms_text_message',multiple_consumers=>true);
    dbms_aqadm.create_queue(queue_name=>'SAVE_REQUISITION_Q', queue_table=>'SAVE_REQUISITION_Q_TAB');
    dbms_aqadm.start_queue(queue_name=>'SAVE_REQUISITION_Q');
    END;
    Please help.
    Thanks,
    Ved
    Edited by: user582595 on Mar 1, 2012 7:56 AM

    Anyone with JMS queue knowledge please help me fix this problem. This is happening in production and Oracle support is not able to suggest a resolution yet. They are working with me, but I would need to resolve this issue ASAP.
    Thanks much,
    ved

  • Full Export/Import Errors with Queue tables and ApEx

    I'm trying to take a full export of an existing database in order to build an identical copy in another database instance, but the import is failing each time and causing problems with queue tables and Apex tables.
    I have used both the export utility and Data Pump (both with partial and full exports) and the same problems are occurring.
    After import, queue tables in my schema are unstable. They cannot be dropped using the queue admin packages as they throw ORA-24002: QUEUE_TABLE <table> does not exist exceptions. Trying to drop the tables causes the ORA-24005: must use DBMS_AQADM.DROP_QUEUE_TABLE to drop queue tables error
    As a result, the schema cannot be dropped at all unless manual data dictionary clean up steps (as per metalink) are done.
    The Apex import fails when creating foreign keys to WWV_FLOW_FILE_OBJECTS$PART. It creates the table ok, but for some reason the characters after the $ are missing so the referencing tables try to refer to WWV_FLOW_FILE_OBJECTS$ only.
    I am exporting from Enterprise Edition 10.2.0.1 and importing into Standard edition 10.2.0.1, but we are not using any of the features not available in standard, and I doubt this would cause the issues I'm getting.
    Can anyone offer any advice on how I can resolve these problems so a full import will work reliably?

    Thanks for the lead!
    After digging around MetaLink some more, it sounds like I'm running into Bug 5875568 (MetaLink Note:5875568.8) which is in fact related to the multibyte character set. The bug is fixed in the server patch set 10.2.0.4 or release 11.1.0.6.

  • Cannot drop user cascade

    Hi masters
    I cannot drop a user cascade, i'll get that error
    drop user HOMER cascade
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-24005: must use DBMS_AQADM.DROP_QUEUE_TABLE to drop queue tables
    I'''ve triied the work around given in metalink but i do not have
    select owner, QUEUE_TABLE from dba_queue_tables for my HOMER user is empty.
    What shall i do now?

    ajallen wrote:
    Try note 236898.1. It is for 8 and 9 but may work for you. The symptoms seem similar.
    Or note 203225.1.
    I had the same problem (oracle 9.2.0.5 on Windows 2003).
    The table was visible in TOAD under the tables tab.
    SQL> EXECUTE DBMS_AQADM.DROP_QUEUE_TABLE( queue_table => 'SYSADM.DOCDISTR_QTABLE
    ', FORCE => TRUE);
    BEGIN DBMS_AQADM.DROP_QUEUE_TABLE( queue_table => 'SYSADM.DOCDISTR_QTABLE', FORC
    E => TRUE); END;
    ERROR at line 1:
    ORA-24002: QUEUE_TABLE SYSADM.DOCDISTR_QTABLE does not exist
    ORA-06512: at "SYS.DBMS_AQADM_SYS", line 2973
    ORA-06512: at "SYS.DBMS_AQADM", line 197
    ORA-06512: at line 1
    SQL> select owner, queue_table from dba_queue_tables;
    OWNER QUEUE_TABLE
    SYS AQ_EVENT_TABLE
    SYS AQ_SRVNTFN_TABLE
    SYSTEM DEF$_AQCALL
    SYSTEM DEF$_AQERROR
    SQL> select object_name, object_type from user_objects where object_name like 'D
    OCDI%';
    OBJECT_NAME OBJECT_TYPE
    DOCDISTR_QTABLE TABLE
    I used note 236898.1 to drop this queue table. (read the statements carefully because the names of the functions can be confused with each other: corr_aq_92.drop_corrupted_ qt 92(..) and corr_aq_92.drop_corrupted_ q 92(..)
    For me, this is the solution.

  • Creating a OJMS topic and connecting to BAM

    Hi,
    I have in our database created a topic for errors:
    BEGIN
    dbms_aqadm.drop_queue_table('IPLERRORQTAB',true);
    END;
    BEGIN
    sys.dbms_aqadm.create_queue_table (
    queue_table => 'IPLERRORQTAB'
    , queue_payload_type => 'SYS.AQ$_JMS_MESSAGE'
    , sort_list => 'PRIORITY,ENQ_TIME'
    , comment => ''
    , multiple_consumers => TRUE
    , message_grouping => DBMS_AQADM.NONE
    , storage_clause => 'TABLESPACE OJMS LOGGING'
    , primary_instance => '0'
    , secondary_instance => '0');
    COMMIT;
    END;
    BEGIN
    sys.dbms_aqadm.create_queue(
    queue_name => 'IPLERROR'
    , queue_table => 'IPLERRORQTAB'
    , queue_type => sys.dbms_aqadm.NORMAL_QUEUE
    , max_retries => '5'
    , retry_delay => '0'
    , retention_time => '0'
    , comment => '');
    END;
    BEGIN
    sys.dbms_aqadm.start_queue(
    queue_name => 'IPLERROR'
    , enqueue => TRUE
    , dequeue => TRUE);
    END;
    DECLARE
    subscriber SYS.aq$_agent;
    BEGIN
    subscriber := sys.aq$_agent (
    name => 'BAM',
    address => NULL,
    protocol => NULL);
    DBMS_AQADM.ADD_SUBSCRIBER (
    queue_name => 'IPLERROR',
    subscriber => subscriber);
    END;
    Then in the BAM Architect defined the following:
    TopicConnectionFactory Name: java:comp/resource/ojms_ipl/TopicConnectionFactories/IPLERRORQTAB
    Topic Name: java:comp/resource/ojms_ipl/Topics/IPLERROR
    Durable Subscriber Name (Optional): BAM
    In the enterprise Link i have created a connection between a Oracle BAM message receiver and a grid.
    When i try the connection I get the following error:
    IMessageSourceReceiver->messageReceive: javax.naming.NameNotFoundException: java:comp/resource/ojms_ipl/TopicConnectionFactories/IPLERRORQTAB not found
         at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:52)
         at javax.naming.InitialContext.lookup(InitialContext.java:347)
         at iteration.enterpriselink.sources.JMSConsumer.start(JMSConsumer.java:85)
         at iteration.enterpriselink.sources.JMSMessageSourceReceiverImpl.jmsConsumerStart(JMSMessageSourceReceiverImpl.java:1001)
         at iteration.enterpriselink.sources.JMSMessageSourceReceiverImpl.messageReceive(JMSMessageSourceReceiverImpl.java:326)
    [Oracle BAM Enterprise Link error code:  0x75 -- 0x1, 0x75 -- 0x3A]
    Error during Message Receive operation.
    [Oracle BAM Enterprise Link error code:  0x75 -- 0x1, 0x75 -- 0x3B]
    Error while processing the data for the step 'Oracle BAM Enterprise Message Receiver'
    [Oracle BAM Enterprise Link error code:  DC -- 0x1, DC -- 0x83]
    Error while processing the data for the step 'Oracle BAM Enterprise Message Receiver'
    [Oracle BAM Enterprise Link error code:  DC -- 0x1, DC -- 0x83]
    IMessageSourceReceiver->messageReceive: javax.naming.NameNotFoundException: java:comp/resource/ojms_ipl/TopicConnectionFactories/IPLERRORQTAB not found
         at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:52)
         at javax.naming.InitialContext.lookup(InitialContext.java:347)
         at iteration.enterpriselink.sources.JMSConsumer.start(JMSConsumer.java:85)
         at iteration.enterpriselink.sources.JMSMessageSourceReceiverImpl.jmsConsumerStart(JMSMessageSourceReceiverImpl.java:1001)
         at iteration.enterpriselink.sources.JMSMessageSourceReceiverImpl.messageReceive(JMSMessageSourceReceiverImpl.java:326)
    [Oracle BAM Enterprise Link error code:  0x75 -- 0x1, 0x75 -- 0x3A]
    Error during Message Receive operation.
    [Oracle BAM Enterprise Link error code:  0x75 -- 0x1, 0x75 -- 0x3B]
    Error while processing the data for the step 'Oracle BAM Enterprise Message Receiver'
    [Oracle BAM Enterprise Link error code:  DC -- 0x1, DC -- 0x83]
    Update of Plan "OJMS_Test_Plan" failed.
    [Oracle BAM Enterprise Link error code:  PlanMgr -- 0x1, PlanMgr -- 0xD5]
    Can anyone see where the error might be?
    Regards Eskil

    Hi,
    I solved the problem for him, it was a name resolution problem.
    Machine setup:
    machinebam.domain888.com - hosts bam
    machineias.domain0101.com - hosts ias
    The machine "machineias.domain0101.com" seems to be installed without the domain name (FQDN)
    This means that when the machinebam.domain888.com send the OPMN request to lookup the JMS setup:
    POST http://machineias.domain0101.com:6004/connect HTTP/1.1
    Content-Length: 0
    OPMNtype: pm
    OPMNrequest: /dump?type=dms&dmsarg=[nountype=opmn_ias_instance&format=xml]
    The response is without the FQDN;
    HTTP/1.1 200 OK
    Content-Length: 26486
    Content-Type: text/html
    Response:
    <?xml version='1.0'?>
    <!DOCTYPE pdml>
    <pdml version='9.0.4' name='opmn' host='machineias' id='26954' timestamp='1173813385745'>
    <statistics>
    <noun name="machineias:6201" type="opmn"><noun name="pm" type="opmn_pm">
    <noun name="soa_1013.machineias" type="opmn_ias_instance">
    <noun name="default_group" type="opmn_ias_component">
    <noun name="oc4j_soa" type="opmn_process_type">
    <noun name="default_group" type="opmn_process_set">
    <noun name="process_463551397" type="opmn_process">
    <noun name="opmn_oc4j_proc" type="opmn_header">
    <noun name="specialized" type="opmn_oc4j_proc">
    <metric name="oc4jInstance.value">
    <value type="string"><![CDATA[oc4j_soa]]></value>
    </metric>
    <metric name="oc4jIsland.value">
    <value type="string"><![CDATA[default_group]]></value>
    </metric>
    </noun>
    </noun>
    <noun name="jms" type="opmn_connect">
    <metric name="desc.value">
    <value type="string"><![CDATA[jms]]></value>
    </metric>
    <metric name="protocol.value">
    <value type="string"><![CDATA[jms]]></value>
    </metric>
    <metric name="host.value">
    <value type="string"><![CDATA[machineias]]></value></metric>
    <metric name="port.value">
    <value type="integer"><![CDATA[12604]]></value>
    </metric>
    This means that the name translation fails, ie a ping to machineias from machinebam.domain888.com fails.
    The solution is either of:
    - reinstall iAS with the domain suffix
    - add all the domains to the DNS suffix lookup list (in TCP IP advanced settings for windows)
    - add the host in %systemroot%\system32\drivers\etc\hosts
    Ha en bra dag!
    Örjan Lundberg

  • AQ table for complex type creation

    I have a type containing nested tables, it looks like that:
    create or replace type aq_student_reg_queue_type as object (
    XML_ID varchar2(16),
    trigger_name varchar2(32),
    tm_transaction_id varchar2(30),
    tm_transaction_type varchar2(30),
    person aq_person_tm_type,
    resources aq_community_resource_list);
    aq_community_resource_list is table of aq_community_resource
    aq_community_resource is another type containing table of resources
    When I'm trying to create queue table for such payload I have an error that I have to specify nested table column or attribute. How to do that ? I can't find it somehow.

    The problem is that you need to specify a storage clause for nested tables when you use a nested table inside a database table. When creating a queue, a table is created under the hood, which lacks a storage clause for the nested table. I don't know a way to provide this clause to AQ. A workaround is to use varrays instead. See this example:
    SQL> create or replace type aq_community_tm_type as object(
      2  resource_code varchar2(30)
      3  );
      4  /
    Type is aangemaakt.
    SQL> create or replace type aq_community_tm_list as table of aq_community_tm_type;
      2  /
    Type is aangemaakt.
    SQL> create or replace type aq_community_resource as object(
      2  subscriber varchar2(30),
      3  resource_list aq_community_tm_list
      4  );
      5  /
    Type is aangemaakt.
    SQL> create or replace type aq_community_resource_list as table of aq_community_resource;
      2  /
    Type is aangemaakt.
    SQL> create or replace type aq_person_tm_type as object (
      2  PERSON_LDAP varchar2(30),
      3  FIRST_NAME varchar2(30),
      4  MIDDLE_NAME varchar2(30),
      5  SURNAME varchar2(30),
      6  GENDER varchar2(1),
      7  TITLE varchar2(16),
      8  DATE_OF_BIRTH date,
      9  PREFERRED_EMAIL varchar2(100),
    10  PREFERRED_PHONE varchar2(20),
    11  ORIGINATING_GROUP varchar2(50),
    12  SUB_GROUP varchar2(2000),
    13  LMS_DOMAIN_ID integer,
    14  LMS_ROLE_ID integer,
    15  COURSE_CODE varchar2(16),
    16  COURSE_INSTANCE_CODE varchar2(16),
    17  COURSE_INSTANCE_DATE date,
    18  REGISTRATION_DATE date,
    19  REF_OBJECT_ID number
    20  );
    21  /
    Type is aangemaakt.
    SQL> create or replace type aq_person_queue_tm_type as object (
      2  XML_ID varchar2(16),
      3  trigger_name varchar2(32),
      4  tm_transaction_id varchar2(30),
      5  tm_transaction_type varchar2(30),
      6  person aq_person_tm_type,
      7  resources aq_community_resource_list
      8  );
      9  /
    Type is aangemaakt.
    SQL> begin
      2    dbms_aqadm.create_queue_table
      3    ( queue_table        => 'my_queue_table'
      4    , queue_payload_type => 'aq_person_queue_tm_type'
      5    );
      6  end;
      7  /
    begin
    FOUT in regel 1:
    .ORA-22913: must specify table name for nested table column or attribute
    ORA-06512: at "SYS.DBMS_AQADM_SYS", line 2830
    ORA-06512: at "SYS.DBMS_AQADM", line 58
    ORA-06512: at line 2This probably is the error you are experiencing (hint: next time please provide it with your question).
    When you use varrays, it will work:
    SQL> drop type aq_person_queue_tm_type
      2  /
    Type is verwijderd.
    SQL> drop type aq_person_tm_type
      2  /
    Type is verwijderd.
    SQL> drop type aq_community_resource_list
      2  /
    Type is verwijderd.
    SQL> drop type aq_community_resource
      2  /
    Type is verwijderd.
    SQL> drop type aq_community_tm_list
      2  /
    Type is verwijderd.
    SQL> drop type aq_community_tm_type
      2  /
    Type is verwijderd.
    SQL> create or replace type aq_community_tm_type as object(
      2  resource_code varchar2(30)
      3  );
      4  /
    Type is aangemaakt.
    SQL> create or replace type aq_community_tm_list as varray(100) of aq_community_tm_type;
      2  /
    Type is aangemaakt.
    SQL> create or replace type aq_community_resource as object(
      2  subscriber varchar2(30),
      3  resource_list aq_community_tm_list
      4  );
      5  /
    Type is aangemaakt.
    SQL> create or replace type aq_community_resource_list as varray(10) of aq_community_resource;
      2  /
    Type is aangemaakt.
    SQL> create or replace type aq_person_tm_type as object (
      2  PERSON_LDAP varchar2(30),
      3  FIRST_NAME varchar2(30),
      4  MIDDLE_NAME varchar2(30),
      5  SURNAME varchar2(30),
      6  GENDER varchar2(1),
      7  TITLE varchar2(16),
      8  DATE_OF_BIRTH date,
      9  PREFERRED_EMAIL varchar2(100),
    10  PREFERRED_PHONE varchar2(20),
    11  ORIGINATING_GROUP varchar2(50),
    12  SUB_GROUP varchar2(2000),
    13  LMS_DOMAIN_ID integer,
    14  LMS_ROLE_ID integer,
    15  COURSE_CODE varchar2(16),
    16  COURSE_INSTANCE_CODE varchar2(16),
    17  COURSE_INSTANCE_DATE date,
    18  REGISTRATION_DATE date,
    19  REF_OBJECT_ID number
    20  );
    21  /
    Type is aangemaakt.
    SQL> create or replace type aq_person_queue_tm_type as object (
      2  XML_ID varchar2(16),
      3  trigger_name varchar2(32),
      4  tm_transaction_id varchar2(30),
      5  tm_transaction_type varchar2(30),
      6  person aq_person_tm_type,
      7  resources aq_community_resource_list
      8  );
      9  /
    Type is aangemaakt.
    SQL> begin
      2    dbms_aqadm.create_queue_table
      3    ( queue_table        => 'my_queue_table'
      4    , queue_payload_type => 'aq_person_queue_tm_type'
      5    );
      6  end;
      7  /
    PL/SQL-procedure is geslaagd.
    SQL> begin
      2    dbms_aqadm.drop_queue_table('my_queue_table');
      3  end;
      4  /
    PL/SQL-procedure is geslaagd.Hope this helps.
    Regards,
    Rob.

  • Dequeue Error - Error Code -25228

    I have created the queue table, queue and added the subscriber.
    The subscriber agent is also an advanced queue. I have been facing problems with the Dequeueing bit. When I execute the Dequeue procedure, am getting this error.
    Error Code -25228
    Error msg ORA-25228: timeout or end-of-fetch during message dequeue from "queue_name"
    So no messages are dequeued to the Subscriber Queue Table.
    Could you please help me in finding out why it’s not dequeueing to the Queue Table?
    DECLARE
    dequeue_options DBMS_AQ.dequeue_options_t;
    message_properties DBMS_AQ.message_properties_t;
    message_handle RAW(16);
    message RAW(16);
    no_messages exception;
    pragma exception_init (no_messages, -25228);
    cnt INTEGER:=0;
    BEGIN
    dequeue_options.wait := DBMS_AQ.NO_WAIT;
    /* Consumer will get MESSAGE: */
    dequeue_options.consumer_name := 'SUBSCRIBER_QUEUE';
    DBMS_OUTPUT.PUT_LINE ('Queue name - '||dequeue_options.consumer_name);
    dequeue_options.navigation := DBMS_AQ.FIRST_MESSAGE;
    LOOP
    DBMS_AQ.DEQUEUE(queue_name => 'MAIN_QUEUE',
    dequeue_options => dequeue_options,
    message_properties => message_properties,
    payload => message,
    msgid => message_handle);
    DBMS_OUTPUT.PUT_LINE ('Msg id '||message_handle);
    dequeue_options.navigation := DBMS_AQ.NEXT_MESSAGE;
    COMMIT;
    cnt:=cnt+1;
    DBMS_OUTPUT.PUT_LINE ('No of Messages '||cnt);
    END LOOP;
    EXCEPTION
    WHEN no_messages THEN
    DBMS_OUTPUT.PUT_LINE ('Error Code '||sqlcode||' Error msg '||sqlerrm);
    COMMIT;
    END;

    BEGIN
    dbms_aqadm.stop_queue(queue_name => 'mesaj_q');
    dbms_aqadm.drop_queue(queue_name => 'mesaj_q');
    dbms_aqadm.drop_queue_table(queue_table => 'mesaj_qt');
    dbms_aqadm.create_queue_table(queue_table => 'mesaj_qt',
    queue_payload_type => 'mesaj_t',
    multiple_consumers => TRUE);
    dbms_aqadm.create_queue(queue_name => 'mesaj_q',
    queue_table => 'mesaj_qt');
    dbms_aqadm.start_queue(queue_name => 'mesaj_Q');
    END;
    BEGIN
    dbms_aqadm.add_subscriber(queue_name => 'mesaj_Q',
    subscriber => sys.aq$_agent(NAME => 'sertac',
    address => '',
    protocol => NULL));
    END;
    DECLARE
    l_enqueue_options dbms_aq.enqueue_options_t;
    l_message_properties dbms_aq.message_properties_t;
    l_id RAW(16);
    BEGIN
    dbms_aq.enqueue(queue_name => 'mesaj_q',
    enqueue_options => l_enqueue_options,
    message_properties => l_message_properties,
    payload => mesaj_t('1_message'), --1,2,3 enqueue 3 message consecutively
    msgid => l_id);
    dbms_output.put_line(l_id);
    END;
    DECLARE
    dequeue_options dbms_aq.dequeue_options_t;
    message_properties dbms_aq.message_properties_t;
    message_handle RAW(16);
    l_message mesaj_t;
    no_messages EXCEPTION;
    PRAGMA EXCEPTION_INIT(no_messages, -25228);
    BEGIN
    dequeue_options.wait := dbms_aq.no_wait;
    dequeue_options.consumer_name := 'sertac';
    dequeue_options.navigation := dbms_aq.first_message;
    LOOP
    BEGIN
    dbms_aq.dequeue(queue_name => 'mesaj_q',
    dequeue_options => dequeue_options,
    message_properties => message_properties,
    payload => l_message,
    msgid => message_handle);
    dbms_output.put_line( l_message.message);
    dequeue_options.navigation := dbms_aq.next_message;
    COMMIT;
    END;
    END LOOP;
    EXCEPTION
    WHEN no_messages THEN
    dbms_output.put_line('No more messages for sertac');
    COMMIT;
    END;
    this code worked fine on my computer , if it does not work, you should give us more detailed information.*/

  • WORKFLOW AGENT LISTENER SERVICE 기동되지 않을때

    제품 : AOL
    작성날짜 : 2005-11-28
    WORKFLOW AGENT LISTENER SERVICE 기동되지 않을때
    ========================================
    PURPOSE
    신규설치 및 Clonning후 WORKFLOW AGENT LISTENER SERVICE 기동되지 않을때가 있습니다. 이에 대한 조치사항을 기술하고 있습니다.
    Problem Description
    증상
    1. Workflow Agent Listener Service 와 Workflow Mailer Service 기동되지 않습니다.
    2. 기동될때 "Activating" status 로 남아 있습니다.
    3. 위와 같은 증상은 아래와 같은 원인에 발생할수 있습니다.
    (a) The WF_JMS_IN 와 WF_JMS_OUT queues 가 invalid 일때
    (b) 아래 workflow listeners 와 mailer 들이 'STOPPED_ERROR' status일때
    Workflow Deferred Agent Listener
    Workflow Deferred Notification Agent Listener
    Workflow Error Agent Listener
    Workflow Inbound Notifications Agent Listener
    Workflow Notification Mailer
    (c) Af_CLASSPATH 가 JDK 1.3.1을 가리키지 않을때
    Solution Description
    이런 증상이 발견될경우 아래와 같은 조치를 취해주세요.
    1. missing/corrupt queues 가 있는지 확인하고 이를 재성성 해주세요.
    sqlplus apps/apps @$FND_TOP/patch/115/sql/wfjmsqc.sql applsys apps
    위 sql이 먹지 않을때
    다음 command들을 copy/paste해서 작업해주세요(APPLSYS user로 하셔야 합니다.)
    Exec dbms_aqadm.stop_queue( queue_name => ' WF_JMS_IN', wait => FALSE);
    Exec dbms_aqadm.drop_queue(queue_name=> ' WF_JMS_IN');
    exec dbms_aqadm.drop_queue_table( queue_table => ' WF_JMS_IN', force => TRUE);
    Exec dbms_aqadm.stop_queue( queue_name => ' WF_JMS_OUT', wait => FALSE);
    Exec dbms_aqadm.drop_queue(queue_name=> ' WF_JMS_OUT');
    exec dbms_aqadm.drop_queue_table( queue_table => ' WF_JMS_OUT', force => TRUE);
    위 queue들이 drop되면 아래 sql을 다시 실행해 주세요.
    sqlplus apps/apps @$FND_TOP/patch/115/sql/wfjmsqc.sql applsys apps
    그리고 확인차 wfver.sql를 돌려주세요.
    (Note: The file wfjmsqc.sql has been replaced in 9.2.0.4 with wfjmsqc2.sql.)
    2. 11.5. 7 이전 버전은 JDK 1.3을 CM node에 설치해야 하고 patch 2356331 를 적용해야 합니다.
    Please reference:
    Note:242941.1 (How To Troubleshoot Java-based Workflow Notification Mailer In 11.5.9 and OWF.G)
    Note:130091.1 (Upgrading Oracle Applications 11i to use JDK 1.3)
    3. 환경변수 AF_JRE_TOP, AF_CLASSPATH, and AFJVAPRG 가 $APPL_TOP/admin/adovars.env에 제대로 설정되었는지 확인해 주세요. 그리고 이들이 JDK 1.3.1을 가리키고 있는지 확인해 주세요.
    Reference Documents
    Note 278428.1

    제품 : AOL
    작성날짜 : 2005-11-28
    WORKFLOW AGENT LISTENER SERVICE 기동되지 않을때
    ========================================
    PURPOSE
    신규설치 및 Clonning후 WORKFLOW AGENT LISTENER SERVICE 기동되지 않을때가 있습니다. 이에 대한 조치사항을 기술하고 있습니다.
    Problem Description
    증상
    1. Workflow Agent Listener Service 와 Workflow Mailer Service 기동되지 않습니다.
    2. 기동될때 "Activating" status 로 남아 있습니다.
    3. 위와 같은 증상은 아래와 같은 원인에 발생할수 있습니다.
    (a) The WF_JMS_IN 와 WF_JMS_OUT queues 가 invalid 일때
    (b) 아래 workflow listeners 와 mailer 들이 'STOPPED_ERROR' status일때
    Workflow Deferred Agent Listener
    Workflow Deferred Notification Agent Listener
    Workflow Error Agent Listener
    Workflow Inbound Notifications Agent Listener
    Workflow Notification Mailer
    (c) Af_CLASSPATH 가 JDK 1.3.1을 가리키지 않을때
    Solution Description
    이런 증상이 발견될경우 아래와 같은 조치를 취해주세요.
    1. missing/corrupt queues 가 있는지 확인하고 이를 재성성 해주세요.
    sqlplus apps/apps @$FND_TOP/patch/115/sql/wfjmsqc.sql applsys apps
    위 sql이 먹지 않을때
    다음 command들을 copy/paste해서 작업해주세요(APPLSYS user로 하셔야 합니다.)
    Exec dbms_aqadm.stop_queue( queue_name => ' WF_JMS_IN', wait => FALSE);
    Exec dbms_aqadm.drop_queue(queue_name=> ' WF_JMS_IN');
    exec dbms_aqadm.drop_queue_table( queue_table => ' WF_JMS_IN', force => TRUE);
    Exec dbms_aqadm.stop_queue( queue_name => ' WF_JMS_OUT', wait => FALSE);
    Exec dbms_aqadm.drop_queue(queue_name=> ' WF_JMS_OUT');
    exec dbms_aqadm.drop_queue_table( queue_table => ' WF_JMS_OUT', force => TRUE);
    위 queue들이 drop되면 아래 sql을 다시 실행해 주세요.
    sqlplus apps/apps @$FND_TOP/patch/115/sql/wfjmsqc.sql applsys apps
    그리고 확인차 wfver.sql를 돌려주세요.
    (Note: The file wfjmsqc.sql has been replaced in 9.2.0.4 with wfjmsqc2.sql.)
    2. 11.5. 7 이전 버전은 JDK 1.3을 CM node에 설치해야 하고 patch 2356331 를 적용해야 합니다.
    Please reference:
    Note:242941.1 (How To Troubleshoot Java-based Workflow Notification Mailer In 11.5.9 and OWF.G)
    Note:130091.1 (Upgrading Oracle Applications 11i to use JDK 1.3)
    3. 환경변수 AF_JRE_TOP, AF_CLASSPATH, and AFJVAPRG 가 $APPL_TOP/admin/adovars.env에 제대로 설정되었는지 확인해 주세요. 그리고 이들이 JDK 1.3.1을 가리키고 있는지 확인해 주세요.
    Reference Documents
    Note 278428.1

Maybe you are looking for

  • Can I use Argo to create Indexes for Structured data?

    Hi, To search for employees who has stored some <i>word</i> in an infotype's text cluster takes time, specially when we also want those who has an relation in infotype 1001 to an object which again is connected to some other object where <i>word</i>

  • Trying to understand creating and using packages

    Hi all, I do not understand this problem... Package "shared.utilities" is an entire separate package from "alertsystem". When I comment out "package alertsystem", I get C:\Wdt\alertsystem\File_Handling.java:4: package shared.utilities does not exist

  • My iPad screen became green & noisy occasionally

    I brought my iPad 64GB form US apple store last month during my business trip. After 5-6 weeks usage, my screen became green & noisy occasionally. Now i am back to Taiwan Taipei, and can't find local service here. http://www.flickr.com/photos/pipiche

  • Fact/Dim entries through RSRV

    Hi all, When we analyzing the infocube in RSRV to see percentage of Dimension tables, system is showing 0% for all the dimensions and also for Fact tables. But data is existing in fact table of infocube and also in dimensions tables, when we see in S

  • How to stop or reduce the RAM usage as the Wpf Datagrid is Continuosly being updated by background Worker?

    Hi, I am developing a packet sniffer application, I am getting a packets from adapter and am updating the information in the Wpf Datagrid using a Background worker. it is a continuous process. So if run this application for hours, after 5 or 6 hours