Error starting OAM on IBM AIX : AMInitServlet : failed to preload on startup oam java. lang. Exception InInitializer Error

If you are starting OAM 11g server and it fails with error like below (start up errors are logged on WebLogic managed server for OAM i.e. oam_server1 under $DOMAIN_HOME/ servers/ [oam_server1]/ logs) then verify that JDK (java version) you are using is certified with OAM 11g version.

_________
####<05-May-2011 13:58:03 o’clock BST> <Error> <HTTP> <servername> <oam_server1> <[ACTIVE] ExecuteThread: ‘1’ for queue: ‘weblogic.kernel.Default (self-tuning)’> <<WLS Kernel>> <> <> <1304600283378> <BEA-101216>

<Servlet: “AMInitServlet” failed to preload on startup in Web application: “oam”.
java.lang.ExceptionInInitializerError at java.lang.ExceptionInInitializerError.<init>(ExceptionInInitializerEr
ror.java:72)
        at java.lang.J9VMInternals.initialize(J9VMInternals.java:130)
        at oracle.security.am.engines.sso.adapter.SMEAdapter.<init>(SMEAdapter.java:81)
        at oracle.security.am.engines.sso.adapter.SMEAdapter.<clinit>(SMEAdapter.java:96)
        at java.lang.J9VMInternals.initializeImpl(Native Method)
        at java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
____________

 .

Issue : In my case java version was 1.6 release 4 (on IBM AIX)
Fix : Upgrade JDK to certified version i.e. IBM 1.6 release 7 or higher

.

____________
java -version
java version “1.6.0”
Java(TM) SE Runtime Environment (build pap6460sr4ifix-20090617_02(SR4+IZ51489+IZ45701+IZ52413+IZ52880))
IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4 AIX ppc64-64 jvmap6460sr4ifx-20090601_36519 (JIT enabled, AOT enabled)
J9VM – 20090601_036519_BHdSMr
____________

.

How to find certified JDK version with Oracle Identity and Access Management ?

For certified JDK/JVM with Oracle Access Manager 11g, check Identity and Access Management certification matrix click here  (sheet “Current System Certification“)

For Fusion Middleware 11g certification matrix click here

.

How to find which JAVA (JDK) OAM server is using ?

There could be multiple JDK (Java 1.6_10 or 1.6_17 or 1.5_XX) installed on same machine under different directories. To find out JDK used by running server on Unix run command “ps -ef | grep java

Note down output like below
____________
idam11g  22441 22391  2 May09 ?        02:54:08 /oracle/apps/java/bin/java-jrockit -Xms512m -Xmx1024m -Dweblogic.Name=AdminServer -Djava.security.policy=/oracle/apps/idam11g/mw_home/wlserver_10.3/serve…….
___________

To find JDK version for above server run
/oracle/apps/java/bin/java -version

Output like below indicates that Server (Dweblogic.Name=AdminServer) is using JRockit 28 which is equivalent to JAVA 1.6 update 17
_____
java version “1.6.0_17
Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
Oracle JRockit(R) (build R28.0.0-679-130297-1.6.0_17-20100312-2128-linux-ia32, compiled mode)
_____

About the Author Masroof Ahmad

Leave a Comment:

5 comments
Add Your Reply