Skip to content

jaroslav-kuchar/mdw-setup

Repository files navigation

MDW Setup

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.

Prerequisites

  • VirtualBox
  • Vagrant
    • Plugins
      • vagrant plugin install vagrant-vbguest
      • vagrant plugin install vagrant-omnibus
  • 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

Vagrant

# 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

Manual setup and instalation (Debian & Ubuntu scripts)

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

Start server

# login to vagrant virtual server
vagrant ssh

# start server
/vagrant/oracle_mw/user_projects/domains/base_domain/startWebLogic.sh

XFCE

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

Web Logic Test

Open Web Console in your web browser
http://127.0.0.1:7001/console
Login
Username: weblogic
Password: welcome1
Login

Oracle Service Bus Test

Open Web Console in your web browser
http://127.0.0.1:7001/sbconsole
Login
Username: weblogic
Password: welcome1
Login

Eclipse configuration

  • WebLogic Home
    • /vagrant/oracle_mw/wlserver
  • Java
    • /usr/lib/jvm/java-7-oracle/
  • Domain
    • /vagrant/oracle_mw/user_projects/domains/base_domain

About

MDW Setup

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published