I have similar problem can anyone show what is the problem. On my side i cannot run the client even then i restart the application server. The error thrown is
java.lang.RuntimeException: java.io.InvalidClassException: com.kt.inventory.entity.bean.Category; local class incompatible: stream classdesc serialVersionUID = 7532859717847406178, local class serialVersionUID = -2072288254546005124 at org.jboss.aop.joinpoint.MethodInvocation.getArguments(MethodInvocation.java:213) at org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:179) at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:107)
So, you are allocating an instance of Category on the client and passing it as an argument to the server?
My guess is the problem is exactly what the error message is telling you, that the client's class is incompatible with the servers. Are you sure the client and server jars are the same? Check your build scripts.
It has often been suggested to supply your own serialVerisionUID so versioning can be managed the developer. Do this by supplying a private static final long named serialVersionUID within the serializable classes.