IBM Support

Messaging engine startup encounters java.io.InvalidClassException when migrating from WebSphere Application Server 6.1 to WebSphere Application Server 8.5.5 when using file store as persistence store

Troubleshooting


Problem

When migrating from WebSphere Application Server 6.1 to WebSphere Application Server 8.5.5, an InvalidClassException is seen during Messaging Engine startup. This error occurs only when the file store is used as persistence store mechanism in Service Integration Bus Messaging engine set.

Symptom

The following ffdc is observed:


FFDC Exception:java.io.InvalidClassException SourceId:com.ibm.ws.objectManager.ManagedObject:restoreSerializedDefault ProbeId:1:524:1.34
java.io.InvalidClassException: com.ibm.ws.sib.msgstore.persistence.objectManager.PersistableMetaData; local class incompatible: stream classdesc serialVersionUID = 7600601884916750783, local class serialVersionUID = 7600601884916130911
at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:630)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1598)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1511)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1747)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1344)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:363)

Cause

The new WebSphere application server v8.5.5 uses a new serial version id for com.ibm.ws.sib.msgstore.persistence.objectManager.PersistableMetaData class compared to the one used in WebSphere application server 6.1. This mismatch in the serial version is causing the failure in starting up of Messaging Engine.

Resolving The Problem

Before migrating to WebSphere Application Server 8.5.5 and above, please make sure to consume/drain all messages in destinations. Then delete the old file store as specified in the info center:
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=phil&product=was-express-iseries&topic=tjm1060

[{"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Service Integration Technology","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF012","label":"IBM i"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"},{"code":"PF035","label":"z\/OS"}],"Version":"8.5.5.1;8.5.5","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}},{"Product":{"code":"SSFTDH","label":"IBM Business Process Manager Standard"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Messaging Engine","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SS7J6S","label":"WebSphere Enterprise Service Bus"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SSFKSJ","label":"WebSphere MQ"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SSQH9M","label":"WebSphere Process Server"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SSWLGF","label":"WebSphere Service Registry and Repository"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
15 June 2018

UID

swg21655778