WebLogic 14c Installation
Description: I used this demo to install WebLogic 14c and create WebLogic Sample domain which comes default with WebLogic Installations. You may use the sample domain to play around with it.
List of the installation binaries required for Lab setup
1) Oracle VirtualBox
https://download.virtualbox.org/virtualbox/6.1.16/VirtualBox-6.1.16-140961-Win.exe
2) Vagrant
https://releases.hashicorp.com/vagrant/2.2.14/vagrant_2.2.14_x86_64.msi
3) Putty
https://the.earth.li/~sgtatham/putty/latest/w64/putty-64bit-0.74-installer.msi
4) Winscp
https://winscp.net/download/WinSCP-5.17.9-Setup.exe
5) X11
http://sourceforge.net/project/downloading.php?group_id=156984&filename=Xming-6-9-0-31-setup.exe
6) JDK 11
https://www.oracle.com/java/technologies/javase-jdk11-downloads.html#license-lightbox
7) Weblogic 14c
https://www.oracle.com/middleware/technologies/fusionmiddleware-downloads.html#license-lightbox
Step 1) Install Oracle Virtual Box
https://middlewareadmin-pavan.blogspot.com/2021/01/oracle-virtual-box-installation-guide.html
Step 2) Install Vagrant
https://middlewareadmin-pavan.blogspot.com/2021/01/vagrant-installation-guide.html
Step 3) Install Putty
https://middlewareadmin-pavan.blogspot.com/2021/01/putty-installation-guide.html
Step 4) Install WinScp
https://middlewareadmin-pavan.blogspot.com/2021/01/winscp-installation-guide.html
Step 5) Install Xming
https://middlewareadmin-pavan.blogspot.com/2021/01/xming-installation-guide.html
Step 6) Spin up Ubuntu Virtual Machine using vagrant
a) Login to windows command prompt and execute vagrant -v command to check if the vagrant is installed. Create a new folder called new-vm using mkdir new-vm.
b) Execute vagrant init ubuntu/trusty64 command to initialize the new virtual machine.
c) Vagrantfile will be created at the same location where you have executed vagrant init ubuntu/trusty64
d)Edit the Vagrantfile and add the following lines to configure the memory settings.
config.vm.provider "virtualbox" do |v|
v.memory = 2048
end
Note: Modified file is available at - https://github.com/pavanbandaru/wls14c/blob/main/Vagrantfile
Run vagrant up command to bring up the ubuntu VM and you can see the virtual machine on Virtual box after successful execution of the command
C:\Users\pavankumar
bandaru\new-vm\.vagrant\machines\default\virtualbox\putty_private_key
Install x11-apps on
ubuntu server and run xclock command to verify if it is connecting to xming server.
sudo apt-get install x11-apps
Now we are ready for JDK and weblogic installation.
Download JDK and Weblogic from the
following links and copy to ubuntu server using winscp . Copy to ubuntu linux
server if you have already downloaded.
https://www.oracle.com/middleware/technologies/fusionmiddleware-downloads.html#license-lightbox
Extract the files at the location /home/vagrant and
setup Java home.
Add the following variables in .profile and
run .profile:
echo " export
PATH=$JAVA_HOME/bin:$PATH" >>
/home/vagrant/.profile
Execute .profile:
. ./profile
vagrant@vagrant-ubuntu-trusty-64:~$ java
-version
java version "11.0.9" 2020-10-20
LTS
Java(TM) SE Runtime Environment 18.9 (build
11.0.9+7-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build
11.0.9+7-LTS, mixed mode)
Domain Creation using Quickstart configuration
winzard
Check if the WebLogic instances are running.
vagrant@vagrant-ubuntu-trusty-64:~$ ps -ef |
grep java
vagrant
14770 14722 34 06:16 pts/0
00:02:13 /home/vagrant/jdk-11.0.9/bin/java
-Dpython.cachedir=/tmp/cachedir -Xms32m -Xmx1024m
-Dweblogic.alternateTypesDirectory=/home/vagrant/Oracle/Middleware/Oracle_Home/wlserver/../oracle_common/modules/oracle.oamprovider,/home/vagrant/Oracle/Middleware/Oracle_Home/wlserver/../oracle_common/modules/oracle.jps
-DdeleteUserDomainTemplatesFile=true
-DuserDomainTemplatesFile=/tmp/userTemplates13676017130932652471.tmp
-DlogFileLoc=/tmp/oneClicklog9688574393128732883.txt
com.oracle.cie.wizard.WizardController -target=config-oneclick
-log_priority=debug -log=/tmp/oneClicklog9688574393128732883.txt
vagrant
15098 1 11 06:22 pts/0 00:00:03 /home/vagrant/jdk-11.0.9/bin/java
-Djava.security.manager -Djava.security.policy=/home/vagrant/Oracle/Middleware/Oracle_Home/wlserver/common/derby/derbyServer.policy
-Dderby.system.home=/home/vagrant/Oracle/Middleware/Oracle_Home/user_projects/domains/wl_server/common/db
-classpath
/home/vagrant/Oracle/Middleware/Oracle_Home/wlserver/common/derby/lib/derby.jar:/home/vagrant/Oracle/Middleware/Oracle_Home/wlserver/common/derby/lib/derbynet.jar:/home/vagrant/Oracle/Middleware/Oracle_Home/wlserver/common/derby/lib/derbytools.jar:/home/vagrant/Oracle/Middleware/Oracle_Home/wlserver/common/derby/lib/derbyoptionaltools.jar:/home/vagrant/Oracle/Middleware/Oracle_Home/wlserver/common/derby/lib/derbyclient.jar
org.apache.derby.drda.NetworkServerControl start
vagrant
15099 15044 86 06:22 pts/0
00:00:23 /home/vagrant/jdk-11.0.9/bin/java -server -Xms256m -Xmx512m
-XX:CompileThreshold=8000 -cp
/home/vagrant/Oracle/Middleware/Oracle_Home/wlserver/server/lib/weblogic-launcher.jar
-Dlaunch.use.env.classpath=true -Dweblogic.Name=AdminServer
-Djava.security.policy=/home/vagrant/Oracle/Middleware/Oracle_Home/wlserver/server/lib/weblogic.policy
-Djava.system.class.loader=com.oracle.classloader.weblogic.LaunchClassLoader
-javaagent:/home/vagrant/Oracle/Middleware/Oracle_Home/wlserver/server/lib/debugpatch-agent.jar
-da -Dwls.home=/home/vagrant/Oracle/Middleware/Oracle_Home/wlserver/server
-Dweblogic.home=/home/vagrant/Oracle/Middleware/Oracle_Home/wlserver/server
weblogic.Server
Login to the console using firefox browser
running on xming server.
Note: Install Firefox if not installed.
sudo apt-get install firefox
open the firefox : /usr/bin/firefox
No comments:
Post a Comment