Tuxedo JCA Adapter 11gR1 (11.1.1.2.1) : Linkage With Jars: javax.transaction_1.0.0.0_1-1.jar And javax.ejb_3.0.1.jar When Using Another Web Application Server Other Than WebLogic Server (Doc ID 1596566.1)

Last updated on NOVEMBER 04, 2016

Applies to:

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

Goal

when Tuxedo JCA 11.1.2.0 RP004 is called via a Websphere 7.0 EJB 3.0 and isolation mode have been set, getting error like:

 

javax.ejb.EJBException: See nested exception; nested exception is: java.lang.Exception: See nested Throwable
Caused by: java.lang.LinkageError: loading constraint violation: loader "com/ibm/ws/runtime/component/ResourceMgrImpl$IsolatedClassLoader@1800180" previously initiated loading for a different type with name "javax/transaction/xa/XAResource" defined by loader "com/ibm/oti/vm/BootstrapClassLoader@59f059f"

 

This seems due to the java library “javax.transaction_1.0.0.0_1-1.jar”.

Installing a A Tuxedo JCA resource adapter without javax.transaction_1.0.0.0_1-1.jar and javax.ejb_3.0.1.jar embedded in the RAR file solves the issue (the java exception however refers only to classes contained into javax.transaction_1.0.0.0_1-1.jar).

Willl it be a certified and/or a supported workaround?
 

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