![]() ![]() ![]() ![]() ![]() ![]() |
The WebLogic Tuxedo Connector (WTC) provides interoperability between WebLogic Server applications and Tuxedo services. WTC allows WebLogic Server clients to invoke Tuxedo services and Tuxedo clients to invoke WebLogic Server Enterprise Java Beans (EJBs) in response to a service request. See “ WebLogic Tuxedo Connector”
The following sections provide information on how to get the best performance from WTC applications:
Use the following guidelines when configuring WebLogic Tuxedo Connector:
The changes are accepted and are implemented in the new session/connection.
The changes accepted but are not implemented in the existing connection/session until the connection is disconnected and reconnected. See “ Assign a WTC Service to a Server” in Administration Console Online Help.
The changes are accepted and are implemented in the next inbound or outbound request. Oracle does not recommend this practice as it can leave in-flight requests in an unknown state.
Any change in a deployed WTC service causes an exception. You must untarget the WTC service before making any tBridge configuration changes. After untargetting and making configuration changes, you must target the WTC service to implement the changes.
The following section provides best practices when using WTC:
ON_STARTUP
and INCOMING_ONLY
.
ON_STARTUP
and INCOMING_ONLY
always paired. For example: If a WTC remote access point is configured with ON_STARTUP
, the DM_TDOMAIN
section of the Tuxedo domain configuration must be configured with the remote access point as INCOMING_ONLY
. In this case, WTC always acts as the session initiator. See “
Configuring the Connections Between Access Points” in the WebLogic Tuxedo Connector Administration Guide.
ON_DEMAND
. The preferred connection policy is ON_STARTUP
and INCOMING_ONLY
. This reduces the chance of service request failure due to the routing semantics of ON_DEMAND
. See “
Configuring the Connections Between Access Points” in the WebLogic Tuxedo Connector Administration Guide.See “ How to Manage WebLogic Tuxedo Connector in a Clustered Environment” in the WebLogic Tuxedo Connector Administration Guide.
Security
to DM_PW
. See “
Authentication of Remote Access Points” in the WebLogic Tuxedo Connector Administration Guide. min-encrypt-bits
parameter to 40 and the max-encrypt-bits
to 128. See “
Link-Level Encryption” in the WebLogic Tuxedo Connector Administration Guide.TypedFML32
buffers inside TypedFML32
buffers. See “
Using FML with WebLogic Tuxedo Connector” in the WebLogic Tuxedo Connector Programmer's Guide.-Dweblogic.wtc.xaAffinity=false
TypedFML32
using the maximum number of objects in the buffer. Even if the maximum number is difficult to predict, providing a reasonable number improves performance. You approximate the maximum number by multiplying the number of fields by 1.33. Note: | Note: This performance tip does not apply to TypedFML buffer type. |
If there are 50 fields in a TypedFML32
buffer type then the maximum number is 63. Calling the constructor TypedFML32(63, 50)
performs better than TypedFML32()
.
If there are 50 fields in a TypedFML32
buffer type and each can have maximum 10 occurrences, then call the constructor TypedFML32(625, 50) will give better performance than TypedFML32()
The following is an example of how to correctly configure load balancing requests for service1
between TDomainSession(WDOM1,TUXDOM1)
and TDomainSession(WDOM1,TUXDOM2)
:
The following is an example an incorrectly configured load balancing requests. The following configuration results in the same composite key for service1
:
![]() ![]() ![]() |