Resolution: Description: ============ OMS fails to start.
Environment: ========== FOM 2.0.1 and JDK 1.7.0_25
Symptoms: =========== Following error is thrown:
Error occurred during initialization of VM java.lang.ExceptionInInitializerError at java.lang.System.initializeSystemClass(System.java:1143) Caused by: java.lang.RuntimeException: java.lang.IllegalAccessException: Class java.util.concurrent.atomic.AtomicReferenceFieldUpdater can not access a member of class java.io.BufferedInputStream with modifiers "volatile" at java.util.concurrent.atomic.AtomicReferenceFieldUpdater$AtomicReferenceFieldUpdaterImpl.<init>(AtomicReferenceFieldUpdater.java:205) at java.util.concurrent.atomic.AtomicReferenceFieldUpdater.newUpdater(AtomicReferenceFieldUpdater.java:69) at java.io.BufferedInputStream.<clinit>(BufferedInputStream.java:69) at java.lang.System.initializeSystemClass(System.java:1143) Caused by: java.lang.IllegalAccessException: Class java.util.concurrent.atomic.AtomicReferenceFieldUpdater can not access a member of class java.io.BufferedInputStream with modifiers "volatile" at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:105) at sun.reflect.misc.ReflectUtil.ensureMemberAccess(ReflectUtil.java:78) at java.util.concurrent.atomic.AtomicReferenceFieldUpdater$AtomicReferenceFieldUpdaterImpl.<init>(AtomicReferenceFieldUpdater.java:193) at java.util.concurrent.atomic.AtomicReferenceFieldUpdater.newUpdater(AtomicReferenceFieldUpdater.java:69) at java.io.BufferedInputStream.<clinit>(BufferedInputStream.java:69) at java.lang.System.initializeSystemClass(System.java:1143
Cause: ===== Conflict with JDK 1.7.0_25 and FOM libraries.
Resolution: ========== Delete from $AF_HOME/apache-tomcat-7.0.6/bin/setenvh.sh: -Xbootclasspath/p:/opt/tibco/af/2.0/jeoms/lib/jsr166-1.7.0.jar