Java SDK - login to hub not working
search cancel

Java SDK - login to hub not working

book

Article ID: 70721

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

I am using the Java SDK to develop a custom probe.

I am trying to log in to the hub using the NimUserLogin API but I am getting a failure:

Cause: I/O error on nim session (C) com.nimsoft.nimbus.NimClientSession(Socket[addr=/<ip address>,port=48000,localport=<port>])

Cause

environment variable missing

Resolution

If you use the Java SDK to log in, or send messages to a queue, you should set the following robot or operating system environment variable to designate the loopback IP address for contacting the local robot:

NIM_ROBOT_IP=127.0.0.1