8.4 Configured Reference Configuration Domain Settings

Use the following tables as a reference for the configured Reference Configuration domain settings:
The Reference Configuration domain default settings are good for most scenarios. However, you may see errors that require the tuning of the Oracle SOA-specific SOADataSource connection pool size (default value of 150) and the database processes (default value of 1500) parameters to support heavy loads. For example:
  • No resources currently available in pool SOADataSource to allocate to applications
  • TNS:listener does not currently know of service requested in connect descriptor

When increasing the processes parameter value, ensure that the database host can support this change. Otherwise, it may cause the database to crash with out-of-memory errors.

Oracle WebLogic Settings

The following table lists the configured Reference Configuration domain settings for Oracle WebLogic.

Table 8-1 Oracle WebLogic Settings

Parameter

Configured Value

Description and Configuration

JTA timeout

120

The transaction timeout value is in seconds. If the transaction is in active state after this time (counting from begin()), it is rolled back.

If the transaction moves to prepared state, the timeout parameter does not apply and the transaction is retried until all the resources are committed.

See Configure domain JTA settings in Administering Oracle WebLogic Server with Fusion Middleware Control.

Http Logging

Use Extended Log Setting

Extended log format allows you to customize the information that is recorded. You can set the attributes that define the behavior of HTTP access logs for each server instance or for each virtual host that you define.

See Setting Up HTTP Access Logs by Using Extended Log Format in Administering Server Environments for Oracle WebLogic Server.

Oracle Technology Adapters Settings

The following table lists the configured Reference Configuration domain settings for Oracle Technology Adapters.

Table 8-2 Oracle Technology Adapters Settings

Parameter Configured Value Description and Configuration
Connection Pool Configurations

All adapters initial-capacity:0

Database Adapter initial-capacity:1

File Adapter max-capacity:1000

FTP, JMS, AQ, and MQ Adapters max-capacity:200

Database Adapter max-capacity:300

All adapters shrink-frequency-seconds:60

See Creating a Connection Pool in Understanding Technology Adapters.

Thread Configuration for inbound adapters

File/FTP Adapter (JCA) : ThreadCount=-1

MQ Adapter (JCA): InboundThreadCount=1

Database Adapter (JCA): NumberOfThreads=1

JMS Adapter (Binding Property): adapter.jms.receive.threads:1

AQ Adapter (Binding Property): adapter.aq.dequeue.threads=1

For the properties marked JCA, set the configuration in the JCA file.
  • File Adapter: <property name="ThreadCount" value="-1"/>
  • MQ Adapter: <property name="InboundThreadCount" value="1"/>
  • Database Adapter: <property name="NumberOfThreads" value="1"/>
For the properties that are marked Binding Property, set as binding properties in composite.xml in Oracle SOA Suite or as Dynamic Endpoint Properties in Oracle Service Bus. For example:
<service name="Inbound"> 
<interface.wsdl interface="http://xmlns...#wsdl.interface Inbound_PortType)"/> 
<binding.jca config="Inbound_jms.jca"> 
<property name="adapter.jms.receive.threads">1</property> 
</binding.jca> 
</service>
Single Poll Cycle in JMS Adapter adapter.jms.SinglePollCycle=true
Set as Binding Property for Oracle SOA Suite in composite.xml in Oracle SOA Suiteor as Dynamic Endpoint Properties in Oracle Service Bus. For example:
<service name="Inbound"> 
<interface.wsdl interface="http://xmlns...#wsdl.interface Inbound_PortType)"/> 
<binding.jca config="Inbound_jms.jca"> 
<property name="adapter.jms.SinglePollCycle">truee</property>
</binding.jca> 
</service>
Set MaxTransactionSize and MaxRaiseSize in Oracle Database Adapter

MaxRaiseSize=1

MaxTransactionSize=10

Set in the JCA file for the Database Activation Spec (inbound).
<property name="MaxRaiseSize" value="1"/>
<property name="MaxTransactionSizee" value="10"/>

PublishSize and ChunkSize for Oracle File and FTP Adapters

PublishSize=1

ChunkSize=1000

Configured in inbound File and FTP Activation Spec as JCA property as part of debatching. For example:
<property name="PublishSize" value="1"/>
See  File Debatching in Understanding Technology Adapters.
ChunkSize is configured when used with File or FTP Adapter Chunked Interaction Feature. For example:
<property name="ChunkSize" value="1000"/>
See File ChunkedRead and Oracle File Adapter Chunked Read in Understanding Technology Adapters.

Inbound Retries

jca.retry.count=5

jca.retry.interval=2

jca.retry.backoff=2

Set as Binding Property in composite.xml in Oracle SOA Suite or as Dynamic Endpoint Property in Oracle Service Bus. For example:
<service name="Inbound"> 
<interface.wsdl interface="http:// xmlns...#wsdl.interface(Inbound_PortType)"/> 
<binding.jca config="Inbound_db.jca"> 
<property name="jca.retry.count">5</property> 
<property name="jca.retry.interval">2</property> 
<property name="jca.retry.backoff">2</property> 
</binding.jca> 
</service>

Domain Level Settings

The following table lists the configured domain level Reference Configuration domain settings.

Table 8-3 Domain Level Settings

Parameter Configured Value Description and Configuration

XX:+HeapDumpOnOutOfMemoryError

-XX:+HeapDumpOnOutOfMemoryError

Tells the Java HotSpot VM to generate a heap dump when an allocation from the Java heap is not enough. As this option does cause any issues, you can use it for production systems where the OutOfMemoryError exception takes a long time to surface.

Set in MW_HOME/soa/common/bin/setSOARefConfigEnv.sh (.cmd for Windows).

+UnlockCommercialFeatures

-XX:+UnlockCommercialFeatures

Used to unlock commercial features.

Set in MW_HOME/soa/common/bin/setSOARefConfigEnv.sh (.cmd for Windows).

-Xms -Xmx

8g (Managed servers)

Flag Xmx specifies the maximum memory allocation pool for a Java virtual machine (JVM), while Xms specifies the initial memory allocation pool. Setting this enables your JVM to start with Xms amount of memory and can use a maximum of Xmx amount of memory.

Set in MW_HOME/soa/common/bin/setSOARefConfigEnv.sh (.cmd for Windows).

-Xms -Xmx

4g (Admin Server)

Flag Xmx specifies the maximum memory allocation pool for a Java virtual machine (JVM), while Xms specifies the initial memory allocation pool. Setting this enables your JVM to start with Xms amount of memory and can use a maximum of Xmx amount of memory.

Set in MW_HOME/soa/common/bin/setSOARefConfigEnv.sh (.cmd for Windows).

-Dweblogic.http.client.defaultReadTimeout

60000

Specifies the default read timeout for the protocol handler used by WebLogic URLConnection.

Set in MW_HOME/soa/common/bin/setSOARefConfigEnv.sh (.cmd for Windows).

-Dweblogic.http.client.defaultConnectionTimeout

5000

Specifies the default connect timeout for the protocol handler used by WebLogic URLConnection.

Set in MW_HOME/soa/common/bin/setSOARefConfigEnv.sh (.cmd for Windows).

-DHTTPClient.socket.connectionTimeout

5000

This property is a Fusion Applications Configuration rule for HTTPClient.socket.connectionTimeout. It sets the HTTP client connection timeout in milliseconds until the connection is established.

Set in MW_HOME/soa/common/bin/setSOARefConfigEnv.sh (.cmd for Windows).

-Dweblogic.security.SSL.minimumProtocolVersion

TLSv1.2

At the start of the SSL handshake, the SSL peers determine the highest protocol version both peers support. However, you can configure WebLogic Server to limit the lowest supported versions of SSL and TLS that are enabled for SSL connections.

Set in MW_HOME/soa/common/bin/setSOARefConfigEnv.sh (.cmd for Windows).

-DHTTPClient.socket.readTimeout

60000

This property is a Fusion Applications Configuration rule for HTTPClient.socket.readTimeout. It sets the HTTP client read timeout in milliseconds.

Set in MW_HOME/soa/common/bin/setSOARefConfigEnv.sh (.cmd for Windows).

-Dweblogic.MaxMessageSize

30000000

The maximum number of bytes allowed in messages that are received over all supported protocols, unless overridden by a protocol-specific setting or a custom channel setting.

Set in MW_HOME/soa/common/bin/setSOARefConfigEnv.sh (.cmd for Windows).

-Doracle.osb.dms

off

Turns off DMS monitoring in Oracle Service Bus.

Set in MW_HOME/soa/common/bin/setSOARefConfigEnv.sh (.cmd for Windows).

XX:StringTableSize

-XX:StringTableSize=1000003

JVM Property to set the String pool map size.

Set in MW_HOME/soa/common/bin/setSOARefConfigEnv.sh (.cmd for Windows).

-Dcom.ibm.mq.cfg.TCP.Connect_Timeout

5

Applicable to OSB MQ transport/SOA MQ Adapter only. The number of seconds to wait for the connection to IBM MQ server.

Set in MW_HOME/soa/common/bin/setSOARefConfigEnv.sh (.cmd for Windows).

-Dcom.ibm.mq.cfg.MQRCVBLKTO

5

Applicable to OSB MQ transport/SOA MQ Adapter only. Once IBM MQ server connection is established, then it represents the number of seconds which the client will wait for the response.

Set in MW_HOME/soa/common/bin/setSOARefConfigEnv.sh (.cmd for Windows).

-Dsoa.payload.threshold.kb

 

10000

Max payload size allowed in Oracle SOA Suite/Oracle Service Bus (applicable for only HTTP/MQ/JMS/transports in Oracle Service Bus). You will not be able to set this if -Dsoa.refconfig.enabled=false.

Set in MW_HOME/soa/common/bin/setSOARefConfigEnv.sh (.cmd for Windows).

-Dsoa.refconfig.enabled

true

Enable Reference Configuration domain settings. This JVM property is a parent property for the SOA Reference Configuration domain. For example, if this property is false but -Dsoa.payload.threshold.kb is still set to 10000 then payload restriction will not kick in because -Dsoa.refconfig.enabled=false.

Set in MW_HOME/soa/common/bin/setSOARefConfigEnv.sh (.cmd for Windows).

-Dsoa.attachment.threshold.kb

1000000

Max attachment size allowed in Oracle SOA Suite/Oracle Service Bus (applicable for only HTTP Business Service in Oracle Service Bus). This will have no effect if -Dsoa.refconfig.enabled=false

Set in MW_HOME/soa/common/bin/setSOARefConfigEnv.sh (.cmd for Windows).

Oracle Service Bus Settings

The following table lists the configured Reference Configuration domain settings for Oracle Service Bus.

Table 8-4 Oracle Service Bus Settings

Parameter Configured Value Description and Configuration

SBDefaultRequestWorkManager

-

Work Manager property. All newly created proxy except MQ and JMS use this work manager by default for dispatch policy.

See Work Manager

MaxThreadsConstraint-SBDefaultRequestWorkManager

200

SBDefaultRequestWorkManager is associated with the Work Manager maximum threads constraint.

See Work Manager: Maximum Threads Constraint: Configuration

MinThreadsConstraint-SBDefaultRequestWorkManager

2

SBDefaultRequestWorkManager is associated with Work Manager minimum threads constraint.

See Work Manager: Minimum Threads Constraint: Configuration

SBDefaultRequestWorkManagerMQJMS

-

Work Manager property. All newly created JMS and MQ proxies use this parameter by default for dispatch policy.

See Create global Work Managers

MinThreadsConstraint-SBDefaultRequestWorkManagerMQJMS

2

SBDefaultRequestWorkManagerMQJMS is associated with Work Manager maximum threads constraint for JMS and MQ proxies.

See Work Manager: Minimum Threads Constraint: Configuration

MinThreadsConstraint-SBDefaultResponseWorkManagerMQJMS

3

SBDefaultResponseWorkManager is associated with Work Manager minimum threads constraint for JMS and MQ proxies.

See Work Manager: Minimum Threads Constraint: Configuration

HTTP Business Service

Connection timeout: 5 sec

Read timeout: 30 sec

Retry count: 1

Retry interval: 15 sec

For configuring Business Service, see Business Service Transport Protocol Configuration.

For configuring Business Service to use HTTP Transport, see Configuring Business Services to Use the HTTP Transport.

JMS Business Service

Retry count: 1

Retry interval: 15 sec

For configuring Business Service, see Business Service Transport Protocol Configuration.

For configuring Business Service to use JMS Transport, see Configuring Business Services to Use the JMS Transport .

MQ Business Service

Retry count: 1

Retry interval: 15 sec

For configuring Business Service, see Business Service Transport Protocol Configuration.

For MQ Transport information, see Using the MQ Transport.

xbus.ha.dead_letter_queue.jmsprovider.ConnectionFactory

xbus.ha.dead_letter_queue.jmsprovider.ConnectionFactory

Queue Name: ha_jms_dead_letter_queue

JNDI name: ha_jms_dead_letter_queue

This property is used for backing out the messages to the queue in a Reference Configuration domain when the size of the incoming message into JMS transport is more than the allowed size, which is set through -Dsoa.payload.threshold.kb

Oracle SOA-Specific Settings

The following table lists the configured Reference Configuration domain settings for Oracle SOA.

Table 8-5 Oracle SOA-Specific Settings

Parameter Configured Value Description and Configuration

SOA Work Manager

SOAIncomingRequests_maxThreads

60

Work Manager max thread constraint parameter. This parameter limits the number of concurrent threads that process incoming client requests.

  1. Log in to the Oracle WebLogic Server Administration Console.

  2. Select Environment from the left menu and then choose Work Managers.

  3. On the Summary of Work Managers page, search for SOAIncomingRequests_maxThreads

SOA Work Manager

SOAInternalProcessing_maxThreads

145

Work Manager max thread constraint parameter. This parameter limits the number of concurrent threads for internal processes.

  1. Log in to the Oracle WebLogic Server Administration Console.

  2. Select Environment from the left menu and then choose Work Managers.

  3. On the Summary of Work Managers page, search for SOAInternalProcessing_maxThreads

SOALocalTxDataSource (No. of max connections)

150

Data source connection pool size. This parameter determines the total number of concurrent local database connections that are available for your SOA processes.

  1. Log in to the Oracle WebLogic Server Administration Console.

  2. Select Environment from the left menu and then choose Data Sources.

  3. On the data sources configuration page, select SOALocalTxDataSource page.

  4. Select the Connection Pool tab and scroll to find the Maximum Capacity attribute.

SOADataSource (No. of max connections)

150

Datasource connection pool size. This parameter determines the total number of concurrent XA database connections that are available for your SOA processes.

  1. Log in to the Oracle WebLogic Server Administration Console.

  2. Select Environment from the left menu and then choose Data Sources.

  3. On the data sources configuration page, select SOADataSource page.

  4. Select the Connection Pool tab and scroll to find the Maximum Capacity attribute.

Event delivery network (EDN) configuration:

  • PollTimeoutMillisec (JMS adapter poll timeout)
  • default_EdnConsumer_minThreads_1 (SOA_EDN_WM's min-thread-constraint)
  • ThreadsPerSubscriber

PollTimeoutMillisec: 10ms

default_EdnConsumer_minThreads_1: 4

ThreadsPerSubscriber: 1

PollTimeoutMillisec (default 10ms) allows users to specify the milliseconds used by an inbound poller to synchronously receive an event from a subscriber. This is the time after which a call from the poller times out if no event is received.

To configure PollTimeoutMilliSec:

  1. Log in to the Oracle WebLogic Server Enterprise Manager.

  2. Select System MBeam Browser under WebLogic Domain.

  3. Search for EDNConfig MBean and change the PollTimeoutMilliSec attribute.

EDN workmanager adheres to this min thread.

When dealing with heavy loads for EDN, you may receive an exception error because EDN consumption capacity is not sufficient for handling the load. Increase the values for the default_EdnConsumer_minThreads_1 and ThreadsPerSubscriber EDN properties.

To configure default_EdnConsumer_minThreads_1:

  1. Log in to the Oracle WebLogic Server Administration Console.

  2. Select Environment from the left menu and choose Work Managers.

  3. Search for default_EdnConsumer_minThreads_1 in the Summary of Work Managers screen.

Database Settings

The following table lists the configured Reference Configuration domain settings for database.

Table 8-6 Database Settings

Parameter Configured Value Description and Configuration

distributed_lock_timeout

1400

Specifies the amount of time (in seconds) for distributed transactions to wait for locked resources.

Database bounce required: Yes

Query: select name, value from v$parameter where name = 'distributed_lock_timeout';

Run MW_HOME/soa/common/tools/refconfig/soaDBParams.py (.cmd for Windows) with system user credentials.

db_securefile

ALWAYS

Specifies whether to treat LOB files as SecureFiles.

Database bounce required: No

Query: select table_name from user_lobs where SECUREFILE = 'YES'

Run MW_HOME/soa/common/tools/refconfig/soaDBParams.py (.cmd for Windows) with system user credentials.

processes

600

Specifies the maximum number of operating system user processes that can simultaneously connect to Oracle. This value should allow for all background processes such as locks, job queue processes, and parallel execution processes.

Database bounce required: Yes

Query: select name,value from v$parameter where name = 'processes';

Run MW_HOME/soa/common/tools/refconfig/soaDBParams.py (.cmd for Windows) with system user credentials.