Creating a WebLogic Domain

 Creating a WebLogic Domain


Step 1 - Launch the Configuration Wizard.


[weblogic@testserver-k ~]$ $ORACLE_HOME/oracle_common/common/bin/config.sh




Select the following Templates:

  • Oracle Forms [Forms]
  • Oracle Reports Application [reports]
  • Oracle Enterprise Manager [em]
  • Oracle HTTP Server (Collocated) [ohs]
  • Oracle Reports Tools [ReportsToolsComponent]
  • Oracle Reports Bridge [ReportsBridgeComponent]
  • Oracle Reports Server [ReportsServerComponent]



























Step 2 - Add 'boot.properties' file.


Export the correct DOMAIN_HOME path.

[weblogic@testserver-k ~]$ export DOMAIN_HOME=$ORACLE_HOME/user_projects/domains/base_domain
[weblogic@testserver-k ~]$ mkdir -p $DOMAIN_HOME/servers/AdminServer/security

Add the following entries to the boot.properties file.

[weblogic@testserver-k ~]$ vi $DOMAIN_HOME/servers/AdminServer/security/boot.properties

username=weblogic
password=<your_weblogic_password>

[weblogic@testserver-k ~]$ mkdir -p $DOMAIN_HOME/servers/WLS_FORMS/security
[weblogic@testserver-k ~]$ cp $DOMAIN_HOME/servers/AdminServer/security/boot.properties $DOMAIN_HOME/servers/WLS_FORMS/security

[weblogic@testserver-k ~]$ mkdir -p $DOMAIN_HOME/servers/WLS_REPORTS/security
[weblogic@testserver-k ~]$ cp $DOMAIN_HOME/servers/AdminServer/security/boot.properties $DOMAIN_HOME/servers/WLS_REPORTS/security

Step 3 - Start the nodemanager and WebLogic Processes.


As a best practice we use the 'nohup' command to start the nodemanager and weblogic processes. We start the nodemanager process from the '$DOMAIN_HOME/bin' path while we use the 'startWeblogic.sh' script in the $DOMAIN_HOME to start the weblogic process.

[weblogic@testserver-k ~]$ cd $DOMAIN_HOME/bin
[weblogic@testserver-k ~]$ nohup ./startNodemanager.sh &

The & at the end will run this script in the background. To view the log use the below command.

[weblogic@testserver-k ~]$ tail -f nohup.out

[weblogic@testserver-k ~]$ cd $DOMAIN_HOME
[weblogic@testserver-k ~]$ nohup ./startWebLogic.sh &
[weblogic@testserver-k ~]$ tail -f nohup.out

Step 4 - After the processes are successfully running access the WebLogic Console to start the Forms and Reports components.


http://<your-server-ip-address>:7001/console

Navigate to: Environment > Servers > Control

Select the processes you want to change by checking the boxes on the left.
Click “Start”


You have successfully created a WebLogic Domain and Forms and Reports Managed servers!

To configure WebUtil follow the below step-by-step guide:

Comments

Popular posts from this blog

Installing Oracle Database 19c on Linux 8 (OL8) Server

Solution for [INS-08101] Unexpected error while executing the action at state: ‘supportedOSCheck'

Graphical Display Not Appearing when Running Install Wizards - Linux