Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes JBoss/WildFly and the fly likes Error using JBoss5.0.0GA Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Error using JBoss5.0.0GA" Watch "Error using JBoss5.0.0GA" New topic

Error using JBoss5.0.0GA

uttam kumar
Ranch Hand

Joined: Jan 27, 2009
Posts: 128

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.

thanks in advance
Jaikiran Pai

Joined: Jul 20, 2005
Posts: 10441

javax.naming.CommunicationException [Root exception is; 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.

[My Blog] [JavaRanch Journal]
I agree. Here's the link:
subject: Error using JBoss5.0.0GA
It's not a secret anymore!