Hi, On Sat, Jan 28, 2012 at 6:24 PM, Muhammed Shariq <sha...@wso2.com> wrote:
> > > On Fri, Jan 27, 2012 at 7:37 PM, Shelan Perera <she...@wso2.com> wrote: > >> Hi, >> >> On Fri, Jan 27, 2012 at 7:29 PM, Afkham Azeez <az...@wso2.com> wrote: >> >>> Oh, you were debugging & it was stuck at a breakpoint. We should make >>> the valve treat -1 as infinite running time per thread >>> >> So can we disable it through any configuration file ? >> > > You can increase the time in carbon.xml; > > <!-- The Max time a thread should take for execution in seconds --> > <MaxThreadExecutionTime>600</MaxThreadExecutionTime> > >> >> Thanks . > Thanks >> >>> -- >>> Afkham Azeez >>> Sent from my phone >>> On Jan 27, 2012 7:27 PM, "Afkham Azeez" <az...@wso2.com> 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" <she...@wso2.com> 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/productsand >>>>> 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 >>>>> Carbon-dev@wso2.org >>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>>>> >>>>> >>> _______________________________________________ >>> Carbon-dev mailing list >>> Carbon-dev@wso2.org >>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>> >>> >> >> >> -- >> *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 >> Carbon-dev@wso2.org >> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >> >> > > > -- > Thanks, > Shariq. > Phone: +94 777 202 225 > > > _______________________________________________ > Carbon-dev mailing list > Carbon-dev@wso2.org > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > -- *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 Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev