My Oracle Support Banner

Cannot Get Switch Responses Using TelnetConnection Class If Exception Occurs (Doc ID 836626.1)

Last updated on JULY 05, 2018

Applies to:

Oracle Communications ASAP - Version: 5.2.4 and later   [Release: 5.2 and later ]
Information in this document applies to any platform.

Goal

Using Java interpreter to send commands to devices (NE's), when using TelnetConnection.waitfor() method there is no possibility to get device response if an exception like TelnetException or IOException occurs.

TelnetConnection class simply prints response to the JNEP log.

Is it possible to extract the device response from the caught exception?
There is need to show this message to operator.


Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.