com.rsa.jsafe.JSAFE_PaddingException: Could not perform unpadding: invalid pad byte

com.rsa.jsafe.JSAFE_PaddingException: Could not perform unpadding: invalid pad byte

The above exception is encountered during server startup. This happens when SerializedSystemIni.dat present under domain\your_domain\security folder is modified.

To troubleshoot this issue, we need to do the following.

Check if the Domain is in Production Mode or Development Mode.

If its in Development, take a backup of your config.xml first.
Then change the values of the following elements of config.xml to clear text

credential-encrypted (at 2 places) and node-manager-password-encrypted.

If you have a datasource configured, or a jms resource, make sure to change the encrypted values in those configurations file as well.

If its a Production domain, then change it to Development by changing the production mode to false in the startup script and manually remove the entry for the production mode in the config.xml.

set PRODUCTION_MODE=false

If still your issue is not resolved, fell free to post a comment and I will try to help you out.

Latest Comments

  1. hussain November 28, 2010
    • divya November 29, 2010
  2. Kesav January 5, 2011
  3. abc January 20, 2011
    • Administrator January 21, 2011
  4. MikeK March 3, 2011
    • anandraj March 3, 2011
  5. MikeK March 3, 2011
    • anandraj March 4, 2011
  6. MikeK March 4, 2011
    • anandraj March 4, 2011
  7. kiran May 3, 2011
    • anandraj May 9, 2011
  8. Tiruppathi Rajan June 4, 2012
    • Administrator June 5, 2012
  9. Tiruppathi Rajan June 5, 2012
  10. Tiruppathi Rajan June 7, 2012
  11. Lokesh June 14, 2012
  12. chinna July 17, 2012
  13. Jay September 12, 2012
    • Administrator September 12, 2012
  14. lionel February 1, 2013
    • Administrator February 17, 2013
  15. Ignacy Pulaski August 9, 2013
  16. Anonymous October 11, 2013
    • Administrator October 15, 2013
      • Anonymous October 15, 2013
        • Administrator October 16, 2013
  17. Anonymous October 14, 2013
    • Administrator October 15, 2013
  18. KK February 2, 2016

Leave a Reply