Lỗi này javax.crypto.badpaddingexception given final block not properly padded năm 2024
The error "javax.crypto.BadPaddingException: Given final block not properly padded" is poorly worded. It means that the lqe.key file being used is the wrong one and can not decrypt the data in LQE. Diagnosing The ProblemReview the lqe.log for the error message mentioned and in case the trace matches, follow through the instructions provided below Resolving The Problem1. Stop the IBM LQE application server/ process 2. Run the following SQL queries SELECT akey FROM kv_table_lqe WHERE akey LIKE 'inboundauthconfig%'; SELECT akey FROM kv_table_lqe WHERE akey LIKE 'pgsconfig%'; 3. Run the following SQL query SELECT akey FROM kv_table_lqe WHERE akey LIKE 'node%'; Note: SQL (2) should return 1 entry each SQL (3) should return 2 entries. 4. Confirm the value in file example: lqe.node.id = xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx And SELECT akey FROM kv_table_lqe WHERE akey LIKE 'node%'; returns.. node; nodeid="PropertyGraph" node; nodeid="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" NOTE : If there are any discrepency on steps 3 or 4, reach out to IBM Software Support for a more thorough check. Else continue to Step 5. 5. Run the following SQL queries DELETE FROM kv_table_lqe WHERE akey LIKE 'inboundauthconfig%'; DELETE FROM kv_table_lqe WHERE akey LIKE 'pgsconfig%'; 6. Start the IBM LQE application server/ process. Document LocationWorldwide [{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSUB2H","label":"IBM Engineering Lifecycle Optimization - Engineering Insights"},"Component":"lqe;Lifecycle Query Engine","Platform":[{"code":"PF006","label":"CentOS"},{"code":"PF016","label":"Linux"},{"code":"PF051","label":"Linux on IBM Z Systems"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"6.0.6;6.0.6.1","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}] This website uses cookies to ensure you get the best experience. Learn More. Accept
Ask Questions and Find AnswersReceive an error when running updatedb, upgradeui, or maxinst: "Given final block not properly padded" CauseEncrypted maximo.properties password AnswerWhen trying to execute either updatedb, upgradeui (Maximo upgrade tools), or maxinst you receive the following error messages: [{"Type":"MASTER","Line of Business":{"code":"LOB59","label":"Sustainability Software"},"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Product":{"code":"SSLKT6","label":"IBM Maximo Asset Management"},"ARM Category":[{"code":"a8m50000000CbPGAA0","label":"General"}],"ARM Case Number":"","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"7.1.0;7.5.0;7.6.0;7.6.1"},{"Product":{"code":"SSLKTY","label":"Maximo Asset Management for IT"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Not Applicable","Platform":[{"code":"","label":"All"}],"Version":"","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}},{"Product":{"code":"SSKTXT","label":"Tivoli Change and Configuration Management Database"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Not Applicable","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}},{"Product":{"code":"SS6HJK","label":"Tivoli Service Request Manager"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":null,"Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}] |