The moose likes Threads and Synchronization and the fly likes Difference between http thread and ajp threads Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "Difference between http thread and ajp threads" Watch "Difference between http thread and ajp threads" New topic
Forums: Threads and Synchronization Tomcat
Author

Difference between http thread and ajp threads

Radhika Chavan
Greenhorn

Joined: Jun 12, 2013
Posts: 3
hello,
I am using tomcat and web application is deployed on it.Can some one tell me ,when http threads are created and when ajp thread???
I have to monitor ajp thread pool,so how application should be so ajp threads are created.
Please guide me....
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 20149
    
  46


Tomcat specific question. Adding this topic to the Tomcat forum.

Henry


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17146
    
  27

Tomcat uses thread pools, and according to what I read superficially in the documentation, each Connector object has its own thread pool. Pools are constructed with a fixed initial size, and (in many cases), allowed to grow and shrink to predefined limits.

I would expect that the internal Tomcat monitoring mechanisms (such as jmx) can be used to track the pool sizes over time.


An IDE is no substitute for an Intelligent Developer.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Difference between http thread and ajp threads
 
It's not a secret anymore!