Solved

Tomcat thread priority

Posted on 2003-10-23
3
707 Views
Last Modified: 2013-11-24
Hi all
I am trying to improve application running on tomcat 4.0.6 VM.
The tomcat has about 50 thread for accepting clients request and the application creates more 50 for internal use , How the tomcat will prioritize the threads? will it give the higer priority for accespting clients request?
Is it possible to change it?
0
Comment
Question by:dannysh
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 

Accepted Solution

by:
adhara earned 40 total points
ID: 9612120
The Thread class has methods for accessing a threads priority, and the ThreadGroup it belongs to. ThreadGroup has methods for accessing a parent ThreadGroup.

Starting with Thread.currentThread() you could navigate through all the systems threads and see what priority they have been set to.

That will give you some information. It is possible to set the priorities of Threads using setPriority depending on the security policy.
0
 
LVL 92

Expert Comment

by:objects
ID: 10215245
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Accept adhara's comment as answer

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

objects
EE Cleanup Volunteer
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
In this post we will learn different types of Android Layout and some basics of an Android App.
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
The viewer will learn how to implement Singleton Design Pattern in Java.

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question