Login to Weblogic aukec2?x . The managed server logs can be found in below location. /opt/bea_domain/wf_p2_ec/server//logs/ Below is one example .
Goto above location using below command: /opt/bea_domain/wf_p2_ec/server/aukec2ex_p2_ec1/logs/
The logs to be checked for are: 1. Aukec2ex_p2_ec1.log 2. access.log Check for stuck threads: 1. grep –i stuck aukec2ex_p2_ec1.log less aukec2ex_p2_ec1.log check for any sql, DB exceptions. less acess.log For if there are any 503 entries in the log at that time. Restart the managed server to resolve this problem. Find the start stop scripts in Weblogic section of Starting/stopping the server section server section of this document. Moniter the stuck thread
When the session count on a particular managed se rver is getting decreased drastically then you can suspect that there are stuck threads on that managed server. Then perform the below steps to confirm the same. 1. Click on the managed server from Environment-> servers. 2. Go to Health tab under Monitoring tab as shown in the below figure. 3. Here we can check the health of each deployment file on this managed server. We can see 3 stuck threads on ConsumerPortal_EAR deployment as highlighted below.
You can also confirm it if there are any ‘true’ under stuck column of threads tab.
We can also find STUCK THREAD err ors in managed server logs.