"TIBCO-AMX-HPA-000047: error initializing notification group" error while starting a tibcohost.

"TIBCO-AMX-HPA-000047: error initializing notification group" error while starting a tibcohost.

book

Article ID: KB0084619

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix Service Grid -
TIBCO BPM Enterprise (formerly TIBCO ActiveMatrix BPM) -
Not Applicable -

Description

Description:
While starting tibcohost, the following error appears in the logs and tibcohost will not start.


=============================================================================================================================

01 Feb 2016 11:51:36,355 [TibcoHostInstance-Admin-DMZ-DEV-PD01-DMZ-DEV-PD01-brcwnthy] [ERROR] com.tibco.amx.hpa.Host - TIBCO-AMX-HPA-CLI-000134: Error starting TIBCO Host.

TIBCO-AMX-HPA-000232: error changing event notification configuration

at com.tibco.amf.hpa.core.runtime.hpainstance.HPAInstanceStateMachine.setNotificationTransportDesc(HPAInstanceStateMachine.java:238)

at com.tibco.amf.hpa.core.runtime.hpainstance.BaseHPAInstance.<init>(BaseHPAInstance.java:2783)

..

Caused by: TIBCO-AMX-HPA-000047: error initializing notification group

at com.tibco.amf.hpa.core.common.notification.NotificationGroup.<init>(NotificationGroup.java:188)

at com.tibco.amf.hpa.core.runtime.hpainstance.HPAInstanceStateMachine.setNotificationTransportDesc(HPAInstanceStateMachine.java:183)

... 14 more

Caused by: com.tibco.neo.gms.GmsRuntimeException: com.tibco.tibems.qin.TibQinSecurityException: Invalid username or password

at com.tibco.neo.gms.GroupConnectionFactory.createGroupConnection(GroupConnectionFactory.java:66)

at com.tibco.amf.hpa.core.common.notification.NotificationGroup.<init>(NotificationGroup.java:184)

... 15 more

Caused by: com.tibco.tibems.qin.TibQinSecurityException: Invalid username or password

at com.tibco.tibems.qin.TibQinGroupConnectionImpl._createGroupConnection(TibQinGroupConnectionImpl.java:1358)

at com.tibco.tibems.qin.TibQinGroupConnectionImpl.initialize(TibQinGroupConnectionImpl.java:1909)

at com.tibco.tibems.qin.TibQinGroupConnectionFactory.createGroupConnection(TibQinGroupConnectionFactory.java:73)

at com.tibco.neo.gms.GroupConnectionFactory.createGroupConnection(GroupConnectionFactory.java:62)

... 16 more

Caused by: javax.jms.JMSSecurityException: Not permitted

at com.tibco.tibjms.Tibjmsx.buildException(Tibjmsx.java:591)

at com.tibco.tibjms.TibjmsxSessionImp._createConsumer(TibjmsxSessionImp.java:445)

at com.tibco.tibjms.TibjmsxSessionImp._createConsumer(TibjmsxSessionImp.java:367)

..

... 19 more

=============================================================================================================================

Resolution

Initial part of the stack trace shows the following error, "com.tibco.tibems.qin.TibQinSecurityException: Invalid username or password". This could be misleading and after checking the stack trace, it shows the actual reason as a permission issue.

================================================================================

Caused by: javax.jms.JMSSecurityException: Not permitted

at com.tibco.tibjms.Tibjmsx.buildException(Tibjmsx.java:591)

at com.tibco.tibjms.TibjmsxSessionImp._createConsumer(TibjmsxSessionImp.java:445)

at com.tibco.tibjms.TibjmsxSessionImp._createConsumer(TibjmsxSessionImp.java:367)

..


==============================================================================


This usually happens when an EMS user does not have the necessary permission to create consumer. To resolve this issue, use either of the following options.


Option 1. Add EMS user to Admin group

              (add member $admin <ems-user>)


Option 2: Refer to the Tibco ActiveMatrix Service Grid document (TIBCO ActiveMatrix Service Grid 3.3.0) on how to "Configuring TIBCO Enterprise Message Service Servers for Non-Admin Users".

Issue/Introduction

"TIBCO-AMX-HPA-000047: error initializing notification group" error while starting a tibcohost.

Additional Information

TIBCO-AMX-HPA-000232, TIBCO-AMX-HPA-000047