Hupa fails when the imap server closes the socket
-------------------------------------------------
Key: HUPA-34
URL: https://issues.apache.org/jira/browse/HUPA-34
Project: JAMES Hupa
Issue Type: Bug
Reporter: Manuel Carrasco
Assignee: Norman Maurer
2004872 [qtp1516115866-17] ERROR HupaLogger - Error while fetching headers for
user [email protected] in folder INBOX
javax.mail.StoreClosedException: * BYE JavaMail Exception:
java.net.SocketException: Socket closed
at com.sun.mail.imap.IMAPStore.idle(IMAPStore.java:1619)
at
org.apache.hupa.server.InMemoryIMAPStoreCache$CachedIMAPStore.validate(InMemoryIMAPStoreCache.java:164)
at
org.apache.hupa.server.InMemoryIMAPStoreCache.get(InMemoryIMAPStoreCache.java:89)
at
org.apache.hupa.server.InMemoryIMAPStoreCache.get(InMemoryIMAPStoreCache.java:75)
at
org.apache.hupa.server.handler.AbstractFetchMessagesHandler.executeInternal(AbstractFetchMessagesHandler.java:65)
at
org.apache.hupa.server.handler.AbstractFetchMessagesHandler.executeInternal(AbstractFetchMessagesHandler.java:51)
at
org.apache.hupa.server.handler.AbstractSessionHandler.execute(AbstractSessionHandler.java:61)
at
net.customware.gwt.dispatch.server.DefaultDispatch.doExecute(DefaultDispatch.java:78)
at
net.customware.gwt.dispatch.server.DefaultDispatch.execute(DefaultDispatch.java:68)
at
net.customware.gwt.dispatch.server.service.DispatchServiceServlet.execute(DispatchServiceServlet.java:24)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:527)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:166)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:86)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at
com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:231)
at
com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:142)
at
com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:93)
at
com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:63)
at
com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:122)
at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:110)
at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1189)
at
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:434)
at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:118)
at
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:458)
at
org.eclipse.jetty.server.session.SessionHandler.handle(SessionHandler.java:179)
at
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:930)
at
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:371)
at
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:864)
at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:116)
at
org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:243)
at
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:126)
at
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:112)
at org.eclipse.jetty.server.Server.handle(Server.java:337)
at
org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:562)
at
org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:1000)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:736)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:209)
at
org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:415)
at
org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:437)
at
org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:435)
at java.lang.Thread.run(Thread.java:619)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]