Use of Singleton property in DB adapter

In clustered environments when we deploy a composite which is using a DB adapter pooling.

DB Adapter starts polling Staging table(EMP) in parallel with the interval. Both the servers in the Cluster are starts initiating DB Adapter instances in parallel and if we increase the servers form 2 to 3. The same way three instances of pooling components started.

For resolving this issue we need to set the singleton property in composite.

We have to set the Singleton Property in composite.xml

<binding.jca config=”binding_db.jca”>
<property name=”singleton”>true</property>

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s