Oracle Error ORA-30952: illegal configuration of HTTP/HTTPS in xdbconfig.xml

Oracle Error Message

ORA-30952: illegal configuration of HTTP/HTTPS in xdbconfig.xml

Reason for the Error

An attempt was made to update xdbconfig.xml when either 1) a value was specified for http2-port but not for http2-protocol (or vice versa), OR 2) http-port and http2-port were set to the same value.

Solution

Specify values for both elements http2-port and http2-protocol, AND set different values for http-port and http2-port.