Older JVM implementations, such as Sun's early releases and reference
implementations, implemented a "green threads" threading model inside the
JVM. The "green" came from the original name for the Java project at Sun -
the Green Project. Green threads uses a many-to-one model implemented as a
user-level thread library running inside the JVM. Green threads are terrible
for multiprocessor machines because the kernel only ever sees one thread
(the JVM process), but they can perform well on a single CPU machine.
The Solaris version of the Java 2 Runtime Environment ships with support for
both green threads and native threads. Files providing this threading
support are in the directories lib//green_threads and lib//native_threads
respectively. You could try running with native threads instead:
> setenv THREADS_FLAG native
I do believe JRUN 3.0 uses JDK 1.2.2 or later.
Justy
----- Original Message -----
> HI,
>
> In my application i am using Threads to generate
> Reports(JReports).This works fine with NT and Linux
> environment but fails on Solaris 5.8 envirinment (spawned thread is
> not completing the task)
>
> I tried setting the THREADS_FLAG environment variable
> in solaris to 'green' and got a JRun Error 'green thread
> is Not supported'.
>
> which thread (green or native) JRUN 3.0 supports?
> Is there any known issue using Threads in the application
> with Jrun 3.0 and Solaris 5.8?
>
> Env:
>
> OS:Solaris 5.8
> Jrun:3.0
> JDK:1.2.2
> apache:3.1.14
>
>
> Thanks & Regards,
> rathna.
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets