[jboss-user] [JBoss jBPM] - Re: Error testing Hello World BPEL on JBoss 4.0.5
crussell42
do-not-reply at jboss.com
Thu Feb 8 10:02:16 EST 2007
I was getting something similar and needed to point my runtime classpath at jboss/client jars.
| [java] javax.naming.CommunicationException [Root exception is java.io.InvalidClassException: org.jboss.remoting.InvokerLocator; local class incompatible: stream classdesc serialVersionUID = -2909329895029296248, local class serialVersionUID = -4977622166779282521]
| [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:723)
| [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:588)
| [java] at javax.naming.InitialContext.lookup(InitialContext.java:351)
| [java] at client.EjbClient.main(EjbClient.java:37)
| [java] Caused by: java.io.InvalidClassException: org.jboss.remoting.InvokerLocator; local class incompatible: stream classdesc serialVersionUID = -2909329895029296248, local class serialVersionUID = -4977622166779282521
| [java] at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:546)
| [java] at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1552)
| [java] at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
|
SO Here was the fix to make sure the jboss/client/*.jar is in classpath first.
This was a snippet of the ant task for running my client.
| <fileset dir="/usr/local/jboss/client">
| <include name="*.jar"/>
| </fileset>
| </path>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013062#4013062
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013062
More information about the jboss-user
mailing list