Clarity: XOG Invoke Failed with a Java SocketException
Description:
I am using a command line window to log into CA PPM XML Open Gateway (XOG) and it fails with an error message.
Steps to Reproduce:
- Download the CA PPM XOG Client from Administration, Client Downloads and install on your personal computer
- Launch a Microsoft Windows 'cmd' window
- Navigate to the XOG Client 'bin' directory
- At the prompt, enter the appropriate login details
> login user/pass@server:port
Expected Result: Login Successful
Actual Result: Error message appears
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)
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)
Solution:
This CA PPM 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:
- Launch a Microsoft Windows 'cmd' window
- Navigate to the XOG Client 'bin' directory
- At the prompt, enter the command to enable SSL
> xog -sslenabled true - At the prompt, enter the appropriate login details
> login user/pass@server:portc