[OFBiz] Users - remoteStoreEntitySyncDataHttp
Si Chen
schen at graciousstyle.com
Fri Aug 6 13:05:12 EDT 2004
Hi David,
I think RMI transport is the better way to go, and I was able to get it
to work. However, the problem that I am having is getting it to go over
a firewall, from a remote to a local server behind the firewall.
Our network's public ip address is 68.65.195.207, and within the
firewall, our ofbiz instance is running at 192.168.1.100. From the
remote server, it has to call 68.65.195.207, and the firewall router can
route the rmi port to 192.168.1.100. However, java requires a hostname
parameter to tell it what the IP address of the RMI recipient is. If I
set it it to 192.168.1.100 which is the machine's local IP, RMI calling
it from the server won't be able to find it. If I set it to
68.65.195.207, then jotm/objectweb won't be able to start--it'll say
that it can't find the rmi server it needs. If I set carol.properties
to 68.65.195.207, then jotm complains that it can't rebind to a
different address.
Ugh.
So I think maybe we'll have to resort http transport. What do you
think? Is there any other way to get RMI over a firewall?
Thanks!
Si
David Jones wrote:
>
> In general if you can use the RMI transport layer we definitely
> recommend it. It is much more efficient as it is a binary format, and
> it is compressed. The HTTP transport is text-based, but because it is
> text-based and it runs over HTTP it can more easily go through
> firewalls or be intercepted and translated if needed (generally not
> the case with an entity sync through).
>
> -David
>
>
> On Aug 5, 2004, at 6:56 PM, Si Chen wrote:
>
>> Hello Dave & Andy,
>>
>> Is anybody using this remoteStoreEntitySyncDataHttp service? Would
>> you recommend using it in lieu of remoteStoreEntitySyncDataRmi for
>> transferring data between two instances?
>> Si
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe at ofbiz.dev.java.net
>> For additional commands, e-mail: users-help at ofbiz.dev.java.net
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at ofbiz.dev.java.net
For additional commands, e-mail: users-help at ofbiz.dev.java.net
More information about the Users
mailing list