Appreciate the help. I was able to get things working, for the most part, by
setting the following environment variables:
THREADS_FLAG=GREEN
JAVA_COMPILER=NONE
I am, in fact, using native threads under Solaris.
Thanks,
James
Cees de Groot wrote:
> [EMAIL PROTECTED] wrote:
> >Under Solaris 7, my code works fine. Under Linux, however, the RMI
> >Server Object's method is never gotten into; It's as if the suspended
> >thread blocks the object from all outside methods call.
> >
> >I've started both client and server using -green and turned off the JIT
> >setting my JAVA_COMPILER=NONE environment variable.
> >
> Have you been using green threads on Solaris as well? The RMI daemon
> doesn't take any explicit arguments so I guess you have to do this with
> environment variables. As far as I understood it, the RMI daemon does not
> spawn new threads but rather whole new VM processes per activation group
> and you want to make absolutely sure that all VM's involved run green
> threads in order to eliminate programmer error.
>
> I have Jini running onder Blackdown pre-v2 via RMI activation so it
> seems to be basically working. I did have some problems on my SMP box,
> but on my laptop with native threads things seem to be OK (at least,
> 'ps' indicates some 107 Java procs polluting process table space ;-)).
>
> --
> Cees de Groot http://www.cdegroot.com <[EMAIL PROTECTED]>
>
> ----------------------------------------------------------------------
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]