Oh, you were debugging & it was stuck at a breakpoint. We should make the
valve treat -1 as infinite running time per thread

--
Afkham Azeez
Sent from my phone
On Jan 27, 2012 7:27 PM, "Afkham Azeez" <[email protected]> wrote:

> The question is why did your thread run for more than *10mins*
>
> --
> Afkham Azeez
> Sent from my phone
> On Jan 27, 2012 6:49 PM, "Shelan Perera" <[email protected]> wrote:
>
>> Hi,
>>
>> I was debugging some samples and after sometimes the debugger was
>> disconnected.I could neither stop the server or restart and had to kill the
>> process manually using PID.As i got to know
>> this is for detecting some unresponsive threads and kill them for the
>> Stratos. How can i disable this. Following is the log.
>>
>> Thanks
>>
>> [2012-01-27 14:11:51,318]  INFO
>> {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -  'admin'
>> logged in at [2012-01-27 14:11:51,0318] from IP address 127.0.0.1
>> [2012-01-27 14:29:12,465]  WARN
>> {org.apache.catalina.valves.StuckThreadDetectionValve} -  Thread
>> ""http-nio-9763"-exec-10" has been active for 629,305 milliseconds (since
>> 1/27/12 2:18 PM) to serve the same request for
>> http://localhost:9763/services/ResourcesSample.HTTPEndpoint/products and
>> may be stuck (configured threshold for this StuckThreadDetectionValve is
>> 600 seconds). There is/are 1 thread(s) in total that are monitored by this
>> Valve and may be stuck., tenantDomain=null
>> java.lang.Throwable
>> at
>> org.apache.axis2.dispatchers.HTTPLocationBasedDispatcher.findOperation(HTTPLocationBasedDispatcher.java:60)
>> at
>> org.apache.axis2.engine.AbstractDispatcher.invoke(AbstractDispatcher.java:106)
>>  at
>> org.apache.axis2.transport.http.util.RESTUtil.dispatchAndVerify(RESTUtil.java:155)
>> at
>> org.apache.axis2.transport.http.util.RESTUtil.processURLRequest(RESTUtil.java:109)
>>  at
>> org.apache.axis2.transport.http.AxisServlet$RestRequestProcessor.processURLRequest(AxisServlet.java:837)
>> at
>> org.wso2.carbon.core.transports.CarbonServlet.handleRestRequest(CarbonServlet.java:206)
>>
>> --
>> *Shelan Perera*
>>
>> Software Engineer
>> **
>> *WSO2, Inc. : wso2.com*
>> lean.enterprise.middleware.
>>
>> *Home Page*  :    shelan.org
>> *Blog*             : blog.shelan.org
>> *Linked-i*n      :http://www.linkedin.com/pub/shelan-perera/a/194/465
>> *Twitter*         :https://twitter.com/#!/shelan
>>
>> *Mobile*          : +94 772 604 402
>>
>>
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> [email protected]
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to