Tuesday, April 21, 2020

Deploy app with weblogic.deployer task

set the environment path


java weblogic.Deployer -deploy -adminurl t3://: -username -password -name -targets ,

java weblogic.Admin -url t3://: -password FORCESHUTDOWN



How to rename weblogic domain name

Changing weblogic domain name is possible with modifying certain files under your domain.

In this exercise – I have renamed from wl-lstba to wl-bstqa

1) Take complete backup of your domain

2) Copy old domain name folder to new domain name
cp -rp wl-lstba wl-bstqa

3) Search all files which contains lstba in newly copied folder
[wlapp@Server1 server1034]$ pwd
/pae/Server1/weblogic/dst/server1034/wl-bstqa
grep -rl lstba *

4) Replace lstba with bstqa name


grep -rl lstba . | xargs sed -i -e 's/lstba/bstqa/'


Ensure none of the files are having base_domain



[wlapp@Server1 server1034] grep -r lstba *




5) Restart the JVM's to verify servers are coming up.

No comments:

Post a Comment

Sonarqube Upgrade from 9.4.4 to 9.9.4 LTS

 Issue:  1) Java hasbeen upgraded from 11 to Open JDK 17. And Sonarqube is upgraded from 9.4 to 9.9.4. 2) After the upgrade sonarqube servic...