Dashboard causes Stacktrace: java.lang.NoClassDefFoundError: com/sun/xml/bind/DatatypeConverterImpl
search cancel

Dashboard causes Stacktrace: java.lang.NoClassDefFoundError: com/sun/xml/bind/DatatypeConverterImpl

book

Article ID: 193092

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

After update from version 12.1.2 to 12.3.2 AWI shows following Stack Trace when accessing the dashboard panel:

=====================================================================
java.lang.NoClassDefFoundError: com/sun/xml/bind/DatatypeConverterImpl
 at com.uc4.ecc.framework.commons.dashboard.xml.AdaptedWidgetGeometry_JaxbXducedAccessor_height.parse(TransducedAccessor_method_Integer.java:72)
 at com.sun.xml.bind.v2.runtime.unmarshaller.StructureLoader.startElement(StructureLoader.java:210)
 at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext._startElement(UnmarshallingContext.java:576)
 at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.startElement(UnmarshallingContext.java:555)
 at com.sun.xml.bind.v2.runtime.unmarshaller.SAXConnector.startElement(SAXConnector.java:168)
 at java.xml/com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:510)
 at java.xml/com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:183)
 at java.xml/com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:351)
 at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2710)
 at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:605)
 at java.xml/com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:112)

......

 at com.uc4.webui.common.async.NullAsDefaultLoader.load(NullAsDefaultLoader.java:10)
 at com.uc4.webui.common.async.NullAsDefaultLoader.load(NullAsDefaultLoader.java:6)
 at com.uc4.ecc.framework.core.async.BaseRequestCoordinator$1$1.call(BaseRequestCoordinator.java:231)
 at com.uc4.ecc.framework.core.pool.ContextAwareExecutorService$CallableImplementation.call(ContextAwareExecutorService.java:72)
 at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
 at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
 at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
 at java.base/java.lang.Thread.run(Thread.java:834)
=====================================================================

Problem occurs with different browsers (Edge, Firefox, Chrome)

Webserver : Apache-tomcat-8.5.54

All dashboard objects are affected.

tying the dashboard at the “Home” perspective throws the error.

 

Environment

THis problem is independent of the production and applicaiton version, but was detected and troubleshooted for the first time in AWI 12.3.2

 

Cause

The problem can happens in environment where the AWI default configuration folde webappbs/configs is not used, but a customized folder exists.

The reason for the problem is that because of the previous the felix.properties file is not accessible to AWI.

This file is important because it configures the felix framework, which part of the AWI solution:

http://felix.apache.org/documentation/subprojects/apache-felix-framework/apache-felix-framework-configuration-properties.html

 

Resolution

Copy the new felix.properties file from the webapps/config folder to the customized folder that stores all configuration elements.