ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

AWI on WebSphere: error creating new dashboard, changing console settings or showing Utilization Chart

book

Article ID: 199358

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine CA Automic Workload Automation - Automation Engine

Issue/Introduction

After the AWI upgrade to 12.3.x on Websphere several issue may occur:

no more possible to create new dashboards.

not possible to modify the user settings from the console.

not possible to see Utilization Chart / Table


Automation Engine 12.3.1 on linux

Application Server WebSphere 8.5.5 (on a dedicated ZLinux)

The following java errors were captured:

java.lang.NullPointerException

javax.xml.bind.ContextFinder.handleClassCastException(ContextFinder.java:129)
javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:265)
javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:249)
javax.xml.bind.ContextFinder.find(ContextFinder.java:424)
javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:656)
javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:599)
com.uc4.ecc.framework.commons.dashboard.xml.DashboardService.<init>(DashboardService.java:21) com.uc4.ecc.backends.impl.dataservice.dashboard.DashboardService.createDashboard(DashboardService.java:84) com.uc4.ecc.backends.dataservice.dashboard.IDashboardService$pbryglu.createDashboard(Unknown Source) com.uc4.ecc.ae.commons.dashboard.dialogs.create.CreateNewDashboardController.performSave(CreateNewDashboardController.java:161) com.uc4.ecc.ae.commons.dashboard.dialogs.create.CreateNewDashboardController.onOkayClicked(CreateNewDashboardController.java:99) com.uc4.ecc.ae.commons.dashboard.dialogs.create.CreateNewDashboardController.access$100(CreateNewDashboardController.java:22) com.uc4.ecc.ae.commons.dashboard.dialogs.create.CreateNewDashboardController$1.buttonClick(CreateNewDashboardController.java:53) sun.reflect.GeneratedMethodAccessor115.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55) java.lang.reflect.Method.invoke(Method.java:508) com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:510) com.vaadin.event.EventRouter.fireEvent(EventRouter.java:200) com.vaadin.event.EventRouter.fireEvent(EventRouter.java:163) com.vaadin.server.AbstractClientConnector.fireEvent(AbstractClientConnector.java:1015) com.vaadin.ui.Button.fireClick(Button.java:377) com.vaadin.ui.Button$1.click(Button.java:54) sun.reflect.GeneratedMethodAccessor114.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55) java.lang.reflect.Method.invoke(Method.java:508) com.vaadin.server.ServerRpcManager.applyInvocation(ServerRpcManager.java:158) com.vaadin.server.ServerRpcManager.applyInvocation(ServerRpcManager.java:119) com.vaadin.server.communication.ServerRpcHandler.handleInvocation(ServerRpcHandler.java:437) com.vaadin.server.communication.ServerRpcHandler.handleInvocations(ServerRpcHandler.java:402) com.vaadin.server.communication.ServerRpcHandler.handleRpc(ServerRpcHandler.java:273) com.vaadin.server.communication.UidlRequestHandler.synchronizedHandleRequest(UidlRequestHandler.java:90) com.vaadin.server.SynchronizedRequestHandler.handleRequest(SynchronizedRequestHandler.java:41) com.vaadin.server.VaadinService.handleRequest(VaadinService.java:1435) com.vaadin.server.VaadinServlet.service(VaadinServlet.java:380)

Or in more details

2020-04-28 11:54:42,784 pool-10-thread-27      [WARN ] AUTOMIC:100/FO02536/ADUGBO 0 0000000002007798 +69 [point.usersettings.store.AESettingsStore] - Unexpected excepti
on while decoding user state data 'userState' for user 'FO02536/ADUGBO'.
java.lang.NullPointerException: null
       at javax.xml.bind.ContextFinder.handleClassCastException(ContextFinder.java:129)
      at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:265)
       at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:249)
       at javax.xml.bind.ContextFinder.find(ContextFinder.java:424)
       at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:656)
       at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:599)
       at com.uc4.ecc.framework.core.usersettings.SettingsSerializationUtil.createContext(SettingsSerializationUtil.java:75)

2020-04-28 11:54:43,020 pool-10-thread-32      [WARN ] AUTOMIC:100/FO02536/ADUGBO 0 0000000002007798 +75 [board.home.HomeDashboardContentPresenter] - User home dashboard 'WELCOME.DASHBOARD' could not be loaded.
java.lang.NullPointerException: null
       at javax.xml.bind.ContextFinder.handleClassCastException(ContextFinder.java:129)
       at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:265)
       at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:249)
       at javax.xml.bind.ContextFinder.find(ContextFinder.java:424)
       at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:656)
       at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:599)
       at com.uc4.ecc.framework.commons.dashboard.xml.DashboardService.<init>(DashboardService.java:21)
       at com.uc4.ecc.backends.impl.dataservice.dashboard.DashboardService.load(DashboardService.java:193)
       at com.uc4.ecc.backends.dataservice.dashboard.IDashboardService$pbryglu.load(Unknown Source)
       at com.uc4.ecc.ae.commons.dashboard.home.HomeDashboardContentPresenter.tryLoadUserHomeDashboard(HomeDashboardContentPresenter.java:552)
       at com.uc4.ecc.ae.commons.dashboard.home.HomeDashboardContentPresenter.provideUserHomeDashboard(HomeDashboardContentPresenter.java:504)
       at com.uc4.ecc.ae.commons.dashboard.home.HomeDashboardContentPresenter.load(HomeDashboardContentPresenter.java:479)
       at com.uc4.ecc.ae.commons.dashboard.home.HomeDashboardContentPresenter.access$000(HomeDashboardContentPresenter.java:66)
       at com.uc4.ecc.ae.commons.dashboard.home.HomeDashboardContentPresenter$1.loadWithNullAsDefault(HomeDashboardContentPresenter.java:282)
       at com.uc4.ecc.ae.commons.dashboard.home.HomeDashboardContentPresenter$1.loadWithNullAsDefault(HomeDashboardContentPresenter.java:278)
       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.util.concurrent.FutureTask.run(FutureTask.java:277)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1160)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
       at java.lang.Thread.run(Thread.java:811)

2020-04-28 11:54:45,718 WebContainer : 4       [DEBUG] AUTOMIC:100/FO02536/ADUGBO 0 0000000002007798  [amework.core.async.VaadinSessionLockUtil] - Vaadin session is locked. Predicted Cause: com.uc4.ecc.ae.commons.dashboard.dialogs.create.CreateNewDashboardController.tryFindFreeObjectName(CreateNewDashboardController.java:175)
2020-04-28 11:54:45,780 WebContainer : 4       [DEBUG] AUTOMIC:100/FO02536/ADUGBO 0 0000000002007798  [amework.core.async.VaadinSessionLockUtil] - Vaadin session is locked. Predicted Cause: com.uc4.ecc.ae.commons.dashboard.dialogs.create.CreateNewDashboardController.tryFindFreeObjectName(CreateNewDashboardController.java:177)
2020-04-28 11:54:55,306 WebContainer : 6       [ERROR] AUTOMIC:100/FO02536/ADUGBO 0 0000000002007798  [com.uc4.webui.common.errorhandling.Safe] -  null
java.lang.NullPointerException: null
       at javax.xml.bind.ContextFinder.handleClassCastException(ContextFinder.java:129)
       at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:265)
       at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:249)
       at javax.xml.bind.ContextFinder.find(ContextFinder.java:424)
       at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:656)
       at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:599)
       at com.uc4.ecc.framework.commons.dashboard.xml.DashboardService.<init>(DashboardService.java:21)
       at com.uc4.ecc.backends.impl.dataservice.dashboard.DashboardService.createDashboard(DashboardService.java:84)
       at com.uc4.ecc.backends.dataservice.dashboard.IDashboardService$pbryglu.createDashboard(Unknown Source)
       at com.uc4.ecc.ae.commons.dashboard.dialogs.create.CreateNewDashboardController.performSave(CreateNewDashboardController.java:161)
       at com.uc4.ecc.ae.commons.dashboard.dialogs.create.CreateNewDashboardController.onOkayClicked(CreateNewDashboardController.java:99)
       at com.uc4.ecc.ae.commons.dashboard.dialogs.create.CreateNewDashboardController.access$100(CreateNewDashboardController.java:22)
       at com.uc4.ecc.ae.commons.dashboard.dialogs.create.CreateNewDashboardController$1.buttonClick(CreateNewDashboardController.java:53)

  

Jdk details

20200123/142816.240 - 14     U00003400 Server 'AUTOMIC#CP' version '12.3.1+hf.1.build.1573815554148' (changelist '1573734558') started.
20200123/142816.241 - 14     U00003433 Server was started with INI file '/appl/Automic/ServiceManager/bin/../../AutomationEngine/bin/ucsrv.ini'.
20200123/142816.243 - 14     U02000090 Java Runtime Environment version: '1.8.0_191'
20200123/142816.245 - 14     U02000091 Java Runtime Environment vendor: 'Oracle Corporation'
20200123/142816.246 - 14     U00045067 Java installation directory: '/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12-1.el7_6.s390x/jre'
20200123/142816.247 - 14     U02000192 Operating system: 'Linux', version: '3.10.0-957.el7.s390x'.
20200123/142816.249 - 14     U02000193 JVM Architecture: 's390x'
20200123/142816.250 - 14     U02000110 Maximum Heap Memory: '989' MB
20200123/142816.252 - 14     U00045148 This process was initially started at '2020-01-23 13:28:12'.

Environment

Release : 12.3

Component : AUTOMIC WEB INTERFACE

Resolution

The documentation has been improved containing the procedure that needs to be taken before upgrading AWI on WebSphere:

If you use WebSphere 8.5.5.x, make sure to delete the following files from the AWI folder before deploying the WAR file:

  • WEB-INF/lib/jaxb-api-2.2.11.jar

  • WEB-INF/lib/jaxb-core-2.2.11.jar

  • WEB-INF/lib/jaxb-impl-2.2.11.jar

Additional Information

Documentation link:

https://docs.automic.com/documentation/webhelp/english/AA/12.3/DOCU/12.3/Automic%20Automation%20Guides/help.htm#Installation_Manual/AWI/InstallingAWI.htm%3FTocPath%3DInstalling%7CManual%2520Installation%7CInstalling%2520the%2520Automation%2520Web%2520Interface%2520(AWI)%7C_____0