When Unsig customed dmconfig.xml File With com.oracle.tuxedo.adapter.TuxedoResourceAdapter As Resource Adapter Class Tuxedo JCA Adapter Always Logs Information About The Default Session Profile. (Doc ID 2033110.1)

Last updated on NOVEMBER 04, 2016

Applies to:

Tuxedo JCA Adapter - Version 11.1.1.1.0 and later
Information in this document applies to any platform.

Goal

Why JCA rar file is creating "Default session profile" rather than to use the authenticate session which has been configured into the dmconfig.xml file?

Session Profile Definition Example:

   <SessionProfile name="profile_1">
         <Security>NONE</Security>
         <BlockTime>20000</BlockTime>
         <Interoperate>false</Interoperate>
         <ConnectionPolicy>ON_STARTUP</ConnectionPolicy>
         <ACLPolicy>local</ACLPolicy>
         <CredentialPolicy>local</CredentialPolicy>
         <RetryInterval>60</RetryInterval>
         <MaxRetries>1000</MaxRetries>
         <CompressionLimit>1000000</CompressionLimit>
         <MinEncryptBits>56</MinEncryptBits>
         <MaxEncryptBits>128</MaxEncryptBits>
         <KeepAlive>0</KeepAlive>
         <KeepAliveWait>100000</KeepAliveWait>
   </SessionProfile>

 

Then in JCA Connector log file we can see:

 

    Tuxedo JCA Adapter, release 12c(12.1.1), resource archive version 1.4.0.0, build date: April 9 2015.
    INFO: Global AUTOTRAN is enabled with transaction timeout 300 seconds.
    INFO: Use Local to create default session profile property CredentialPolicy.
    INFO: Use 0 to create default session profile property MinEncryptBits.
    INFO: Use 128 to create default session profile property MaxEncryptBits.
    INFO: Use NONE to create default session profile property Security.
    INFO: Use ON_STARTUP to create default session profile property ConnectionPolicy.
    INFO: Use 60,000 to create default session profile property BlockTime.
    INFO: Use false to create default session profile property Interoperate.
    INFO: Use 60 to create default session profile property RetryInterval.
    INFO: Use 9,223,372,036,854,775,807 to create default session profile property MaxRetries.
    INFO: Use 2,147,483,647 to create default session profile property CompressionLimit.
    INFO: Use 0 to create default session profile property KeepAlive.
    INFO: Use 10,000 to create default session profile property KeepAliveWait.
    INFO: Default session profile created.

 

Whereas it must be expected to have:

 

    Tuxedo JCA Adapter, release 12c(12.1.1), resource archive version 1.4.0.0, build date: April 9 2015.
    INFO: Global AUTOTRAN is enabled with transaction timeout 300 seconds.
    INFO: Use Local to create default session profile property CredentialPolicy.
--> INFO: Use 56 to create default session profile property MinEncryptBits.
    INFO: Use 128 to create default session profile property MaxEncryptBits.
    INFO: Use NONE to create default session profile property Security.
    INFO: Use ON_STARTUP to create default session profile property ConnectionPolicy.
--> INFO: Use 60,000 to create default session profile property BlockTime.
    INFO: Use false to create default session profile property Interoperate.
    INFO: Use 60 to create default session profile property RetryInterval.
--> INFO: Use 1,000 to create default session profile property MaxRetries.
--> INFO: Use 1,000,00 to create default session profile property CompressionLimit.
    INFO: Use 0 to create default session profile property KeepAlive.
--> INFO: Use 20,000 to create default session profile property KeepAliveWait.
    INFO: Profile_1 session profile created.

  

 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms