What is out of synch is the jboss-client.jar you are using.
The JBoss-2.3 org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy
has a serialVersionUID = 432426690456622923L:
client 571>serialver -classpath jboss-client.jar
org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy
org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy:
static final long serialVersionUID = 432426690456622923L;
while JBoss-2.2.1 org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy
has a serialVersionUID = 6136307389075444997L:
client 580>serialver -classpath jboss-client.jar
org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy
org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy:
static final long serialVersionUID = 6136307389075444997L;
Ferguson, Doug wrote:
> When I deploy to jboss that is built from the current source I get the
> following stack trace on my jndi lookup....
>
> javax.naming.CommunicationException
> with Root Exception java.io.InvalidClassException:
> org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy;
> local class not comptible: stream classdesc serialVersionUID=4324...923
> local classdesc serialVersionUID=6136...997
> at java.io.OjbectStreamClass.validateLocalClass(UnkownSource)
> ....
> at java.rmi.MarshalledObject.get(Unknown Source)
> at org.jnp.interfaces.NamingContext.lookup(NamingContext 299)
> at org.jnp.interfaces.NamingContext.lookup(NamingContext 279)
> at javax.naming.InitialContext.lookup(Unknow Source)
> at amazin.beans.Client.ini(Clien.java 28)
> at amzain.beans.Client.main(Client.java 22)
>
> I retyped this stackTrace cuz I can't cut and paste from this winblows.
> ok...
>
> Client.java 38 is a lookup on the HomeInterface....
> ((KeyGeneratorHome)
> context.lookup("KeyGenerator")).create("TheKeyGenerator");
>
> The first thing that will come to mind, is oh, you've updated the interface
> and the client & jboss are out of sync, however jboss2.2.1 works just fine
> with the same jar...
>
> d.
>
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development