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

Florent BENOIT <[email protected]> Fri, 02 Sep 2011 14:21:11 +0200
Newsgroups gmane.comp.java.objectweb.jonas
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--------------040209020905050901060505
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: quoted-printable

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=20
> 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=C3=A9phane 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 thr=
ow a
>> ClassCastException, no matter the object implements Serializable or no=
t. I
>> think this remote call is cast in a local call and then, the object is=
n't
>> serialized so I've a classloader issue.
>>
>> NB: It's a test with simple interfaces/objects.
>>
>> Best regards, St=C3=A9phane.
>


--------------040209020905050901060505
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<html>
  <head>
    <meta content=3D"text/html; charset=3DUTF-8" http-equiv=3D"Content-Ty=
pe">
  </head>
  <body bgcolor=3D"#FFFFFF" text=3D"#000000">
    It's the security manager in JONAS_BASE/conf/jonas.properties<br>
    <br>
    Regards,<br>
    <br>
    Florent<br>
    <br>
    On 09/02/2011 01:02 PM, Hans J. Prueller wrote:
    <blockquote cite=3D"mid:1314961368.7142.1.camel@kodos" type=3D"cite">
      <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DU=
TF-8">
      <meta name=3D"GENERATOR" content=3D"GtkHTML/3.32.2">
      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=C3=A9phane K.:
      <blockquote type=3D"CITE">
        <pre>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=C3=A9phane.
</pre>
      </blockquote>
      <br>
    </blockquote>
    <br>
  </body>
</html>

--------------040209020905050901060505--