my application was previously using JBoss4 and now i want it to shift onto JBoss5. the problem is that when i deploy my ejbs on JBoss5 i get InvalidClassException. my entire code is compiled on JDK 1.6.0_11.
if i replace the JBoss 5 with the old one the application works fine. I am not getting what i have did wrong. please give any suggestion.
javax.naming.CommunicationException [Root exception is java.io.InvalidClassException: org.jboss.util.id.GUID; local class incompatible: stream classdesc serialVersionUID = 3289509836244263718, local class serialVersionUID = 6926421946503004889
Are you including any JBoss specific jar files in your application or in the classpath? If yes, remove them. I guess you are including the older version of the jars.