There are two way to get this:
1.
grep -i s_wls_adminport $CONTEXTFILE
Check for the value 'WLS Admin Server Port'.
2.
grep -i AdminServer $CONTEXTFILE
Check for 'listen-port' value of the 'AdminServer'
Weblogic console URL
http://<server name>. <domain name> : <weblogic Admin Port>/console
Ex: http://oracle.test1.com:7001/console
Command to get Console url:
echo "http://"$(cat $CONTEXT_FILE | grep s_webhost | cut -d '>' -f2 | cut -d '<' -f1)"."$(cat $CONTEXT_FILE | grep s_wls_admin_domain | cut -d '>' -f2 | cut -d '<' -f1)":"$(cat $CONTEXT_FILE | grep s_wls_adminport | cut -d '>' -f2 | cut -d '<' -f1)"/console"
1.
grep -i s_wls_adminport $CONTEXTFILE
Check for the value 'WLS Admin Server Port'.
2.
grep -i AdminServer $CONTEXTFILE
Check for 'listen-port' value of the 'AdminServer'
Weblogic console URL
http://<server name>. <domain name> : <weblogic Admin Port>/console
Ex: http://oracle.test1.com:7001/console
Command to get Console url:
echo "http://"$(cat $CONTEXT_FILE | grep s_webhost | cut -d '>' -f2 | cut -d '<' -f1)"."$(cat $CONTEXT_FILE | grep s_wls_admin_domain | cut -d '>' -f2 | cut -d '<' -f1)":"$(cat $CONTEXT_FILE | grep s_wls_adminport | cut -d '>' -f2 | cut -d '<' -f1)"/console"
No comments:
Post a Comment