Re: carol.jvm.rmi.local.call ignored

Florent BENOIT <[email protected]> Wed, 07 Sep 2011 16:38:03 +0200
Newsgroups gmane.comp.java.objectweb.jonas
Message-ID <[email protected]>
     Hi,

You should turn off registry optimization (JONAS_BASE/conf/carol.properti=
es)
carol.jvm.rmi.local.registry=3Dfalse
I've tested with your example and it works

Regards,

Florent

On 09/02/2011 12:25 PM, St=C3=A9phane K. wrote:
> Hello all,
>
> 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.
>
> NB: It's a test with simple interfaces/objects.
>
> Best regards, St=C3=A9phane.