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...
Logs Client and Server
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
Logged In: YES
user_id=87038
Issue #2 is fixed in this nightly build.
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
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.
Logged In: YES
user_id=87038
DO NOT REOPEN CLOSED BUGS.