[jboss-user] [EJB/JBoss] - Java 6 corrupted stream - help needed
mark.bramnik
do-not-reply at jboss.com
Mon Feb 23 15:49:30 EST 2009
Hi, I'm working on rich-client (SWING) based application with EJB3 backend.
I work with jboss 4.0.4 and jdk 1.5.07
Recently I tried to upgrade to Java 1.6_02 and encountered a weird problem when strarting my rich client application.
I'm getting s "stream corrupted (05)" message when attempting to deserialize the data retrieved by the EJB3 stub.
I've investigated to find an error, and found a kind of workaround to this problem here : https://jira.jboss.org/jira/browse/JBPAPP-907
-Dsun.lang.ClassLoader.allowArraySyntax=true
Ive' Added the parameter and it really fixed the problem.
_BUT_ ideally I would like to use web start to distribute my application through the network.
And with the Web Start technology this parameter is useless (it just doesn't read it even when supplied) and I have the same issue. I was wondering if there is another solution to web-start related classloaders (as far as I understand, the classloader that is invoked from javaws is different from the standard class loader.
So the question is whether its possible to define something in jnlp file in order to make a WebStart to operate properly?
Thanks in advance for any help
Mark
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4212420#4212420
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4212420
More information about the jboss-user
mailing list