ExceptionInInitializerError-JBoss 7.0.2 [英] ExceptionInInitializerError - JBoss 7.0.2

查看:112
本文介绍了ExceptionInInitializerError-JBoss 7.0.2的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近,我们从BO XI 3.1迁移到BO 4.0和JBoss 7.0.2应用服务器.我目前遇到以下异常:

Recently, 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.<clinit>(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.<clinit>(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)

这似乎是由于JBoss 7.0.2中的类重载方法的变化所致. 谁能提供我们如何在JBoss 7.0.2中实现类重载优先级?

It seems due to changes in the class overloading methodology in JBoss 7.0.2. Can anyone please provide how we can achieve the class overloading precedence in JBoss 7.0.2?

推荐答案

该错误是从RSA库抛出的.我可以通过使用dswsbobje.war(BO 4.0中的Web应用程序之一)为例,向您展示如何解决此问题.步骤如下:

The error is thrown from an RSA library. I can show you how to resolve this issue by using dswsbobje.war (one of the web apps in BO 4.0) as an example. Here are the steps:

  1. 创建一个名为com.rsa的模块.请从此链接中查看模块示例rsa_module.zip.
  2. 在\ modules \ com下创建rsa \ main目录
  3. 解压缩rsa_module.zip并将文件放在\ modules \ com \ rsa \ main下
  4. 获取爆炸的dswsbobje并从dswsbobje中删除与RSA相关的jar(其中3个)(它们是您在上一步中放入... \ rsa \ main中的那些)
  5. 创建一个jboss-deployment-structure.xml文件(从步骤1中的链接获取此文件),并将其放置在dswsbobje的WEB-INF目录下.
  6. 重新创建dswsbobje.war
  7. 部署更新的war文件
  1. Create a module called com.rsa. Please see the module sample rsa_module.zip from this link.
  2. Create a rsa\main directory under \modules\com
  3. Unzip the rsa_module.zip and place the files under \modules\com\rsa\main
  4. Get the exploded dswsbobje and remove the RSA related jars (3 of them) from dswsbobje (they are the ones you put into ...\rsa\main in above step)
  5. Create a jboss-deployment-structure.xml file (get this file from the link in step 1) and place it under dswsbobje's WEB-INF directory.
  6. Re-create the dswsbobje.war
  7. Deploy the updated war file

这篇关于ExceptionInInitializerError-JBoss 7.0.2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆