BusinessConnect Interior Server instance does not start up due to a JMS error.

BusinessConnect Interior Server instance does not start up due to a JMS error.

book

Article ID: KB0075765

calendar_today

Updated On:

Products Versions
TIBCO BusinessConnect 7.0.0

Description

In BC 7.0, the BC Interior Server instance does not start, with the following error:

Error in BusinessConnect-Interior_Server.log, 
================================
Exception occurred during runtime initialization: Error initializing JMS transport for DBLock interaction, JMS parameters might be mis-configured.: Error creating JMS Subscriber: Not permitted 
2018 Nov 29 08:22:33:223 GMT +0100 BW.BusinessConnect-Interior_Server Error [bw.logger] BW-EXT-LOG-100000  Error initializing JMS transport for DBLock interaction, JMS parameters might be mis-configured.: Error creating JMS Subscriber: Not permitted
================================

Error in the ems logfile,
================================
2018-11-29 15:33:34.000 [B2BSupplyChainBC_BusinessConnect_BC63_u01@rkaustibsbx.yyy.xxx.com]: create publisher failed: access denied for topic [XXX.XXX..SupplyChainBC.OP.BC-SupplyChainBC.CS-UPDATEALERT].
2018-11-29 15:34:33.798 [B2BSupplyChainBC_BusinessConnect_BC63_u01@rkaustibsbx.yyy.xxx.com]: create subscriber failed: access denied for topic [XXX.XXX..SupplyChainBC.OP.BC-SupplyChainBC.DBLOCK].
================================

Issue/Introduction

In BC 7.0, the BC Interior Server instance does not start.

Environment

Windows, Linux

Resolution

The mentioned EMS/JMS topics (CS-UPDATEALERT and DBLOCK) are not getting created dynamically.  In this case, these topics will have to be created manually and provide the user "publish,subscribe" permissions on those topics. 

To resolve "Error creating JMS Subscriber: Not permitted" error, manually create the new topics (CS-UPDATEALERT and DBLOCK) on the EMS server configured under "Intercomponent JMS Settings", and grant permissions to the user we use for BC to connect to JMS using the following command from the EMS administrator:

Here are the topic names:

1. CS Update Alert : <Installation Prefix>.<Installation Name>.CS-UPDATEALERT
                  
2. DB Lock : <Installation Prefix>.<Installation Name>.DBLOCK

Here is an example:

AX.BC7.BC-BC7.CS-UPDATEALERT

AX.BC7.BC-BC7.DBLOCK

Here AX.BC7 is <Installation Prefix> and BC-BC7 is <Installation Name>

Note: In Administrator GUI navigate to  BusinessConnect > System Settings > "General" screen. Here you will find the <Installation Prefix> and <Installation Name>.

Below is the command to give permissions on these topics:

>>>>>>>>>>>>>
command: grant topic <topicname> user=<username> publish,subscribe
<<<<<<<<<<<<<