TIBCO IntegrationManager Editor 5.0.2 using Java Runtime Environment (JRE) 1.5 throws the error: java.io.IOException: Error reading schema: Provider org.apache.crimson.jaxp.SAXParserFactoryImpl not found.

TIBCO IntegrationManager Editor 5.0.2 using Java Runtime Environment (JRE) 1.5 throws the error: java.io.IOException: Error reading schema: Provider org.apache.crimson.jaxp.SAXParserFactoryImpl not found.

book

Article ID: KB0091384

calendar_today

Updated On:

Products Versions
TIBCO IntegrationManager -
Not Applicable -

Description

Description:
Description
==========
While importing an external AE schema in TIBCO IntegrationManager (IM) Editor 5.0.2 using File->import with Java Runtime Environment(JRE) 1.5 or higher, the following exception is seen at the console:

java.io.IOException: Error reading schema: Provider org.apache.crimson.jaxp.SAXParserFactoryImpl not found.

Symptoms:
Symptoms
=========
The exception is logged on the console and the importing schema operation fails.

Cause:
Cause:
=======
The J2SE 1.4 platform included the "Crimson" reference implementation for JAXP 1.1. The J2SE 5 platform includes a reference implementation for JAXP 1.3 based on the Apache "Xerces" library. IM 5.0.2 with JRE 1.5 requires specifying Xerces library since it use defaults to Crimson libraries for XML processing.

Issue/Introduction

TIBCO IntegrationManager Editor 5.0.2 using Java Runtime Environment (JRE) 1.5 throws the error: java.io.IOException: Error reading schema: Provider org.apache.crimson.jaxp.SAXParserFactoryImpl not found.

Resolution

Resolution:
=======

1). Stop the IM editor/Engine.

2). Edit the imed.tra/imse.tra files located at <tibco-home>/im/5.0/bin directory. You also need to make change in imse.tra to avoid getting any exceptions at runtime.

3). Set the following properties in both imed.tra/imse.tra

java.property.javax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl

java.property.javax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl

4). Restart IM editor/engines.