[jboss-user] [JBoss Messaging] - Re: Incompatible local class org.jboss.remoting.InvokerLocat

tonylmai do-not-reply at jboss.com
Wed Apr 4 16:30:34 EDT 2007


I found a posting on this board not to use jboss-all-client.jar so I removed it from my computer totally. My client only used those 3 jars I mentioned.

Here is the client output. Notice the fourth jar in the list is for the client itself.
anonymous wrote : D:\dev\exchange\bin>java  -classpath ..\\build\jar\exchange.jar;D:\JBoss\jboss-4.0.5.GA\client\jboss-j2ee.jar;..\\lib\jboss-messaging-client.jar;..\\lib\judots-common.jar com.judots.exchange.client.commandline.ExchCommandlineClient
  | 
  | Unable to connect to remote server. Exception:Unable to lookup Exchange's Maintenance Server. Please shutdown application and try again.
  | com.judots.exchange.api.config.ServiceLocatorException: Unable to lookup Exchange's Maintenance Server. Please shutdown application and try again.
  |         at com.judots.exchange.api.config.admin.ExchangeAdminServiceLocator.open(ExchangeAdminServiceLocator.java:26)
  |         at com.judots.exchange.client.commandline.ExchAppController.init(ExchAppController.java:54)
  |         at com.judots.exchange.client.commandline.ExchCommandlineClient.run(ExchCommandlineClient.java:89)
  |         at com.judots.exchange.client.commandline.ExchCommandlineClient.main(ExchCommandlineClient.java:137)
  | 
  | Caused by: javax.naming.CommunicationException [Root exception is java.io.InvalidClassException: org.jboss.remoting.InvokerLocator; local class incompatible: stream classdesc serialVersionUID = -2909329895029296248, local class serialVersio
  | nUID = -4977622166779282521]
  |         at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:723)
  |         at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:588)
  |         at javax.naming.InitialContext.lookup(Unknown Source)
  |         at com.judots.exchange.api.config.admin.ExchangeAdminServiceLocator.open(ExchangeAdminServiceLocator.java:24)
  |         ... 3 more
  | 
  | Caused by: java.io.InvalidClassException: org.jboss.remoting.InvokerLocator; local class incompatible: stream classdesc serialVersionUID = -2909329895029296248, local class serialVersionUID = -4977622166779282521
  |         at java.io.ObjectStreamClass.initNonProxy(Unknown Source)
  |         at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
  |         at java.io.ObjectInputStream.readClassDesc(Unknown Source)
  |         at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
  |         at java.io.ObjectInputStream.readObject0(Unknown Source)
  |         at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
  |         at java.io.ObjectInputStream.readSerialData(Unknown Source)
  |         at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
  |         at java.io.ObjectInputStream.readObject0(Unknown Source)
  |         at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
  |         at java.io.ObjectInputStream.readSerialData(Unknown Source)
  |         at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
  |         at java.io.ObjectInputStream.readObject0(Unknown Source)
  |         at java.io.ObjectInputStream.readObject(Unknown Source)
  |         at java.rmi.MarshalledObject.get(Unknown Source)
  |         at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:72)
  |         at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:653)
  |         ... 6 more
  | 
  | D:\dev\exchange\bin>

I agree that it is highly an err on my client's end. I just can't figure out where it could be.

Thanks

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

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



More information about the jboss-user mailing list