File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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: 18710
    
  40


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: 16012
    
  19

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Difference between http thread and ajp threads