Nathan Meyers wrote:
>
> Rachel Greenham wrote:
> >
> > I recently (this weekend) attempted an upgrade to Java 2 on our web
> > servers, and came across a few problems someone might be able to help
> > with. Briefly:
> >
> > Java 1.2 green threads won't start on one system: It just hangs taking
> > all processor time and memory. This is a Dual PII machine with SMP
> > running kernel 2.2.9 and I've reported this as a bug to Blackdown. It's
> > not my software: it happens even if I just run "java" on its own.
Correction, the latter seems to sometimes work. But starting the servlet
engine (JRunPro) always dies, though it starts up fine on my develop
machine, and on native threads.
> Last I knew (unless it's been fixed in preV2) the JIT compiler was
> incompatible with green threads. Try running with -Djava.compiler= in
> the command-line to disable JIT.
Hmm. Well, it's been saying it can't find the JIT anyway. Actually, I'll
just check that's the case on the SMP box, it definitely is here, I get,
when I run Java:
Warning: JIT compiler "sunwjit" not found. Will use interpreter.
Yes, also on the SMP box.
$ java -version
Warning: JIT compiler "sunwjit" not found. Will use interpreter.
java version "1.2"
Classic VM (build Linux_JDK_1.2_pre-release-v2, green threads, nojit)
This is from the JDK downloaded from Blackdown (actually the UK sunsite
mirror) yesterday, and all I've done is change the default thread type
to green.
--
Rachel
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]