Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] Jetty getting down after some idle time, apprx 3-4 hrs.

In my application i am using memcache and jetty server.

approximately if the server instance is idle for 2 to 3 hours , the below
exception is raised and Jetty server is getting down.

2012-11-12 10:20:52,535[qtp1431814845-49]
ERROR(LogoffServlet.java:<doPost>:42)- SESSION ID -
1fim3n8xywzw01r7eth5myoyjq
2012-11-12 10:20:52,535[qtp1431814845-49]
ERROR(LogoffServlet.java:<doPost>:50)- Invalidating Session -
org.eclipse.jetty.server.session.HashedSession:1fim3n8xywzw01r7eth5myoyjq@1783203528
2012-11-12 10:20:52,842[qtp1431814845-11 Selector0]
ERROR(AbstractSocket.java:<disconnect>:202)- onDisconnect: AbstractSocket
[clientNumber=440312, customerId=prod101, formattedCustomerId=prod101,
pushExceptionCount=0] reasonVal : 1006, reasonMessage : closed
2012-11-12 10:20:52,842[qtp1431814845-11 Selector0]
ERROR(AbstractSocket.java:<disconnect>:203)- onDisconnect: AbstractSocket
[clientNumber=440312, customerId=prod101, formattedCustomerId=prod101,
pushExceptionCount=0] StackTrace :
java.lang.Thread.getStackTrace(Thread.java:1479)|com.tradeking.at.servlet.AbstractSocket.disconnect(AbstractSocket.java:203)|com.tradeking.at.servlet.CustomerWebSocket.onClose(CustomerWebSocket.java:77)|org.eclipse.jetty.websocket.WebSocketConnectionD13.closed(WebSocketConnectionD13.java:296)|org.eclipse.jetty.server.AbstractConnector.connectionClosed(AbstractConnector.java:1048)|org.eclipse.jetty.server.nio.SelectChannelConnector.endPointClosed(SelectChannelConnector.java:280)|org.eclipse.jetty.server.nio.SelectChannelConnector$ConnectorSelectorManager.endPointClosed(SelectChannelConnector.java:345)|org.eclipse.jetty.io.nio.SelectorManager$SelectSet.destroyEndPoint(SelectorManager.java:948)|org.eclipse.jetty.io.nio.SelectChannelEndPoint.doUpdateKey(SelectChannelEndPoint.java:523)|org.eclipse.jetty.io.nio.SelectorManager$SelectSet.doSelect(SelectorManager.java:469)|org.eclipse.jetty.io.nio.SelectorManager$1.run(SelectorManager.java:283)|org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:598)|org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:533)|java.lang.Thread.run(Thread.java:662)|
2012-11-12 10:21:30,786[ConcurrentSessionMonitorThread_5]
FATAL(MemcachedInterface.java:<gets>:86)- Exception accessing memcache ::  
net.rubyeye.xmemcached.exception.MemcachedException: Xmemcached is stopped
	at
net.rubyeye.xmemcached.XMemcachedClient.sendCommand(XMemcachedClient.java:247)
	at
net.rubyeye.xmemcached.XMemcachedClient.fetch0(XMemcachedClient.java:573)
	at net.rubyeye.xmemcached.XMemcachedClient.get0(XMemcachedClient.java:971)
	at net.rubyeye.xmemcached.XMemcachedClient.gets(XMemcachedClient.java:984)
	at net.rubyeye.xmemcached.XMemcachedClient.gets(XMemcachedClient.java:1006)
	at net.rubyeye.xmemcached.XMemcachedClient.gets(XMemcachedClient.java:995)
	at
com.tradeking.at.util.MemcachedInterface.gets(MemcachedInterface.java:84)
	at
com.tradeking.at.sessionhandler.ConcurrentSessionMonitorThread.run(ConcurrentSessionMonitorThread.java:81)

Can some one help me in this issue and let me know..why jetty server is
stopping due to this exception?



--
View this message in context: http://jetty.4.n6.nabble.com/Jetty-getting-down-after-some-idle-time-apprx-3-4-hrs-tp4959552.html
Sent from the Jetty User mailing list archive at Nabble.com.


Back to the top