title: Weblogic server getting StuckThreadMaxTime exception . How do I fix it?
body: <p>I have a REst service exposed, which inturn calls a script files(shell script), which takes 20 mins to exceute and send response. I am getting the below exception in logs.</p>
  
  <pre><code>&lt;Error&gt; &lt;WebLogicServer&gt; &lt;AdminServer&gt;     
  &lt;[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self- tuning)'&gt; &lt;&lt;WLS Kernel&gt;&gt; &lt;&gt; &lt;&gt; &lt;1457678291528&gt; &lt;BEA-000337&gt; 
  &lt;[STUCK] ExecuteThread: '14' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "606" seconds working on the request "Workmanager: default, Version: 0, Scheduled=true, Started=true, Started time: 606763 ms
  [
  POST /svc/oneclick/wsAuto/createTemplate/005056A509C4 HTTP/1.1
  User-Agent: oneclick
  Accept: */*
  X-Forwarded-For: 10.19.120.25
  X-Forwarded-Host: 10.19.120.48
  X-Forwarded-Server: XXX-XXX-template-sa1.XXX.com
  Connection: Keep-Alive
  
  ]", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
  Thread-34 "[STUCK] ExecuteThread: '14' for queue: 'weblogic.kernel.Default (self-tuning)'" &lt;alive, suspended, waiting, priority=1, DAEMON&gt; {-- Waiting for notification on: java.lang.UNIXProcess@9a5ed5a[fat lock]
  </code></pre>