Installing Oracle Service Bus on 64-bit Ubuntu 11.04

Sample Project: The File Protocol

I'm working on some more sample code for the Oracle Service Bus. The samples are available for download at http://soasamples.samplecode.oracle.com.  I don't have the finished files posted there yet, but if you want to see the sample / tutorial in web video form, head on over to http://jeffdavies.org and check out the File Handling tutorial there. It covers a very common use case where OSB picks up a flat file from a directory (often created by a legacy system), converts the flat file into multiple XML files for individual processing. Its a common pattern for integrating batch systems into an SOA.

Installing OSB on 64-bit Ubuntu

I recently upgraded my laptop from 32-bit Ubuntu 10.04 to 64-bit 11.04. While reinstalling Oracle Service Bus (OSB) from the ofm_osb_generic_11.1.1.5.0_disk1_1of1.zip file, I got the following error message (after I invoked the runInstaller script and provided a path to my JDK):

jeff@jeff-Latitude-E6410:~/Disk1$ ./runInstaller
Starting Oracle Universal Installer...

Checking if CPU speed is above 300 MHz.    Actual 1199 MHz    Passed
Checking Temp space: must be greater than 150 MB.   Actual 186264 MB    Passed
Checking swap space: must be greater than 512 MB.   Actual 3952 MB    Passed
Checking monitor: must be configured to display at least 256 colors.    Actual 16777216    Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2011-08-15_11-04-25AM. Please wait ...
Please specify JRE/JDK location ( Ex. /home/jre ), <location>/bin/java should exist :/home/jeff/Oracle/Middleware/jdk160_24
jeff@jeff-Latitude-E6410:~/Disk1$ java.lang.UnsatisfiedLinkError: /tmp/OraInstall2011-08-15_11-04-25AM/oui/lib/linux64/liboraInstaller.so: /tmp/OraInstall2011-08-15_11-04-25AM/oui/lib/linux64/liboraInstaller.so: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1806)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1702)
    at java.lang.Runtime.load0(Runtime.java:770)

There is a dependency on a 32 bit library. Fortunately, the solution for this was pretty simple. I needed to do 2 things to get the installer to work:

1) Install the 32-bit compatibility library using tyhe following command:

sudo apt-get install ia32-libs

2) Start the install script using the linux32 emulation utility. The command is as follows:

linux32 ./runInstaller

 After that, the installation process proceeds normally.


Comments:

Hi Jeff,

Didn't run into this problem when installing this version of OSB on my Ubuntu 11.04 64-bit. I used Jrockit could that also be a solution...

Regards,
Peter Paul

Posted by guest on August 15, 2011 at 06:48 PM PDT #

That's interesting Peter. I'll try that on a clean 64-bit VM image and see if it works for me too. Thanks for the tip!

- Jeff

Posted by Jeff on August 16, 2011 at 04:03 AM PDT #

Hi Jeff,

I have seen you OSB installation video with Weblogic server OEPE extension on Win x86 at Java.net.. Where can I find the rest of the installation videos of all the SOA components (SOA Suite, RCU, JDev) on Win x86 ?

Thanks,
Aditya

Posted by guest on May 13, 2012 at 11:46 PM PDT #

Just use the -jreLoc command line option to specify the JDK at the command prompt and it will work fine without needing linux32.

Posted by cedrick on May 23, 2012 at 04:39 PM PDT #

You can find a fille set of videos covering the Oracle SOA Suite 11g installation (including OSB) at http://java.net/projects/oraclesoasuite11g/pages/Home

Scroll to the bottom of that page and you'll see all of the videos. Follow them in the order they are listed and you should get everything you need. Let me know what you think of the videos.

Posted by Jeff on June 04, 2012 at 01:11 PM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed
About

A site for SOA thought and discussion.

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