Win a copy of Rust Web Development this week in the Other Languages forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

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

 
Ranch Hand
Posts: 44
Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.




 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic