Re: carol.jvm.rmi.local.call ignored
"Hans J. Prueller" <[email protected]> Fri, 02 Sep 2011 13:02:47 +0200
| Newsgroups | gmane.comp.java.objectweb.jonas |
|---|---|
| Organization | LBS logics GmbH |
| Message-ID | <1314961368.7142.1.camel@kodos> |
--=-KHU/91ZVdQPvFnj4uID/ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I think you also have to set another property, to make rmi.local.call effective. try to read the comments in config files or the docs,=20 unfortunately I can't remember which one it was ... anyone? regards, hans Am Freitag, den 02.09.2011, 12:25 +0200 schrieb St=C3=A9phane K.: > Hello all, >=20 > It seem's that JOnAS 5.2.1 property "carol.jvm.rmi.local.call=3Dfalse" = is > ignored: one EJB remote call to another EJB which return an object thro= w a > ClassCastException, no matter the object implements Serializable or not= . I > think this remote call is cast in a local call and then, the object isn= 't > serialized so I've a classloader issue. >=20 > NB: It's a test with simple interfaces/objects. >=20 > Best regards, St=C3=A9phane. --=-KHU/91ZVdQPvFnj4uID/ Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: 7bit <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8"> <META NAME="GENERATOR" CONTENT="GtkHTML/3.32.2"> </HEAD> <BODY> I think you also have to set another property, to make rmi.local.call effective.<BR> <BR> try to read the comments in config files or the docs, <BR> unfortunately I can't remember which one it was ... anyone?<BR> <BR> regards,<BR> hans<BR> <BR> <BR> Am Freitag, den 02.09.2011, 12:25 +0200 schrieb Stéphane K.: <BLOCKQUOTE TYPE=CITE> <PRE> Hello all, It seem's that JOnAS 5.2.1 property "carol.jvm.rmi.local.call=false" is ignored: one EJB remote call to another EJB which return an object throw a ClassCastException, no matter the object implements Serializable or not. I think this remote call is cast in a local call and then, the object isn't serialized so I've a classloader issue. NB: It's a test with simple interfaces/objects. Best regards, Stéphane. </PRE> </BLOCKQUOTE> <BR> </BODY> </HTML> --=-KHU/91ZVdQPvFnj4uID/--