Oracle weblogic installation … nightmare?
Oracle weblogic… whats that?
Oracle weblogic is an application server for Java EE applications. Weblogic is like a really smart logistics vendor who will do the job of packaging and moving for you in case you have to relocate. So all you have to worry about is deciding which household material needs to be packed together. In geeky terms, just like multiple items are boxed in different boxes, in weblogic server you pack your various modular components as Enterprise archives(ear) or Web archives(war).
Assuming these modules will work together as a team to form a bigger application, something like Service Oriented Architecture(SOA). Weblogic will individually manage these module’s infrastructure. Such as, Thread management, data source management, server clustering, easy management and monitoring, and real time scalability. Something like you assort the household items and the logistics vendor will pack and unpack as you desire, doing all the hard work for lazy people like me. For more information on weblogic.
I will be sharing my knowledge on how to get your environment set up with Oracle Weblogic server which will be distributed across 4 linux servers(for load balancing purposes).

Prerequisite for installing weblogic server is Java Development Kit(JDK).
Steps to install weblogic server on Linux Server-1 in silent mode:
- Download the Oracle Weblogic Installation file from oracle site and keep it in the directory where you want to install weblogic. In my case the path is:
/opt/app/oracle/fmw_12.2.1.3.0_wls.jar
2. In the same directory where the weblogic installer is present create a new file oraInst.loc and paste the following:
inventory_loc=/opt/app/oracle/OraInventory
inst_group=wls (insert your current users group)
3. Create another file called ResponseFile.txt and paste the following:
[ENGINE]
#DO NOT CHANGE THIS.
Response File Version=1.0.0.0.0
[GENERIC]
#The oracle home location. This can be an existing Oracle Home or a new Oracle Home
ORACLE_HOME=/opt/app/oracle/Weblogic
#Set this variable value to the Installation Type selected. e.g. WebLogic Server, Coherence, Complete with Examples.
INSTALL_TYPE=WebLogic Server
#Provide the My Oracle Support Username. If you wish to ignore Oracle Configuration Manager configuration provide empty string for user name.
MYORACLESUPPORT_USERNAME=
#Provide the My Oracle Support Password
MYORACLESUPPORT_PASSWORD=
#Set this to true if you wish to decline the security updates. Setting this to true and providing empty string for My Oracle Support username will ignore the Oracle Configuration Manager configuration
DECLINE_SECURITY_UPDATES=true
#Set this to true if My Oracle Support Password is specified
SECURITY_UPDATES_VIA_MYORACLESUPPORT=false
#Provide the Proxy Host
PROXY_HOST=
#Provide the Proxy Port
PROXY_PORT=
#Provide the Proxy Username
PROXY_USER=
#Provide the Proxy Password
PROXY_PWD=
#Type String (URL format) Indicates the OCM Repeater URL which should be of the format [scheme[Http/Https]]://[repeater host]:[repeater port]
COLLECTOR_SUPPORTHUB_URL=
4. Now execute the following command to start the installation using java:
/opt/app/jdk/jdk1.8.0_152/bin/java -jar fmw_12.2.1.3.0_wls.jar -silent -responseFile ResponseFile.txt -invPtrLoc oraInst.loc
5. This will install the Weblogic server in Linux Server-1. Repeat the same steps for the other 3 Linux servers.
In the next article I will tell how to prepare your infrastructure and facilitate the communication between all 4 linux servers.
Thanks for reading.
