Problem in Update using STREAMS in Ora 10g EE

Hi
I am using Oracle 10g Enterprise Edition for replicating datas after failover occurs in DB
I had followed the steps in below URL..
http://blogs.ittoolbox.com/oracle/guide/archives/oracle-streams-configuration-change-data-capture-13501
The replication is achived using streams.
INSERT,DELETE operations working fine without any issue. But UPDATE operation is not replicated immediately.
I did UPDATE and gave COMMIT, no replication. Again I did UPDATE and gave COMMIT, now only it updates the Streams table.
For every UPDATES it needs two times? Why? How to solve this?
Or Any other URL which gives working examples of Streams in 10g..
Any help regard this highly appreciated..

Thanks for ur reply..
There is no specific reason to use STREAMS..
I have to replicate the data during my properity database stated up.
We already discuss with this topic
Data Replication in after downtime
Instead of using Triggers or procedure, i have to use anyone of the technologies in Oracle 10g for DataReplication..
Can you give me more info like advantages of using DataGuard or other techologies in Oracle 10g EE .

Similar Messages

  • Toplink 11.1.1.1.0 Locking problem during update using ServerSession

    Hi,
    I m using toplink as ORM tool in my project. I have a scenario wherein I m using ServerSession and acquiring UnitOfWork. I do locking on the orm entity using following code.
    ExpressionBuilder builder = new ExpressionBuilder();
         Expression expr = builder.get("id").equal(id);
         Employee employee = (Employee )uow.readObject(Employee .class, expr);                    
    try {
              uow.refreshAndLockObject(employee, ObjectLevelReadQuery.LOCK_NOWAIT);
         } catch (Exception e){
              throw new LockedException(); //Custom exception
    The execution fails with the following error details.
    Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.3.0) (Build 070428)): oracle.toplink.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: ORA-01747: invalid user.table.column, table.column, or column specification
    Error Code: 1747
    Call:SELECT ID, UDF_VALUE_20, UDF_VALUE_21, CATEGORY FROM EMPLOYEE WHERE (ID = 20001) FOR UPDATE OF * NOWAIT
    Query:ReadObjectQuery(com.ofss.elcm.domain.ge.Liability)
         at oracle.toplink.exceptions.DatabaseException.sqlException(DatabaseException.java:290)
         at oracle.toplink.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:581)
         at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:441)
         at oracle.toplink.publicinterface.Session.executeCall(Session.java:728)
         at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:117)
         at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:103)
         at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.selectOneRow(DatasourceCallQueryMechanism.java:501)
         at oracle.toplink.internal.queryframework.ExpressionQueryMechanism.selectOneRowFromTable(ExpressionQueryMechanism.java:862)
         at oracle.toplink.internal.queryframework.ExpressionQueryMechanism.selectOneRow(ExpressionQueryMechanism.java:837)
         at oracle.toplink.queryframework.ReadObjectQuery.executeObjectLevelReadQuery(ReadObjectQuery.java:415)
         at oracle.toplink.queryframework.ObjectLevelReadQuery.executeDatabaseQuery(ObjectLevelReadQuery.java:811)
         at oracle.toplink.queryframework.DatabaseQuery.execute(DatabaseQuery.java:620)
         at oracle.toplink.queryframework.ObjectLevelReadQuery.execute(ObjectLevelReadQuery.java:779)
         at oracle.toplink.queryframework.ReadObjectQuery.execute(ReadObjectQuery.java:388)
         at oracle.toplink.queryframework.ObjectLevelReadQuery.executeInUnitOfWork(ObjectLevelReadQuery.java:836)
         at oracle.toplink.publicinterface.UnitOfWork.internalExecuteQuery(UnitOfWork.java:2604)
         at oracle.toplink.publicinterface.Session.executeQuery(Session.java:993)
         at oracle.toplink.publicinterface.Session.executeQuery(Session.java:950)
         at oracle.toplink.publicinterface.Session.refreshAndLockObject(Session.java:2632)
    However if I load the UnitOfWork using DatabaseSession it works fine and build the query like this.
    SELECT ID, UDF_VALUE_20, UDF_VALUE_21, CATEGORY  FROM EMPLOYEE WHERE (ID = 20001) FOR UPDATE NOWAIT
    Thanks in Advance.
    Srini

    Hi Chris,
    Yes you are right, databasePlatform is set in the sessions.xml. However I have created two sessions.xml one for database session and the other for server session. In both the cases the file content is same except for session name.
    database-session.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!--<?xml version="1.0" encoding="Cp1252"?>-->
    <toplink-sessions version="11g Release 1 (11.1.1.1.0)" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <session xsi:type="server-session">
    <name>database-session</name>
    <event-listener-classes/>
    <logging xsi:type="toplink-log">
    <log-level>finest</log-level>
    </logging>
    <primary-project xsi:type="xml">META-INF/employee.xml</primary-project>
    <login xsi:type="database-login">
    <platform-class>oracle.toplink.platform.database.oracle.Oracle10Platform</platform-class>
    <!--<external-connection-pooling>true</external-connection-pooling>
    --><!-- Thru Junit Testing -->
         <user-name>Test1</user-name>
                   <password>Test1</password>
    <sequencing>
    <default-sequence xsi:type="table-sequence">
    <name>Default</name>
    <preallocation-size>100</preallocation-size>
    </default-sequence>
    </sequencing>
    <!-- Thru Junit Testing -->
                   <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
                   <connection-url>jdbc:oracle:thin:@testDB:1521:ORCL</connection-url>
    <!--<datasource lookup="string">jdbc/TestDataSource</datasource>
    --></login>
    <connection-pools>
    <read-connection-pool>
    <name>ReadConnectionPool</name>
    </read-connection-pool>
    <write-connection-pool>
    <name>default</name>
    </write-connection-pool>
    </connection-pools>
    <connection-policy/>
    </session>
    </toplink-sessions>
    server-session.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!--<?xml version="1.0" encoding="Cp1252"?>-->
    <toplink-sessions version="11g Release 1 (11.1.1.1.0)" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <session xsi:type="server-session">
    <name>server-session</name>
    <event-listener-classes/>
    <logging xsi:type="toplink-log">
    <log-level>finest</log-level>
    </logging>
    <primary-project xsi:type="xml">META-INF/employee.xml</primary-project>
    <login xsi:type="database-login">
    <platform-class>oracle.toplink.platform.database.oracle.Oracle10Platform</platform-class>
    <!--<external-connection-pooling>true</external-connection-pooling>
    --><!-- Thru Junit Testing -->
         <user-name>Test1</user-name>
                   <password>Test1</password>
    <sequencing>
    <default-sequence xsi:type="table-sequence">
    <name>Default</name>
    <preallocation-size>100</preallocation-size>
    </default-sequence>
    </sequencing>
    <!-- Thru Junit Testing -->
                   <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
                   <connection-url>jdbc:oracle:thin:@testDB:1521:ORCL</connection-url>
    <!--<datasource lookup="string">jdbc/TestDataSource</datasource>
    --></login>
    <connection-pools>
    <read-connection-pool>
    <name>ReadConnectionPool</name>
    </read-connection-pool>
    <write-connection-pool>
    <name>default</name>
    </write-connection-pool>
    </connection-pools>
    <connection-policy/>
    </session>
    </toplink-sessions>
    And I m loading the xmls uring singleton java class.
    import java.io.IOException;
    import oracle.toplink.exceptions.TopLinkException;
    import oracle.toplink.sessions.DatabaseSession;
    import oracle.toplink.threetier.ServerSession;
    import oracle.toplink.tools.sessionconfiguration.XMLSessionConfigLoader;
    import oracle.toplink.tools.sessionmanagement.SessionManager;
    * This class represents the DBSessionManager. This class will be responsible
    * for creating the server session and multiple client session. The server session
    * would be loaded from sessions.xml file and the client session will be created
    * on the server session but the client session would use the external connection
    * to make the transactions, it would not use the connection that is being created
    * during loading the server session.
    * @author
    public class DBSessionManager {
    * This attribute will hold the value for DBSession Manager.
    private static DBSessionManager instance;
    * This attribute will hold the value for session file path
    private static final String SERVER_SESSIONS_XML = "META-INF/server-sessions.xml";
    private static final String DATABASE_SESSIONS_XML = "META-INF/database-sessions.xml";
    private static final String DATABASE_SESSION = "database-session";
    private static final String SERVER_SESSION = "server-session";
    * This attribute will hold the value for session file
    private String serverSessionConfigLocation = SERVER_SESSIONS_XML;
    * This attribute will hold the value for session file
    private String databaseSessionConfigLocation = DATABASE_SESSIONS_XML;
    * This attribute will hold the value for session name.
    private static final String DEFAULT_SESSION_NAME = "default";
    * This attribute will hold the value for session name
    private String sessionName = SERVER_SESSION;
    private boolean standalone = false;
    private static Session toplinkSession = null;
    * This is attribute which tell the session type<br>
    * Supported values are
    * <li> DATABASE is DatabaseSession </li>
    * <li> SERVER is ServerSession </li>
    private static final String TOPLINK_SESSION_TYPE = "TOPLINK_SESSION_TYPE";
    * Default Constructor.
    * This constructor will create the server session.
    //     private DBSessionManager() {
    // // setSessionType();
    //     toplinkSession = new Session();
    // if(standalone) {
    // toplinkSession.setDatabaseSession(buildDatabaseSession());
    // } else {
    // ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
    // toplinkSession.setServerSession((ServerSession) buildServerSession(this.configLocation, this.sessionName, classLoader));
    private DBSessionManager() {
    // setSessionType();
    toplinkSession = new Session();
    toplinkSession.setDatabaseSession(buildDatabaseSession());
    ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
    toplinkSession.setServerSession((ServerSession)buildServerSession(this.serverSessionConfigLocation, this.sessionName,classLoader));
    * This method will return the instance of DBSessionManager class.
    * @return
    public static DBSessionManager getInstance() {
    if (instance == null) {
    synchronized (DBSessionManager.class) {
    if (instance == null) {
    instance = new DBSessionManager();
    return instance;
    public boolean isStandalone() {
    return standalone;
    * This method will load the server session from the sessions.xml file.
    * @param configLocation
    * @param sessionName
    * @param sessionClassLoader
    * @return ServerSession
    * @throws TopLinkException
    private ServerSession buildServerSession(String configLocation,
    String sessionName,
    ClassLoader sessionClassLoader) throws TopLinkException {
    ServerSession serverSession =
    (ServerSession)SessionManager.getManager().getSession(new XMLSessionConfigLoader(SERVER_SESSIONS_XML),
    SERVER_SESSION,
    // Session name
    this.getClass().getClassLoader(), false, // shouldLoginSession
    false, // shouldRefreshSession
    true) // shouldCheckClassLoader
    serverSession.login();
    return serverSession;
    * Use to get server session
    * @return ServerSession
    private ServerSession getServerSession() {
    return toplinkSession.getServerSession();
    * This method is used to release client session. The client session should<br>
    * be released so that the server does not hang refusing new client session<br>
    * requests. <br>
    * It has been observed in local setups that the server hangs after firing<br>
    * 30 to 40 requests even in a single thread if the client session is not<br>
    * released.
    * @param clientSession
    public void releaseClientSession() {
    toplinkSession.releaseClientSession();
    private DatabaseSession buildDatabaseSession() {
    XMLSessionConfigLoader loader =
    new XMLSessionConfigLoader(DATABASE_SESSIONS_XML);
    SessionManager sessionManager = SessionManager.getManager();
    DatabaseSession session =
    (DatabaseSession)sessionManager.getSession(loader, DATABASE_SESSION,
    DBSessionManager.class.getClassLoader(),
    true, true, true);
    // SessionLog log = new TopLinkLog();
    // Do not change the log level here. SessionLog.FINE logs DML statements
    // and few other 'nonsenses'. DML statements are enough to debug an
    // issue. All TopLink logs are logged as debug messages by LogUtil.
    // log.setLevel(SessionLog.FINE);
    return session;
    public Session getSession() {
    return toplinkSession;
    * This method read the session type from elcm.properties and set the value for standalone attribute.<br>
    * If the session is type of database the value is true, if the session is server session the value is false.
    private void setSessionType() {
    try {
    String sessionType =
    ELCMApplicationGlobals.getInstance().getProperty(TOPLINK_SESSION_TYPE);
    if (DATABASE_SESSION.equalsIgnoreCase(sessionType)) {
    standalone = true;
    } else if (SERVER_SESSION.equalsIgnoreCase(sessionType)) {
    standalone = false;
    } catch (IOException e) {
    e.printStackTrace();
    Please review and let me know if I m missing anything or wrongly implemented.
    Thanks,
    Srini

  • Problem in updating fa_additions SQL Error: ORA-01779: cannot modify a column which maps to a non key-preserved table

    Hi,
    After using sql loader to import informations in the table fa_mass_additions and after the functionnal uses a treatment to imputate this assets, it asks me to do an update on the table fa_additions to change the value of attribute1 but i get an error
    Error report:
    ORA-01779: cannot modify a column which maps to a non key-preserved table
    ORA-06512: at line 11
    01779. 00000 -  "cannot modify a column which maps to a non key-preserved table"
    *Cause:    An attempt was made to insert or update columns of a join view which
               map to a non-key-preserved table.
    *Action:   Modify the underlying base tables directly.
    please how can i do this update?

    Hi,
    The "fa_additions" is a view, not a table.
    You should update the base table "fa_additions_b".
    Regards,
    Bashar

  • Problem in Update using last value of a duplicate row

    Hi,
    I have 2 values in a table TEST
    10 ABC
    10 DEF
    I want to get the last value i.e 10 DEF
    I want the last value i.e 10 DEF to update in the table TEST1 which has value 10 XYZ.I want to update with 10 DEF
    I have tried using :
    with t
    as
    select 10 no, 'ABC' val from dual
    union all
    select 10 no, 'DEF' val from dual
    select no, val
    from (
    select no, val, row_number() over(order by val) rno, count(*) over() cnt
    from t)
    where rno = cnt
    But i got the last row of the duplicate values but how to update the last value into TEST1
    Any help will be needful for me.

    Just update it
    update test1 t
       set val = (select val
                    from (select no, val, row_number() over(order by val) rno, count(*) over() cnt
                            from test) t1
                   where rno = cnt
                     and t.no = t1.no)
    where exists(select null
                    from (select no, val, row_number() over(order by val) rno, count(*) over() cnt
                            from test) t1
                   where rno = cnt
                     and t.no = t1.no)

  • Problem running reports using webutil in Forms 10g

    This is about 3 dll files related to webutil functionality in forms 10g
    d2kwut60.dll
    jacob.dll
    JNIsharedstubs.dll
    I am running report which is using webutil functionality. So when I try to run report, our application server try to download above dlls to my local machine on path C:\Program Files\Java\jre6\bin
    Due to security policy, our company doesn't allow write access to folder C:\Program Files\Java\jre6\bin and hence report is failing to run.
    We need solution for this issue so that we should be able to run report successfully?
    Details as below:
    Application server : Forms 10g - 10.1.2.3 ( Using Sun jre and not jinitiator). We do not want to use jinitiator
    Browser - IE8

    Curious, typically Java will store these "temporary" files in the cache not in the BIN directory. Unfortunately, the only way I know to change the location of the CACHE (temporary files) directory is through the Java Control Panel applet. Open the Control Panel and start the Java Control Panel. On the General tab click the Settings... button in the Temporary Internet Files section. In the Location section - click the Change button which will bring up a "Temporary Files Location" dialog box. Simply navigate to a directory that your security policy will allow files to be written too.
    The ideal solution would be to push this type of change out to all of your users rather than have to manually change each workstation. I don't know if there is a way to push this change out, but you can check the Java website for more information.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Downloading updates using Satellite broadband

    I have recently moved "out bush" and now have to use a Activ8 satellite connection. When downloading updates I get a message that the digital signal is incorrect and may have been tampered with or corrupted since being signed by Apple. Whenever I return to the city I have no problem downloading updates using cable broadband. The satellite company were unable to assist. It would be great if anyone can suggest what the issue may be and a solution.

    Does the satellite broadband service provider have a support website with user discussions such as these? Fellow users are generally much more helpful than tech support! Also have you done an internet search as well?
    A quick search turned this up:
    http://forums.whirlpool.net.au/forum-replies-archive.cfm/1102830.html
    http://forums.whirlpool.net.au/forum-threads.cfm?f=67
    Good luck,
    Steve M.
    Message was edited by: Steve M.
    Message was edited by: Steve M.

  • Hi can anybody help please. I am having terrible problems trying to use my Nikon D7100 to tether. I have downloaded the latest Lightroom updates and also checked my firmware which is also the latest avaiable and still Lightroom wont detect my camera!

    Hi can anybody help please. I am having terrible problems trying to use my Nikon D7100 to tether. I have downloaded the latest Lightroom updates and also checked my firmware which is also the latest avaiable and still Lightroom wont detect my camera!. When I use a friends Canon camera it works every time!

    Hi Keith thanks for your reply I have Lightroom 5.7.1 64 bit and my Nikon's firmware is version 1.02

  • Problem in Update statement using Execute Immediate

    Hi All,
    I am facing problem in update statement.
    I am creating dynamic sql and use "execute immediate" statement to execute a update statement.
    But it is not updating any thing there in the table.
    I have created a query like :
    update_query='Update '|| Table_Name ||' t set t.process_status =''Y'' where t.tid=:A';
    Execute immediate update_query using V_Id;
    commit;
    But it is not updating the table.
    I have a question , is execute immediate only does insert and delete?
    Thanks
    Ashok

    SQL> select * from t;
                     TID P
                     101 N
    SQL> declare
      2     V_Id          number := 101;
      3     Table_Name    varchar2(30) := 'T';
      4     update_query  varchar2(1000);
      5  begin
      6     update_query := 'Update '|| Table_Name ||' t set t.process_status =''Y'' where t.tid=:A';
      7     Execute immediate update_query using V_Id;
      8     commit;
      9  end;
    10  /
    PL/SQL procedure successfully completed.
    SQL> select * from t;
                     TID P
                     101 Y                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • HT201210 nowadays have many user have problem with update to ios7 and need active with apple id maybe in the future in order escape from these problems must be stop use these products else. Because of simple user don't know about this technology and somet

    nowadays have many user have problem with update to ios7 and need active with apple id maybe in the future in order escape from these problems must be stop use these products else. Because of simple user don't know about this technology and sometime just hear from other user that it 's difficult to use then force they change phone that use to handle to another.

    It is a feature to discourage the theft of iPhones by making them useless if resold. It's not going anywhere. It's simple: just don't buy a phone until you make sure that the activation lock has been disabled.

  • Problem to update UDO-recordsets using a matrix with DBDataSource

    Hello,
    I've got a problem with updating recordsets in an UDO-Table using DBDataSource.SetValue().
    Special szenario: I use a matrix bounded with DBDataSources. Adding new records and loading them via DBDataSource.Query() with conditions works fine. The UDO object type is "Document" without lines.
    In the simple way now I load just one record and after this I was trying to set an "message" to an simple, editable edittext-column via calling:
    oDBDataSource.SetValue("U_Message", 0, "Hello world");
    oMatrix.LoadFromDataSource();
    Now it's visible in the matrix.
    But when I call update via clicking the update-button, B1 do say, everything was ok (green status-message). Reloading this recordset you can see: it was not stored in the database
    Even not after:
    oMatrix.FlushToDataSource();
    As a workaround I do write the "message" via using Cell.Specific.
    Can anybody help me?
    I'am using SBO 2005 A SP 01 PL 39
    Edited by: Christian Bührig on Mar 18, 2008 4:48 PM

    look at
    New Row in Matrix is a Duplicate and Cannot update Object with new Row
    the next way is do it with recordset and directly insert to table.
    hope it helps
    Petr

  • Hi I am using MAC OS Yosemite10.10.3 and I have a problem to update my photoshopCC cause of error U43M1D204 eventhough I have deleted AAm Updater/1.0/ but It still not worked.  How can I fix it.

    Hi, I am using MAc OS 10.10.3 and I have a problem to update my photoshopCC because of error U43M1D204.  I have deleted AAm Updater/1.0/ but it still not worked.  How can I fix it please help.

    I too have only recently encountered this problem. I have been able to burn disks before but it keeps making all these weird sounds. It might be a hardware problem but the fact that everything else that uses a disk works I doubt it.

  • Problem with update of BLOB field in a table with compound primary key

    Hi,
    I've been developing an application in Application Express 3.1.2.00.02 that includes processing of BLOB data in one of the tables (ZPRAVA). Unfortunately, I've come across a strange behaviour when I tried to update value in a BLOB field for an existing record via a DML form process. Insert of a new record including the BLOB value is OK (the binary file uploads upon submiting the form without any problems). I haven't changed the DML process in any way. The form update process used to work perfectly before I'd included the BLOB field. Since than, I keep on getting this error when trying to update the BLOB field:
    ORA-20505: Error in DML: p_rowid=3, p_alt_rowid=ID, p_rowid2=CZ000001, p_alt_rowid2=PR_ID. ORA-01008: not all variables bound
    Unable to process row of table ZPRAVA.
    OK
    Some time ago, I've already created another application where I used similar form that operated on a BLOB field without problems. The only, but maybe very important, difference between both the cases is that the first sucessfull one is based on a table with a standard one-column primary key whereas the second (problematic one) uses a table with compound (composite) two-column PK (two varchar2 fields: ID, PR_ID).
    In both cases, I've followed this tutorial: [http://www.oracle.com/technology/obe/apex/apex31nf/apex31blob.htm]).
    Can anybody confirm my suspicion that Automatic Row Processing (DML) can be used for updating BLOB fields within tables with only single-column primary keys?
    Thanks in advance.
    Zdenek

    Is there a chance that the bug will be included in the next patch?No, this fix will be in the next full version, 3.2.
    Scott

  • Problem in updates  optimizer

    Hi All,
    I am facing a problem in updates  optimizer while runing through db13 but it is runing successfully at os lavel.
    Log is given below :
    18.01.2008     17:48:18     Job started
    18.01.2008     17:48:18     Step 001 started (program RSDBAJOB, variant &0000000002580, user ID JITENDRA)
    18.01.2008     17:48:18     Execute logical command BRCONNECT On host bslprtl
    18.01.2008     17:48:18     Parameters:-u / -jid STATS20080118174818 -c -f stats -t PSAPPRD
    18.01.2008     17:48:19     ld.so.1: brconnect: fatal: libclntsh.so.10.1: open failed: No such file or directory
    18.01.2008     17:48:19     Process died due to signal 9
    18.01.2008     17:48:19     Job finished
    Kindly help how to resolve this issue.....
    Regards,
    Jitendra Tiwari

    hi,
    to Jitendra:
    > I am facing a problem in updates optimizer while runing through db13 but it is runing successfully at os lavel.
    As which user have you executed the update statistics at OS level?
    Have you installed the oracle 10g instantclient as indicated on the SAP notes?
    what are your environment variables ofr the user <SID>adm?
    to kaushal:
    >The libclntsh.so.10.1 file is in the /export/home/oracle10g/lib32 directory which is specified in "Native Library Path Suffix"
    1) That would be on your system.
    2) That is the oracle client shared library, but SAP recommends to install the INSTANTCLIENT, and it will NOT be on the mentioned directory, even in YOUR system. BRCONNECT is looking for the instantclient not for the "normal" client.
    Please, check note 819829 Oracle Database 10g: Instant Client 10.x on Unix where it is explained
    to Eric:
    >if you are using Oracle 9i, then use the BR*tools made for Oracle 9.
    It is possible to use BRCONNECT 700 with Oracle 10g 9i, but I prefer to run BRCONNECT 640 with 9i as it can be complicated to set all variables.
    Edited by: Fidel Vales on Jan 18, 2008 3:04 PM

  • Use Oracle RAC Database 10g on SunOS nova 5.9

    Hello!
    We use Oracle RAC Database 10g Enterprise Edition Release 10.1.0.5.0 - 64bit that consist of two nodes on SunOS nova 5.9 Generic_117171-17 sun4u sparc SUNW,Sun-Fire-V440.
    Connection string as follows:
    jdbc:oracle:thin:@(DESCRIPTION=(LOAD_BALANCE=ON)(ADDRESS=(PROTOCOL=TCP)(HOST=host1)(PORT=1521))(ADDRESS=
    (PROTOCOL=TCP)(HOST=host2)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=proddb))).
    Clustered Java application performs direct JDBC INSERT of record into database throw oracle.jdbc.pool.OracleDataSource.
    Table got the following fields:
    FIELD1 VARCHAR2(100 BYTE) NOT NULL,
    FIELD2 VARCHAR2(100 BYTE) NOT NULL,
    FIELD3 VARCHAR2(100 BYTE) NOT NULL,
    FIELD4 VARCHAR2(100 BYTE),
    FIELD5 VARCHAR2(100 BYTE),
    FIELD6 VARCHAR2(100 BYTE),
    FIELD7 INTEGER,
    FIELD8 BLOB,
    FIELD9 BLOB
    Approx in 60 milliseconds another application node performs SELECT of that record, which return void result. However next SELECT returns needed result.
    Defect is occurs with 50% probability.
    Whether problem is connected with defect in Oracle RAC/JDBC Driver?
    Thanks in advance!

    RAC propogates commit messages using a method which piggy-backs on the next available inter-instance message. I think it's called the Lampart Method, but anyways .... it means you have an uncontrollable delay between committed data in your two instances.
    Look at the init.ora parameter max_commit_propagation_delay, and consider setting it to 0. The parameter is briefly described in the Oracle Reference Guide.
    cheers,
    -Mark
    www.remidata.com/book_nuts2soup.htm

  • Problem whit Update Operation, Error UPDATE_ROW_CONFLICT with Oracle DB

    Hello friends!, I have a problem whit UPDATE Operation with a Oracle DataBase, but it is rare because it works in "Java Sun Application Server" and not in Tomcat (5.5.12) , displaying the following error:
    "Error :Number of conflicts while synchronizing: 1 SyncResolver.UPDATE_ROW_CONFLICT row 5 values changed in database"
    part of the file log:
    "SEVERE: Error Description
    java.lang.RuntimeException: Number of conflicts while synchronizing: 1 SyncResolver.UPDATE_ROW_CONFLICT row 5 values changed in database
         at com.sun.data.provider.impl.CachedRowSetDataProvider.commitChanges(CachedRowSetDataProvider.java:878)
         at ido02004.EditPerson.saveButton_action(EditPerson.java:519)
    For any change of columns for table in Data Base.
    The code used in the page (EditPerson.jsp) is:
    public void init() {
    Object pid = getSessionBean1().getCurrentPersonId();
    RowKey personRowKey = ido_personsDataProvider.findFirst("PERSON_ID", pid);
    ido_personsDataProvider.setCursorRow(personRowKey);
    public String saveButton_action() {
    try {
    ido_personsDataProvider.setValue("USER_ID", userDD.getSelected());
    ido_personsDataProvider.setValue("STATUS", statusDD.getSelected());
    ido_personsDataProvider.setValue("NAME", name.getValue());
    ido_personsDataProvider.setValue("FUNCTION", function.getValue());
    ido_personsDataProvider.setValue("ADDRESS", address.getValue());
    ido_personsDataProvider.setValue("EMAIL", email.getValue());
    ido_personsDataProvider.setValue("PHONE", phone.getValue());
    ido_personsDataProvider.setValue("VALUATION", valuation.getValue());
    ido_personsDataProvider.commitChanges();
    catch (Exception ex) {
    log("Error Description", ex);
    error("Error :"+ex.getMessage());
    return null;
    Please, Some idea of why gives the error? Help!
    Thanks in advance!
    Ren�
    P.D. Excuse my English.

    Hi All!
    New Info:
    System.out.println(" date created : "+ido_personsDataProvider.getValue("DATE_CREATED"));
    System.out.println(ido_personsDataProvider.getCachedRowSet().getMetaData().getColumnClassName(13));When these lines are printed in Java Sun Application Server for JSC show this:
    [#|2006-05-05T17:12:50.264-0500|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
    date created : 2006-04-24 00:00:00.0|#]
    [#|2006-05-05T17:12:50.264-0500|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.stream.out|_ThreadID=15;|
    java.sql.Timestamp|#]
    When these lines are printed in Tomcat show this:
    date created : 2006-04-24
    java.sql.Timestamp
    Why? the values of this date is different in one or another server. Problem of driver JDBC? I use driver: to ojdbc14.jar, in Tomcat for the connection to the BD Oracle. Maybe this originates error UPDATE_ROW_CONFLICT...
    Please, any idea?
    Thanks!

Maybe you are looking for

  • Broken DVD Drive on my Satellite M35x laptop

    Hi, the CD-DVD Drive on my Satellite Laptop apparently is broken and I was thinking about purchasing an external CD-DVD Drive and would appreciate HELP. In the event that I need to RE-Install Windows, would I be able to do this with an External CD Dr

  • Can't create new Mobile App on preview portal

    Hi all, I'm really excited about the new Mobile App feature in the preview portal and want to get started on something. I went to the portal, clicked in to create a new Mobile App and entered the name and service plan then clicked create. The dots st

  • 8600 multiple page scan

    I have an 8600.  If I can multiple pages it scans each page as a separate file.  If I click on the "combine into a single document", then it keeps adding pages to every scan I have done previously and keeps building that file. How do I start over and

  • Scheduling Multiple Reports at Once

    Is it possible to schedule multiple reports at once - so if I have a set of 40 reports that make up a financial close book, can I just schedule the book? Thanks, Chris

  • L3 vpn and VPLS on same SVI.

    Hi, Can anyone help me with this query? I am trying to connect a CE router with two redundant links to two seperate PEs. I need spanning tree to be run between the PEs for the resilence and failover so was thinking VPLS, but also need the CE to conne