Menu

#835 Replication if Order/Invoice Tax

R2.5.0
closed-fixed
5
2004-01-07
2003-11-18
No

We havent implemented compiere... We have
been doing a lot of customization on the
screens... We are actually done... However..
I finally get to the point on testing the
Replication of Database..

And guess what... It didnt work... I HAVE
INCLUDED BOTH LOGS... Server and Client
(Remote) Hope you Understand what I have done..

So far... We are still working with Compiere.. No
implementation has been done. We are close... the
Implementation of Compiere is almost 98% just a
couple of things are still missing...

The critical one so far... is Replication... We havent
been able to make it work.... we are working with
Compiere version D.

Client

Intel Pentium 4 2.6 512 memoria
Sistema Operativo: Linux
Versión Oracle: 92i
Compiere: 250d
Java=1.4.2

Server
Intel Pentium 4 2.4 512 memoria
Sistema Operativo: WinXP
Versión Oracle: 92i
Compiere: 250d
Java=1.4.2

Central System:
– setup system with all organizations, roles, etc.

compiere.dmp database was imported for versión
250d

– run the migration to make sure that it is up-to-
date

We didnt do any migration seens we are testing the
latest version

– export the central system

we used RUN_ImportCompiere.sh

Remote System:
– install the exact version as Central System

we imported the same version compiere.dmp for
versión 250d as the Central System

– import data from Central System in the remote
locations

we used RUN_ImportCompiere.sh of compiere.dmp

Central System:
– Define Replication per Remote

we define a Replication for the remote.

– Make sure that the ID range is unique per remote -
otherwise you will loose transactions

OK... we checked that there was no conflict with
this.

– Initially Start the Replication Run to setup Remote

The first replication didnt throw any Errors
everything look ok so far...

HOWEVER*********************

** Enter Transactions **

We created a New Sales Order for a defined Product
This Sales Order was completed starting with the
Payment and then the shipment

Central System
– Start the Replication Run when required
–

HERE IS WHERE WE GOT THE ERRORS...

Discussion

  • Raul Alvarez

    Raul Alvarez - 2003-11-18

    Logs Client and Server

     
  • Kathy Pink

    Kathy Pink - 2003-11-18
    • assigned_to: kmpink --> jjanke
     
  • Jorg Janke

    Jorg Janke - 2003-11-19

    Logged In: YES
    user_id=87038

    Issue #1 - Tax created via trigger and then merged.

    Issue #2 -
    java.lang.IllegalArgumentException: Env.getContext - require
    Context
    at org.compiere.util.Env.getContextAsInt
    (Env.java:425)
    at org.compiere.model.PO.saveUpdate(PO.java:1092)
    at org.compiere.model.MSystem.save
    (MSystem.java:82)
    at
    org.compiere.process.ReplicationRemote.setupRemoteAD_Syst
    em(ReplicationRemote.java:150)
    at
    org.compiere.process.ReplicationRemote.setupRemote
    (ReplicationRemote.java:107)

    ... investigating

     
  • Jorg Janke

    Jorg Janke - 2003-11-19
    • milestone: --> 312350
    • status: open --> open-accepted
     
  • Jorg Janke

    Jorg Janke - 2003-11-20

    Logged In: YES
    user_id=87038

    Issue #2 is fixed in this nightly build.

     
  • Jorg Janke

    Jorg Janke - 2003-11-21
    • summary: Replication DB --> Replication if Order/Invoice Tax
    • labels: 362041 -->
    • milestone: 312350 -->
    • assigned_to: jjanke --> nobody
     
  • Jorg Janke

    Jorg Janke - 2003-11-22
    • labels: --> * Other Functionality
    • assigned_to: nobody --> jjanke
     
  • Jorg Janke

    Jorg Janke - 2003-11-22
    • milestone: --> R2.5.0
     
  • Raul Alvarez

    Raul Alvarez - 2003-11-23

    Logged In: YES
    user_id=655284

    I downloaded the latest version 250e from the CVS compiled
    and tested the Replication. We couldnt even pass thru the
    replication screen .. We got an error... I am including
    another Log file Plus the Screenshot of the error received.
    Hope this helps you.. We need to fix this soon in orther
    for us to test how reliable the replication will be to cuts
    in the Internet Service while replicating the db or downtime
    of the remote server. What will happen in such cases

     
  • Raul Alvarez

    Raul Alvarez - 2003-11-23

    Logged In: YES
    user_id=655284

    Cannot reproduce - Please provide the following information:
    1) What did you intend to do?
    2) What steps did you take?
    3) What were the system reactions?

    Please enable tracing (by adding -debug as a parameter) and add
    trace information.

     
  • Raul Alvarez

    Raul Alvarez - 2003-11-23
     
  • Raul Alvarez

    Raul Alvarez - 2003-11-23
     
  • Jorg Janke

    Jorg Janke - 2004-01-07
    • status: open-accepted --> closed-fixed
     
  • Jorg Janke

    Jorg Janke - 2004-01-07

    Logged In: YES
    user_id=87038

    DO NOT REOPEN CLOSED BUGS.

     

Log in to post a comment.