Thursday, December 10, 2020

Post Steps after configuring a domain using config.sh

 Post Steps after configuring a domain using config.sh

Step 1: Archived Real Path

Login to WebLogic Console http://<servername>:<port>/console

click on Lock & Edit

Click On dm_domain  > Configurations > WebApplications

Check the box next to Archived Real Path Enabled

And click save

Click on Activate changes

You must restart Admin and Managed servers post enabling this ...

 

Step 2 : Start nodemanager

cd $WL_HOME/server/bin

. ./setWLSEnv.sh

nohup sh startNodeManager.sh &

 

Step 3 : Start Weblogic ( This creates subdirectories under $DOMAIN_HOME/servers/AdminServer/)

./startWebLogic.sh

 

Step 4 : Stop Weblogic

You can just do ctrl+c to kill the running weblogic since we did not start it in the background it will come down

 

Step 5 : create Domain Structure

cd $DOMAIN_HOME/servers/AdminServer

mkdir security

cd security

vi boot.properties

username=weblogic

password=********

 

Step 6 : start the weblogic to run in the background

nohup sh startWebLogic.sh &

 

Step 7 : create directory structure for managed server and copy boot.properties from AdminServer to Managed server

cd $DOMAIN_HOME/servers/

mkdir -p DM_Manager1/security

cd DM_Manager1/security

cp ../../AdminServer/security/boot.properties .

 

Step 8 : Start managed server (DM_Manager1) from the backend .

nohup sh startManagedWebLogic.sh DM_Manager1 > DM_Manager1.log &

No comments:

Post a Comment