Saturday, November 14, 2009

Installing Oracle Fusion Middleware Tips based on my experience with installing on Kubuntu 9.10

I have installed Oracle Fusion Middleware on my local Kubuntu 9.10 (64bit). This posting contains some tips based on my experience.

Please have a look here to find more details about where to find the new Oracle Fusion Middleware Release.

To install the new release you have to upgrade WLS to 10.3.2 and install the new SOA component again. I decided to throw everything away, download the complete new release including the new RCU and JDeveloper release (don't forget this component!) and install everything again..

Required software:
- Weblogic Server 10.3.2 generic (I have a 64 bit config)
- JDeveloper
- SOA Suite
- RCU (See additional software section)

Please follow the installation instructions, which can be found here, to install the components in the correct order.

JDK issues
With my default OpenJDK version (build#16) I encountered problems with the WLS installer and with starting the installer of the SOA Suite component.

The WLS installer only started in console mode:

tomhofte@tomhofte-laptop:~/downloads$ java -jar wls1032_generic.jar
Unable to instantiate GUI, defaulting to console mode.
Extracting 0%....................................................................................................100%

<-------------------- Oracle Installer - WebLogic ------------------->


This installer will guide you through the installation of WebLogic
Type "Next" or enter to proceed to the next prompt. If you want to change data entered previously, type "Previous". You may quit the installer at any time by typing "Exit".

Enter [Exit][Next]>

<-------------------- Oracle Installer - WebLogic ------------------->

Not really convenient...

When I tried to start the SOA Suite installer using my OpenJDK as the java runtime the following problem showed up in the console and the installer UI did not show up.

Starting Oracle Universal Installer...

Checking if CPU speed is above 300 MHz. Actual 800 MHz Passed
Checking Temp space: must be greater than 150 MB. Actual 47087 MB Passed
Checking swap space: must be greater than 500 MB. Actual 9507 MB Passed
Checking monitor: must be configured to display at least 256 colors. Actual 16777216 Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2009-11-14_08-16-57PM. Please wait ...
Please specify JRE/JDK location ( Ex. /home/jre ), /bin/java should exist :/usr/lib/jvm/java-6-openjdk
tomhofte@tomhofte-laptop:~/downloads/soa_11112/Disk1$ Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't load library: /usr/lib/jvm/java-6-openjdk/jre/lib/amd64/xawt/

I assumed that something was wrong with my JDK version so I decided to install JRockit Realtime JVM version 6. After installing JRockit Realtime JVM version 6 and using this Java distribution for installing WLS and SOA Suite everything was able to install without any problems. The JRockit version I used is available from here.

Note: this will definitely not mean that FMW will only install with JRockit Realtime JVM version 6! It is only that this made it work for me and in case you hit the same issue you now how I solved it :)

Configuring JDeveloper

After I had installed JDeveloper, I noticed that the SOA Composite editor extension is not part of the JDeveloper bundle as it was with the previous to Help -> Check for Updates and select the SOA Composite editor extension:
Install the extension and restart JDeveloper to activate the update.

Activate the Preview Spring component designer
(Thanks to this posting)
To activate the Spring component in the Component palette of the Composite editor in JDeveloper, you have to change the soa-config.xml file that can be found in JDEV_HOME/integration/seed/soa/configuration. Uncomment the following the part and restart JDeveloper



All of the above did the job for me.


Tani said...

Useful information shared by you. Based on your experience and study , one can easily install and use the technology. Keep sharing.

oracle ebs

Sarah Hall said...

I'm happy to have found this blog! Thanks a lot for sharing this information with others! This is the best blog entry ever!
Best regards,