Clarity

Expand all | Collapse all

Error Running XOG Client

Jump to Best Answer
  • 1.  Error Running XOG Client

    Posted 02-28-2017 01:11 PM

    Hello,

     

    I am following the CA PPM integration documentation and have installed XOG.exe (windows installer) and am testing that out on my machine, but when I try to do a login command, I get the following error:

     

    login <username>/<password>@cppm8054-test.ondemand.ca.com

    Login: <username>/<password>@cppm8054-test.ondemand.ca.com:443

    URL: http://cppm8054-test.ondemand.ca.com:443/niku/xog

    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.getInputStream0(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:313)

            at com.niku.union.xml.SimpleSOAPMessage.send(SimpleSOAPMessage.java:88)

            at com.niku.union.xml.SimpleSOAPMessage.send(SimpleSOAPMessage.java:79)

            at com.niku.union.xml.SimpleSOAPMessage.send(SimpleSOAPMessage.java:56)

            at com.niku.xog.client.XOGClient.login(XOGClient.java:543)

            at com.niku.xog.client.XOGClient.login(XOGClient.java:443)

            at com.niku.xog.client.XOGClient.processCmd(XOGClient.java:1535)

            at com.niku.xog.client.XOGClient.startShell(XOGClient.java:1472)

            at com.niku.xog.client.XOGClient.invokeCommand(XOGClient.java:1419)

            at com.niku.xog.client.XOGClient.main(XOGClient.java:159)

            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

            at java.lang.reflect.Method.invoke(Unknown Source)

            at com.werken.forehead.Forehead.run(Forehead.java:551)

            at com.werken.forehead.Forehead.main(Forehead.java:581)

     

    Looking at the documentation, it says that it’s best if the XOG client and CA PPM are the same version.  The XOG client is version 14.4.0.4.14 and CA PPM is version 14.4.0.234 04 14, so they are slightly different, but I’m not sure if that’s the issue.  I’ve installed JRE and set the JAVA_HOME variable, like the documentation instructed.

     

    Has anyone run into this issue and if so, what are the steps to resolve?



  • 2.  Re: Error Running XOG Client
    Best Answer

    Posted 02-28-2017 05:35 PM

    When you are at the command prompt, are you just running 'xog' or are there any parameters?

     

    Specifically, are you including 'xog -sslenabled true' and getting this message on the screen before you do the login command?

     

    C:\Clarity\15.1.0\xog-unzipped>bin\xog -sslenabled true

     

    Using https
    Configuring context for  TLS

    -----------------------------------------------------------
    PPM XML Open Gateway ( version: 15.1.0.149 )
    -----------------------------------------------------------
    Usage: xog

     login [user/passwd@host:port] Create new active session.

    ...



  • 3.  Re: Error Running XOG Client

    Posted 03-01-2017 02:22 AM

    Another thing is if you get to the point where are inserting your user ID and that is the email address with the @ sign.

    That might get the domain in it confused with the host.

    If you can try a user ID without the @



  • 4.  Re: Error Running XOG Client

    Posted 03-01-2017 10:42 AM

    Looks like enabling SSL did the trick!  Thanks!