Local class incompatible problem in JBoss
Issue
- We developed a new MDB, it worked fine on development JBoss EAP 5.0 server. But when moved to QA, it didn't work. What caused the problem? The QA JBoss is supposed to have the same setting as Development. Could some difference in the enviroment cause such an issue?
2013-03-06 10:23:59,984 ERROR [STDERR] (WorkManager(2)-7) java.lang.RuntimeException: com.example.client.Class; local class incompatible: stream classdesc serialVersionUID = -3561243846494164760, local class serialVersionUID = 8049365341957447402
Environment
- JBoss Enterprise Application Platform (EAP) 5.x
- JBoss Enterprise Application Platform (EAP) 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.