[OFBiz] Users - RMI / database shared / disconnected operation
/ sync
Si Chen
schen at graciousstyle.com
Wed Sep 29 11:07:54 EDT 2004
The former is in entityengine.xml. The second is in general.properties.
In my experience, each instance will do its own caching. They will run
as completely independent instances.
As for RMI synchronization, try looking in the entityext component and
the services.xml. They have an rmi service at the bottom for
synchronizing entities between two ofbiz instances. Setting up ofbiz
for remote synchronization is pretty easy--you just have to put in the
ip address of the remote machine, and it will go look for it. The
problems I've had mostly relate to RMI itself. Also, make sure both
instances have the same admin username/password.
Good luck!
Si
Michael Kuefner wrote:
>Hi Si,
>
>On Tue, Sep 28, 2004 at 10:00:55AM -0700, Si Chen wrote:
>
>
>>I am running two production instances against a single database. It is
>>quite easy to set up. You would have the same database referenced in
>>your entityengine.xml [..]
>>
>>
>
>Thats nice.
>I tried this with ofbiz in version 2 and there had been some problems.
>
>Could you give us a hint where the configuration for
>sequence-id-prefix and instance-name of JobSandbox is done?
>
>
>The only thing a ask myself is what happens with inconsistency?
>Objects in cache should also be updated (like a distributed cache).
>
>Whats your experience with that?
>
>
>
>
>
>
>>In terms of rmi synchronization, you can do that as well if you wish,
>>and I have gotten it to work as well. The advantage is you will have
>>two completely separate instances running off separate databases and
>>synchronize them, either with scheduled jobs or with a command to do it
>>at your discretion.
>>
>>
>
>Do you have an example, how to set up such a syncronisation?
>
>
>
>
>
>>Also, be aware that both sides of RMI must have public IP addresses
>>--I do not believe you can get RMI to hop over a firewall.
>>
>>
>
>But you can do some private network between both machines.
>Have a look at daemons like cipe for the firewall.
>
>
>
>
> Minni
>
>
>
More information about the Users
mailing list