Re: Re: Re: carol.jvm.rmi.local.call ignored
Stéphane KÉRAIN <[email protected]> Fri, 2 Sep 2011 15:44:51 +0200
| Newsgroups | gmane.comp.java.objectweb.jonas |
|---|---|
| Message-ID | <CAJrEwFJ0V3Y3-AWGoY4bxfsTsjmktikXpgM-DYjFHdkigAUR6w@mail.gmail.com> |
--bcaec5215c03c8997504abf59099 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable So what is the correct configuration with this properties to disable local call optimization, please ? This "details" are not so obvious for me. :) 2011/9/2 Florent BENOIT <[email protected]> > It's the security manager in JONAS_BASE/conf/jonas.properties > > Regards, > > Florent > > > On 09/02/2011 01:02 PM, Hans J. Prueller wrote: > > 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, > unfortunately I can't remember which one it was ... anyone? > > regards, > hans > > > Am Freitag, den 02.09.2011, 12:25 +0200 schrieb St=E9phane K.: > > 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 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=E9phane. > > > > --bcaec5215c03c8997504abf59099 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable So what is the correct configuration with this properties to disable local = call optimization, please ?<br><br>This "details" are not so obvi= ous for me. :)<br><br><div class=3D"gmail_quote">2011/9/2 Florent BENOIT <s= pan dir=3D"ltr"><<a href=3D"mailto:[email protected]">Florent.Benoi= [email protected]</a>></span><br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex;"> =20 =20 =20 <div bgcolor=3D"#FFFFFF" text=3D"#000000"> It's the security manager in JONAS_BASE/conf/jonas.properties<br> <br> Regards,<br><font color=3D"#888888"> <br> Florent</font><div><div></div><div class=3D"h5"><br> <br> On 09/02/2011 01:02 PM, Hans J. Prueller wrote: <blockquote type=3D"cite"> =20 =20 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=E9phane K.: <blockquote type=3D"CITE"> <pre>Hello all, It seem's that JOnAS 5.2.1 property "carol.jvm.rmi.local.call=3Dfa= lse" 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=E9phane. </pre> </blockquote> <br> </blockquote> <br> </div></div></div> </blockquote></div><br> --bcaec5215c03c8997504abf59099--