This tutorial describes how to create a new WebLogic domain by using the Configuration Wizard in graphical mode. It also how to start the domain and the Administration Server.
Before starting this tutorial, you should have working setup as per previous tutorial.
Step by Step Installing Oracle WebLogic Server 12c on Oracle Enterprise Linux 6
Step 1: As we have not chosen to launch the Configuration Wizard as part of the installation, we will do it manually by running following command on terminal through oracle user.
Step 2: Accept the Create a new domain option, enter the domain name at the end of the Domain Location, then click the Next button. In this case my domain was called techienote, so the path I used was /u01/app/oracle/config/domains/techienote
Step 10: As we have chose the Production Mode options for the domain, we will need to create a boot.properties file for the scripts referred to later to work without credentials. Adjust the DOMAIN_HOME and credentials appropriately.
export DOMAIN_HOME=$ORACLE_BASE/config/domains/techienote mkdir -p $DOMAIN_HOME/servers/AdminServer/security echo "username=weblogic" > $DOMAIN_HOME/servers/AdminServer/security/boot.properties echo "password=admin@1234" >> $DOMAIN_HOME/servers/AdminServer/security/boot.properties
Step 11: The $ORACLE_BASE/config/domains/techienote directory now contains a script that can be used to start / stop the server. Remember to use the “&” if you want access to the command line to be returned.
To start the AdminServer you need to run following command
nohup $DOMAIN_HOME/bin/startWebLogic.sh > $DOMAIN_HOME/bin/start_AdminServer.log &
To stop the AdminServer you need to run following command
nohup $DOMAIN_HOME/bin/stopWebLogic.sh > $DOMAIN_HOME/bin/stop_AdminServer.log &
Step 13: In case of any issue while starting the AdminServer you need to check $DOMAIN_HOME/bin/start_AdminServer.log logs
In case of any issue while stopping the AdminServer you need to check $DOMAIN_HOME/bin/stop_AdminServer.log logs