Cloning from PROD to PA05

1. An issue arised with cloning from PROD to PA05....
"ibywebprf.sh Errors Running Autoconfig" which can be found on Metalink: 339380.1
basically the problem is: "DEFINE requires a value following equal sign"
and the fix is:

Solution

To implement the solution, please execute the following steps:

1. Backup the ibywebprf.sql script.
2. Change the current code for the ibywebprf.sql script (version 115.10) from:

DEFINE
IBY_ECAPP_URL=%s_webentryurlprotocol%://%s_webentryhost%.%s_webentrydomain%:&5/oa_servlets/ibyecapp
DEFINE HTTP_PROXY=%s_url_protocol%://%s_proxyhost%:%s_proxyport%
DEFINE NO_PROXY=%s_proxybypassdomain%
DEFINE PAYSYS_BASE_URL=%s_webentryurlprotocol%://%s_webentryhost%.%s_webentrydomain%:&5/oa_servlets
DEFINE APPL_TOP=%s_at%
DEFINE APPL_TMP=%s_applptmp%

---to---

DEFINE
IBY_ECAPP_URL=%s_webentryurlprotocol%://%s_webentryhost%.%s_webentrydomain%:&5/oa_servlets/ibyecapp
DEFINE HTTP_PROXY="&9"
DEFINE NO_PROXY="&10"
DEFINE PAYSYS_BASE_URL=%s_webentryurlprotocol%://%s_webentryhost%.%s_webentrydomain%:&5/oa_servlets
DEFINE APPL_TOP=%s_at%
DEFINE APPL_TMP=%s_applptmp%

3. Backup the ibywebprf.sh script.
4. Change the current code for the ibywebprf.sh script (version 115.10) from:

sqlplus /nolog @%s_com%/admin/install/%s_contextname%/ibywebprf.sql $USERNAME $PASSWORD $TWO_TASK
$URL_PROTO_GENERAL $PORT_GENERAL $URL_PROTO_LOCAL $PORT_LOCAL '/'

---to---

HTTP_PROXY="%s_url_protocol%://%s_proxyhost%:%s_proxyport%"
NO_PROXY="%s_proxybypassdomain%"

# If HTTP_PROXY and NO_PROXY are null, then set them to pass 2 single quotes ('')

if [ "${HTTP_PROXY}" = "http://:" ]; then
HTTP_PROXY="''"
else
if [ "${HTTP_PROXY}" = "https://:" ]; then
HTTP_PROXY="''"
fi
fi

if [ "${NO_PROXY}x" = "x" ]; then
NO_PROXY="''"
fi

sqlplus /nolog @%s_com%/admin/install/%s_contextname%/ibywebprf.sql $USERNAME $PASSWORD
$TWO_TASK $URL_PROTO_GENERAL $PORT_GENERAL $URL_PROTO_LOCAL $PORT_LOCAL '/' $HTTP_PROXY $NO_PROXY

5. Rerun AutoConfig.