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

Similar Messages

  • 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 11g database stores CAS number incorrectly in chemical database.

    Hi,
    I have an issue in Oracle 11g database. I am working on a chemical database which handles chemical structures ,formulas, CAS numbers, ACX number. The database has a compound table which stores compound attributes like chemical structure, molecular weight, CAS number and so on. The CAS number is of type varchar2(15) and will be in the format 50-50-0. All the CAS numbers will be in this format.
    The issue which I found specific to Oracle11g database is that when a CAS number is edite and saved from the application it changes into some random characters like AEAAAA8AA in the table. With Oracle 10g version there were no issues. Can anyone please help me to understand what could be the reason for this? Looking forward to your replies on this.
    Thanks

    Ok, thanks to all for pointers on finding the alert log. Found it. here's the relevant section, I believe:
    ARCH: Error 19809 Creating archive log file to 'D:\ORADATA\FASTRECOVERY\....\ARCHIVELOG\2012_11_07\O1_MF_1_2456_%U_.ARC'
    Errors in file C:\APP\diag\rdbms\....\trace\ukgb01_ora_3308.trc:
    ORA-16038: log 2 sequence# 2456 cannot be archived
    ORA-19809: limit exceeded for recovery files
    ORA-00312: online log 2 thread 1: 'F:\ORADATA\REDO\....\REDO02.LOG'
    USER (ospid: 3308): terminating the instance due to error 16038
    ARC0: STARTING ARCH PROCESSES
    System state dump requested by (instance=1, osid=3308), summary=[abnormal instance termination].
    System State dumped to trace file C:\APP\diag\rdbms\.....\trace\xxxxx_diag_504.trc
    Dumping diagnostic data in directory=[cdmp_20121107205514], requested by (instance=1, osid=3308), summary=[abnormal instance termination].
    Instance terminated by USER, pid = 3308
    Wed Nov 07 21:13:40 2012
    Adjusting the default value of parameter parallel_max_servers
    from 640 to 185 due to the value of parameter processes (200)
    Starting ORACLE instance (normal)
    I'm new to all this. What do I do in rman to clear this up?

  • Oracle 11G database for 64 bit windows installation error

    Hi,
    I downloaded the 11G 64bit for windows and unzipped the files into one folder and ran the setup.exe as an administrator. It opened up the java screen and I chose, create and configure a database. Next screen I chose, Desktop Class, when I click next it dies. It does not show me teh next screen. I went to the appdata folder and saw this error but not sure what to do EXCEPTION_ACCESS_VIOLATION (0xc0000005). Please help. Thanks for your time and help.

    Adipur wrote:
    Hello, have you tried to create new administrator user, and install using that newly created user...?You found this to be a band-aid solution in your specific instance. (Strange case of installation on windows 7 - unable to complete installation But you have drawn the wrong conclusions and never found the real issue in the cited thread. Under the circumstances, I would not be offering this up as a generalized solution, as you are doing in this thread and in others:
    Re: Oracle 11G database for 64 bit windows installation error
    Re: Trouble installing Oracle Personal in Windows 7 64-bit environment
    I have been doing Oracle DBA work since v 7.3, and have never seen advice like this to be anything more than a work-around the real issue.
    Edited by: EdStevens on May 15, 2013 7:03 AM

  • Database timeout issue in oracle 11g 64 bit windows machine

    Hi ,
    Database connection getting timedout for every 30 seconds in oracle 11g database 64 bit windows environment.
    And the error we are getting is "Invalid user name and passoword".
    After altering the schema passoword
    alter username identified by pwd;
    we are able to connect to database but it is getting timedout after 30 seconds.
    Is there any parameter settings that requires changes or verifications.
    We are facing this using sqlplus as well as through JDBC connection.
    Thanks
    Prasanna

    Check profile assigned to user... there is a parameter idle_time.. increase this..

  • What are the privileges required for explain plan in Oracle 11g database

    I am facing the problem in doing a explain plan for a view in Oracle 11g database. When I select from the view like this:
    select * from zonewisearpu
    It does a select on the view but when I give explain plan like
    explain plan for
    select * from zonewisearpu
    I get the error like insufficient privileges.
    Please let me know if things are getting missed out as I guess system level privileges are required to execute this.
    I hope, my question is clear.
    It’s a humble request to revert urgently if possible as I need to complete a task and do not know the way out.
    Regards

    975148 wrote:
    Thanks for your reply. I have found out that an explain plan is possible on the user's own objects and is not possible on the granted objects from a different schema. For eg, if I do a explain plan on a view querying on tables from a different view, it would not allow the explain plan to proceed. This could mean that explain plan needs different privileges than just a select.
    Requesting for a revert to this.
    Here is a simple test case that I have perfomed
    SQL> create user test1 identified by test1;
    User created.
    SQL> create user test2 identified by test1;
    User created.
    SQL> grant connect, resource to test1,test2;
    Grant succeeded.
    SQL> create table test1.tab1 as select * from v$session;
    Table created.
    SQL> connect test2/test1
    Conencted.
    SQL> show user
    USER is "TEST2"
    SQL>
    SQL> explain plan for
      2  select sid,serial#,status,username from test1.tab1 where username<> '';
    Explained.
    SQL>
    So, as can be seen I am able to do a explain plan from user test2 for tables belong to user test1.
    As far as privileges are concerned, following is the list
    SQL> select * from dba_role_privs where grantee in ('TEST1','TEST2') order by 1;
    GRANTEE                        GRANTED_ROLE                   ADM DEF
    TEST1                          CONNECT                        NO  YES
    TEST1                          RESOURCE                       NO  YES
    TEST2                          CONNECT                        NO  YES
    TEST2                          RESOURCE                       NO  YES
    SQL>
    SQL> select grantee,owner,table_name,privilege from dba_tab_privs where grantee in ('TEST1','TEST2') order by 1;
    GRANTEE    OWNER      TABLE_NAME           PRIVILEGE
    TEST2      TEST1      TAB1                 SELECT
    SQL>
    SQL>  select * from dba_sys_privs where grantee in ('TEST1','TEST2') order by 1;
    GRANTEE    PRIVILEGE                      ADM
    TEST1      UNLIMITED TABLESPACE           NO
    TEST2      UNLIMITED TABLESPACE           NO
    SQL>

  • Factors for increase in memory occupied by Oracle 11g database

    I wanted to know all the possible factors which can account for the increase in the memory required for an Oracle 11g database. Let’s take an example,
    1) Say if the memory allocated for an Oracle 11g instance is 8GB which is 50% of the memory of 16GB allocated to the machine on which Oracle 11g is installed.
    2) The max sessions are 300.
    With this example in mind, I had the following queries:
    1) Is the memory taken by 100 sessions or 300 sessions going to be within the limit of 8GB allocated to the Oracle?
    2) Say if the max sessions is increased to 400, would the memory taken the 100 extra sessions would be within 8GB or would that be extra?
    I hope my query is clear.
    Please revert with the reply to my query.
    Regards

    Memory is allocated for the session only when that session is created by the listener, and the memory used by that session will fluctuate depending on the workload it's doing.
    300 or 400 it won't pre-allocate all the memory for the fixed maximum number of sessions, it's dynamic. What oracle does is allocated all the memory you gave it in the PGA and the SGA and will do it's best to work with it for the current workload, it won't suddenly eat more memory without you telling it's okay to.
    The only scenario I could see this happening is if you have a lot of sessions and a small PGA. In that case, oracle does go ahead and eat more memory than you gave it because it can't make due with the current PGA. So it eats more memory so sessions can be created and maintened. See PGA over- allocation.
    To quote the good ol' docs:
    Over allocating PGA memory can happen if the value ofPGA_AGGREGATE_TARGET is too small. When this happens, the Oracle Database cannot honor the value ofPGA_AGGREGATE_TARGET and extra PGA memory needs to be allocated.

  • Issue in Connecting to Oracle 11g Database

    Hi,
    I have installed Oracle 11g database using loopback adapter. (used ip 10.10.10.10). In the drivers file did the following entry
    ipaddress computername.domainname.com computername
    How can I connect to this database from other computer in the network ex:using sqldeveloper? (When I try it says "Network adapter couldnt establish the connection")
    Thanks,
    Ramesh

    from other computer in the network Oracle version on that computer ?
    Did you configure a connection string on that computer ? If so, please post your tnsnames.ora. If not, what did you do exactly ?
    Also, from the server post the result of "lsnrctl stat".

  • How to mask data in oracle 11g database release 1

    how to mask data in oracle 11g database release 1
    my environment is
    Database: 11g release 1
    os: AIX 6 (64 bit)
    GC:10g release 1

    DBA-009 wrote:
    thx but how i can mask data with above give environment?What does "mask data" mean to you and what is the environment you are referring to?
    Telling us that you are using 11.1 helps. But it is far from a complete description of the environment. What edition of the database are you using? What options are installed? What Enterprise Manager packs are licensed? Is any of this changable? Could you license another option for the database or another pack for Enterprise Manager if that was necessary?
    What does it mean to you to "mask data"? Do you want to store the data on disk and then mask the data in the presentation layer when certain people query it (i.e. store the patient's social security number in the database but only present ***-**- and the last 4 digits to certain sets of employees)? Do you want to hide entire fields from certain people? Do you want to change the data stored in the database when you are refreshing a lower environment with production data? If so, do you need and/or want this process to be either determinisitic or reversable or both?
    Justin

  • Importing XML into oracle 11g database

    I am having some difficulty parsing an XML file into oracle 11g database.
    Currently using Oracle 11g Express Edition (XE)
    Here is how my XML file looks like:
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <AccountMap xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    - <Accounts>
    - <AccountMapping>
    <AccountID>0000000000000-000</AccountID>
    <AccountName>XLS</AccountName>
    <AccountType>Excel</AccountType>
    <AccountOwner>System</AccountOwner>
    </AccountMapping>
    - <AccountMapping>
    <AccountID>0000000000000-001</AccountID>
    <AccountName>XLSS</AccountName>
    <AccountType>Excel2</AccountType>
    <AccountOwner>System2</AccountOwner>
    </AccountMapping>
    - <AccountMapping>
    and so on the file continues.. I have the xml file saved on my local hard disk
    I have created a package in SQL Developer
    create or replace
    PACKAGE XML_FILEHANDLER AS
    type TRecord is record (
    Account_ID varchar2(100)
    , AccountName varchar2(100)
    , AccountType varchar2(30)
    , AccountOwner varchar2(100)
    type TRecordTable is table of TRecord;
    function getRows (p_directory in varchar2, p_filename in varchar2) return TRecordTable pipelined;
    END XML_FILEHANDLER;
    -- BODY
    create or replace
    PACKAGE BODY XML_FILEHANDLER AS
    function getRows (p_directory in varchar2, p_filename in varchar2) return TRecordTable pipelined AS
    nb_rec NUMBER := 1;
    tmp_xml CLOB;
    tmp_file CLOB;
    rec TRecord;
    BEGIN
    dbms_lob.createtemporary(tmp_file, true);
    tmp_file := dbms_xslprocessor.read2clob(p_directory, p_filename);
    rec.Account_ID := regexp_replace(tmp_file, '.*<Account_ID>(.*)</Account_ID>.*', '\1', 1, 1, 'n');
    rec.AccountName := regexp_replace(tmp_file, '.*<AccountName>(.*)</AccountName>.*', '\1', 1, 1, 'n');
    rec.AccountType := regexp_replace(tmp_file, '.*<AccountType >(.*)</AccountType >.*', '\1', 1, 1, 'n');
    rec.AccountOwner := regexp_replace(tmp_file, '.*<AccountOwner>(.*)</AccountOwner>.*', '\1', 1, 1, 'n');
    loop
    -- this regexp finds occurrence(s) of this pattern : "<?xml ... ?><root_tag> ... </root_tag>"
    tmp_xml := regexp_substr(tmp_file, '<\?xml[^?]+\?>\s+<([^>]+)>.*?</\1>', 1, nb_rec, 'n');
    exit when length(tmp_xml) = 0;
    --dbms_output.put_line(tmp_rec);
    nb_rec := nb_rec + 1;
    SELECT Account_ID, AccountName, AccountType, AccountOwner
    into rec.Account_ID, rec.AccountName, rec.AccountType, rec.AccountOwner
    from xmltable(
    'Accounts/AccountMapping' passing xmltype(tmp_xml) columns
    Account_ID varchar2(100) path 'Account_ID'
    , AccountName varchar2(100) path 'AccountName'
    , AccountType varchar2(30) path 'AccountType'
    , AccountOwner varchar2(100) path 'AccountOwner'
    pipe row ( rec );
    end loop;
    dbms_lob.freetemporary(tmp_file);
    END getRows;
    END XML_FILEHANDLER;
    -- I am calling my function using the following sql query
    select * from table(XML_FileHandler.getRows('XML', 'test.xml'));
    Here is the error I am receiving
    ORA-29283: invalid file operation
    ORA-06512: at "SYS.UTL_FILE", line 536
    ORA-29283: invalid file operation
    ORA-06512: at "XDB.DBMS_XSLPROCESSOR", line 265
    ORA-06512: at "user.XML_FILEHANDLER", line 13
    29283. 00000 - "invalid file operation"
    *Cause:    An attempt was made to read from a file or directory that does
    not exist, or file or directory access was denied by the
    operating system.
    *Action:   Verify file and directory access privileges on the file system,
    and if reading, verify that the file exists.
    I have done the following
    - Provided appropriate access to user (read, write) including directory access rights
    - ensured that directory exists
    - ensured that file exists
    I have searched all over google and metalink but am unable to get this to run.. please help!

    >
    SELECT Account_ID, AccountName, AccountType, AccountOwner
    into rec.Account_ID, rec.AccountName, rec.AccountType, rec.AccountOwner
    from xmltable(
    'Accounts/AccountMapping' passing xmltype(tmp_xml) columns
    Account_ID varchar2(100) path 'Account_ID'
    , AccountName varchar2(100) path 'AccountName'
    , AccountType varchar2(30) path 'AccountType'
    , AccountOwner varchar2(100) path 'AccountOwner'
    >
    change to
    SELECT Account_ID, AccountName, AccountType, AccountOwner
    into rec.Account_ID, rec.AccountName, rec.AccountType, rec.AccountOwner
    from xmltable(
    'AccountMap/Accounts/AccountMapping' passing xmltype(tmp_xml) columns
    Account_ID varchar2(100) path 'Account_ID'
    , AccountName varchar2(100) path 'AccountName'
    , AccountType varchar2(30) path 'AccountType'
    , AccountOwner varchar2(100) path 'AccountOwner'
    SQL> SELECT Account_ID, AccountName, AccountType, AccountOwner
      2  --into rec.Account_ID, rec.AccountName, rec.AccountType, rec.AccountOwner
      3  from xmltable(
      4  'AccountMap/Accounts/AccountMapping' passing
      5  xmltype('<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
      6  <AccountMap xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      7  <Accounts>
      8  <AccountMapping>
      9  <AccountID>0000000000000-000</AccountID>
    10  <AccountName>XLS</AccountName>
    11  <AccountType>Excel</AccountType>
    12  <AccountOwner>System</AccountOwner>
    13  </AccountMapping>
    14  <AccountMapping>
    15  <AccountID>0000000000000-001</AccountID>
    16  <AccountName>XLSS</AccountName>
    17  <AccountType>Excel2</AccountType>
    18  <AccountOwner>System2</AccountOwner>
    19  </AccountMapping>
    20  </Accounts>
    21  </AccountMap>')
    22  columns
    23  Account_ID varchar2(100) path 'Account_ID'
    24  , AccountName varchar2(100) path 'AccountName'
    25  , AccountType varchar2(30) path 'AccountType'
    26  , AccountOwner varchar2(100) path 'AccountOwner'
    27  );
    ACCOUNT_ID                                                                       ACCOUNTNAME                                                                      ACCOUNTTYPE                    ACCOUNTOWNER
                                                                                     XLS                                                                              Excel                          System
                                                                                     XLSS                                                                             Excel2                         System2
    SQL> for AccountID use AccountID not Account_ID
    Account_ID varchar2(100) path 'AccountID'Edited by: AlexAnd on Aug 9, 2012 12:35 AM

  • Not able to connect to oracle 11g database source through OBI Server

    Hi,
    I am having an issue regarding the database connectivity.
    Iam unable to connect to the oracle 11g database through OBI server. However its connecting through SQL Plus with same username/password@hoststring. Its giving the error as :
    [nQSError: 17001]Oracle Error code:1017,message:ORA-01017: invalid username/password; logon denied at OCI call OCILogon
    [nQSError: 17014]Could not connect to Oracle database.
    Please help me out in resolving the issue.

    If it's working in one place and not the other then it's obviously not an OBIEE problem.
    Are you typing it in right??
    Do you have multiple tnsnames.ora files pointing to different databases, maybe sqlplus is picking up one and toad & OBIEE the other and so the username/pw is wrong for that database?
    There's a limited amount that can be said to help, as the error is 100% clear what the problem is :) it's just working out whether you're connecting to the database that you think you are connecting to, and then whether the username & PW you're entering is correct for that DB.
    BTW OBIEE 10.1.3.4 is supported with 11g, and we're using it without problem here.

  • Establish 32-bit ODBC connection to 64-bit Oracle 11g database

    Hi Everyone,
    Just to set the scene:
    PC with Windows 2003 server x64 OS installed, Oracle 11g 11.1.0.7 64-bit installed and MS Office 2007 installed.
    I am looking for advice on the best way to establish an ODBC link so that MS Access 2007 (32-bit) can connect to the Oracle 11g (64-bit) database.
    There are known issues, see [http://support.microsoft.com/kb/942976|http://support.microsoft.com/kb/942976] (which I have hit) when attempting to use a 64-bit ODBC DSN within MS Access 2007. This means that I need to setup and install an Oracle 11g 32-bit ODBC driver to be used against the Oracle 11g database (TNS listener also running 64-bit).
    Any thoughts on the best approach I should take to do this?
    Regards,
    Leigh.

    The more information section of the MS support article doesn't give me much to go on other than to explain the differences in how user and system DSNs are displayed and managed between the 2 different bit versions of ODBC administrator and how this information is stored in the different registries (64-bit and WOW64).
    I have been able to install 32-bit Oracle11g instantclient and its ODBC driver successfully and then in turn create the 32-bit ODBC DSN, however I am unable to connect to the 64-bit database when I attempt to test the DSN. I have updated the Windows PATH environment variable to include both the path of the Oracle11g DB server and instantclient homes as well as creating a TNS_ADMIN environment variable to point to the location of the Oracle11g TNSNAMES.ORA and the 64-bit 11g listener. However despite this I still get the error when testing the DSN:
    Unable to connect
    SQLState=S1000
    [Oracle][ODBC][Ora]ORA-12541: TNS:no listener

  • Forms 6i is not connecting with Oracle 11g database?

    Forms 6i is not connecting with Oracle 11g database?
    How to resolve this issue?

    Hi,
    Once you installed the Forms and Reports, you need to configure the paramters like tnsnames.ora in you path.
    There will be one folder in the Installation path of Forms and Reports search for tnsnames.ora file..and you need to Updated the file as per the which ORACLE Server you are connecting and then try.. it..
    Default path for forms will be "ORACLE_HOME/net80/admin".. search for tnsnames.ora and modify it..
    - Pavan Kumar N

  • Oracle 11g database link to Oracle 8

    Hi,
    database-links from an Oracle 11g to an Oracle 8-Database seem to do not work:
    The error in enterprise manager is: socket error (translated from german).
    There are no alerts at the Oracle 11g-Database.
    On the other (Oracle 8) side, the alert we have is an "internal error"
    Has anybody else that experience, and maybe a solution?
    Thx a lot for your help
    Alex

    user10956040 wrote:
    Hi All,
    Why are you hijacking someone else's thread? This just makes it harder to deal with the OP's issue, even if you think it is closely related to yours, and you haven't given any indication that it is at all related.
    I have a DB link called "appdb.message.oracle.com".
    In 10g "select * from table@appdb;" is working fine but in 11g not.
    Why so?
    I have two cars in my garage. One works. One doesn't. Why so?
    Some description of "not working" would be helpful. Actual ora-nnnnn error messages even more so.
    In 11g if i create DB link with the name "appdb" only then the query "select * from table@appdb;" is working fine.
    Is there any update in 11g regarding this DB link names.
    Plz help me out..
    Help us to help you by giving us some clues. Given my comments above, preferably in your own thread.
    Thanks in Advance,
    Sridhar

  • Database Change Notification and TopLink Cache Invalidation

    Has someone succeeed in implementing the How-to Database Change Notification and TopLink Cache Invalidation.
    I have corrected some document errata about the pl/sql content and I manage to have messages in the 'notify_queue'.
    I obtain the Topic in Java from this queue.
    But the TopicSuscriber instances do not receive any message. Is there something to have in mind to make it work ?
    Regards.

    Reviving this thread again...
    I am using DCN feature to build a middle-tier cache. I know oracle has problem sending physical rowid in case of 'Index Organized Table', however, in normal table also its not able to send proper rowid.
    e.g, I have 2 records in Table A with rowid AAARIUAAGAAAV/uABw and AAARIUAAGAAAV/pAAX.
    I have updated both the records. Strangely for the first record, oracle is sending INVALID rowid, although for the second record its sending the valid one.
    Following is the output:
    Row 1:  (Wrong rowid being sent, AAARIUAAGAAAV/uABw is replaced with AAARIUAAGAAAXDCAAr)
    Connection information  : local=localhost.localdomain/127.0.0.1:47633, remote=localhost.localdomain/127.0.0.1:2278
    Registration ID         : 2102
    Notification version    : 1
    Event type              : OBJCHANGE
    Database name           : <sid>
    Table Change Description (length=1)
        operation=[UPDATE], tableName=<table_name>, objectNumber=70164
        Row Change Description (length=1):
          ROW:  operation=UPDATE, ROWID=AAARIUAAGAAAXDCAAr
    Row 2:  (Right rowid being sent, AAARIUAAGAAAV/pAAX)
    Connection information  : local=localhost.localdomain/127.0.0.1:47633, remote=localhost.localdomain/127.0.0.1:2278
    Registration ID         : 2102
    Notification version    : 1
    Event type              : OBJCHANGE
    Database name           : <sid>
    Table Change Description (length=1)
        operation=[UPDATE], tableName=<table_name>, objectNumber=70164
        Row Change Description (length=1):
          ROW:  operation=UPDATE, ROWID=AAARIUAAGAAAV/pAAX
    Any idea ?

Maybe you are looking for

  • Printing from iPad2 in Notes, not working

    We have several ipads being used in our office. All are printing fine from the "Notes" app except for one. Anyone know what could be wrong? It goes through all the steps correctly, looks like it's working, but nothing prints. Thanks, Doreen

  • Old Itunes library (from PC) on external hard drive - Mac won't recognise

    I feel like I've tried absolutely everything, so hopefully someone here can help. I had my Itunes library stored on an external disc. This was when I was using Itunes on a PC. It all ran fine.... Now we've upgraded to a Mac and for the life of me I c

  • Different bet Synchronous and Asynchronous

    Dear all, I've been searching in forum and this is what i understand: Asynchronous indicates that the activity is not complete until a terminating event is received . When asynchronous methods are executed , workflow does not continue to the next ste

  • Invalid Serial Number FCP1 FCS5.1 Upgrade

    My problem is similar to this http://discussions.apple.com/thread.jspa?messageID=4385305&#4385305 I'm switching over a G4 to my new Mac Pro and the Final Cut Studio 5.1 Upgrade installer takes the upgrade serial number, but when I enter the Final Cut

  • How do I find out whether I have a 32 or 64 bit version of Firefox?

    I know stupid question... but then the answer should be really easy for you to spend a minute of your time on, right?