File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes BEA/Weblogic and the fly likes Stuck Thread Max Time Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Stuck Thread Max Time " Watch "Stuck Thread Max Time " New topic
Author

Stuck Thread Max Time

dhwani parekh
Greenhorn

Joined: Jul 09, 2009
Posts: 2
What is the significance of Stuck Thread max time?
What if some application (out of many that is deployed on server) requires a deamon kind of thread that should keep running...what happens to that thread?
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6662
    
    5

dhwani parekh wrote:What is the significance of Stuck Thread max time?
What if some application (out of many that is deployed on server) requires a deamon kind of thread that should keep running...what happens to that thread?


I am not sure if such threads will be marked STUCK. To my knowledge threads that are in the blocked state for more than 10 mins are usually marked STUCK.

Then again daemons / batch processes probably belong on a err... batch


SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
sudeep mahapatra
Greenhorn

Joined: Apr 06, 2007
Posts: 4
"Stuck Thread Max Time" a configurable property in WLServer for performance tuning. Available at server/tuning.
Definition from weblogic is :
"The number of seconds that a thread must be continually working before this server considers the thread stuck."
Minimum value is 0 sec. Default value is 600 sec. Maximum value is 2147483647 sec.

If the execute thread takes more time than the StuckThreadMaxTime declared in weblogic server.
It will show StuckThreadMaxTime error.

Normaly i have seen this while processing sql query in application that is expected to have huge records as a result.
more on stuck thread can be found at "http://e-docs.bea.com/wls/docs81/perform/WLSTuning.html#1125714"


Thanks and Regards,
Sudeep
 
Don't get me started about those stupid light bulbs.
 
subject: Stuck Thread Max Time