How to upgrade Xalan 2.7.0 to Xalan 2.7.2 to avoidconcurrency issue with Java code when Templates objects are used.

book

Article ID: KB0093832

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks -
Not Applicable -

Description

Description:
The concurrency issue is caused by a defect which is specified at the following link.


Resolution

Upgrading from Xalan 2.7.0 to Xalan 2.7.2 resolves the issue. It can be downloaded from https://xalan.apache.org/. 

The location which needs to be updated.

 C:\tibco\bw6\bw\6.2\system\shared\com.tibco.tpcl.org.apache.xalan_2.7.200.002\META-INF

The manifest file under folder "com.tibco.tpcl.org.apache.xalan_2.7.200.002\META-INF" shows the following:

+++
Manifest-Version: 1.0
Export-Package: org.apache.xalan;version="2.7.200",org.apache.xalan.client;version="2.7.200";uses:="javax.xml.transform",org.apache.xalan.extensions;version="2.7.200 ...
+++

If you look in the xalan.jar file, however the manifest shows the following:

+++
Name: org/apache/xalan/
Comment: Main Xalan engine implementing TrAX/JAXP
Specification-Title: Java API for XML Processing
Specification-Vendor: Sun Microsystems Inc.
Specification-Version: 1.3
Implementation-Title: org.apache.xalan
Implementation-Version: 2.7.0
Implementation-Vendor: Apache Software Foundation
Implementation-URL: http://xml.apache.org/xalan-j/

+++

Issue/Introduction

How to upgrade Xalan 2.7.0 to Xalan 2.7.2 to avoidconcurrency issue with Java code when Templates objects are used.

Additional Information

https://issues.apache.org/jira/browse/XALANJ-2371?jql=project%20%3D%20XALANJ%20AND%20text%20~%20%22templates%22
https://xalan.apache.org/.