My Photo

Become a Fan

DailyMile

Google Ad Skyscraper

« Washing machines and mobile phones | Main | OpenSource contributions on your resume, a good thing? »

June 15, 2005

Comments

Hello Billy,
Here is a question about websphere thread pool arithmetic. I wonder wether it works as below:
I set the min.(MIN) and max.(MAX) number of thread pool of a server.
When a request comes, the server will check wether there is still alive thread in pool, if yes, it will return one, if not, it will create a new thread and return it.
When a response complete, the thread is return to the server, then the server will check the pool's size, if it already bigger than MAX, then it just destory the thread, otherwise, it will return it into the pool.

Another question is if I set the thread timeout for server, how the server deal with the thread which has reached its timeout?
Thank you.

DAI Jun

Hello Billy,
Here is a question about websphere thread pool arithmetic. I wonder wether it works as below:
I set the min.(MIN) and max.(MAX) number of thread pool of a server.
When a request comes, the server will check wether there is still alive thread in pool, if yes, it will return one, if not, it will create a new thread and return it.
When a response complete, the thread is return to the server, then the server will check the pool's size, if it already bigger than MAX, then it just destory the thread, otherwise, it will return it into the pool.

Another question is if I set the thread timeout for server, how the server deal with the thread which has reached its timeout?
Thank you.

Ranjit Aneesh

Hi Billy

Is Work Area Service of WAS 6.0 a safer way to implement what Threadlocal does?? Are we safe from Threads not being cleared after it is returned to the Thread pool. Are there any cautions we need to take care while using Work Area Service if my requirement is simply to maintain thread state just like Threadlocal minus the hassle.

woretes

Tramadol is a Pain killer abused by many, Huraaa for being a pharmacy student.an effective pain reliever (analgesic). Its mode of action resembles that of narcotics, but it has significantly less potential for abuse and addiction than the narcotics.


http://tramadolcom.info





















Tramadol is a Pain killer abused by many, Huraaa for being a pharmacy student.

derndecc

[url=http://www.spbgu.ru/blog33831#8]female domination video[/url]
[url=http://www.spbgu.ru/blog33832#3]amp domination submission[/url]
[url=http://www.spbgu.ru/blog33833#6]male foot fetish[/url]
[url=http://www.spbgu.ru/blog33834#8]my friends hot mom mrs vette[/url]

Jim Manico

Tramadol will not fix your ThreadLocal problems.

maxant

no one has given an example of where this could be a problem. here is one:

two web application deployed in the same EAR (or even seperate EAR depending upon your class loader configuration and deployment) - both set a thread local which is a map of properties. one, in a given case, processing a web request doesnt set a property in the map and calls a service which reads that unset property. that unset property could contain a value from the other application.

fix: ensure you clear up your thread locals before your are finished with the thread. initialise ALL thread locals before using them - dont assume the threads you get from a pool are like a new thread.

maxant

ive summarised the things i have found about this topic under:

http://blog.maxant.co.uk/pebble/2008/09/23/1222200780000.html

Raghu

Hi All,

One of my Customer is having problem with websphere. It is goes down suddenly then restart it , again it works fine.

Could some one please give suggestions on this ...

Thanks for your help in advance!

Thanks & Regards,
Raghu.

brendenr

http://searchitusa.com/search.php?q=Ambien - [color=red - [size=16 - To Buy Ambien Online[/size - [/color - http://searchitusa.com/search.php?q=Ambien - http://top2top.info/img/pharmacy1.jpg http://searchitusa.com/search.php?q=Ambien - [color=red - [size=15 - ENTER HERE[/size - [/color - Ambien cod accepted Cheap ambien cash on delivery Buy ambien without prescription Affect ambien side Order generic ambien online

The comments to this entry are closed.