Question & Answer
Question
Why am I receiving java.lang.NoClassDefFoundError: org.xml.sax.SAXException in my JVM error log when running a Java application after upgrading to CICS Transaction Sever for z/OS (CICS TS) V52? I do not see this problem in CICS TS V4.2 so I'm wondering if something has changed between CICS TS V4.2 and V5.2.
Answer
There have been changes to the OSGi classloading between CICS TS V4.2 and and current CICS TS V5.2 code levels. CICS TS V5.1 and higher are more restrictive and so requires the application to correctly list all its imports which include org.xml.sax package. However, the Java application should always have imported the packages it requires.
To resolve the java.lang.NoClassDefFoundError: org.xml.sax.SAXException, add an Import-Package for org.xml.sax to the OSGi application.
For more information, see Upgrading Java applications in a JVM server under Upgrading from CICS TS Version 4 Release 2 in the in the CICS Transaction Server 5.1 documentation.
Product Synonym
CICS/TS CICSTS CICS TS CICS Transaction Server
Was this topic helpful?
Document Information
Modified date:
04 November 2015
UID
dwa1236547