asg-engine startup fails with the error, “javax.naming.ServiceUnavailableException: Failed to query JNDI: Failed to connect to the server at tcp://localhost:7222".

asg-engine startup fails with the error, “javax.naming.ServiceUnavailableException: Failed to query JNDI: Failed to connect to the server at tcp://localhost:7222".

book

Article ID: KB0087141

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix Service Gateway -
Not Applicable -

Description

Resolution:
Description:
==========
asg-engine startup fails with the error, “javax.naming.ServiceUnavailableException: Failed to query JNDI: Failed to connect to the server at tcp://localhost:7222” when configured to connect to remote TIBCO Enterprise Message Service (EMS) server.

Cause:
======
You will see this error if the properties (EMS server URL etc.) have not been set for an EMS channel that is in activated state.

Environment:
==========
All

Resolution:
=========
Set properties for all the EMS channels that are active. If a channel is not in use deactivate it by adding it to &ltproperty name="be.channel.deactivate”> in the cdd file.

Issue/Introduction

asg-engine startup fails with the error, “javax.naming.ServiceUnavailableException: Failed to query JNDI: Failed to connect to the server at tcp://localhost:7222".