Skip to main content

Interop question

2 replies [Last post]
elkner
Offline
Joined: 2003-06-10
Points: 0

With mustang beta I get a CCE when trying to load a String array sent from a remote server:

08:50:42,903 [Thread-4] ERROR (SocketClientInvoker.java:279) - Got marshalling exception, exiting
java.lang.ClassNotFoundException: [Ljava.lang.String;
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
...

The client is a app using jboss remoting package, the server side is jboss 4.0.4RC1 running with 1.5.0_06. If I run the client with 1.5.x as well, there is no problem.

So is it expected behavior, or is interoperation between 1.6 and 1.5 not allowed/supported ?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
alexlamsl
Offline
Joined: 2004-09-02
Points: 0

> java.lang.ClassNotFoundException: [Ljava.lang.String;

This line is genuinely interesting; I suppose you are (de)serialising the String array, in which case its serialVersionUID == 0 so it should work.

How about writing a simple socket send / receive test, compile it on 1.5.0_06 and run it on both Tiger and Mustang? ;)

elkner
Offline
Joined: 2003-06-10
Points: 0

Unfortunately I don't have the time to analyze the whole EJB3 stack to find out, what's finally going wrong and create a cut-down case.

Maybe somebody else wanna get a T-Shirt (I guess, this is what you meant) ;-)

For me it was just a simple "can I ..." test. Obviously not (and there are also other annoying things) and so we better save some time and wait for the next release.