XOG is attempted with the following command:
xog -username sample_user -password *** -servername example.com/niku/nu -portnumber 8445 -input sample_portlet.xml -output sample_portlet_output.xml -sslenabled true
It results in the following error message:
<Exception type="com.niku.xog.XOGException"> Login Failed: URL: https://example.com/niku/nu:8445/niku/xog user: admin</Exception>
XOG has to be invoked without /niku/nu at the end of the hostname.