Java Linkage Error when creating DAA using CLI.

Java Linkage Error when creating DAA using CLI.

book

Article ID: KB0091441

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks Service Engine -
Not Applicable -

Description

Resolution:
Description:
============
CLI for building DAA fails in BWSE with errors.

Errors:

C:\temp\BWSE_Project_build-daa.xml:41: java.lang.LinkageError: loader constraint violation: when resolving method "com.tibco.mtg.base.bwse.intents.Intent.getName()Ljavax/xml/namespace/QName;" the class loader (instance of org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) of the current class.

com/tibco/amx/bwse/design/internal/util/AMXServiceAndReferenceGeneratorUtil, and the class loader (instance of org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) for resolved class, com/tibco/mtg/base/bwse/intents/Intent, have different Class objects for the type javax/xml/namespace/QName used in the signature.


Resolution:
==========
Remove the following JARs from TIBCO_HOME\tpcl\5.7\lib.

1). jax-1_1-fr-qname-class.jar
2). jsr173_1.0_api.jar

Make sure to make a backup of these two JARs first. Note: These JARs will be removed in a future release of TRA.

Issue/Introduction

Java Linkage Error when creating DAA using CLI.