Tuesday, June 7, 2011

root.sh fails with Fatal error: failed to initialize XDK. XDK error XMLERR_URL_INIT (54)

Problem Description
During installation of Oracle 11.2g infrastructure running root.sh fails with the following error:
Fatal error: failed to initialize XDK. XDK error XMLERR_URL_INIT (54). 
Fatal error: cannot initialize GPnP, CLSGPNP_XML_ERR (Generic XML error). 
Fatal: GPnP init failed. Make sure GPnP client setup is correct (wallets, etc.)
Failed to create a peer profile for Oracle Cluster GPnP. gpnptool rc=256

Cause of the Problem
This is in fact Oracle bug. This bug fires if environment variable http_proxy is set.

Solution of the Problem
Unset Oracle environmental variable http_proxy and run the root.sh file again.