IBM Support

Getting java.io.IOException: partnerlog corrupted after database refresh

Question & Answer


Question

After refreshing the database, while WebSphere is still accessing database, WebSphere can not startup and getting the following message
WSVR0009E: Error occurred during startup
com.ibm.ws.exception.RuntimeError: java.io.IOException: partnerlog corrupted
    at com.ibm.ws.tx.util.WASTMHelper.asynchRecoveryProcessingComplete(WASTMHelper.java:176)
    at com.ibm.tx.util.TMHelper.asynchRecoveryProcessingComplete(TMHelper.java:57)
    at com.ibm.tx.jta.impl.RecoveryManager.recoveryFailed(RecoveryManager.java:1421)
    at com.ibm.tx.jta.impl.RecoveryManager.run(RecoveryManager.java:2073)
    at java.lang.Thread.run(Thread.java:798)
Caused by: java.io.IOException: partnerlog corrupted
    at com.ibm.tx.jta.impl.RecoveryManager.replayPartnerLog(RecoveryManager.java:1121)
    at com.ibm.tx.jta.impl.RecoveryManager.run(RecoveryManager.java:2061)
    ... 1 more
DB2 database
WebSPhere 8.5.5.10

Answer

From the Message, it appears you are using database table to store the transaction log, and the table is most likely corrupted.  There is no other way to restore it. So if you are using the database to store Transaction log, you will need to have iFixes for APAR PI65127(fixpack 8.5.5.11), PI88168(fixpack 8.5.5.14), and PH05716(fixpack 8.5.5.16). These ifixs are available 8.5.5.16 fix level.  These ifixs has prevented the issue from happening in the future but won't recover the present situation.  Since, the transaction log table is already basically corrupted so You will need to wipe the data in the tables used for the logging (You may be able to simply delete/drop the tables and have WAS recreate them, but that depends on whether you want to create them manually or not in case you have any special security requirements for table ownership).

Related Information

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Component":"","Platform":[{"code":"PF002","label":"AIX"}],"Version":"8.5.5.11 and higher","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
05 December 2019

UID

ibm11120185