Error while creating SLO object
search cancel

Error while creating SLO object

book

Article ID: 137960

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

After new installation or an upgrade, creating an SLO object causes the error pop-up in AWI:


java.lang.NoClassDefFoundError: com/ibm/xml/xlxp2/jaxb/unmarshal/impl/DeserializationContext

java.lang.RuntimeException


com/ibm/xml/xlxp2/jaxb/unmarshal/impl/DeserializationContextjava.lang.NoClassDefFoundError

com.uc4.ecc.ae.sheet.slo.serviceselection.query.QueryTreeNode_JAXB_Deserialization_Stub.start(com.uc4.ecc.ae.sheet.slo.serviceselection.query.QueryTreeNode_JAXB_Deserialization_Stub.java)

com.ibm.xml.xlxp2.jaxb.unmarshal.impl.DeserializationContext.startComplexType(DeserializationContext.java:702)

com.ibm.xml.xlxp2.jaxb.unmarshal.impl.DeserializationContext.handleRootElementEvent(DeserializationContext.java:313)

com.ibm.xml.xlxp2.api.jaxb.JAXBXMLStreamReader.unmarshal(JAXBXMLStreamReader.java:117)

com.ibm.xml.xlxp2.jaxb.unmarshal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:256)

com.ibm.xml.xlxp2.jaxb.unmarshal.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:127)

javax.xml.bind.JAXB.unmarshal(JAXB.java:257)

com.uc4.ecc.ae.sheet.slo.beneficiaries.SloServiceSelectionPresenter.createQueryRootFromString(SloServiceSelectionPresenter.java:43)

com.uc4.ecc.ae.sheet.slo.beneficiaries.SloServiceSelectionPresenter.<init>(SloServiceSelectionPresenter.java:34)

com.uc4.ecc.ae.sheet.slo.beneficiaries.SloServiceSelection.<init>(SloServiceSelection.java:33)

com.uc4.ecc.ae.sheet.slo.providers.SloObjectProvider.createSheetInstances(SloObjectProvider.java:31)

com.uc4.ecc.ae.commons.content.uc4objectview.interfaces.IUC4ObjectSheetProvider.createSheetInstances(IUC4ObjectSheetProvider.java:48)

com.uc4.ecc.ae.commons.content.uc4objectview.interfaces.IUC4ObjectSheetProvider$pbryglu.createSheetInstances(Unknown Source)

com.uc4.ecc.ae.commons.content.uc4objectview.UC4ObjectPresenter.tryCreateSheets(UC4ObjectPresenter.java:954)

com.uc4.ecc.ae.commons.content.uc4objectview.UC4ObjectPresenter.processLoadedModel(UC4ObjectPresenter.java:884)

com.uc4.ecc.ae.commons.content.uc4objectview.UC4ObjectPresenter.load(UC4ObjectPresenter.java:860)

com.uc4.ecc.ae.commons.content.uc4objectview.UC4ObjectPresenter.access$200(UC4ObjectPresenter.java:93)

com.uc4.ecc.ae.commons.content.uc4objectview.UC4ObjectPresenter$3.loadWithNullAsDefault(UC4ObjectPresenter.java:744)

com.uc4.ecc.ae.commons.content.uc4objectview.UC4ObjectPresenter$3.loadWithNullAsDefault(UC4ObjectPresenter.java:740)

com.uc4.webui.common.async.NullAsDefaultLoader.load(NullAsDefaultLoader.java:10)

com.uc4.webui.common.async.NullAsDefaultLoader.load(NullAsDefaultLoader.java:6)

com.uc4.ecc.framework.core.async.BaseRequestCoordinator$1$1.call(BaseRequestCoordinator.java:223)

com.uc4.ecc.framework.core.pool.ContextAwareExecutorService$CallableImplementation.call(ContextAwareExecutorService.java:72)

java.util.concurrent.FutureTask.run(FutureTask.java:277)

java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1160)

java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)

java.lang.Thread.run(Thread.java:812)

Environment

Release : 12.0.X, 12.1.X, 12.2.X, 12.3.X

Component : AUTOMATION ENGINE

Cause

Wrong WebSphere configuration

Resolution

Incorrect WebSphere configuration: 


Check your WebSphere configuration according to the version of Automation Engine you are on. 


E.x., documentation reference for 12.2 (WebSphere section):

https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/12.2/AWA%20Guides/help.htm#Installation_Manual/AWI/InstallingAWI.htm%3FTocPath%3DInstalling%7CManual%2520Installation%7CInstalling%2520the%2520Automic%2520Web%2520Interface%7C_____0 


In most of the cases, the following step is misconfigured: 

WebSphere section 3.5.2:


5. In Custom Properties do the following:

1. Set the com.ibm.websphere.webservices.DisableIBMJAXWSEngine property to true.

If it does not already exist, you can create it clicking New.

2. Set the javax.xml.bind.JAXBContext property to com.sun.xml.internal.bind.v2.ContextFactory - make sure that you column name in the WebSphere configuration is 'javax.xml.bind.JAXBContext' and NOT 'javax.xml.bind.JAXBContext property' - that will cause the error described above.