My Oracle Support Banner

CSDT Command Line Throws java.io.IOException HTTP 401 Error (Doc ID 1522165.1)

Last updated on MAY 11, 2021

Applies to:

Oracle WebCenter Sites - Version 11.1.1.6.1 and later
Information in this document applies to any platform.

Symptoms

When calling CSDT command-line command connecting to a WebCenter Sites 11gR1 BP1 instance, the following error is thrown:

java.io.IOException: Server returned HTTP response code: 401 for URL: {URL created by csdt command}
  at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
  at com.fatwire.csdt.client.util.CSDTClientUtility.callCS(CSDTClientUtility.java:119)
  at com.fatwire.csdt.client.main.CSDT.main(CSDT.java:31)


e.g.

java.io.IOException: Server returned HTTP response code: 401 for URL: http://<hostname>:<port>/sites/ContentServer?pagename=OpenMarket/Xcelerate/PrologActions/Publish/csdt/CSDTService&command=export&username=fwadmin&password=<password>&includeDeps=true&idMapping=true&resources=@ALL_ASSETS:*;@ALL_NONASSETS:*&datastore=workspace
  at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
  at com.fatwire.csdt.client.util.CSDTClientUtility.callCS(CSDTClientUtility.java:119)
  at com.fatwire.csdt.client.main.CSDT.main(CSDT.java:31)

Changes

 

Cause

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
Symptoms
Changes
Cause
Solution


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