IBM Support

Exception not caught by JNI layer when running WTX RUN map or large map rules in Sterling B2B Integrator due to insufficient minimum stack size

Troubleshooting


Problem

Exception not caught by JNI layer when running WebSphere Transformation Extender RUN map or large map rules in Sterling B2B Integrator due to insufficient minimum stack size.

Symptom

<8126680-34257-Fri Jul 10 10:07:04 2015>: ERROR: Unable to retrieve classloaderinfo for jni env: 11e585f00, class: java/lang/Throwable, (m=515587000,cl=428258216,c=000)
<8126680-34257-Fri Jul 10 10:07:04 2015>: ERROR: Unable to retrieve classloaderinfo for jni env: 11e585f00, class: com/ibm/websphere/dtx/dtxpi/MException, (m=515587000,cl=428258216,c=000)
<8126680-34257-Fri Jul 10 10:07:04 2015>: WARN: Unable to retrieve class for jni env: 11e585f00, class: com/ibm/websphere/dtx/dtxpi/MException
<8126680-34257-Fri Jul 10 10:07:04 2015>: *ERR: Failed to get MException class. Throwing a generic Java exception.
<8126680-34257-Fri Jul 10 10:07:04 2015>: *ERR: Java exception occured (-305) in MjpiCheckJavaException()
<8126680-34257-Fri Jul 10 10:07:04 2015>: ERROR: Unable to retrieve classloaderinfo for jni env: 11e585f00, class: com/ibm/websphere/dtx/dtxpi/MException, (m=515587000,cl=428258216,c=000)
<8126680-34257-Fri Jul 10 10:07:04 2015>: WARN: Unable to retrieve class for jni env: 11e585f00, class: com/ibm/websphere/dtx/dtxpi/MException
<8126680-34257-Fri Jul 10 10:07:04 2015>: *ERR: Failed to find class com/ibm/websphere/dtx/dtxpi/MException.
<8126680-34257-Fri Jul 10 10:07:04 2015>: RESOLVER:Global ref 11986b3f0 deleted pMap= 1291482b0 jobj = 129223ca0
<8126680-34257-Fri Jul 10 10:07:04 2015>: Global ref deleted in RJI : max was = 4, count now = 3, ref=11986b3d8, main_ref=0
<8126680-34257-Fri Jul 10 10:07:04 2015>: Global ref deleted in RJI : max was = 3, count now = 2, ref=11986b3d0, main_ref=0
<8126680-34257-Fri Jul 10 10:07:04 2015>: Global ref deleted in RJI : max was = 2, count now = 1, ref=11986b3c8, main_ref=0
<8126680-34257-Fri Jul 10 10:07:04 2015>: Global ref deleted in RJI : max was = 1, count now = 0, ref=11986b3b0, main_ref=0
<8126680-34257-Fri Jul 10 10:07:04 2015>: Not detaching current thread in RJI: pEnv=11e585f00, bAttached=0, Java API invocation detected
<8126680-23766-Fri Jul 10 10:07:34 2015>: Global ref added in Set : pEnv=11f9a3000, ref=11986b3b0, count=1
<8126680-23766-Fri Jul 10 10:07:34 2015>: WTXLogCallback
<8126680-23766-Fri Jul 10 10:07:34 2015>: (ILjava/lang/String;ILjava/lang/String;I)I
<8126680-23766-Fri Jul 10 10:07:34 2015>: INFO: NewGlobalRef for TRACE class and object
<8126680-23766-Fri Jul 10 10:07:34 2015>: Global ref added in Ensure: pEnv=11f9a3000, ref=11986b3d8, count=2, type=4098
<8126680-23766-Fri Jul 10 10:07:34 2015>: Global ref added in Ensure: pEnv=11f9a3000, ref=11986b3f0, count=3, type=4099
<8126680-23766-Fri Jul 10 10:07:34 2015>: Global ref added in Ensure: pEnv=11f9a3000, ref=11986b3f8, count=4, type=10
<8126680-23766-Fri Jul 10 10:07:34 2015>: INFO: NewGlobalRef for PUT WIRE class and object
<8126680-23766-Fri Jul 10 10:07:34 2015>: RESOLVER:Global ref 11986b410 added (resolver = 1253f60f0 pMap = 127638850 jobj = 1253f60f8
<8126680-23766-Fri Jul 10 10:07:34 2015>: ERROR: Unable to retrieve classloaderinfo for jni env: 11f9a3000, class: java/lang/Throwable, (m=515587000,cl=428258216,c=000)
<8126680-23766-Fri Jul 10 10:07:34 2015>: ERROR: Unable to retrieve classloaderinfo for jni env: 11f9a3000, class: com/ibm/websphere/dtx/dtxpi/MException, (m=515587000,cl=428258216,c=000)
<8126680-23766-Fri Jul 10 10:07:34 2015>: WARN: Unable to retrieve class for jni env: 11f9a3000, class: com/ibm/websphere/dtx/dtxpi/MException
<8126680-23766-Fri Jul 10 10:07:34 2015>: *ERR: Failed to get MException class. Throwing a generic Java exception.
<8126680-23766-Fri Jul 10 10:07:34 2015>: *ERR: Java exception occured (-305) in MjpiCheckJavaException()
<8126680-23766-Fri Jul 10 10:07:34 2015>: ERROR: Unable to retrieve classloaderinfo for jni env: 11f9a3000, class: com/ibm/websphere/dtx/dtxpi/MException, (m=515587000,cl=428258216,c=000)
<8126680-23766-Fri Jul 10 10:07:34 2015>: WARN: Unable to retrieve class for jni env: 11f9a3000, class: com/ibm/websphere/dtx/dtxpi/MException
<8126680-23766-Fri Jul 10 10:07:34 2015>: *ERR: Failed to find class com/ibm/websphere/dtx/dtxpi/MException.
<8126680-23766-Fri Jul 10 10:07:34 2015>: RESOLVER:Global ref 11986b410 deleted pMap= 127638850 jobj = 129550b40

Cause

This has been identified as a product defect under APAR PI45110.

Diagnosing The Problem

This issue can appear when using large map rules (more than 2500 characters).

Resolving The Problem

Increase minimum stack size by adding -Xmso512K to Sterling B2B Integrator tmp.sh.in file in the JAVA_FLAGS parameter for the appropriate platform section.

Note: The default system value is 256K.

[{"Product":{"code":"SSVSD8","label":"IBM Transformation Extender"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"--","Platform":[{"code":"PF002","label":"AIX"}],"Version":"8.4.1.3;8.4.1.2;8.4.1.1;8.4.1.0;8.4.1;8.4.0.5;8.4.0.4;8.4.0.3;8.4.0.2;8.4.0.1;8.4.0.0;8.4","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
16 June 2018

UID

swg21962610