Enum Serialization with Weblogic EJB Client

Published:
Reading time:
About 1 min

I was trying to setup an ejb client to connect to an ejb running on a Weblogic 9 app server. I could connect fine, but kept getting a Mismatched serialization uids error on a Java 5 Enum class. After some digging I found
a fix on JavaRanch. For whatever reason using the wlclient.jar will not work when serializing enums, but using the full blown weblogic.jar is fine. I’m going to ignore the details on this one and just move along, but maybe someone else understands the problem/workaround/fix better?