aspose file tools*
The moose likes BEA/Weblogic and the fly likes Is there any way to trigger aleart when a stuck thread found? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Is there any way to trigger aleart when a stuck thread found?" Watch "Is there any way to trigger aleart when a stuck thread found?" New topic
Author

Is there any way to trigger aleart when a stuck thread found?

Ramakanta Sahoo
Ranch Hand

Joined: Aug 23, 2008
Posts: 254

Hi All,

We are using WL10MP1 .
We are getting few stuck threads in weblogic server files like <BEA-000337> <[STUCK] ExecuteThread

is there anything in settings weblogic where these things when appear can be reported automatically.

Or Is there any other options to do the same.


Regards

Regards, Ricky
Oracle Weblogic 10g Certified Expert TechPaste.Com
kamal kannan
Ranch Hand

Joined: Oct 06, 2006
Posts: 33
HI
WHY CANT YOU TRY WORKMANAGERS !!!


SCJP 1.5 95% /SCWCD 1.5 93% /RHCE EL4 100% /WEBLOGIC 9.2 SYSTEM ADMINISTRATION 100% / Oracle Weblogic 10g Server Certified System Export 88%
Ramakanta Sahoo
Ranch Hand

Joined: Aug 23, 2008
Posts: 254

Hello Thanks For reply.

Can you please elaborate little more on work managers ? how to ?
Ramakanta Sahoo
Ranch Hand

Joined: Aug 23, 2008
Posts: 254

Any Updates / help ???


Waiting
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6662
    
    5

I would be more interested in why those threads are getting stuck. The time taken to get a STUCK thread is around 10 mins. Why would a single servlet / thread process need more time ?

I am not aware of an automated way in which weblogic reports STUCK threads. What you can do however is to remotely connect to the JMX beans and determine if there are APIs exposed to collect this statistic. I think it should be possible.

I am not sure how work managers would help here. They do not provide any such notification service. They just help you to scale your work according to how much of it needs to be done.


SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
Marcos Maia
Ranch Hand

Joined: Jan 06, 2001
Posts: 977
Ramakanta Sahoo wrote:Hi All,

We are using WL10MP1 .
We are getting few stuck threads in weblogic server files like <BEA-000337> <[STUCK] ExecuteThread

is there anything in settings weblogic where these things when appear can be reported automatically.

Or Is there any other options to do the same.


Regards


Hi man, what exactly do you want. You have few options on that using weblogic. You may configure an SNMP trap to send notifications to some tool. You can use WLST scripts to monitor your servers and than sen e-mails or sms. You can rely on WLDF (Weblogic diagnostic Framework) You can even program a java app with timers using JMX or WLST to monitor health.. An important thing is trying to find out what's the cause of this Stuck thread and solving it. You may use JRorckit Mission control for that or some other profiling tool.
In the following link, look for "Monitor your domain" where you'll find plenty information on these subjects for a start.

http://edocs.bea.com/wls/docs103/admin.html

[]s
regards.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Is there any way to trigger aleart when a stuck thread found?