Oracle Replication Problem...

From: (wrong string) ¯`·.¸¸.·´¯`·.¸¸.-> Rain Boy <"\>
Date: Sat, 21 Jul 2001 21:45:48 GMT
Message-ID: <KyMQ6.5734$HK.395913_at_news.infostrada.it>


[Quoted] I'm tryng to use the oracle replication features using Java REPAPI. but I'm not able to use fast replication.
here is the source code and the output obtained:



  • This is the Java Source Code: *** import java.io.*; import oracle.lite.jrc.*;

class JRCEX {

    public static void main(String[] args) {   try {
   POLRep8 obj = new POLRep8();

   System.out.println("initialize...");
   obj.initialize((short)0, 3, 0, "");

   System.out.println("masterConnectionOpen...");    obj.masterConnectionOpen("UTENTE", "UTENTE", "ISTANZA_REMOTA");

   System.out.println("snapshotConnectionOpen...");    obj.snapshotConnectionOpen("system", "", "DB_LOCALE");

   System.out.println("snapshotGroupReset...");    obj.snapshotGroupReset();

   obj.snapshotGroupAdd("UTENTE", "TABELLA", (short)0); // <-- se usiamo 2 come parametro funziona ma scarica tutto il DB

   System.out.println("snapshotGroupRefresh...");    obj.snapshotGroupRefresh(false);

   System.out.println("masterConnectionClose...");    obj.masterConnectionClose();

   System.out.println("snapshotConnectionClose...");    obj.snapshotConnectionClose();
  } catch (POLRepException e) {
   System.out.println(e.getError());
   System.out.println(e.getMessage());
  }
 }
}



  • This is the output: *** E:\>java JRCEX initialize... masterConnectionOpen... snapshotConnectionOpen... snapshotGroupReset... snapshotGroupRefresh... -26515 REPAPI-26515: no master log available for 'UTENTE.TABELLA'

E:\>



it seem oracle it's not able to found the Log table, even if it exists.

the system is:

Oracle Enterprise V.8.0.1.6
Oracle Lite 4 Received on Sat Jul 21 2001 - 23:45:48 CEST

Original text of this message