My Oracle Support Banner

Unable To Deploy Policy On OAG Gateway in a Multi-Node Environment (Doc ID 2834826.1)

Last updated on MAY 25, 2023

Applies to:

Oracle API Gateway - Version 11.1.2.4.0 and later
Information in this document applies to any platform.

Symptoms

While deploying changes to a policy using Oracle API Gateway Policy Studio, the deployment fails with a HTTP status of: 500 error
In this use case, there is a two node environment across two machines and both the Admin Node Manager and 2nd Node are up and running.

The Gateway Active timeout has already been increased in an attempt to overcome the issue, but this did not help.

The error being logged in the node manager trace file for node one when deployment occurs is as follows:

DEBUG  checking status...
ERROR  error occurred on call from Node Manager on '<NODE1>' to https://<NODE2>:8090' for URL '/api/deployment/local/configuration/group-<X>' and 'POST'

ERROR response with status 500
DEBUG  Completed request for '<NODEMANAGER2>' in group '<GROUP>'.
ERROR  Failed to upload configuration to remote Node Manager 'Node Manager on <NODE2>' '<NODEMANAGER2>'. Please ensure Node Manager is running. Remote Node Manager returned HTTP status: 500. Remote Node Manager error details: Error: error occurred on call from Node Manager on ''<NODE1>' to https://<NODE2>:8090' for URL '/api/deployment/local/configuration/group-<X>' and 'POST' Code: 102.
ERROR Failed to upload a new configuration deployment archive. Failed to upload configuration to remote Node Manager '<NODE2>' '<NODEMANAGER2>'. Please ensure Node Manager is running. Remote Node Manager returned HTTP status: 500. Remote Node Manager error details: Error: error occurred on call from Node Manager on ''<NODE1>' to https://<NODE2>:8090' for URL '/api/deployment/local/configuration/group-<X>' and 'POST' Code: 102.

For node 2, the following occurs:

ERROR  java error 7713 writing response:
java.io.IOException: XML serialisation exception
at com.vordel.mime.XMLBody.writeContent(XMLBody.java:202)
at com.vordel.mime.Body.write(Body.java:366)
at com.vordel.dwe.http.ServerTransaction.sendResponseN(Native Method)
at com.vordel.dwe.http.ServerTransaction.sendResponse(ServerTransaction.java:36)
at com.vordel.dwe.http.HTTPPlugin.invokeDispose(HTTPPlugin.java:473)
at com.vordel.dwe.http.HTTPPlugin.invoke(HTTPPlugin.java:143)
Caused by: javax.xml.transform.TransformerException: java.lang.RuntimeException: con=<CONID>,endpoint=<IP_ADDRESS>:incoming connection closed
at org.apache.xalan.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:639)
at org.apache.xalan.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:303)
at com.vordel.mime.XMLBody.writeContent(XMLBody.java:199)

The values for <NODE1>, <NODE2>, <NODEMANAGER2>, <GROUP>, <X>, <CONID> and <IP ADDRESS> will be replaced by whatever values are correct for the particular environment.

 

 

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


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