IBM Support

FileConnector jobs with orcstream builder aborts with java.lang.NoClassDefFoundError: com.ctc.wstx.io.InputBootstrapper error

Troubleshooting


Problem

FileConnector jobs with orcstream builder (environment variable CC_USE_LATEST_FILECC_JARS is set to orcstream.jar) abort with java.lang.NoClassDefFoundError: com.ctc.wstx.io.InputBootstrapper error

Symptom

File Connector Jobs abort with the following errors:
File_Connector_1,0: java.lang.NoClassDefFoundError: com.ctc.wstx.io.InputBootstrapper
at com.ibm.connect.file.format.orc.OrcParser.openTempFileReader (OrcParser.java: 82)
at com.ibm.connect.file.format.AbstractTempFileDocumentParser.openReader (AbstractTempFileDocumentParser.java: 44)
at com.ibm.connect.file.format.AbstractDocumentParser.open (AbstractDocumentParser.java: 113)
at com.ibm.connect.file.format.FormatUtils.createDocumentParser (FormatUtils.java: 586)
at com.ibm.iis.jis.utilities.stream.StreamParser.open (StreamParser.java: 123)
File_Connector_1,0: java.lang.NoClassDefFoundError: org.codehaus.stax2.XMLInputFactory2
at java.lang.ClassLoader.defineClassImpl (ClassLoader.java)
at java.lang.ClassLoader.defineClass (ClassLoader.java: 377)
at java.security.SecureClassLoader.defineClass (SecureClassLoader.java: 154)
at java.net.URLClassLoader.defineClass (URLClassLoader.java: 729)
at java.net.URLClassLoader.access$400 (URLClassLoader.java: 95)

Cause

The following required JAR files are missing from the class path:
  • woodstox-core-*.*.*.jar
  • stax2-api-*.*.*.jar

Environment

File Connector Jobs that use orcstream builder (CC_USE_LATEST_FILECC_JARS is set to orcstream.jar)

Resolving The Problem

Add the following JAR files to the CLASSPATH environment variable, recompile the job and run :
For example
  • woodstox-core-6.2.6.jar
  • stax2-api-4.2.1.jar

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSVSEF","label":"IBM InfoSphere DataStage"},"ARM Category":[{"code":"a8m50000000L12ZAAS","label":"DataStage->Job Stages->File Stages->File Connector"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.7.1"}]

Product Synonym

Information Server;IBM InfoSphere Information Server;

Document Information

Modified date:
29 October 2021

UID

ibm16498093