• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Communication between WO Applications
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Communication between WO Applications


  • Subject: Re: Communication between WO Applications
  • From: Timo Hoepfner <email@hidden>
  • Date: Tue, 7 Sep 2010 21:23:13 +0200

### Basic setup:

#########################################################################
# ERX Remote Synchronizer
#########################################################################
## To use remote EOF synchronization, you must turn on the
## ERXObjectStoreCoordinatorPool.  Just setting it to 1 is enough to
## allow things to work.
er.extensions.ERXObjectStoreCoordinatorPool.maxCoordinators=1

## Enables remote synchronization (required in addition to ERXObjectStoreCoordinatorPool).
er.extensions.remoteSynchronizer.enabled=true

#########################################################################
# ERJGroupsSynchronizer
# This synchronizer is based on the JGroups clustering framework, which
# is the clustering framework used inside of JBoss (among many other
# applications).  You must include the ERJGroupsSynchronizer framework
# in your application for this to work properly.
#########################################################################
er.extensions.remoteSynchronizer=er.jgroups.ERJGroupsSynchronizer

### The above is enough to get things going. Advanced Setup:

### AFAIK this didn't make a difference on OS X last time I checked, but it matters on e.g. Linux
## (Optional) the multicast address to use (defaults to 230.0.0.1, and only necessary if you are using multicast)
#er.extensions.jgroupsSynchronizer.multicastAddress=230.0.0.1

### Change this to some unused port for the group when you get "Discarded packet from..." messages in the logs
## (Optional) the multicast port to use (defaults to 9753, and only necessary if you are using multicast)
#er.extensions.jgroupsSynchronizer.multicastPort=9753

### Limit to localhost when deploying all instances on the same server
## (Optional) The local bind address defines the network interface that will be used
## to transmit and receive multicast messages.  If not set, multicast synchronizer
## will use WOApplication.application().hostAddress().  If you want to run outside
## of a WOApplication, you should set this value explicitly.
er.extensions.jgroupsSynchronizer.localBindAddress=127.0.0.1

### Set this if you have differently named apps that use the same Model&DB (e.g. MyFrontend.woa and MyBackend.woa)
## (Optional) the JGroups group name to use (defaults to WOApplication.application.name)
er.extensions.jgroupsSynchronizer.groupName=SomeGroupName

## (Optional) A comma separated list of entities to multicast synchronize.  The
## default is to not set this, which translates into "include all entities".
#er.extensions.remoteSynchronizer.includeEntities=

## (Optional) A comma separated list of entities to NOT multicast synchronize.  The
## default is to not set this, which translates into "exclude no entities".
#er.extensions.remoteSynchronizer.excludeEntities=

HTH,

Timo

Am 07.09.2010 um 20:57 schrieb Kalpana Vaka:

> Hi All,
>
> I have two WebObjects applications A and B. Application-A inserts some records into database. Application-B needs to use the data added from Application-A. If both the applications are running, the data added from Application-A is not coming in Application-B immediately. If I restart the application, then I am able to see the new data.
>
> I am trying to use ERJGroupSynchronizer.framework.What are the properties to be used to resolve the issue?
>
> Thanks in advance.
>
> -- Kalpana.
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-deploy mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Communication between WO Applications (From: Kalpana Vaka <email@hidden>)

  • Prev by Date: Re: SSL
  • Next by Date: Re: WOWODC 2010 recordings
  • Previous by thread: Communication between WO Applications
  • Next by thread: apache vs. tomcat (or glassfish)
  • Index(es):
    • Date
    • Thread