My Oracle Support Banner

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 SEPTEMBER 19, 2023

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 "java.lang.LinkageError: loading constraint violation" related to "different type with name "javax/transaction/xa/XAResource" defined by loader".

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).

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

Solution

To view full details, sign in with your My Oracle Support account.

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


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.