[jboss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - Re: how to run ex04_1a from remote ?

atelieux do-not-reply at jboss.com
Tue Jun 12 04:38:06 EDT 2007


------- summary of (server) machine ---------
OS: Windows Vista (!!)
JDK & JRE: 1.6.0
JBOSS: 4.0.5
ANT: 1.7.0
JAVA DEV.ENV.: Eclipse 3.2.2
----------------------------------------------------------
Hi all! i'm a newbie with Jboss...i'm porting an application from jboss 3.0.5 (PERFECTLY WORKING) to jboss 4.0.5 GA, and when i run the application, java diplays this error:

[java] Root exception is java.io.InvalidClassException: 
[java] org.jboss.proxy.ejb.GenericEJBInterceptor; local class incompatible: 
[java] stream classdesc serialVersionUID = 3844706474734439975, local 
[java] class serialVersionUID = 4582256576523491346

The error is displayed when the application do the context lookup.
I tried to make the changes explained in this thread for jboss 3.x but the problem remains...the issue persists on local and on remote side.

I post also the properties file:

[prop] PROVIDER_URL=192.168.2.82:1099
[prop] INITIAL_CONTEXT_FACTORY=org.jnp.interfaces.NamingContextFactory

Obviously, i re-build ALL ejb with the new jdk, 1.6.0, but the previous version was 1.4.0, with ant 1.7.0.

Somebody has any idea?? thanks...

A.




View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053387#4053387

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4053387



More information about the jboss-user mailing list