About Me

Anjum Ara I am a technology enthusiast, an ardent reader. My latest interest is virtualization. In my free time, I love understanding child nutrition, child holistic development. I bake, read, paint, and do whatever it takes to improve myself every day.

Wednesday, April 29, 2015

weblogic.security.internal.encryption.EncryptionServiceException: com.rsa.jsafe.JSAFE_PaddingException

Error



Caused By: weblogic.security.internal.encryption.EncryptionServiceException: com.rsa.jsafe.JSAFE_PaddingException: Could not perform unpadding: invalid pad byte.
                at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptBytes(JSafeEncryptionServiceImpl.java:136)
                at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptString(JSafeEncryptionServiceImpl.java:184)
                at weblogic.security.internal.encryption.ClearOrEncryptedService.decrypt(ClearOrEncryptedService.java:96)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:597)
                at weblogic.descriptor.DescriptorManager$SecurityServiceImpl$SecurityProxy._invokeServiceMethod(DescriptorManager.java:173)
                at weblogic.descriptor.DescriptorManager$SecurityServiceImpl$SecurityProxy.decrypt(DescriptorManager.java:192)
                at weblogic.descriptor.DescriptorManager$SecurityServiceImpl.decrypt(DescriptorManager.java:114)
                at weblogic.descriptor.internal.AbstractDescriptorBean._decrypt(AbstractDescriptorBean.java:1092)
                at weblogic.management.configuration.SecurityConfigurationMBeanImpl.getCredential(SecurityConfigurationMBeanImpl.java:736)
                at weblogic.security.internal.ServerPrincipalValidatorImpl.getSecret(ServerPrincipalValidatorImpl.java:88)
                at weblogic.security.internal.ServerPrincipalValidatorImpl.sign(ServerPrincipalValidatorImpl.java:67)
                at weblogic.security.service.PrivilegedActions$SignPrincipalAction.run(PrivilegedActions.java:63)
                at weblogic.security.service.SecurityServiceManager.createServerID(SecurityServiceManager.java:1098)
                at weblogic.security.service.SecurityServiceManager.getServerID(SecurityServiceManager.java:1109)
                at weblogic.security.service.SecurityServiceManager.sendASToWire(SecurityServiceManager.java:600)
                at weblogic.server.channels.ChannelService.resetQOS(ChannelService.java:286)
                at weblogic.server.channels.ChannelService.start(ChannelService.java:256)
                at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
                at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
                at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
Caused By: com.rsa.jsafe.JSAFE_PaddingException: Could not perform unpadding: invalid pad byte.
                at com.rsa.jsafe.c.a(Unknown Source)
                at com.rsa.jsafe.JSAFE_SymmetricCipher.decryptFinal(Unknown Source)
                at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptBytes(JSafeEncryptionServiceImpl.java:124)
                at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptString(JSafeEncryptionServiceImpl.java:184)
                at weblogic.security.internal.encryption.ClearOrEncryptedService.decrypt(ClearOrEncryptedService.java:96)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:597)
                at weblogic.descriptor.DescriptorManager$SecurityServiceImpl$SecurityProxy._invokeServiceMethod(DescriptorManager.java:173)
                at weblogic.descriptor.DescriptorManager$SecurityServiceImpl$SecurityProxy.decrypt(DescriptorManager.java:192)
                at weblogic.descriptor.DescriptorManager$SecurityServiceImpl.decrypt(DescriptorManager.java:114)
                at weblogic.descriptor.internal.AbstractDescriptorBean._decrypt(AbstractDescriptorBean.java:1092)
                at weblogic.management.configuration.SecurityConfigurationMBeanImpl.getCredential(SecurityConfigurationMBeanImpl.java:736)
                at weblogic.security.internal.ServerPrincipalValidatorImpl.getSecret(ServerPrincipalValidatorImpl.java:88)
                at weblogic.security.internal.ServerPrincipalValidatorImpl.sign(ServerPrincipalValidatorImpl.java:67)
                at weblogic.security.service.PrivilegedActions$SignPrincipalAction.run(PrivilegedActions.java:62)
                at weblogic.security.service.SecurityServiceManager.createServerID(SecurityServiceManager.java:1096)
                at weblogic.security.service.SecurityServiceManager.getServerID(SecurityServiceManager.java:1109)
                at weblogic.security.service.SecurityServiceManager.sendASToWire(SecurityServiceManager.java:600)
                at weblogic.server.channels.ChannelService.resetQOS(ChannelService.java:286)
                at weblogic.server.channels.ChannelService.start(ChannelService.java:252)
                at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
                at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
                at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)

Solution:
Edit config.xml for admin server to clear text - set clear text user name and password.
And redeployed all managed servers.

Related Error
related error: WARNING: Opening of wallet based credential store failed. Reason java.io.IOException: D:\<sid>\hyperion\user_projects\domains\<epmhome>config\fmwconfig\bootstrap\cwallet.sso (Access is denied)


Share:

0 comments: