XOG Invoke Failed with a Java SocketException

book

Article ID: 48879

calendar_today

Updated On:

Products

Clarity PPM SaaS Clarity PPM On Premise

Issue/Introduction

Description:

When using a command line window to log into Clarity XML Open Gateway (XOG) and it fails with an error message.

Steps to Reproduce:

  1. Download the Clarity XOG Client from Administration, Client Downloads and install on your personal computer
  2. Launch a Microsoft Windows 'cmd' window
  3. Navigate to the XOG Client 'bin' directory
  4. At the prompt, enter the appropriate login details
    > login user/[email protected]:port

Expected Result: Login Successful
Actual Result: Error message appears

XOG Invoke Failed

java.net.SocketException: Unexpected end of file from server
at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.HttpURLConnection.getResponseCode(Unknown Source)
at com.niku.union.xml.SimpleSOAPMessage.processRequest(SimpleSOAPMessage.java:261)

Environment

Release: Any

Resolution

This Clarity Application Server is configured to use SSL. This error message will appear if the XOG client does not have SSL Enabled.

Before executing the 'login' command, enable the SSL for use with XOG as follows:

  1. Launch a Microsoft Windows 'cmd' window
  2. Navigate to the XOG Client 'bin' directory
  3. At the prompt, enter the command to enable SSL
    > xog -sslenabled true
  4. At the prompt, enter the appropriate login details
    > login user/[email protected]:port