[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Tomcat thread priority

Posted on 2003-10-23
3
Medium Priority
?
739 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 160 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Suggested Courses

656 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