Middleware and Web Services is a CTU course part of Web engineering curiculla.
This is example of setup and installation scripts for Oracle Web Logic and Oracle Service Bus. It also includes script to create new domain for single server development mode.
- VirtualBox
- Vagrant
- Plugins
- vagrant plugin install vagrant-vbguest
- vagrant plugin install vagrant-omnibus
- Plugins
- Oracle Service Bus 11gR1
- Download generic versions (Registration required)
- Oracle WebLogic Server 11gR1 (10.3.6) + Coherence - Package Installer
- Oracle Service Bus
- Copy Web Logic Server jar to oracle_install and rename to wls.jar
- Unzip Service Bus file, copy to oracle_install and rename the folder to osb
- Download generic versions (Registration required)
# start virtual server and install java + xfce + chromium + Eclipse
vagrant up
# reload virtual server to activate GUI
vagrant reload
# login to vagrant virtual server
vagrant ssh
All scripts are available in oracle_scripts. Following example is for vagrant box but with modifications can be used in other environments too.
# login to vagrant virtual server or use GUI
vagrant ssh
# generate all scripts for silent installation
cd /vagrant/oracle_scripts/
./generate_scripts.sh
# install web logic
./wls-silent.sh
# install service bus
./osb-silent.sh
# create domain
./wls-domain.sh
# login to vagrant virtual server
vagrant ssh
# start server
/vagrant/oracle_mw/user_projects/domains/base_domain/startWebLogic.sh
Go to the VirtualBox window and login:
- vagrant:vagrant
If not available, go to the VirtualBox window:
# login with username vagrant and password vagrant
startx
Open Web Console in your web browser
http://127.0.0.1:7001/console
Login
Username: weblogic
Password: welcome1
Login
Open Web Console in your web browser
http://127.0.0.1:7001/sbconsole
Login
Username: weblogic
Password: welcome1
Login
- WebLogic Home
- /vagrant/oracle_mw/wlserver
- Java
- /usr/lib/jvm/java-7-oracle/
- Domain
- /vagrant/oracle_mw/user_projects/domains/base_domain