This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Weblogic9.2 Error message:Could not perform unpadding: invalid pad byte.

 
Murali Sridhar
Ranch Hand
Posts: 44
Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I have created Teradata Data Source and while doing "Activate Changes" in Weblogic9.2 its throwing erro message "Could not perform unpadding: invalid pad byte."
Error log:
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
<Mar 18, 2009 9:46:49 AM IST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating activate task for application 'Teradata Data Sourc
e'.>
<Mar 18, 2009 9:46:49 AM IST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
com.rsa.jsafe.JSAFE_PaddingException: Could not perform unpadding: invalid pad byte.
at com.rsa.jsafe.JA_PKCS5Padding.a([BIILjava.lang.Object;)I(Unknown Source)
at com.rsa.jsafe.JG_BlockCipher.decryptFinal([BI)I(Unknown Source)
at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptBytes(JSafeEncryptionServiceImpl.java:68)
at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptString(JSafeEncryptionServiceImpl.java:94)
at weblogic.security.internal.encryption.ClearOrEncryptedService.decrypt(ClearOrEncryptedService.java:87)
Truncated. see log file for complete stacktrace
com.rsa.jsafe.JSAFE_PaddingException: Could not perform unpadding: invalid pad byte.
at com.rsa.jsafe.JA_PKCS5Padding.a([BIILjava.lang.Object;)I(Unknown Source)
at com.rsa.jsafe.JG_BlockCipher.decryptFinal([BI)I(Unknown Source)
at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptBytes(JSafeEncryptionServiceImpl.java:68)
at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptString(JSafeEncryptionServiceImpl.java:94)
at weblogic.security.internal.encryption.ClearOrEncryptedService.decrypt(ClearOrEncryptedService.java:87)
Truncated. see log file for complete stacktrace
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
I would be thankful if you tell how to trouble shoot this!

Thanks in advance....
Murali Sripadam.
 
Joe Ess
Bartender
Pie
Posts: 9265
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


I don't know anything about Teradata, but a padding exception and the presence of RSA makes me suspect an encryption problem. Are you trying to access an encrypted database using the wrong algorithm or trying to access an unencrypted database as if it were encrypted?
 
Murali Sridhar
Ranch Hand
Posts: 44
Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot Joe,

I got resolution of this error with your hint.I'm trying to access the unencrypted database with the encrypted Password.I tried to access with the clear text password and I got the access to DB.

Thanking you,
Murali Sripadam.




 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic