Current location: Hot Scripts Forums » Programming Languages » Everything Java » Thread Pool


Thread Pool

Reply
  #1 (permalink)  
Old 11-22-10, 10:14 PM
shiva kumar shiva kumar is offline
New Member
 
Join Date: Nov 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation Thread Pool

Hi All,

If i comment the following in conf/server.xml

<Executor name="tomcatThreadPool" namePrefix="catalina-exec-"
maxThreads="150" minSpareThreads="4"/>

does the container use default thread pool or doesn't not use thread pool at all???


and one more thing

what is the difference and relation between

<Executor name="tomcatThreadPool" namePrefix="catalina-exec-"
maxThreads="150" minSpareThreads="4"/>


<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />


Thanks for any help in advance
Shiva kumar.
Reply With Quote
  #2 (permalink)  
Old 12-01-10, 03:26 AM
JohnsonK JohnsonK is offline
Disabled
 
Join Date: Dec 2010
Posts: 1
Thanks: 1
Thanked 0 Times in 0 Posts
Cool

There are no differense.
Reply With Quote
  #3 (permalink)  
Old 12-08-10, 02:02 AM
luckysophie's Avatar
luckysophie luckysophie is offline
Wannabe Coder
 
Join Date: Nov 2010
Location: London
Posts: 107
Thanks: 1
Thanked 0 Times in 0 Posts
There is no difference between the two coding types.
__________________
My Favorite Tools:
flash banner | logo maker
Reply With Quote
Reply

Bookmarks

Tags
servlets, thread pool configuration


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Window inside a Window with thread? without thread ? drah Windows .NET Programming 2 12-08-09 01:29 PM
current thread not owner mohit Everything Java 6 01-15-09 11:16 PM
the same thread over and over?? ausgezeichnete PHP 0 11-04-07 11:24 AM
Multithreading application thread count? Alfarin Everything Java 1 05-04-04 01:25 PM
No mail when reply is posted to a thread. phpkid HotScripts Site Bug Reports 5 06-24-03 11:45 AM


All times are GMT -5. The time now is 05:56 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.