ExceptionInInitializerError in JBoss 7.0.2
sats1717 Jul 25, 2012 6:40 PMRecently, we migrated from BO XI 3.1 to BO 4.0 and JBoss 7.0.2 app server. I am currently getting following exception:
14:53:44,256 ERROR [stderr] (Thread-25) Exception in thread "Thread-25" java.lang.ExceptionInInitializerError 14:53:44,256 ERROR [stderr] (Thread-25) at com.businessobjects.bcm.BCM.(BCM.java:1144) 14:53:44,271 ERROR [stderr] (Thread-25) at com.crystaldecisions.enterprise.ocaframework.BCMInitializer.run(BCMInitializer.java:29) 14:53:44,271 ERROR [stderr] (Thread-25) at java.lang.Thread.run(Thread.java:619) 14:53:44,271 ERROR [stderr] (Thread-25) Caused by: java.lang.SecurityException: Toolkit not encapsulated by a jar. 14:53:44,271 ERROR [stderr] (Thread-25) at com.rsa.cryptoj.f.ug.d(Unknown Source) 14:53:44,271 ERROR [stderr] (Thread-25) at com.rsa.cryptoj.f.ug.b(Unknown Source) 14:53:44,271 ERROR [stderr] (Thread-25) at com.rsa.cryptoj.f.nd.b(Unknown Source) 14:53:44,271 ERROR [stderr] (Thread-25) at com.rsa.cryptoj.f.nd.c(Unknown Source) 14:53:44,271 INFO [stdout] (http--0.0.0.0-7005-1) 25 Jul 2012 14:53:44,271 TANL ERROR [http--0.0.0.0-7005-1] meta.AnalyticsMetaDataServiceImpl: Failed to connect to provider server: Could not initialize class com.businessobjects.bcm.BCM 14:53:44,271 ERROR [stderr] (Thread-25) at com.rsa.jsafe.CryptoJ.isFIPS140Compliant(Unknown Source) 14:53:44,271 INFO [stdout] (http--0.0.0.0-7005-1) java.lang.NoClassDefFoundError: Could not initialize class com.businessobjects.bcm.BCM 14:53:44,271 ERROR [stderr] (Thread-25) at com.businessobjects.bcm.internal.BcmRsaLib.initialize(BcmRsaLib.java:214) 14:53:44,271 INFO [stdout] (http--0.0.0.0-7005-1) at com.crystaldecisions.sdk.framework.internal.TrustedPrincipal.getRandomString(TrustedPrincipal.java:253) 14:53:44,271 ERROR [stderr] (Thread-25) at com.businessobjects.bcm.internal.BcmRsaLib.(BcmRsaLib.java:289) 14:53:44,271 INFO [stdout] (http--0.0.0.0-7005-1) at com.crystaldecisions.sdk.framework.internal.TrustedPrincipal.getPassword(TrustedPrincipal.java:196) 14:53:44,271 ERROR [stderr] (Thread-25) ... 3 more 14:53:44,271 INFO [stdout] (http--0.0.0.0-7005-1) at com.crystaldecisions.sdk.framework.internal.SessionMgr.logon_aroundBody22(SessionMgr.java:853) 14:53:44,271 INFO [stdout] (http--0.0.0.0-7005-1) at com.crystaldecisions.sdk.framework.internal.SessionMgr.logon(SessionMgr.java:1) 14:53:44,271 INFO [stdout] (http--0.0.0.0-7005-1) at com.crystaldecisions.sdk.framework.internal.SessionMgr.logon_aroundBody20(SessionMgr.java:821) 14:53:44,271 INFO [stdout] (http--0.0.0.0-7005-1) at com.crystaldecisions.sdk.framework.internal.SessionMgr.logon_aroundBody21$advice(SessionMgr.java:512) 14:53:44,271 INFO [stdout] (http--0.0.0.0-7005-1) at com.crystaldecisions.sdk.framework.internal.SessionMgr.logon(SessionMgr.java:1)
Class overloading architecture in JBoss 7.0.2 has been changed from 5.x versions. Can anyone please provide how we can achieve the class overloading precedence in JBoss 7.0.2? Or did anyone face similar issue?