My Oracle Support Banner

Publishing Status Screen Temporarily Shows Failed Message But Later Shows Success Message (Doc ID 2034700.1)

Last updated on OCTOBER 31, 2016

Applies to:

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

Symptoms

Publishing from Editorial to Staging is producing a status as failed but it is running and finally shows success.

In the Sites log see:

[2015-07-10 03:56:19,924 UTC] [DEBUG] [http-8180-4] [fatwire.logging.cs.db] INSERT INTO PubContext (ID,CS_TARGET,CS_SESSIONID) VALUES (?,?,?)
ID = 1211152464758
CS_TARGET = 1211147303629
CS_SESSIONID = 1211152464757
[2015-07-10 03:56:19,924 UTC] [DEBUG] [http-8180-4] [fatwire.logging.cs.db] 1 rows affected.
...
[2015-07-10 03:56:19,933 UTC] [TRACE] [http-8180-4] [com.fatwire.logging.cs] Failure setting status code from string
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    at java.lang.String.substring(String.java:1931)
    at java.lang.String.substring(String.java:1904)
    at COM.FutureTense.Util.ftStatusCode.setFromData(ftStatusCode.java:354)
    at com.openmarket.Batch.RemoteClient.dispatch2(RemoteClient.java:457)
    at com.openmarket.Batch.RemoteClient.dispatch(RemoteClient.java:230)
    at com.openmarket.Batch.RemoteClient.dispatch(RemoteClient.java:213)
    at com.openmarket.xcelerate.commands.PublishClientDispatcher.Publish(PublishClientDispatcher.java:129)


In the Dispatcher/1211152464757Output.html see:

HTTP/1.1 502 Proxy Error
Date: Fri, 10 Jul 2015 03:56:19 GMT
Content-Length: 412
Content-Type: text/html; charset=iso-8859-1
Connection: close

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>502 Proxy Error</title>
</head><body>
<h1>Proxy Error</h1>
<p>The proxy server received an invalid response from an upstream server.<br />
The proxy server could not handle the request <em>POST&nbsp;/cs/ContentServer</em>.<p>
Reason: <strong>Error reading from remote server</strong></p></p>
</body></html>

 

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
Cause
Solution
References


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