How to get weblogic url in EBS R 12.2

 

Sometimes we land in a situation where we don’t have the weblogic url handly. So in this post I will show to find it just by extracting some parameters from the application  context file

 

Go to application tier and invoke application run file system environment file

[oracle@ebstest ]$cd /u01/oracle/VIS/fs1/EBSapps/appl

[oracle@ebstest appl]$ . APPSVIS_ebstest.env

 

[oracle@ebstest appl]$ grep -i "wls_admin" $CONTEXT_FILE

         <wls_admin_host oa_var="s_wls_admin_host">ebstest</wls_admin_host>

         <wls_admin_domain oa_var="s_wls_admin_domain">wizer.com</wls_admin_domain>

         <wls_admin_user oa_var="s_wls_admin_user">weblogic</wls_admin_user>

         <wls_adminport oa_var="s_wls_adminport" oa_type="PORT" base="7001" step="1" range="-1" label="WLS Admin Server Port">7001< wls_adminport>

 

So from the above output the url should look like this

http://ebstest.wizer.com:7001/console

 

We can also find out the url using command

[oracle@ebstest appl]$ 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"

http://ebstest.wizer.com:7001/console

 

 

No comments:

Post a Comment