Configuration Wizard
Once OCCAS is installed, it must be configured. Make sure you have an X11 session and run the wizard by typing:
$ORACLE_HOME/oracle_common/common/bin/config.sh
Replicated Domain
A replicated domain consists of one Admin server and several Engine Tier servers. Let's use the configuration wizard to create a default one, which we will customize later.
Create Domain
Create a new domain and choose its location.
Templates
Create a domain using product templates. Choose the following options:
- Basic WebLogic Server Domain
- WebLogic Advanced Web Services for JAX-RPC Extension (optional)
- WebLogic Advanced Web Services for JAX-WS Extension (optional)
- WebLogic JAX-WS SOAP/JMS Extension (optional)
- Converged Application Server - Replicated Domain
Administrator Account
Choose a name and a password.
Domain Mode and JDK
Select Development mode (you can change it to Production later).
Enter the JDK location (Java 11).
Advanced Configuration
Select only Administration Server. We will configure everything else later.
Administration Server
For the AdminServer, set the LIsten Address to the IP Address of the server.
Do not select All Local Addresses. Coherence will complain about it during startup.
Leave Enable SSL unchecked. (We will configure this later.)
Configuration Summary
Review and click Create.
Configuration Progress
Once complete, click Next.
End of Configuration
Make note of the Domain Location and Admin Server URL.
We made it through the Configuration Wizard, but we still have more to do.
Boot Properties
Let's quickly create a boot.properties file with a username and password so we don't have type them in when starting WebLogic.
File: $MW_HOME/user_projects/domains/replicated/servers/AdminServer/security/boot.properties
Now copy that file to engine0, engine1 & engine2. (Don't worry, the usename and password will become encrypted after the first startup.)
$ cd $ORACLE_HOME/user_projects/domains/replicated/
$ mkdir -p servers/engine0/security
$ cp servers/AdminServer/security/boot.properties servers/engine0/security/
$ mkdir -p servers/engine1/security
$ cp servers/AdminServer/security/boot.properties servers/engine1/security/
$ mkdir -p servers/engine2/security
$ cp servers/AdminServer/security/boot.properties servers/engine2/security/
Startup
We will create proper Startup Scripts later, but for now, the easiest way to start OCCAS is via the command line:
cd $DOMAIN/bin
./startWebLogic.sh
To login, point your browser to:
Use your username (weblogic) & password (welcome1) to login.
Congratulations! We're half-way done.
The next step is: Node Manager