Using the SOA-BPM VIrtualBox Appliance

Quickstart Guide to Using Oracle Appliance for SOA/BPM

Recently I have been setting up some machines for fellow engineers.  My base setup consists of Oracle Enterprise Linux with Oracle Virtual Box.  Note that after installing VirtualBox I needed to add the VirtualBox Extension Pack to enable RDP access amongst other features.  In order to get them started quickly with some images I downloaded the pre-built appliance for SOA/BPM from OTN.

Out of the box this provides a VirtualBox image that is pre-installed with everything you will need to develop SOA/BPM applications.

Specifically by using the virtual appliance I got the following pre-installed and configured.

  • Oracle Enterprise Linux 5
    • User oracle password oracle
    • User root password oracle.
  • Oracle Database XE
    • Pre-configured with SOA/BPM repository.
    • Set to auto-start on OS startup.
  • Oracle SOA Suite 11g PS2
    • Configured with a “collapsed domain”, all services (SOA/BAM/EM) running in AdminServer.
    • Listening on port 7001
  • Oracle BPM Suite 11g
    • Configured in same domain as SOA Suite.
  • Oracle JDeveloper 11g
    • With SOA/BPM extensions.

Networking

The VM by default uses NAT (Network Address Translation) for network access.  Make sure that the advanced settings for port forwarding allow access through the host to guest ports.  It should be pre-configured to forward requests on the following ports

Purpose Host Port Guest Port (VBox Image)
SSH 2222 22
HTTP 7001 7001
Database 1521 1521

Note that only one VirtualBox image can use a given host port, so make sure you are not clashing if it seems not to work.

What’s Left to Do?

There is still some customization of the environment that may be required.

If you need to configure a proxy server as I did then for the oracle and root users to set up an HTTP proxy

  • Added “export http_proxy=http://proxy-host:proxy-port” to ~oracle/.bash_profile and ~root/.bash_profile
  • Added “export http_proxy=http://proxy-host:proxy-port” to /etc/.bashrc
  • Edited System->Preferences to set Network Proxy
  • In Firefox set Preferences->Network->Connection Settings to “Use system proxy settings”
  • In JDeveloper set Edit->Preferences->Web Browser and Proxy to required proxy settings

You may need to configure yum to point to a public OEL yum repository – such as http://public-yum.oracle.com.

If you are going to be accessing the SOA server from outside the VirtualBox image then you may want to set the soa-infra Server URLs to be the hostname of the host OS.

Snap!

Once I had the machine configured how I wanted to use it I took a snapshot so that I can always get back to the pristine install I have now.  Snapshots are one of the big benefits of putting a development environment into a virtualized environment.  I can make changes to my installation and if I mess it up I can restore the image to a last known good snapshot.

Hey Presto!, Ready to Go

This is the quickest way to get up and running with SOA/BPM Suite.  Out of the box the download will work, I only did extra customization so I could use services outside the firewall and browse outside the firewall from within by SOA VirtualBox image.  I also use yum to update the OS to the latest binaries.

So have fun.

Comments:

Hi, I downloaded the SOA appliance including the VirtualBox and Extensions. It simply doesn't boot after I imported it in VBox. It stops with a message saying: - Memory for crash kernel (0x0 0x0) not within permissible range I gave to this VM 3 GB of RAM, since I have 8 GB on my machine. Any ideas how this issue can be solved? Thanks, Alex

Posted by Alex on May 27, 2011 at 03:16 PM MDT #

Hi, I have the same problem trying to start the SOA appliance with VirtualBox. It simply doesn't start with the same message.
Any special settings should i apply?
Thanks, Tomas.

Posted by Tomas Thoms H. on July 05, 2011 at 03:24 AM MDT #

Very strange, the "Memory for crash kernel (0x0 0x0) not within permissible range" occurs on all my Linux VMs and does not seem to cause any problems. I run an 8GB machine and just tried downloading the VM again and starting it in the default 2GB VM. It seems to be running fine.
I am running VirtualBox 4.0.8 on Windows 7 64-bit. I have also run the image on OEL 5 with no problems.
Did you load the VBox extensions?

Posted by Antony on July 05, 2011 at 07:32 AM MDT #

Yes, is installed. With a colleague discovered some interesting about that, and of course, solutioning the trouble. In VirtualBox the user must check the "Enable IO APIC" handler before VM starting. That's all and worked well.

Posted by Tomas Thoms H. on July 05, 2011 at 07:39 AM MDT #

Hi,

I have installed oracle pre-built VM on my machine and is running fine.

1. Can you please me what is the password for SYSTEM user for the oracle XE that is installed in the oracle VM appliance.

2. Can I run my SOA programs with root as user (linux user)? Currently I am running it from oracle user.

Looking forward to your reply.

Regards,
Sudip

Posted by Sid on March 19, 2012 at 01:33 AM MDT #

Post a Comment:
Comments are closed for this entry.
About

Musings on Fusion Middleware and SOA Picture of Antony Antony works with customers across the US and Canada in implementing SOA and other Fusion Middleware solutions. Antony is the co-author of the SOA Suite 11g Developers Cookbook, the SOA Suite 11g Developers Guide and the SOA Suite Developers Guide.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today