Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.tools -> Re: Oracle Replication Problem...

Re: Oracle Replication Problem...

From: Daniel A. Morgan <dmorgan_at_exesolutions.com>
Date: Sat, 21 Jul 2001 21:46:20 GMT
Message-ID: <3B14889C.19ACD6C7@exesolutions.com>

"(¯`·.¸¸.·´¯`·.¸¸.-> Rain Boy" wrote:

> 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

Thank you for cross-posting to every newsgroup you can spell.

Daniel A. Morgan Received on Sat Jul 21 2001 - 16:46:20 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US