java.lang.NoClassDefFoundError: com/rsa/eval/a when using cryptoJ FIPS 4.1 (Doc ID 1361495.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle Weblogic Server - Version: 10.3.5 and later   [Release: and later ]
Information in this document applies to any platform.

Symptoms

When attempting to configure WebLogic Server 10.3.5 to use Crypto FIPS 140 with cryptoFIPS.jar from cryptoJ 4.1 or 5.0, the following error occurs on WebLogic Server and Node Manager respectively:

On WebLogic Server:

<Jun 7, 2011 6:07:16 PM EDT> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: java.lang.NoClassDefFoundError: com/rsa/eval/a
java.lang.NoClassDefFoundError: com/rsa/eval/a
at com.rsa.jsafe.CryptoJ.a(Unknown Source)
at com.rsa.jsafe.CryptoJ.<clinit>(Unknown Source)
at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.getNonFIPS140Ctx(JSafeEncryptionServiceImpl.java:494)
at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.getSymmetricCipher(JSafeEncryptionServiceImpl.java:484)
at weblogic.security.internal.encryption.JSafeSecretKeyEncryptor.decryptSecretKey(JSafeSecretKeyEncryptor.java:89)
at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.createCiphers(JSafeEncryptionServiceImpl.java:395)
at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.create3DESKeyContext(JSafeEncryptionServiceImpl.java:359)
at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.<init>(JSafeEncryptionServiceImpl.java:331)
at weblogic.security.internal.encryption.JSafeEncryptionServiceFactory.getEncryptionService(JSafeEncryptionServiceFactory.java:48)
at weblogic.security.internal.SerializedSystemIni.getEncryptionService(SerializedSystemIni.java:293)
at weblogic.security.internal.SerializedSystemIni.getEncryptionService(SerializedSystemIni.java:340)
at weblogic.security.internal.BootProperties.initialize(BootProperties.java:525)
at weblogic.security.internal.BootProperties.<init>(BootProperties.java:448)
at weblogic.security.internal.BootProperties.load(BootProperties.java:220)
at weblogic.security.internal.ServerAuthenticate.main(ServerAuthenticate.java:86)
at weblogic.management.provider.PropertyService.initializeSecurityProperties(PropertyService.java:252)
at weblogic.management.provider.internal.RuntimeAccessService.start(RuntimeAccessService.java:48)
at weblogic.t3.srvr.ServerServicesManager.startService(ServerServicesManager.java:461)
at weblogic.t3.srvr.ServerServicesManager.startInStandbyState(ServerServicesManager.java:166)
at weblogic.t3.srvr.T3Srvr.initializeStandby(T3Srvr.java:881)
at weblogic.t3.srvr.T3Srvr.startup(T3Srvr.java:568)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:469)
at weblogic.Server.main(Server.java:71)
>

On Node Manager:

<Jun 7, 2011 6:10:14 PM> <SEVERE> <Fatal error in node manager server>
java.lang.NoClassDefFoundError: com/rsa/eval/a
at com.rsa.jsafe.provider.JsafeJCE.a(Unknown Source)
at com.rsa.jsafe.provider.JsafeJCE.<clinit>(Unknown Source)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at sun.security.jca.ProviderConfig$3.run(ProviderConfig.java:240)
at sun.security.jca.ProviderConfig.doLoadProvider(ProviderConfig.java:225)
at sun.security.jca.ProviderConfig.getProvider(ProviderConfig.java:205)
at sun.security.jca.ProviderList.getProvider(ProviderList.java:215)
at sun.security.jca.ProviderList$3.get(ProviderList.java:130)
at sun.security.jca.ProviderList$3.get(ProviderList.java:125)
at java.util.AbstractList$Itr.next(AbstractList.java:345)
at java.security.SecureRandom.getPrngAlgorithm(SecureRandom.java:522)
at java.security.SecureRandom.getDefaultPRNG(SecureRandom.java:165)
at java.security.SecureRandom.<init>(SecureRandom.java:133)
at com.bea.security.utils.random.AbstractRandomData.ensureInittedAndSeeded(AbstractRandomData.java:75)
at com.bea.security.utils.random.AbstractRandomData.getRandomBytes(AbstractRandomData.java:105)
at com.bea.security.utils.random.AbstractRandomData.getRandomBytes(AbstractRandomData.java:100)
at weblogic.security.Salt.getRandomBytes(Salt.java:18)
at weblogic.nodemanager.server.Encryptor.createProperties(Encryptor.java:116)
at weblogic.nodemanager.server.Encryptor.<init>(Encryptor.java:85)
at weblogic.nodemanager.server.NMServer.init(NMServer.java:185)
at weblogic.nodemanager.server.NMServer.<init>(NMServer.java:148)
at weblogic.nodemanager.server.NMServer.main(NMServer.java:375)
at weblogic.NodeManager.main(NodeManager.java:31)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms