File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes BEA/Weblogic and the fly likes Weblogic 8.1.6 Padding Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Weblogic 8.1.6 Padding Problem" Watch "Weblogic 8.1.6 Padding Problem" New topic
Author

Weblogic 8.1.6 Padding Problem

steve nacosta
Greenhorn

Joined: Nov 11, 2009
Posts: 8
hello all,
i am starting the weblogic 8.1.6.
and getting following exception.
please help me out with the problem.
its urgent...!!!

weblogic.security.internal.encryption.EncryptionServiceException - with nested exception:
[com.rsa.jsafe.JSAFE_PaddingException: Could not perform unpadding: invalid pad byte.]
at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptBytes(JSafeEncryptionServiceImpl.java:77)
at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptString(JSafeEncryptionServiceImpl.java:93)
at weblogic.security.internal.encryption.ClearOrEncryptedService.decrypt(ClearOrEncryptedService.java:56)
at weblogic.management.EncryptionHelper.decryptString(EncryptionHelper.java:45)
at weblogic.ldap.EmbeddedLDAP.initServerConfig(EmbeddedLDAP.java:1147)
at weblogic.ldap.EmbeddedLDAP.initialize(EmbeddedLDAP.java:231)
at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:815)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:669)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:343)
at weblogic.Server.main(Server.java:32)
>
<Mar 15, 2010 12:00:41 PM IST> <Emergency> <WebLogicServer> <BEA-000342> <Unable to initialize the server:
weblogic.security.internal.encryption.EncryptionServiceException - with nested exception:
[com.rsa.jsafe.JSAFE_PaddingException: Could not perform unpadding: invalid pad byte.]>
***************************************************************************
The WebLogic Server did not start up properly.
com.rsa.jsafe.JSAFE_PaddingException: Could not perform unpadding: invalid pad byte.
at com.rsa.jsafe.JA_PKCS5Padding.a(Unknown Source)
at com.rsa.jsafe.JG_BlockCipher.decryptFinal(Unknown Source)
at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptBytes(JSafeEncryptionServiceImpl.java:67)
at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptString(JSafeEncryptionServiceImpl.java:93)
at weblogic.security.internal.encryption.ClearOrEncryptedService.decrypt(ClearOrEncryptedService.java:56)
at weblogic.management.EncryptionHelper.decryptString(EncryptionHelper.java:45)
at weblogic.ldap.EmbeddedLDAP.initServerConfig(EmbeddedLDAP.java:1147)
at weblogic.ldap.EmbeddedLDAP.initialize(EmbeddedLDAP.java:231)
at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:815)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:669)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:343)
at weblogic.Server.main(Server.java:32)
--------------- nested within: ------------------
weblogic.security.internal.encryption.EncryptionServiceException - with nested exception:
[com.rsa.jsafe.JSAFE_PaddingException: Could not perform unpadding: invalid pad byte.]
at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptBytes(JSafeEncryptionServiceImpl.java:77)
at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptString(JSafeEncryptionServiceImpl.java:93)
at weblogic.security.internal.encryption.ClearOrEncryptedService.decrypt(ClearOrEncryptedService.java:56)
at weblogic.management.EncryptionHelper.decryptString(EncryptionHelper.java:45)
at weblogic.ldap.EmbeddedLDAP.initServerConfig(EmbeddedLDAP.java:1147)
at weblogic.ldap.EmbeddedLDAP.initialize(EmbeddedLDAP.java:231)
at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:815)



Thanks in advance...!!
Matt Cartwright
Ranch Hand

Joined: Aug 25, 2008
Posts: 149

did you copy your domain directory?
Joseph Antoine Raja
Ranch Hand

Joined: Feb 01, 2010
Posts: 32
This error suggests that credentials de-encryption failed

Might be the Encryption file [SerializedSystemIni.dat] is corrupted
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Weblogic 8.1.6 Padding Problem