[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tomcat-user
Subject:    RE: Tomcat 4 and native threads
From:       Subir Sengupta <subir () walmart ! com>
Date:       2003-05-30 22:21:57
[Download RAW message or body]

Yes, rh9 uses a new threading library -
http://people.redhat.com/drepper/nptl-design.pdf .  To force RH to not use
the new library try setting LD_ASSUME_KERNEL=2.2.5 in your shell before
staring your app.  That may fix your problem.

Subir

-----Original Message-----
From: Michenaud Laurent [mailto:lmichenaud@free.fr]
Sent: Friday, May 30, 2003 1:38 PM
To: Tomcat Users List
Subject: RE: Tomcat 4 and native threads


i think it is because i've got a redhat 9.0 which
uses new kinds of threads( NPTL ).
Compatibility problems...

>
> Howdy,
> It's surprising that you think tomcat uses green threads and you don't
> know what the HotSpot VM is ;)  I don't think I've ever seen that
> combination before.
>
> Do java -version and you'll see that you already have the HotSpot VM.
> JDK 1.4.1 works on the Intel platforms you want.
>
> Unless you're really in exotic spaces, you don't need to specify native
> / green / alternative threading libraries to Sun's JVM.  Just run it
> with the default threading configuration.
>
> For more details on what options the VM supports, including
> threading-related options, see:
> http://java.sun.com/docs/hotspot/VMOptions.html
>
> Yoav Shapira
> Millennium ChemInformatics
>
>
>>-----Original Message-----
>>From: Michenaud Laurent [mailto:lmichenaud@free.fr]
>>Sent: Friday, May 30, 2003 4:03 PM
>>To: Tomcat Users List
>>Subject: RE: Tomcat 4 and native threads
>>
>>What is the HotSpot VM ?
>>Where can i download it ?
>>Does it work on i686 ?
>>
>>at this time, i've download the sun j2sdk 1.4.1 ( i586 ) and
>>when i launch : java -native
>>I get :
>>Error: native VM not supported
>>
>>> HotSpot VM supports only native threads and the Classic VM supports
>>native
>>> and green threads.
>>>
>>> To force it to use either native or green threads you can do:
>>>
>>> java -native mypkg.MyClass
>>> javac -native MyClass.java
>>>
>>> or if you use classic VM
>>>
>>> java -green mypkg.MyClass
>>> javac -green MyClass.java
>>>
>>> -----Original Message-----
>>> From: John Corrigan [mailto:john@johncorrigan.net]
>>> Sent: Friday, May 30, 2003 2:22 PM
>>> To: Tomcat Users List; lmichenaud@free.fr
>>> Subject: RE: Tomcat 4 and native threads
>>>
>>>
>>> Doesn't the thread model depend on the JVM?
>>>
>>>
>>> -----Original Message-----
>>> From: Michenaud Laurent [mailto:lmichenaud@free.fr]
>>> Sent: Friday, May 30, 2003 12:19 PM
>>> To: tomcat-user@jakarta.apache.org
>>> Subject: Tomcat 4 and native threads
>>>
>>>
>>> Hi,
>>>
>>> Tomcat 4 is using green threads, am i wrong ?
>>>
>>> how can i make it working with native threads ?
>>>
>>> thanks
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>>> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>>> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>
>
> This e-mail, including any attachments, is a confidential business
> communication, and may contain information that is confidential,
> proprietary and/or privileged.  This e-mail is intended only for the
> individual(s) to whom it is addressed, and may not be saved, copied,
> printed, disclosed or used by anyone else.  If you are not the(an)
> intended recipient, please immediately delete this e-mail from your
> computer system and notify the sender.  Thank you.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic