Oracle Change Notification issues

Hi experts,
I want to track all DML changes that are done with some tables. i have used oracle change notification feature for this.
I have created setup but changes are not notified back to the caller procedure. procedure is not even called.
version information and set up scripts are as follows:
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Prod
PL/SQL Release 10.2.0.3.0 - Production
CORE 10.2.0.3.0 Production
TNS for Linux: Version 10.2.0.3.0 - Production
NLSRTL Version 10.2.0.3.0 - Production
CONNECT / AS SYSDBA;
GRANT EXECUTE ON DBMS_CHANGE_NOTIFICATION TO HR;
GRANT CHANGE NOTIFICATION TO HR;
ALTER SYSTEM SET "JOB_QUEUE_PROCESSES"=500;
CONNECT hr/hr;
Rem Create a table to record notification events
CREATE TABLE nfevents(regid number, event_type number);
Rem create a table to record changes to registered tables
CREATE TABLE nftablechanges(regid number, table_name varchar2(100),
table_operation number);
Rem create a table to record rowids of changed rows.
CREATE TABLE nfrowchanges(regid number, table_name varchar2(100),
row_id varchar2(30));
Rem Create a PL/SQL callback handler to process notifications.
CREATE OR REPLACE PROCEDURE chnf_callback(ntfnds IN SYS.CHNF$_DESC) IS
regid NUMBER;
tbname VARCHAR2(60);
event_type NUMBER;
numtables NUMBER;
operation_type NUMBER;
numrows NUMBER;
row_id VARCHAR2(20);
BEGIN
regid := ntfnds.registration_id;
numtables := ntfnds.numtables;
event_type := ntfnds.event_type;
INSERT INTO hr_test (msg) VALUES ('calling start');
COMMIT;
INSERT INTO nfevents VALUES(regid, event_type);
IF (event_type = DBMS_CHANGE_NOTIFICATION.EVENT_OBJCHANGE) THEN
FOR i IN 1..numtables LOOP
tbname := ntfnds.table_desc_array(i).table_name;
operation_type := ntfnds.table_desc_array(I). Opflags;
INSERT INTO nftablechanges VALUES(regid, tbname, operation_type);
/* Send the table name and operation_type to client side listener using UTL_HTTP */
/* If interested in the rowids, obtain them as follows */
IF (bitand(operation_type, DBMS_CHANGE_NOTIFICATION.ALL_ROWS) = 0) THEN
numrows := ntfnds.table_desc_array(i).numrows;
ELSE
numrows :=0; /* ROWID INFO NOT AVAILABLE */
END IF;
/* The body of the loop is not executed when numrows is ZERO */
FOR j IN 1..numrows LOOP
Row_id := ntfnds.table_desc_array(i).row_desc_array(j).row_id;
INSERT INTO nfrowchanges VALUES(regid, tbname, Row_id);
/* optionally Send out row_ids to client side listener using UTL_HTTP; */
END LOOP;
END LOOP;
END IF;
COMMIT;
END;
Rem Create a REGISTRATION on the EMPLOYEES TABLE
DECLARE
REGDS SYS.CHNF$_REG_INFO;
regid NUMBER;
mgr_id NUMBER;
dept_id NUMBER;
qosflags NUMBER;
BEGIN
qosflags := DBMS_CHANGE_NOTIFICATION.QOS_RELIABLE +
DBMS_CHANGE_NOTIFICATION.QOS_ROWIDS;
REGDS := SYS.CHNF$_REG_INFO ('chnf_callback', qosflags, 0,0,0);
regid := DBMS_CHANGE_NOTIFICATION.NEW_REG_START (REGDS);
SELECT manager_id INTO mgr_id FROM EMPLOYEES WHERE employee_id = 200;
DBMS_CHANGE_NOTIFICATION.REG_END;
END;
UPDATE employees SET salary=salary*1.05 WHERE employee_id=203;
COMMIT;
SQL> SELECT * FROM nfevents;
No Rows Returned
SQL> SELECT * FROM nftablechanges;
No Rows Returned
SQL> select * from nfrowchanges;
No Rows Returned
SQL> select * from hr_test;
No Rows Returned
Please check the scripts and let me know if change is required.
Regards,

This does not look like reinventing the wheel. The code is on first sight a copy of the exemple in the developer's guide - fundamentals (10g2). Too bad nobody answered this question. The problem is in the line CREATE OR REPLACE PROCEDURE chnf_callback(ntfnds IN SYS.CHNF$_DESC) IS ..., when you look at the trace, it says "PLS-00306: wrong number or types of arguments in call to <procedure>".
The type of the parameter to the procedure is however a gift from Oracle and I do not know how to change it or what is wrong with it. So, either the predefined type or the notification routine has an error, and I wonder if there is a patch for this on Metalink, but I have no access. If anybody has more information or can help me, I would be very happy.
I am using XE on Windows xpsp3.
Onno

Similar Messages

  • Change Notification issue - Deletе and Update - there is no difference

    Hi guys. I have an issue with change notification in ODP. There is not difference between Update and Delete, for these two actions in ODP. ODP says 'Update' in OracleNotificationEventArgs.Info for both Update event and Delete event.
    I'm using ODP.NET 11g (11.1.0.6.20) with Oracle Database 10g (10.2.0.1.0), and example that provide Oracle http://www.oracle.com/technology/oramag/oracle/06-winsupp/win06odp.html
    When I register same query for Database Change Notification on server side by using pl/sql, I receive correct change status in registered pl/sql callback, i.e. for delete - delete, for update - update.
    Why ODP does not differ Update and Delete events?

    Hello,
    I've used ODP.NET (11.1.0.6.20) and Oracle Database 10g XE (10.2.0.1.0) and have been unable to reproduce the behavior you are seeing.
    Are you able to post a small testcase that reproduces for you?
    Regards,
    Mark

  • Change Notification with C#

    I am trying to get a test application to work using Oracle Change Notification with C#, but I am not receiving the callback notification in my application. Oracle DB version is 11.2.0.1.0. Oracle.DataAccess v.2.112.30. I can confirm the query gets registered in Oracle by viewing SYS.USER_CHANGE_NOTIFICATION_REGS and SYS.USER_CQ_NOTIFICATION_QUERIES. However, nothing ever appears in SYS.DBA_CHANGE_NOTIFICATION_REGS.
    The registration persists until I commit a transaction on the table. The registration disappears after a few seconds after the commit and my application does not received the notification.
    I have made sure my computer is listening on the correct port and have even tried turning off any firewall that could be blocking the port.
    I do have GRANT CHANGE NOTIFICATION to MYSCHEMA, GRANT EXECUTE ON DBMS_CHANGE_NOTIFICATION TO MYSCHEMA, and the JOB_QUEUE_PROCESSES is set to 1.
    Questions:
    1) Should the registration be visible in SYS.DBA_CHANGE_NOTIFICATION_REGS and, if so, what could be causing it not to be when it is visible in SYS.USER_CHANGE_NOTIFICATION_REGS and SYS.USER_CQ_NOTIFICATION_QUERIES?
    2) What could be causing the registration to disappear after a commit?
    3) What could be causing the failure of the notification to my application?
    Here is the C# code I am using and it is basically the same as from the Oracle website:
    using System;
    using System.Threading;
    using System.Data;
    using Oracle.DataAccess.Client;
    namespace NotifyTest
    public class Program
    public static bool IsNotified = false;
    public static void Main(string[] args)
    string constr = "User Id=mySchema;Password=myPassword;Data Source=myOracleInstance";
    OracleDependency dep = null;
    try
    using (var con = new OracleConnection(constr))
    Console.WriteLine("Registering query...");
    var cmd = new OracleCommand("select * from mySchema.NOTIFY_TEST", con);
    con.Open();
    OracleDependency.Port = 1005;
    dep = new OracleDependency(cmd);
    dep.OnChange += OnMyNotificaton;
    int queryRegistered = cmd.ExecuteNonQuery();
    // If oracle returns -1, then the query is successfully registered
    if (queryRegistered == -1)
    Console.WriteLine("Query Registered...");
    Console.WriteLine("Listening for Callback...");
    else
    Console.WriteLine("There was an error...");
    catch (Exception e)
    Console.WriteLine(e.Message);
    // Loop while waiting for notification
    while (IsNotified == false)
    Thread.Sleep(100);
    public static void OnMyNotificaton(object sender, OracleNotificationEventArgs arg)
    Console.WriteLine("Table change notification event is raised");
    Console.WriteLine(arg.Source.ToString());
    Console.WriteLine(arg.Info.ToString());
    Console.WriteLine(arg.Source.ToString());
    Console.WriteLine(arg.Type.ToString());
    IsNotified = true;
    }

    Just wanted to provide an update as to how I resolved this issue. I changed my Oracle.DataAccess.dll from v.2.112.3.0 to v.2.112.1.2 and it works fine.

  • Issue in Oracle 11g Database Change Notification  for Java application

    Hi,
    I am trying to use Oracle's Database Change Notification in Java application.
    I followed the sample application (+DBChangeNotification.java+ , Example 29-2), provided in the following link:
    +[http://download.oracle.com/docs/cd/B28359_01/java.111/b31224/dbmgmnt.htm#CHDEJECF]+
    I am able to see that the Registration of the SQL query is successful.
    But, when I do changes to the table registered, notifications are not received in the Listener class (+DCNDemoListener.java+).
    Ideally, the method DCNDemoListener.onDatabaseChangeNotification() should be invoked on any insert/update to the registered table. But this method is not getting invoked.
    The execution has stopped in the following line of DBChangeNotification.java Class.
    this.wait();
    +==> The application was WAITing indefinitely in this line, as the NOTIFY() from DCNDemoListener.java was not executed.+
    I am using VPN to connect to Oracel server. Remote Oracle Server is protected my firewall. Is this the reason for not sending the notifications from Oracle server?
    The version of software used are given below:
    Oracle Client - Oracle 11.1.0
    JDK - 1.6
    Oracle JDBC Driver - ojdbc6.jar
    Can someone help me to resolve this issue?
    Thanks in Advance.
    Regards
    Sam
    Edited by: Ponsu on Apr 7, 2011 10:41 PM

    Hi,
    I am having similar issue. Where you able to resolve it.
    I am also using the same example you were using.
    I am using the following version.
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    Compatibility: 11.2.0.0.0
    I do not see any notification coming back from the DB.
    Appreciate your help.
    Thanks & regards,
    Ebe

  • Change Notification not working on Oracle 11.2.0.2.0 but ok with 11.2.0.1.0

    Hello together,
    we have an .Net application which implements the Change Notification using ODP.NET.
    On the customer site all worked well on the development and test environment connected to an Oracle database version 11.2.0.1.0. After setup of the production environment (Oracle 11.2.0.2.0 on another server) the change notification didn't work anymore.
    The notifications are registered properly, but the event handles don't receive the change events.
    It was checked, if all ports are open, firewall etc. and no hint from this side was found, why it should not work.
    Then we recompiled the .Net application with references set to the new version of ODP.NET (11.2.0.2.1) - also without success.
    After all, a second database was installed in the production environment, but now version 11.2.0.1.0 (same version as in development and test environment), and if connected to this database the change notification worked as expected.
    Can anybody give me a hint, what might be the reason for not receiving change notification events on Oracle 11.2.0.2.0 ?
    Thanks a lot and best regards
    hattl

    This is a DB bug, not an ODP.NET bug. If it were documented anywhere, it would be in the DB README. This problem affects anyone using change notification on a DB on any platform. This is not a problem specific to ODP.NET.
    I suspect this issue is not documented since it was diagnosed after 11.2.0.2 became available. If you wish to track a bug, you can log into My Oracle Support and view the bug log. I viewed the bug log myself and the problem has been resolved. It's just waiting for the 11.2.0.3 patchset to be released.
    If your organization needs this fix sooner than the second half of this year, let me know. I'll ask Oracle Support if they can include this fix in a bundled patch or one-off.

  • Oracle Database Change Notification Logs

    We use Oracle's database change notification feature to implement a local cache in our application server. Oracle version - Standard edition 11.2.0.3.
    There are some use cases where the cache is not updated. Probably this could be because the registration of the application server is somehow deleted. To investigate these issues, I would like to know on how can I enable oracle logs for the below events
    1. Registration and un-registration for DCN.
    2. Notification sent from the oracle side.
    Kindly let me know how to enable oracle logs.
    Thanks!

    >
    We use Oracle's database change notification feature to implement a local cache in our application server. Oracle version - Standard edition 11.2.0.3.
    There are some use cases where the cache is not updated. Probably this could be because the registration of the application server is somehow deleted. To investigate these issues, I would like to know on how can I enable oracle logs for the below events
    1. Registration and un-registration for DCN.
    2. Notification sent from the oracle side.
    Kindly let me know how to enable oracle logs.
    >
    There is an example in the docs in the troubleshooting section of the DBMS_CHANGE_NOTIFICATION doc. Have you reviewed that?
    http://docs.oracle.com/cd/B19306_01/appdev.102/b14258/d_chngnt.htm
    >
    Troubleshooting
    If you have created a registration and seem to not receive notifications when the underlying tables are changed, please check the following.
    •Is the job_queue_processes parameter set to a non-zero value? This parameter needs to be configured to a non-zero value in order to receive PL/SQL notifications via the handler.
    •Are the registrations being created as a non-SYS user?
    •If you are attempting DML changes on the registered object, are you COMMITing the transaction? Please note that the notifications are transactional and will be generated when the transaction COMMITs.
    •It maybe possible that there are run-time errors during the execution of the PL/SQL callback due to implementation errors. If so, they would be logged to the trace file of the JOBQ process that attempts to execute the procedure. The trace file would be usually named <ORACLE_SID>j*<PID>.trc. '
    For example, if the ORACLE_SID is 'dbs1' and the process is 12483, the trace file might be named 'dbs1_j000_12483.trc.
    Suppose a registration is created with 'chnf_callback as the notification handler and with registration_id 100. Let us suppose the user forgets to define the chnf_callback procedure. Then the JOBQ trace file might contain a message of the following form.
    Runtime error during execution of PL/SQL cbk chnf_callback for reg CHNF100
    Error in PLSQL notification of msgid:
    Queue :
    Consumer Name :
    PLSQL function :chnf_callback
    Exception Occured, Error msg:
    ORA-00604: error occurred at recursive SQL level 2
    ORA-06550: line 1, column 7:
    PLS-00201: identifier 'CHNF_CALLBACK' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored

  • Oracle DB change notification is not working ..pls help

    Can anyone help on my problem ?
    Here is the step i done :
    Step 1.       Run the following command login as sysdba:
    GRANT CHANGE NOTIFICATION TO COPS;
    GRANT EXECUTE ON DBMS_CHANGE_NOTIFICATION TO COPS;
    Step 2.       Run following create table script and commit:
    CREATE TABLE COPS.employees
    employee_id NUMBER NOT NULL,
    first_name VARCHAR2(10),
    last_name VARCHAR2(10),
    salary NUMBER
    LOGGING
    NOCOMPRESS
    NOCACHE
    NOPARALLEL
    NOMONITORING;
    ALTER TABLE COPS.employees ADD (
    CONSTRAINT employees_PK
    PRIMARY KEY
    (employee_id));
    INSERT INTO employees
    VALUES(149,'ALEX','TAN',5000);
    Step 3 :Query “select from DBA_CHANGE_NOTIFICATION_REGS”*
    I manage to get the notification for insert record appear.
    Step 4: Run update query:
    update employees set salary = salary + 10 where employee_id = 149;
    commit;
    Step 5: Re-run the “select from DBA_CHANGE_NOTIFICATION_REGS”*
    There is no rows returned.
    Can anyone help me on this ? how to trace why the updates notification is not trigger ?

    Hi,
    I had the same situation in this post by 814992
    [Database Change notification running on Unix with c# |http://forums.oracle.com/forums/thread.jspa?messageID=9167210&#9167210]
    Can somebody help why database notification cannot works in unix platform ?
    Regards,
    Chua
    Edited by: user13476831 on Dec 14, 2010 7:00 PM

  • Truncated ROWID received from change notification.

    I am having a problem with getting change notification from a Index Organized Table(IOT).
    The length of ROWID is 18 character bytes in case of regular heap tables. But, in case of IOTs, the length of ROWIDs depend on the size of primary key and therefore is larger than 18 bytes.
    The ROWID that I getting from database change notification OracleNotificationEventArgs.Details is only 18 bytes from a IOT. It is missing the additional bytes at the end. As a result, the ROWID is useless in querying the table.
    Is this a limitation on the ODP? Is ODP for change notification not supported for IOT. Any help in solving this would be appreciated.
    Thanks,
    - Jay

    Just wanted to provide an update as to how I resolved this issue. I changed my Oracle.DataAccess.dll from v.2.112.3.0 to v.2.112.1.2 and it works fine.

  • Auditing using Change Notification

    I would like to do auditing of tables by using Change Notification.
    My manager is against using Triggers.
    Now how will I store record which has been deleted or which has been updated, though I can get the rowid which will be of no use because we don't get the old values which is either deleted or updated.
    I am very new to Oracle.
    Thanks

    DomBrooks wrote:
    You want auditing without auditing and/or without triggers - you're using the wrong tool for the wrong job.Yes, I want auditing to be done without triggers, I know it's very strange.
    I'm sure you could use Change Notification to a certain extent.The problem with Change Notification is we won't get the changed data. Is there any way we can get the changed data using Change Notification.
    CDC is also a possibility if you just want to capture changed data.
    However, synchronous CDC is implemented using ... wait for it ... triggers.
    Not asynhcronous CDC though which uses redo logs.Even with CDC, can't we do it asynchronously?
    However, if you want to do it properly and not waste your time debugging issues in your implementation of your bespoke auditing "solution", use the built-in features provided.I know, but I'm left with no other option to pick with the limited Oracle Knowledge I have.
    Thanks

  • Don't see email accounts to change notifications and no notifications for TEXTS.

    I have had carrier issued software release 10.2.1.2977 for awhile.
    I noticed now that under Notifications --> Core Applications there is no mention of any of my email accounts.
    (But I have no issue receiving or sending email via this Q10).
    And although it seems that I can change notification for Text Messages, in practice there is no LED or Vibrate or Sound that happens when a text does arrive. (And again there is no issue receiving or sending texts via this Q10 BUT no notification of any type)
    Any ideas to resolve these notification problems?
    If not, I will be forced, albeit reluctantly to "starting fresh". 
    Having said that I am not sure the best and safest way to do this ie reinstall carrier OS and then restore what I have backed up using BB Link. 
    I would love to know of the easiest, safest way to do as I have described.
    Thanks for your advice.
    And yet as you can see I am able to make changes of NOTIFICATON for texts but whatever I choose I still don't get notification via LED or VIBRATION and for my email accounts which Ican't see LED and VIBRATE is working fine (but of course can't change them)!
    I have had this official OS10 software for awhile...well before I noticed this problem.

    If the apple id being used by iCloud isn't the one you want, go to settings > icloud > delete account. It doesn't actually delete the account, but it removes it from your device so you can put in the right apple id

  • Workflow Notification Issue r12

    Hi
    I have two issues with Workflow notification in r12.
    1. Users get notification with a file attached called notification.html. This is not required. How can I stop workflow attaching this file when sending emails.
    2. How can I unanimously change notification preferences for all users?
    Thanks,

    what is the notification preference value of the recipient.
    If you don't want the 'notification.html' attachment in email, then set the user notification preference value as 'HTML mail' (MAILHTM2) .
    From UI
    Follow the naviagation
    user login --> Preferences tab--->Email Style -> 'HTML mail'
    In the wf_local_roles it should appear as 'MAILHTM2'.
    2. For FND user you can call the below API
    fnd_preference.put(username,'WF','MAILTYPE','MAILHTML');
    For other users you can directly update wf_local_roles with the required notification preference value

  • Email notification issue in some schemas

    Hi,
    My problem is almost identical as here DBMS_SCHEDULER send email notification issue
    One privileged scheduler user - user1 receive email notifications while two another (user2, user3) no.
    More plot is below i know 'what' resolve the problem but don't know how to do it :-)
    I want to execute code below on user3 schema, we tried this successfully on user2 (code executed directly on schema with temporary sys.dbms_aq access) so he receive his notifications.
    Problem is - we do not have direct access to second account (user3) how to execute this code as user3 ?
    declare
      reginfo1    sys.aq$_reg_info;
      reginfolist sys.aq$_reg_info_list;
    begin
      reginfo1    := sys.aq$_reg_info('SYS.SCHEDULER$_EVENT_QUEUE:SCHED$_AGT2$_X',
                                      1,
                                      'plsql://SYS.SCHEDULER$_JOB_EVENT_HANDLER',
                                      null);
      reginfolist := sys.aq$_reg_info_list(reginfo1);
      dbms_aq.register(reginfolist, 1);
    end;
    Already tried create procedure on user3 and execute immediate annonymous block but it still register with USER# 1 not 3 in  DBA_QUEUE_SUBSCRIBERS.
    More detailed plot:
    Jobs for user2 and user3 was created by user1, so JOB_CREATOR was user1 but OWNER was user2 or user3.
    We started with notifications configuration witch was ended with error on both user2 and user3 accounts:
    ORA-24093: AQ agent SCHED$_AGT2$_XX not granted privileges of database user1
    W get rid wit this using
    dbms_aqadm.enable_db_access(SCHED$_AGT2$_2, user1);
    dbms_aqadm.enable_db_access(SCHED$_AGT2$_3, user1);
    So user1 get privilege on agents for user2 and user3
    I believe error was already there because DBMS_SCHEDULER.add_job_email_notification is more automatic it probably registered subscriber that belongs to user2 and user3 with wrong USER# ID that belongs to user1.
    Database is 11.2.0.3

    it doesn't work because notifications are set from user1 account so USER# is still 1 even when I removed record first.
    This is my aproach based on Ask Tom: On Becoming Others, Limits, and Restoration
    >sqlplus user1
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    SQL> grant execute on sys.dbms_aq to user1;
    Grant succeeded.
    SQL> alter user user3 grant connect through user1;
    User altered.
    SQL> connect user1[user3]
    Enter password:
    Connected.
    SQL> create or replace procedure sched_not_add_q as
      2    reginfo1    sys.aq$_reg_info;
      3    reginfolist sys.aq$_reg_info_list;
      4  begin
      5    reginfo1    := sys.aq$_reg_info('SYS.SCHEDULER$_EVENT_QUEUE:SCHED$_AGT2$_3',
      6                                    1,
      7                                    'plsql://SYS.SCHEDULER$_JOB_EVENT_HANDLER',
      8                                    null);
      9    reginfolist := sys.aq$_reg_info_list(reginfo1);
    10    dbms_aq.register(reginfolist, 1);
    11  end;
    12  /
    Procedure created.
    SQL> exec sched_not_add_q;
    PL/SQL procedure successfully completed.
    SQL> drop procedure sched_not_add_q;
    Procedure dropped.
    SQL> connect user1
    Connected.
    SQL> revoke execute on sys.dbms_aq from user3;
    Revoke succeeded.
    SQL> alter user user3 revoke connect through user1;
    User altered.
    SQL> exit;
    >
    So it works now.

  • Oracle 11g - Date Issue?

    Oracle 11g - Date Issue?
    =====================
    I hope this is the right forum for this issue, if not let me, where to go.
    We are using Oracle 11g (11.2.0.1.0) on (Platform : solaris[tm] oe (64-bit)), Sql Developer 3.0.04.
    Our NLS_DATE_FORMAT = 'DD-MON-RR'
    Using 'RR' in the format forces two-digit years less than or equal to 49 to be interpreted as years in the 21st century (2000–2049), and years 50 and over, as years in the 20th century (1950–1999). Setting the RR format as the default for all two-digit year entries allows you to become year-2000 compliant. For example:
    We have a date '01-JUN-31' in our source system. It treat this date as 01-JUN-2031' instead of '01-JUN-1931'. One century forward.
    Do we able to resolve using NLS_DATE_FORMAT change?
    How do we resolve this issue?
    Thanks in helping.

    qwe16235 wrote:
    Our source is Oracle data base, where S_date is defined as DATE. Why did you say STRING , when it defined as DATE data type?I doubt you source is an Oracle database. You may have it stored in an Oracle database, but it cam form somewhere else, and was very likely inserted into the table as a string, wherever it came from. Given a string that resembles a date, Oracle will try to convert it to a date using the nls_date_format parameter for the session (which can either be set in the session or inherited form the database). Perhaps this will help explain:
    SQL> create table t (conv_type varchar2(10), dt date);
    Table created.
    SQL> alter session set nls_date_format = 'dd-mon-rr';
    Session altered.
    SQL> insert into t values ('Implicit', '01-jun-31');
    1 row created.
    SQL> insert into t values ('Explicit', to_date('01-jun-1931', 'dd-mon-yyyy'));
    1 row created.
    SQL> commit;
    Commit complete.
    SQL> select conv_type, to_char(dt, 'dd-mon-yyyy') dt
      2  from t;
    CONV_TYPE  DT
    Implicit   01-jun-2031
    Explicit   01-jun-1931So, unless you are really inserting dates, not strings that look like dates, you are going to have problems.
    John

  • Oracle workflow notification mailer configuration error

    hi,
    i am trying to setup oracle wf notification mailer and trying to put a test email address so that all the emails go to that email address.
    but getting following message,
    FAILURE: javax.mail.SendFailedException: Sending failed; nested exception is: class javax.mail.MessagingException: 530 5.7.0 Must issue a STARTTLS command first. p5sm5221427pbd.12
    my env:
    Oracle R12 on Oracle Linux 5.5
    smtp server: smtp.gmail.com
    imap server: imap.gmail.com
    outgoing and incoming: SSL enabled
    my sendmail in Oracle linux 5.5 works fine and using that i am able to sent email address to outside world.
    please advice on the above error that i am getting in notificaiton mailer configuration screen.
    thanks,

    this is the latest log file for recreating the repos,
    Jun 14, 2011 10:47:51 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag '-migrate' set to false
    Jun 14, 2011 10:47:51 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'migrateFromDBControl' set to false
    Jun 14, 2011 10:47:51 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'migrateToCentralAgent' set to false
    Jun 14, 2011 10:47:51 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'migrateFromCentralAgent' set to false
    Jun 14, 2011 10:47:51 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'migrateToDBControl' set to false
    Jun 14, 2011 10:47:51 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag '-config' set to true
    Jun 14, 2011 10:47:51 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'UPDATE_EMAIL' set to true
    Jun 14, 2011 10:47:51 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'dbcontrol' set to true
    Jun 14, 2011 10:47:51 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'db' set to true
    Jun 14, 2011 10:47:51 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'create' set to true
    Jun 14, 2011 10:47:51 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'drop' set to true
    Jun 14, 2011 10:47:51 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: ORACLE_HOME value: /u01/oracle/VIS/db/tech_st/11.1.0
    Jun 14, 2011 10:47:51 AM oracle.sysman.emcp.util.ClusterUtil isCRSInstalled
    CONFIG: isCRSInstalled: false
    Jun 14, 2011 10:47:51 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Jun 14, 2011 10:47:51 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: EM_HOME value: /u01/oracle/VIS/db/tech_st/11.1.0
    Jun 14, 2011 10:47:52 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: SID value: VIS
    Jun 14, 2011 10:47:52 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Jun 14, 2011 10:47:52 AM oracle.sysman.emcp.util.ClusterUtil isCRSInstalled
    CONFIG: isCRSInstalled: false
    Jun 14, 2011 10:47:52 AM oracle.sysman.emcp.util.ClusterUtil getLocalNode
    CONFIG: Cluster.isCluster: false. Skip call to getLocalNode
    Jun 14, 2011 10:47:52 AM oracle.sysman.emcp.util.ClusterUtil getLocalNode
    CONFIG: isLocalNodeDone: true localNode: null
    Jun 14, 2011 10:47:52 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Jun 14, 2011 10:47:53 AM oracle.sysman.emcp.util.DBControlUtil isDBConsoleConfigured
    CONFIG: Sid: VIS Host: localhost.localdomain Node: null OH: /u01/oracle/VIS/db/tech_st/11.1.0 isDBC: false
    Jun 14, 2011 10:47:53 AM oracle.sysman.emcp.util.CentralAgentUtil isCentralAgentConfigured
    CONFIG: Sid: VIS Host: localhost.localdomain Node: null OH: /u01/oracle/VIS/db/tech_st/11.1.0 agentHome: null isCentral: false
    Jun 14, 2011 10:47:53 AM oracle.sysman.emcp.util.CentralAgentUtil isCentralAgentConfigured
    CONFIG: Sid: VIS Host: localhost.localdomain Node: null OH: /u01/oracle/VIS/db/tech_st/11.1.0 agentHome: null isCentral: false
    Jun 14, 2011 10:47:53 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter SYS_PWD.
    Jun 14, 2011 10:47:53 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: VIS, oracleHome: /u01/oracle/VIS/db/tech_st/11.1.0, and user:
    Jun 14, 2011 10:47:56 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Jun 14, 2011 10:47:56 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'asm_db' set to false
    Jun 14, 2011 10:47:56 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'asm_db' set to false
    Jun 14, 2011 10:48:02 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: PORT value: 1528
    Jun 14, 2011 10:48:04 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter SYS_PWD.
    Jun 14, 2011 10:48:04 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: VIS, oracleHome: /u01/oracle/VIS/db/tech_st/11.1.0, and user: SYS
    Jun 14, 2011 10:48:04 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Jun 14, 2011 10:48:07 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: VIS, oracleHome: /u01/oracle/VIS/db/tech_st/11.1.0, and user: DBSNMP
    Jun 14, 2011 10:48:07 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Jun 14, 2011 10:48:20 AM oracle.sysman.emcp.ParamsManager setParam
    Jun 14, 2011 10:48:25 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: MAIL_SERVER_NAME value: smtp.gmail.com
    Jun 14, 2011 10:48:25 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Jun 14, 2011 10:48:25 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: CONFIRMATION ANSWER value:
    Jun 14, 2011 10:48:28 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: CONFIRMATION ANSWER value: yes
    Jun 14, 2011 10:48:28 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter LOG_FILE.
    Jun 14, 2011 10:48:28 AM oracle.sysman.emcp.EMConfig addEMCALogFile
    CONFIG: ORACLE_BASE :/u01/oracle/VIS/db/tech_st/11.1.0
    Jun 14, 2011 10:48:28 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
    Jun 14, 2011 10:48:28 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
    Jun 14, 2011 10:48:28 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: VIS, oracleHome: /u01/oracle/VIS/db/tech_st/11.1.0, and user: SYS
    Jun 14, 2011 10:48:28 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Jun 14, 2011 10:48:28 AM oracle.sysman.emcp.DatabaseChecks getDbUniqueName
    CONFIG: No Database unique name available. Will try to retrieve it from DB itself
    Jun 14, 2011 10:48:28 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value: VIS
    Jun 14, 2011 10:48:28 AM oracle.sysman.emcp.EMConfig perform
    INFO: This operation is being logged at /u01/oracle/VIS/db/tech_st/11.1.0/cfgtoollogs/emca/VIS/emca_2011_06_14_10_47_51.log.
    Jun 14, 2011 10:48:28 AM oracle.sysman.emcp.util.ClusterUtil isCRSInstalled
    CONFIG: isCRSInstalled: false
    Jun 14, 2011 10:48:28 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'CHECK_CONFIG' set to true
    Jun 14, 2011 10:48:28 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: VIS, oracleHome: /u01/oracle/VIS/db/tech_st/11.1.0, and user: SYS
    Jun 14, 2011 10:48:28 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Jun 14, 2011 10:48:28 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: VIS, oracleHome: /u01/oracle/VIS/db/tech_st/11.1.0, and user: DBSNMP
    Jun 14, 2011 10:48:28 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Jun 14, 2011 10:48:28 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MODIFY_SID.
    Jun 14, 2011 10:48:28 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: VIS, oracleHome: /u01/oracle/VIS/db/tech_st/11.1.0, and user: SYS
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'asm_db' set to false
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MODIFY_SID.
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.DatabaseChecks getDbServiceName
    CONFIG: No service name available. Will try to set db_unique_name.db_domain
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: VIS, oracleHome: /u01/oracle/VIS/db/tech_st/11.1.0, and user: SYS
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value:
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.DatabaseChecks getDbUniqueName
    CONFIG: No Database unique name available. Will try to retrieve it from DB itself
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value: VIS
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_DOMAIN.
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.DatabaseChecks getDbDomain
    CONFIG: No db domain available. Will query db for db_domain parameter
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value: VIS
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: SERVICE_NAME value: VIS
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MODIFY_SID.
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DBID.
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.DatabaseChecks getDbid
    CONFIG: No dbid available. Will query db to extract it.
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: VIS, oracleHome: /u01/oracle/VIS/db/tech_st/11.1.0, and user: SYS
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DBID value: 305783605
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'db' set to true
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MODIFY_SID.
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.DatabaseChecks getDbServiceName
    CONFIG: No service name available. Will try to set db_unique_name.db_domain
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: VIS, oracleHome: /u01/oracle/VIS/db/tech_st/11.1.0, and user: SYS
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value:
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.DatabaseChecks getDbUniqueName
    CONFIG: No Database unique name available. Will try to retrieve it from DB itself
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value: VIS
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_DOMAIN.
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.DatabaseChecks getDbDomain
    CONFIG: No db domain available. Will query db for db_domain parameter
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DB_UNIQUE_NAME value: VIS
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: SERVICE_NAME value: VIS
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: VIS, oracleHome: /u01/oracle/VIS/db/tech_st/11.1.0, and user: SYS
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: VIS, oracleHome: /u01/oracle/VIS/db/tech_st/11.1.0, and user: SYS
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.EMDBPreConfig invoke
    CONFIG: Passed repository configuration check
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MODIFY_SID.
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MODIFY_SID.
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter GLOBAL_DB_UNIQUE_NAME.
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.DatabaseChecks getGlobalDbUniqueName
    CONFIG: No Global database unique name available. Will try to retrieve it from DB itself
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: VIS, oracleHome: /u01/oracle/VIS/db/tech_st/11.1.0, and user: SYS
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DB_DOMAIN.
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.DatabaseChecks getDbDomain
    CONFIG: No db domain available. Will query db for db_domain parameter
    Jun 14, 2011 10:48:29 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: GLOBAL_DB_UNIQUE_NAME value: VIS
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /u01/oracle/VIS/db/tech_st/11.1.0/sysman/config/emd.properties to /u01/oracle/VIS/db/tech_st/11.1.0/sysman/config/emd.properties.emca.tmp
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.FileUtil backupFile
    CONFIG: The original file /u01/oracle/VIS/db/tech_st/11.1.0/sysman/config/emd.properties has been copied to /u01/oracle/VIS/db/tech_st/11.1.0/sysman/config/emd.properties.emca.tmp
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /u01/oracle/VIS/db/tech_st/11.1.0/sysman/config/emoms.properties to /u01/oracle/VIS/db/tech_st/11.1.0/sysman/config/emoms.properties.emca.tmp
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.FileUtil backupFile
    CONFIG: The original file /u01/oracle/VIS/db/tech_st/11.1.0/sysman/config/emoms.properties has been copied to /u01/oracle/VIS/db/tech_st/11.1.0/sysman/config/emoms.properties.emca.tmp
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /u01/oracle/VIS/db/tech_st/11.1.0/sysman/emd/targets.xml to /u01/oracle/VIS/db/tech_st/11.1.0/sysman/emd/targets.xml.emca.tmp
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.FileUtil backupFile
    CONFIG: The original file /u01/oracle/VIS/db/tech_st/11.1.0/sysman/emd/targets.xml has been copied to /u01/oracle/VIS/db/tech_st/11.1.0/sysman/emd/targets.xml.emca.tmp
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.ClusterUtil getLocalNode
    CONFIG: isLocalNodeDone: true localNode: null
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'IS_CENTRAL_AGENT_RECONFIG' set to false
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.ClusterUtil getLocalNode
    CONFIG: isLocalNodeDone: true localNode: null
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.CentralAgentUtil isCentralAgentConfigured
    CONFIG: Sid: VIS Host: localhost.localdomain Node: null OH: /u01/oracle/VIS/db/tech_st/11.1.0 agentHome: null isCentral: false
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.DBControlUtil isDBConsoleConfigured
    CONFIG: Sid: VIS Host: localhost.localdomain Node: null OH: /u01/oracle/VIS/db/tech_st/11.1.0 isDBC: false
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'IS_CENTRAL_AGENT_CONFIGURED' set to false
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.ParamsManager setFlag
    CONFIG: Flag 'IS_DBCONTROL_CONFIGURED' set to false
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DBCONTROL_HTTP_PORT.
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter AGENT_PORT.
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter RMI_PORT.
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter JMS_PORT.
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.ClusterUtil getLocalNode
    CONFIG: isLocalNodeDone: true localNode: null
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.DBControlUtil isDBConsoleConfigured
    CONFIG: Sid: VIS Host: localhost.localdomain Node: null OH: /u01/oracle/VIS/db/tech_st/11.1.0 isDBC: false
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter PORTS_FILE.
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.ClusterUtil getLocalNode
    CONFIG: isLocalNodeDone: true localNode: null
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter JMS_PORT_VIS.
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter JMS_PORT.
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter RMI_PORT_VIS.
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter RMI_PORT.
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DBCONTROL_HTTP_PORT_VIS.
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DBCONTROL_HTTP_PORT.
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter AGENT_PORT_VIS.
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter AGENT_PORT.
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.OUIInventoryUtil setOUILoc
    CONFIG: Setting oracle.installer.oui_loc to /u01/oracle/VIS/db/tech_st/11.1.0/oui
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.OUIInventoryUtil setOUILoc
    CONFIG: Setting oracle.installer.oui_loc to /u01/oracle/VIS/db/tech_st/11.1.0/oui
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.OUIInventoryUtil getAllOracleHomeLoc
    CONFIG: /etc/oraInst.loc and /u01/oracle/VIS/db/tech_st/11.1.0/oraInst.loc are not the same. Getting list of homes from /u01/oracle/VIS/db/tech_st/11.1.0/oraInst.loc
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.OUIInventoryUtil setOUILoc
    CONFIG: Setting oracle.installer.oui_loc to /u01/oracle/VIS/db/tech_st/11.1.0/oui
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Homes to scan for used ports: [u01/oracle/VIS/apps/tech_st/10.1.3, /u01/oracle/VIS/apps/tech_st/10.1.2, /u01/oracle/VIS/db/tech_st/11.1.0]
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Searching all DBConsole instances for used ports under ORACLE_HOME /u01/oracle/VIS/apps/tech_st/10.1.3
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.FileUtil getProperties
    CONFIG: Error reading file /u01/oracle/VIS/apps/tech_st/10.1.3/sysman/config/emd.properties
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.PortManager getAgentPort
    CONFIG: Cannot parse EMD_URL correctly. No port identified
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Marking Agent port: null from /u01/oracle/VIS/apps/tech_st/10.1.3/sysman/config/emd.properties
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Cannnot parse EMD_URL correctly. No port identified
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Searching all DBConsole instances for used ports under ORACLE_HOME /u01/oracle/VIS/apps/tech_st/10.1.2
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Marking Agent port: 1157 from /u01/oracle/VIS/apps/tech_st/10.1.2/sysman/config/emd.properties
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Searching all DBConsole instances for used ports under ORACLE_HOME /u01/oracle/VIS/db/tech_st/11.1.0
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Marking JMS port: null from /u01/oracle/VIS/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Marking RMI port: null from /u01/oracle/VIS/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Marking HTTP port: null from /u01/oracle/VIS/db/tech_st/11.1.0/oc4j/j2ee/OC4J_DBConsole
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.PortManager getAgentPort
    CONFIG: Cannot parse EMD_URL correctly. No port identified
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Marking Agent port: null from /u01/oracle/VIS/db/tech_st/11.1.0/sysman/config/emd.properties
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
    CONFIG: Cannnot parse EMD_URL correctly. No port identified
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.FileUtil getProperties
    CONFIG: Error reading file /u01/oracle/VIS/db/tech_st/11.1.0/install/staticports.ini
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.PortManager getFreePorts
    CONFIG: /u01/oracle/VIS/db/tech_st/11.1.0:localhost.localdomain:null:VIS:{}:null:{DBCONTROL_HTTP_PORT=1158, RMI_PORT=5520, JMS_PORT=5540, AGENT_PORT=3938}
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter AGENT_PORT_VIS.
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: AGENT_PORT_VIS value: 3938
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter DBCONTROL_HTTP_PORT_VIS.
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: DBCONTROL_HTTP_PORT_VIS value: 1158
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter JMS_PORT_VIS.
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: JMS_PORT_VIS value: 5540
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter RMI_PORT_VIS.
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: RMI_PORT_VIS value: 5520
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.EMDBPreConfig getFreePorts
    CONFIG: Ports assigned for SID: VIS : {DBCONTROL_HTTP_PORT=1158, RMI_PORT=5520, JMS_PORT=5540, AGENT_PORT=3938}
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.ClusterUtil getLocalNode
    CONFIG: isLocalNodeDone: true localNode: null
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.EMDBPreConfig copyAgentTimeStampFile
    CONFIG: File: /u01/oracle/VIS/db/tech_st/11.1.0/localhost.localdomain_VIS/sysman/emd/agntstmp.txt:localhost.localdomain does not exists.
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: VIS, oracleHome: /u01/oracle/VIS/db/tech_st/11.1.0, and user: SYS
    Jun 14, 2011 10:48:30 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    Jun 14, 2011 10:48:32 AM oracle.sysman.emcp.ParamsManager checkListenerStatusForDBControl
    CONFIG: ORA-12541: TNS:no listener
    oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-12541: TNS:no listener
         at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeImpl(SQLEngine.java:1530)
         at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeSql(SQLEngine.java:1771)
         at oracle.sysman.emcp.ParamsManager.checkListenerStatusForDBControl(ParamsManager.java:2682)
         at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:193)
         at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:147)
         at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:222)
         at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:535)
         at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1215)
         at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:519)
         at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:468)
    Jun 14, 2011 10:48:32 AM oracle.sysman.emcp.EMConfig perform
    SEVERE: Listener is not up. Start the Listener and run EM Configuration Assistant again .
    Refer to the log file at /u01/oracle/VIS/db/tech_st/11.1.0/cfgtoollogs/emca/VIS/emca_2011_06_14_10_47_51.log for more details.
    Jun 14, 2011 10:48:32 AM oracle.sysman.emcp.EMConfig perform
    CONFIG: Stack Trace:
    oracle.sysman.emcp.exception.EMConfigException: Listener is not up. Start the Listener and run EM Configuration Assistant again .
         at oracle.sysman.emcp.ParamsManager.checkListenerStatusForDBControl(ParamsManager.java:2689)
         at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:193)
         at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:147)
         at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:222)
         at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:535)
         at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1215)
         at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:519)
         at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:468)

  • Bid Invitation not automatically sending change notification email

    Hello,
    I have the folowing issue with the email output bid invitations in SRM 5.
    In Define actions for document output I set BBP_PD_BID to Processing when saving document.  This work fine for new Bid Invitations, but when I make a changes after publishing no new output is generated for change notifications.
    When I manually select 'Inform bidders and send out bids', the origional email is re-output and not the change version of the smartfotm text ('We would like to draw your attention to the'..... and not "The following bid invitation has been changed")
    Is the auto output of change notifications for bid invitation standard?  I though it was as I saw it set up in a different system.
    Thanks in Advance,
    Kyle

    Thanks for your reply.  I am aware of the custom smartform functionality. 
    It looks like the auto output is not standard as per this sap help page:
    http://help.sap.com/saphelp_srm50/helpdata/en/a7/81b463611c124d8c9d2c5bd8d17b34/content.htm
    When I saw auto output of changes before before it must have been an enhancement.
    Regards,
    Kyle

Maybe you are looking for

  • List of issues: random reboots, sound issue, battery reading

    Hey all, I am having the following issues with my Macbook (late 2007, running on Snow Leopard). 1) The battery power indicator isn't giving a correct read. It remains stuck at 95% or 99% most of the time while the led on the battery cord is burning b

  • In InfoPath 2007, decimals not displayed in form library list.

    I have an InfoPath form that I created that I have set all the fields correctly to display as a Decimal, set to display as US currency, and to maintain 2 decimals. The form looks correct and displays the 2 decimal places correctly, but in the listing

  • Sync with iTunes problems

    When I try to sync my iPhone it start first with backing up and it takes forever, then it starts with transfering purchases etc. How can I avoid that? I would like only to ad one or two albums or one or two videos. This is annoying. Thx

  • MUST HAVE APPS FOR N9

    Here is a list of Some Must Have apps for our N9: Use the links to Download The apps. (I take no responsibility if it bricks your phone or void warranty, but i have personally downloaded these apps and had no problem)(codes from 7-15 attached here) 1

  • Reg: Vendor Evaluation - Criteria "Delivery"

    Hi Gurus, I am in process of vendor evaluation in system. Confguration is maintained and I am opting for Automatic vendor evaluation and our interest is in Price and delivery. When I am doing Vendor evaluation in ME61, I am getting the automatic valu