D
David Cleary
Guest
Here is the updated function that is going into 11.5.1. You just need to replace the code after _hostname= with the lines below # Function to read the DNS Name loadDNSName() { _dnsname=.. _new=.. _hostname=.. if [ "`uname`" = "AIX" ] ; then _new="-n" else _new="" fi _hostname=`uname -n | cut -d " " -f 1` _host=`host ${_new} ${_hostname}` if [ $? = 0 ] ; then _dnsname=`echo $_host | cut -d " " -f 1` else _dnsname="127.0.0.1" fi } This is for deploySOAP. You will probably run into the same issue when executing tcman.sh. Here the function can be found in $CATALINA_HOME/bin/setenv.sh. The function should be # Load the full DNS name for this server and make a java property out of if # loadDNSName () { if [ ! -z "${CATALINA_DEBUG}" ]; then echo "** setenv.sh updating JAVA_OPTS with DNS information "; fi if [ "`uname`" = "AIX" ] ; then _new="-n" else _new="" fi _hostname=`uname -n | cut -d " " -f 1` _host=`host ${_new} ${_hostname}` if [ $? = 0 ] ; then _dnsname=`echo $_host | cut -d " " -f 1` else _dnsname="127.0.0.1" fi JAVA_OPTS="${JAVA_OPTS} -Dpsc.as.host.name=\"${_hostname}\" -Dpsc.as.dns.name=\"${_dnsname}\" " export JAVA_OPTS } Let me know if this works out for you. Thanks Dave From: bronco [mailto:bounce-bfvo@community.progress.com] Sent: Thursday, March 05, 2015 11:46 AM To: TU.OE.Deployment@community.progress.com Subject: RE: [Technical Users - OE Deployment] deploySoap.sh fails over incorrect URL RE: deploySoap.sh fails over incorrect URL Reply by bronco That last statement obviously with the name returned by the first Stop receiving emails on this subject. Flag this post as spam/abuse.
Continue reading...
Continue reading...