Smarts NCM: Cannot connect to JMS Queue after upgrade to 9.1; Receive "javax.jms.JMSSecurityException: User events is NOT authenticated" error
search cancel

Smarts NCM: Cannot connect to JMS Queue after upgrade to 9.1; Receive "javax.jms.JMSSecurityException: User events is NOT authenticated" error

book

Article ID: 303574

calendar_today

Updated On:

Products

VMware

Issue/Introduction

Symptoms:




Cannot connect ot JMS Queue after upgrade to Smarts Network Configuration Manager (Smarts NCM) 9.1
Unable to connect to JMS queue with the latest version of Smarts NCM
 

Receive the following error:

javax.jms.JMSSecurityException: User events is NOT authenticated



Environment

VMware Smart Assurance - NCM

Cause

The user specified in the topicConnection used to make the JMS Queue connection is "events". The user needs to be "guest", not "events".

Resolution

If you encounter this issue, do the following:

  1. In the code being used to make the JMS Queue connection (such as config.properties, api.properties or sample code), find the topicConnection entry:

    topicConnection = factory.createTopicConnection("events", "events");

     
  2. Change the topicConnection entry to the following:

    topicConnection = factory.createTopicConnection("guest", "guest");