Statement: the cause of this problem is the program, network, and WebLogic settings. This article mainly describes the solutions caused by Weblogic settings.
Because:
1. Program problems need to be solved by the project itself, and WebLogic does not have to be optimized.
2. You cannot use WebLogic to handle network interruptions or disable interactions (I think so)
I. Description:
, "Weblogic. kernel. Default" is the queue name of the thread generated after the client submits the request. The number of threads in this queue is 15 by default. If more than 15 threads are blocked, the deployed application cannot be accessed. At the same time, the background reports:
<09:37:48 P.M. CST> <error> <weblogicserver> <BEA-000337> <executethread: '14' for queue: 'weblogic. kernel. default 'has been busy for "1,720" seconds working on the request "http request:/MyApp/test/index. JSP ", which is more than the configured time
(Stuckthreadmaxtime) of "600" seconds.>
2. Number of threads (tread count): number of threads assigned to the weblogic. kernel. Default queue. If you do not need to use more than 15 threads (default), you do not need to change this attribute value.
If many requests are sent, WebLogic threads may be blocked and WebLogic suspension may occur.
You can solve the problem by using the following methods:
1) modify the stuckthreadmaxtime parameter and change the default value of 1200 s to s or other suitable values.
2) Increase the number of threads to prevent thread blocking.
3) Optimize the program to reduce the processing time.
Ii. Modification Method
-------------------------------------- When there are too many threads, too many threads please refer to the following link for more information ---------------------------
1) how to modify the stuckthreadmaxtime parameter value: http://lujinan858.iteye.com/blog/986237
Start the Weblogic service and go to the console:
Your_domain-> environment-> servers-> your_server-> Configuration-> tuning-> stuck thread Max time
For example:
2) how to increase the number of threads
Modify the [Bea] \ user_projects \ Domains \ my_domain \ bin \ setdomainenv. CMD file in the window environment and query the following set java_options = % java_options %
Changed:
Set java_options = % java_options %-dweblogic. threadpool. minpoolsize = 50
Set java_options = % java_options %-dweblogic. threadpool. maxpoolsize = 300