UIM - UMP USM is broken: different errors

book

Article ID: 185813

calendar_today

Updated On:

Products

NIMSOFT PROBES DX Infrastructure Management

Issue/Introduction

UMP Home page and logo/company name link is broken. USM portal is not the Home page, SLM portlet has replaced USM on the UMP Home page. Other portlets work fine. wasp seems fine but the portal log shows various errors.

portal log showed:

05 Mar 2020 03:00:14,966 ERROR [PortletLocalServiceImpl:838] com.liferay.portal.kernel.xml.DocumentException: Error on line 44 of document  : cvc-complex-type.2.4.a: Invalid content was found starting with element 'active'. One of '{"http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd":security-role-ref, "http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd":supported-processing-event, "http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd":supported-publishing-event, "http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd":supported-public-render-parameter, "http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd":container-runtime-option}' is expected. Nested exception: cvc-complex-type.2.4.a: Invalid content was found starting with element 'active'. One of '{"http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd":security-role-ref, "http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd":supported-processing-event, "http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd":supported-publishing-event, "http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd":supported-public-render-parameter, "http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd":container-runtime-option}' is expected.


and

05 Mar 2020 03:01:50,237 ERROR [ImageImpl:67] Error reading image 12061
com.liferay.portlet.documentlibrary.NoSuchFileException: E:\Program Files (x86)\Nimsoft\probes\service\data\document_library\0\0\12061.jpg\1.0
...
Caused by: java.io.FileNotFoundException: E:\Program Files (x86)\Nimsoft\probes\service\data\document_library\0\0\12061.jpg\1.0 (The system cannot find the path specified)
 at java.io.FileInputStream.open0(Native Method)
 at java.io.FileInputStream.open(FileInputStream.java:195)
 at java.io.FileInputStream.<init>(FileInputStream.java:138)
 at com.liferay.portlet.documentlibrary.store.FileSystemStore.getFileAsStream(FileSystemStore.java:212)

and...


05 Mar 2020 03:15:44,428 ERROR [PortalInitAction:111] (1) error, There are no alarm services available!
05 Mar 2020 03:15:44,428 ERROR [PortalInitAction:111]  at com.nimsoft.events.client.EmsClient.ensureAtLeastOneAlarmServiceAvailable(EmsClient.java:714)
05 Mar 2020 03:15:44,428 ERROR [PortalInitAction:111]  at com.nimsoft.events.client.EmsClient.getAlarms(EmsClient.java:50)
05 Mar 2020 03:15:44,428 ERROR [PortalInitAction:111]  at com.firehunter.dashboard.dao.ems.EmsAlarmDao.getAllAlarms(EmsAlarmDao.java:33)
05 Mar 2020 03:15:44,428 ERROR [PortalInitAction:111]  at com.firehunter.dashboard.actors.DaoExecutorActor.onReceive(DaoExecutorActor.java:103)
05 Mar 2020 03:15:44,428 ERROR [PortalInitAction:111]  at akka.actor.UntypedActor$$anonfun$receive$1.applyOrElse(UntypedActor.scala:159)
05 Mar 2020 03:15:44,428 ERROR [PortalInitAction:111]  at akka.actor.ActorCell.receiveMessage(ActorCell.scala:425)
05 Mar 2020 03:15:44,428 ERROR [PortalInitAction:111]  at akka.actor.ActorCell.invoke(ActorCell.scala:386)
05 Mar 2020 03:15:44,428 ERROR [PortalInitAction:111]  at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:230)
05 Mar 2020 03:15:44,428 ERROR [PortalInitAction:111]  at akka.dispatch.Mailbox.run(Mailbox.scala:212)
05 Mar 2020 03:15:44,428 ERROR [PortalInitAction:111]  at akka.dispatch.ForkJoinExecutorConfigurator$MailboxExecutionTask.exec(AbstractDispatcher.scala:506)
05 Mar 2020 03:15:44,428 ERROR [PortalInitAction:111]  at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:262)
05 Mar 2020 03:15:44,428 ERROR [PortalInitAction:111]  at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:975)
05 Mar 2020 03:15:44,428 ERROR [PortalInitAction:111]  at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1478)
05 Mar 2020 03:15:44,428 ERROR [PortalInitAction:111]  at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104)

and

05 Mar 2020 03:22:22,318 ERROR [PortalInitAction:111] (1) error, java.lang.RuntimeException: (120) Callback error, Received status (120) on response (for sendRcv) for cmd = 'dispatcher': (120) Callback error, Received status (120) on response (for sendRcv) for cmd = 'dispatcher'
05 Mar 2020 03:22:22,319 ERROR [PortalInitAction:111]  at com.nimsoft.events.client.EmsClient.handleServiceException(EmsClient.java:776)
05 Mar 2020 03:22:22,319 ERROR [PortalInitAction:111]  at com.nimsoft.events.client.EmsClient.getAlarmsFromService(EmsClient.java:79)
05 Mar 2020 03:22:22,320 ERROR [PortalInitAction:111]  at com.nimsoft.events.client.EmsClient.getAlarms(EmsClient.java:61)
05 Mar 2020 03:22:22,320 ERROR [PortalInitAction:111]  at com.firehunter.dashboard.dao.ems.EmsAlarmDao.getAllAlarms(EmsAlarmDao.java:33)
05 Mar 2020 03:22:22,321 ERROR [PortalInitAction:111]  at com.firehunter.dashboard.actors.DaoExecutorActor.onReceive(DaoExecutorActor.java:103)
05 Mar 2020 03:22:22,321 ERROR [PortalInitAction:111]  at akka.actor.UntypedActor$$anonfun$receive$1.applyOrElse(UntypedActor.scala:159)
05 Mar 2020 03:22:22,321 ERROR [PortalInitAction:111]  at akka.actor.ActorCell.receiveMessage(ActorCell.scala:425)
05 Mar 2020 03:22:22,322 ERROR [PortalInitAction:111]  at akka.actor.ActorCell.invoke(ActorCell.scala:386)
05 Mar 2020 03:22:22,322 ERROR [PortalInitAction:111]  at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:230)
05 Mar 2020 03:22:22,323 ERROR [PortalInitAction:111]  at akka.dispatch.Mailbox.run(Mailbox.scala:212)
05 Mar 2020 03:22:22,323 ERROR [PortalInitAction:111]  at akka.dispatch.ForkJoinExecutorConfigurator$MailboxExecutionTask.exec(AbstractDispatcher.scala:506)
05 Mar 2020 03:22:22,323 ERROR [PortalInitAction:111]  at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:262)
05 Mar 2020 03:22:22,324 ERROR [PortalInitAction:111]  at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:975)
05 Mar 2020 03:22:22,324 ERROR [PortalInitAction:111]  at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1478)
05 Mar 2020 03:22:22,324 ERROR [PortalInitAction:111]  at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104)

and

05 Mar 2020 20:13:58,132 ERROR [error_jsp:452] User ID null
05 Mar 2020 20:13:58,133 ERROR [error_jsp:453] Current URL /c/portal/extend_session
05 Mar 2020 20:13:58,133 ERROR [error_jsp:454] Referer http://10.35.xxx.xxx/user/xxxxxxx/home?p_p_id=usm_WAR_usm_INSTANCE_lzjR1nJZrLhG&p_p_lifecycle=0&p_p_state=normal&p_p_state_rcv=1
05 Mar 2020 20:13:58,134 ERROR [error_jsp:455] Remote address 10.xx.xxx.xx
05 Mar 2020 20:13:58,134 ERROR [error_jsp:456] com.liferay.portal.kernel.events.ActionException: com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: org.hibernate.exception.SQLGrammarException: could not load an entity: [com.liferay.portal.model.impl.AccountImpl#10133]
com.liferay.portal.kernel.events.ActionException: com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: org.hibernate.exception.SQLGrammarException: could not load an entity: [com.liferay.portal.model.impl.AccountImpl#10133]

Cause

- old install files/various upgrades run in this environment, but Liferay tables needed to be dropped.

Environment

Release : 9.0.2

Component : UIM - UMP_USM

Resolution

1. Deactivate wasp
2. Drop the Liferay DB tables (a 2nd time), but 'cross-check' to be sure that each and every table has been successfully dropped.
3. Activate wasp
4. Then we were able to access UMP and then UMP Home page and USM finally displayed as expected and rendered as expected.

Additional Information

Related KB's:

UIM - UMP USM fails to load - 'dispatcher' callback error

UIM - UMP USM  'dispatcher' callback error when acknowledging alarms

UIM - USM error: 'CM_CONFIG_ITEM_TO_MASTER.master_id' is invalid

What is the proper way to drop the Liferay tables in UMP?
Article Id: 38215
https://knowledge.broadcom.com/external/article?articleId=38215