Oracle MVA

Tales from a Jack of all trades

64-bit JRockit and the 11R1 SOA install

leave a comment »

Somehow I keep on running into trouble installing 64-bit Oracle Fusion Middleware SOA suite. The process seems quiet simple if you follow the installation guide. First of all I installed the 64-bit J-Rockit (see this post how to download it).

$ export JAVA_HOME=/u01/app/jrockit
$ export PATH=$JAVA_HOME/bin:$PATH
$ java -version
java version “1.6.0_03”
Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
BEA JRockit(R) (build R27.5.0-110_o-99226-1.6.0_03-20080528-1505-linux-x86_64, compiled mode)

Next I started the generic installer and installed the weblogic server:

$ java -jar /u01/app/install/wls1032_generic.jar

Then it is time to set the environment and start the installer:

source /u01/app/oracle/middleware/wlserver_10.3/server/bin/
$ /u01/app/install/ofm_soa_11. -jreLoc /u01/app/jrockit

Now you would expect the installer to start, but instead this error is raised:

java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/tmp/OraInstall2009-11-26_11-43-29AM/ext/jlib/glassfish.jaxb_1.0.0.0_2-1-7.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.1 API. Use the endorsed directory mechanism to place jaxb-api.jar in the bootstrap classloader. (See
        at com.sun.xml.bind.v2.model.impl.ModelBuilder.(
        at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(
        at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(
        at com.sun.xml.bind.v2.ContextFactory.createContext(
        at com.sun.xml.bind.v2.ContextFactory.createContext(
        at com.sun.xml.bind.v2.ContextFactory.createContext(
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
        at java.lang.reflect.Method.invoke(
        at javax.xml.bind.ContextFinder.newInstance(
        at javax.xml.bind.ContextFinder.find(
        at javax.xml.bind.JAXBContext.newInstance(
        at javax.xml.bind.JAXBContext.newInstance(
        at javax.xml.bind.JAXBContext.newInstance(
        at oracle.sysman.oio.oioc.OiocOneClickInstaller.main(
        at oracle.sysman.oio.oioc.OiocOneClickInstaller.main(

Somehow this was not what I was expecting. It took me some time to figure out, but here’s what to do: download jaxb-api-2.1.jar to /tmp. Next open the runInstaller script and go to line 186. Change this line from:

$CMDDIR/install/linux64/runInstaller  JVM_OPTIONS=” -mx512m ” “$@” -J-Doracle.installer.appendjre=true $COMMANDLINE


$CMDDIR/install/linux64/runInstaller  JVM_OPTIONS=” -mx512m -Djava.endorsed.dirs=/tmp” “$@” -J-Doracle.installer.appendjre=true $COMMANDLINE

Now you can start the installer and install the SOA suite. (updating the JVM to 1.6.0_04 might also fix the problem, but I can’t seem to find the 1.6.0_04 64-bit JRockit JVM  a newer JRockit can be found here. Just download a JRRT of JRMC and you are set)


Written by Jacco H. Landlust

November 26, 2009 at 1:03 pm

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: