My Oracle Support Banner

Is It Possible Using Oracle Traffic Director to Write a Custom Message in the Health Check Socket Before It is Closed? (Doc ID 1567382.1)

Last updated on JUNE 20, 2017

Applies to:

Oracle Traffic Director - Version 11.1.1.6 and later
Information in this document applies to any platform.

Goal

We have an Java sockets based application, the application receives requests (sockets) with a specific expected content, when this application was migrated to Exalogic a cluster configuration using OTD was deployed to create a high available cluster (OTD in front of two vServers running our Java application). When the OTD health check mechanism creates a socket to our application this socket is closed without writing anything, causing the following error in our application.

[E] [2013-06-27 12:20:20]        java.io.EOFException
       at java.io.DataInputStream.readFully(DataInputStream.java:197)
       at java.io.DataInputStream.readFully(DataInputStream.java:169)
       at pt.opensoft.net.CGISocket.read(CGISocket.java:49)
       at pt.dgci.sdc.handler.RequestHandler.run(RequestHandler.java:47)
       at java.lang.Thread.run(Thread.java:722)

 

The question is: Is it possible using OTD to write a custom message in the healthcheck socket before the socket closure?
 

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!


In this Document
Goal
Solution
References


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