Topic
  • 2 replies
  • Latest Post - ‏2012-07-31T22:12:00Z by lisaw
Erwin_Karbasi
Erwin_Karbasi
186 Posts

Pinned topic Using Sun JRE instead of IBM JRE

‏2012-07-27T07:16:08Z |
Hello Masters,

We are using OSGI blueprint for starting Catalog/Container server on Linux machines.

We have tried to use Sun JRE instead of IBM JRE and we have also added the ORB jars from WXS_HOME/lib/endors to our dependencies, but failed to start the servers.

How can we use Sun JRE instead of IBM JRE in our machines.

Your directions would be appreciated.

Thank you in advance,
Erwin
Updated on 2012-07-31T22:12:00Z at 2012-07-31T22:12:00Z by lisaw
  • andymc_
    andymc_
    16 Posts

    Re: Using Sun JRE instead of IBM JRE

    ‏2012-07-27T16:08:32Z  
    Hi Erwin,

    You should be able to use the Sun JDK. What are the failures that you are seeing? Can you post your logs/FFDC?

    You will need add the WXS_HOME/lib/endorsed directory to your java.endorsed.dirs system property ( i.e. -Djava.endorsed.dirs=$WXS_HOME/lib/endorsed ) when launching your OSGi JVM - the binaries in the endorsed directory (specifically the ORB) must be loaded in the JVM classloader.

    Hope this helps,

    Andy
  • lisaw
    lisaw
    101 Posts

    Re: Using Sun JRE instead of IBM JRE

    ‏2012-07-31T22:12:00Z  
    • andymc_
    • ‏2012-07-27T16:08:32Z
    Hi Erwin,

    You should be able to use the Sun JDK. What are the failures that you are seeing? Can you post your logs/FFDC?

    You will need add the WXS_HOME/lib/endorsed directory to your java.endorsed.dirs system property ( i.e. -Djava.endorsed.dirs=$WXS_HOME/lib/endorsed ) when launching your OSGi JVM - the binaries in the endorsed directory (specifically the ORB) must be loaded in the JVM classloader.

    Hope this helps,

    Andy
    Be aware, SSL will not work if you do indeed use the Sun JDK.

    • Lisa

    Websphere eXtreme Scale Development