java - Disabling Jetty TimeoutException warning messages in logs -


i'm trying hide these timeout exceptions, keep showing in log -

2015-07-13 09:56:13.019:warn:oejs.servlethandler:qtp636718812-758: /feed java.io.ioexception: java.util.concurrent.timeoutexception: idle timeout expired: 30000/30000 ms         @ org.eclipse.jetty.util.sharedblockingcallback$blocker.block(sharedblockingcallback.java:223)         @ org.eclipse.jetty.server.httpoutput.write(httpoutput.java:159)         @ org.eclipse.jetty.server.httpoutput.write(httpoutput.java:408)         @ net.bull.javamelody.filterservletoutputstream.write(filterservletoutputstream.java:70)         @ net.bull.javamelody.counterresponsestream.write(counterresponsestream.java:83)         @ com.fasterxml.jackson.core.json.utf8jsongenerator._flushbuffer(utf8jsongenerator.java:1848)         @ com.fasterxml.jackson.core.json.utf8jsongenerator.writestring(utf8jsongenerator.java:447)         @ com.fasterxml.jackson.databind.ser.std.stringserializer.serialize(stringserializer.java:45)         @ com.fasterxml.jackson.databind.ser.std.stringserializer.serialize(stringserializer.java:21)         @ com.fasterxml.jackson.databind.ser.std.mapserializer.serializefields(mapserializer.java:557)         @ com.fasterxml.jackson.databind.ser.std.mapserializer.serialize(mapserializer.java:466)         @ com.fasterxml.jackson.databind.ser.std.mapserializer.serialize(mapserializer.java:29)         @ com.fasterxml.jackson.databind.ser.std.collectionserializer.serializecontents(collectionserializer.java:132)         @ com.fasterxml.jackson.databind.ser.std.collectionserializer.serialize(collectionserializer.java:94)         @ com.fasterxml.jackson.databind.ser.std.collectionserializer.serialize(collectionserializer.java:24)         @ com.fasterxml.jackson.databind.ser.std.mapserializer.serializefields(mapserializer.java:557)         @ com.fasterxml.jackson.databind.ser.std.mapserializer.serialize(mapserializer.java:466)         @ com.fasterxml.jackson.databind.ser.std.mapserializer.serialize(mapserializer.java:29)         @ com.fasterxml.jackson.databind.ser.std.collectionserializer.serializecontents(collectionserializer.java:132)         @ com.fasterxml.jackson.databind.ser.std.collectionserializer.serialize(collectionserializer.java:94)         @ com.fasterxml.jackson.databind.ser.std.collectionserializer.serialize(collectionserializer.java:24)         @ com.fasterxml.jackson.databind.ser.beanpropertywriter.serializeasfield(beanpropertywriter.java:575)         @ com.fasterxml.jackson.databind.ser.std.beanserializerbase.serializefields(beanserializerbase.java:666)         @ com.fasterxml.jackson.databind.ser.beanserializer.serialize(beanserializer.java:156)         @ com.fasterxml.jackson.databind.ser.defaultserializerprovider.serializevalue(defaultserializerprovider.java:129)         @ com.fasterxml.jackson.databind.objectmapper.writevalue(objectmapper.java:2242)         @ org.springframework.http.converter.json.abstractjackson2httpmessageconverter.writeinternal(abstractjackson2httpmessageconverter.java:231)         @ org.springframework.http.converter.abstracthttpmessageconverter.write(abstracthttpmessageconverter.java:208)         @ org.springframework.web.servlet.mvc.method.annotation.abstractmessageconvertermethodprocessor.writewithmessageconverters(abstractmessageconvertermethodprocessor.java:161)         @ org.springframework.web.servlet.mvc.method.annotation.abstractmessageconvertermethodprocessor.writewithmessageconverters(abstractmessageconvertermethodprocessor.java:101)         @ org.springframework.web.servlet.mvc.method.annotation.requestresponsebodymethodprocessor.handlereturnvalue(requestresponsebodymethodprocessor.java:185)         @ org.springframework.web.method.support.handlermethodreturnvaluehandlercomposite.handlereturnvalue(handlermethodreturnvaluehandlercomposite.java:71)         @ org.springframework.web.servlet.mvc.method.annotation.servletinvocablehandlermethod.invokeandhandle(servletinvocablehandlermethod.java:126)         @ org.springframework.web.servlet.mvc.method.annotation.requestmappinghandleradapter.invokehandlemethod(requestmappinghandleradapter.java:776)         @ org.springframework.web.servlet.mvc.method.annotation.requestmappinghandleradapter.handleinternal(requestmappinghandleradapter.java:705)         @ org.springframework.web.servlet.mvc.method.abstracthandlermethodadapter.handle(abstracthandlermethodadapter.java:85)         @ org.springframework.web.servlet.dispatcherservlet.dodispatch(dispatcherservlet.java:959)         @ org.springframework.web.servlet.dispatcherservlet.doservice(dispatcherservlet.java:893)         @ org.springframework.web.servlet.frameworkservlet.processrequest(frameworkservlet.java:967)         @ org.springframework.web.servlet.frameworkservlet.doget(frameworkservlet.java:858)         @ javax.servlet.http.httpservlet.service(httpservlet.java:687)         @ org.springframework.web.servlet.frameworkservlet.service(frameworkservlet.java:843)         @ javax.servlet.http.httpservlet.service(httpservlet.java:790)         @ org.eclipse.jetty.servlet.servletholder.handle(servletholder.java:816)         @ org.eclipse.jetty.servlet.servlethandler$cachedchain.dofilter(servlethandler.java:1684)         @ net.bull.javamelody.monitoringfilter.dofilter(monitoringfilter.java:165)         @ org.eclipse.jetty.servlet.servlethandler$cachedchain.dofilter(servlethandler.java:1667)         @ org.eclipse.jetty.servlets.gzipfilter.dofilter(gzipfilter.java:45)         @ org.eclipse.jetty.servlet.servlethandler$cachedchain.dofilter(servlethandler.java:1667)         @ net.bull.javamelody.monitoringfilter.dofilter(monitoringfilter.java:208)         @ net.bull.javamelody.monitoringfilter.dofilter(monitoringfilter.java:181)         @ org.eclipse.jetty.servlet.servlethandler$cachedchain.dofilter(servlethandler.java:1667)         @ org.eclipse.jetty.servlet.servlethandler.dohandle(servlethandler.java:581)         @ org.eclipse.jetty.server.handler.scopedhandler.handle(scopedhandler.java:143)         @ org.eclipse.jetty.security.securityhandler.handle(securityhandler.java:524)         @ org.eclipse.jetty.server.session.sessionhandler.dohandle(sessionhandler.java:226)         @ org.eclipse.jetty.server.handler.contexthandler.dohandle(contexthandler.java:1121)         @ org.eclipse.jetty.servlet.servlethandler.doscope(servlethandler.java:511)         @ org.eclipse.jetty.server.session.sessionhandler.doscope(sessionhandler.java:185)         @ org.eclipse.jetty.server.handler.contexthandler.doscope(contexthandler.java:1055)         @ org.eclipse.jetty.server.handler.scopedhandler.handle(scopedhandler.java:141)         @ org.eclipse.jetty.server.handler.contexthandlercollection.handle(contexthandlercollection.java:213)         @ org.eclipse.jetty.server.handler.handlercollection.handle(handlercollection.java:109)         @ org.eclipse.jetty.server.handler.handlerwrapper.handle(handlerwrapper.java:118)         @ org.eclipse.jetty.server.server.handle(server.java:515)         @ org.eclipse.jetty.server.httpchannel.handle(httpchannel.java:291)         @ org.eclipse.jetty.server.httpconnection.onfillable(httpconnection.java:242)         @ org.eclipse.jetty.io.abstractconnection$readcallback.succeeded(abstractconnection.java:238)         @ org.eclipse.jetty.io.fillinterest.fillable(fillinterest.java:95)         @ org.eclipse.jetty.io.ssl.sslconnection.onfillable(sslconnection.java:192)         @ org.eclipse.jetty.io.abstractconnection$readcallback.succeeded(abstractconnection.java:238)         @ org.eclipse.jetty.io.fillinterest.fillable(fillinterest.java:95)         @ org.eclipse.jetty.io.selectchannelendpoint$2.run(selectchannelendpoint.java:57)         @ org.eclipse.jetty.util.thread.strategy.executeproduceconsume.produceandrun(executeproduceconsume.java:191)         @ org.eclipse.jetty.util.thread.strategy.executeproduceconsume.run(executeproduceconsume.java:126)         @ org.eclipse.jetty.util.thread.queuedthreadpool.runjob(queuedthreadpool.java:654)         @ org.eclipse.jetty.util.thread.queuedthreadpool$3.run(queuedthreadpool.java:572)         @ java.lang.thread.run(thread.java:745) caused by: java.util.concurrent.timeoutexception: idle timeout expired: 30000/30000 ms         @ org.eclipse.jetty.io.idletimeout.checkidletimeout(idletimeout.java:166)         @ org.eclipse.jetty.io.idletimeout$1.run(idletimeout.java:50)         @ java.util.concurrent.executors$runnableadapter.call(executors.java:511)         @ java.util.concurrent.futuretask.run(futuretask.java:266)         @ java.util.concurrent.scheduledthreadpoolexecutor$scheduledfuturetask.access$201(scheduledthreadpoolexecutor.java:180)         @ java.util.concurrent.scheduledthreadpoolexecutor$scheduledfuturetask.run(scheduledthreadpoolexecutor.java:293)         @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1142)         @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:617)         @ java.lang.thread.run(thread.java:745) 2015-07-13 09:56:13.020:warn:oejs.httpchannel:qtp636718812-758: https://example.com/feed?queryparams=values java.io.ioexception: java.util.concurrent.timeoutexception: idle timeout expired: 30000/30000 ms         @ org.eclipse.jetty.util.sharedblockingcallback$blocker.block(sharedblockingcallback.java:223)         @ org.eclipse.jetty.server.httpoutput.write(httpoutput.java:159)         @ org.eclipse.jetty.server.httpoutput.write(httpoutput.java:408)         @ net.bull.javamelody.filterservletoutputstream.write(filterservletoutputstream.java:70)         @ net.bull.javamelody.counterresponsestream.write(counterresponsestream.java:83)         @ com.fasterxml.jackson.core.json.utf8jsongenerator._flushbuffer(utf8jsongenerator.java:1848)         @ com.fasterxml.jackson.core.json.utf8jsongenerator.writestring(utf8jsongenerator.java:447)         @ com.fasterxml.jackson.databind.ser.std.stringserializer.serialize(stringserializer.java:45)         @ com.fasterxml.jackson.databind.ser.std.stringserializer.serialize(stringserializer.java:21)         @ com.fasterxml.jackson.databind.ser.std.mapserializer.serializefields(mapserializer.java:557)         @ com.fasterxml.jackson.databind.ser.std.mapserializer.serialize(mapserializer.java:466)         @ com.fasterxml.jackson.databind.ser.std.mapserializer.serialize(mapserializer.java:29)         @ com.fasterxml.jackson.databind.ser.std.collectionserializer.serializecontents(collectionserializer.java:132)         @ com.fasterxml.jackson.databind.ser.std.collectionserializer.serialize(collectionserializer.java:94)         @ com.fasterxml.jackson.databind.ser.std.collectionserializer.serialize(collectionserializer.java:24)         @ com.fasterxml.jackson.databind.ser.std.mapserializer.serializefields(mapserializer.java:557)         @ com.fasterxml.jackson.databind.ser.std.mapserializer.serialize(mapserializer.java:466)         @ com.fasterxml.jackson.databind.ser.std.mapserializer.serialize(mapserializer.java:29)         @ com.fasterxml.jackson.databind.ser.std.collectionserializer.serializecontents(collectionserializer.java:132)         @ com.fasterxml.jackson.databind.ser.std.collectionserializer.serialize(collectionserializer.java:94)         @ com.fasterxml.jackson.databind.ser.std.collectionserializer.serialize(collectionserializer.java:24)         @ com.fasterxml.jackson.databind.ser.beanpropertywriter.serializeasfield(beanpropertywriter.java:575)         @ com.fasterxml.jackson.databind.ser.std.beanserializerbase.serializefields(beanserializerbase.java:666)         @ com.fasterxml.jackson.databind.ser.beanserializer.serialize(beanserializer.java:156)         @ com.fasterxml.jackson.databind.ser.defaultserializerprovider.serializevalue(defaultserializerprovider.java:129)         @ com.fasterxml.jackson.databind.objectmapper.writevalue(objectmapper.java:2242)         @ org.springframework.http.converter.json.abstractjackson2httpmessageconverter.writeinternal(abstractjackson2httpmessageconverter.java:231)         @ org.springframework.http.converter.abstracthttpmessageconverter.write(abstracthttpmessageconverter.java:208)         @ org.springframework.web.servlet.mvc.method.annotation.abstractmessageconvertermethodprocessor.writewithmessageconverters(abstractmessageconvertermethodprocessor.java:161)         @ org.springframework.web.servlet.mvc.method.annotation.abstractmessageconvertermethodprocessor.writewithmessageconverters(abstractmessageconvertermethodprocessor.java:101)         @ org.springframework.web.servlet.mvc.method.annotation.requestresponsebodymethodprocessor.handlereturnvalue(requestresponsebodymethodprocessor.java:185)         @ org.springframework.web.method.support.handlermethodreturnvaluehandlercomposite.handlereturnvalue(handlermethodreturnvaluehandlercomposite.java:71)         @ org.springframework.web.servlet.mvc.method.annotation.servletinvocablehandlermethod.invokeandhandle(servletinvocablehandlermethod.java:126)         @ org.springframework.web.servlet.mvc.method.annotation.requestmappinghandleradapter.invokehandlemethod(requestmappinghandleradapter.java:776)         @ org.springframework.web.servlet.mvc.method.annotation.requestmappinghandleradapter.handleinternal(requestmappinghandleradapter.java:705)         @ org.springframework.web.servlet.mvc.method.abstracthandlermethodadapter.handle(abstracthandlermethodadapter.java:85)         @ org.springframework.web.servlet.dispatcherservlet.dodispatch(dispatcherservlet.java:959)         @ org.springframework.web.servlet.dispatcherservlet.doservice(dispatcherservlet.java:893)         @ org.springframework.web.servlet.frameworkservlet.processrequest(frameworkservlet.java:967)         @ org.springframework.web.servlet.frameworkservlet.doget(frameworkservlet.java:858)         @ javax.servlet.http.httpservlet.service(httpservlet.java:687)         @ org.springframework.web.servlet.frameworkservlet.service(frameworkservlet.java:843)         @ javax.servlet.http.httpservlet.service(httpservlet.java:790)         @ org.eclipse.jetty.servlet.servletholder.handle(servletholder.java:816)         @ org.eclipse.jetty.servlet.servlethandler$cachedchain.dofilter(servlethandler.java:1684)         @ net.bull.javamelody.monitoringfilter.dofilter(monitoringfilter.java:165)        @ org.eclipse.jetty.servlet.servlethandler$cachedchain.dofilter(servlethandler.java:1667)         @ org.eclipse.jetty.servlets.gzipfilter.dofilter(gzipfilter.java:45)         @ org.eclipse.jetty.servlet.servlethandler$cachedchain.dofilter(servlethandler.java:1667)         @ net.bull.javamelody.monitoringfilter.dofilter(monitoringfilter.java:208)         @ net.bull.javamelody.monitoringfilter.dofilter(monitoringfilter.java:181)         @ org.eclipse.jetty.servlet.servlethandler$cachedchain.dofilter(servlethandler.java:1667)         @ org.eclipse.jetty.servlet.servlethandler.dohandle(servlethandler.java:581)         @ org.eclipse.jetty.server.handler.scopedhandler.handle(scopedhandler.java:143)         @ org.eclipse.jetty.security.securityhandler.handle(securityhandler.java:524)         @ org.eclipse.jetty.server.session.sessionhandler.dohandle(sessionhandler.java:226)         @ org.eclipse.jetty.server.handler.contexthandler.dohandle(contexthandler.java:1121)         @ org.eclipse.jetty.servlet.servlethandler.doscope(servlethandler.java:511)         @ org.eclipse.jetty.server.session.sessionhandler.doscope(sessionhandler.java:185)         @ org.eclipse.jetty.server.handler.contexthandler.doscope(contexthandler.java:1055)         @ org.eclipse.jetty.server.handler.scopedhandler.handle(scopedhandler.java:141)         @ org.eclipse.jetty.server.handler.contexthandlercollection.handle(contexthandlercollection.java:213)         @ org.eclipse.jetty.server.handler.handlercollection.handle(handlercollection.java:109)         @ org.eclipse.jetty.server.handler.handlerwrapper.handle(handlerwrapper.java:118)         @ org.eclipse.jetty.server.server.handle(server.java:515)         @ org.eclipse.jetty.server.httpchannel.handle(httpchannel.java:291)        @ org.eclipse.jetty.server.httpconnection.onfillable(httpconnection.java:242)         @ org.eclipse.jetty.io.abstractconnection$readcallback.succeeded(abstractconnection.java:238)         @ org.eclipse.jetty.io.fillinterest.fillable(fillinterest.java:95)         @ org.eclipse.jetty.io.ssl.sslconnection.onfillable(sslconnection.java:192)         @ org.eclipse.jetty.io.abstractconnection$readcallback.succeeded(abstractconnection.java:238)         @ org.eclipse.jetty.io.fillinterest.fillable(fillinterest.java:95)         @ org.eclipse.jetty.io.selectchannelendpoint$2.run(selectchannelendpoint.java:57)         @ org.eclipse.jetty.util.thread.strategy.executeproduceconsume.produceandrun(executeproduceconsume.java:191)         @ org.eclipse.jetty.util.thread.strategy.executeproduceconsume.run(executeproduceconsume.java:126)         @ org.eclipse.jetty.util.thread.queuedthreadpool.runjob(queuedthreadpool.java:654)         @ org.eclipse.jetty.util.thread.queuedthreadpool$3.run(queuedthreadpool.java:572)         @ java.lang.thread.run(thread.java:745) caused by: java.util.concurrent.timeoutexception: idle timeout expired: 30000/30000 ms         @ org.eclipse.jetty.io.idletimeout.checkidletimeout(idletimeout.java:166)         @ org.eclipse.jetty.io.idletimeout$1.run(idletimeout.java:50)         @ java.util.concurrent.executors$runnableadapter.call(executors.java:511)         @ java.util.concurrent.futuretask.run(futuretask.java:266)         @ java.util.concurrent.scheduledthreadpoolexecutor$scheduledfuturetask.access$201(scheduledthreadpoolexecutor.java:180)         @ java.util.concurrent.scheduledthreadpoolexecutor$scheduledfuturetask.run(scheduledthreadpoolexecutor.java:293)         @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1142)         @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:617)         @ java.lang.thread.run(thread.java:745) 2015-07-13 09:56:13.020:warn:oejs.httpchannel:qtp636718812-758: not send response error 500: java.io.ioexception: java.util.concurrent.timeoutexception: idle timeout expired: 30000/30000 ms 

here's log4j.properties -

log4j.rootcategory=warn, s  log4j.appender.s = org.apache.log4j.consoleappender log4j.appender.s.layout = org.apache.log4j.patternlayout log4j.appender.s.layout.conversionpattern = %d{yyyy-mm-dd hh:mm:ss} %t %c{1} [%p] %m%n  log4j.logger.oejs.request=error log4j.logger.org.eclipse.jetty.servlet.servlethandler=error 

any idea why keeps showing on logs?

jetty has own logging system, , doesn't automatically know log4j.properties file. can read documentation on how set jetty use log4j, or if want use jetty's built-in logging, can either add following lines jetty-logging.properties:

org.eclipse.jetty.servlet.servlethandler.level=off org.eclipse.jetty.server.httpchannel.level=off 

or pass them in on command-line when starting jetty:

-dorg.eclipse.jetty.servlet.servlethandler.level=off -dorg.eclipse.jetty.server.httpchannel.level=off 

Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -