[ 
https://issues.apache.org/jira/browse/HUPA-33?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Manuel Carrasco updated HUPA-33:
--------------------------------

    Component/s: server

> Too many opened connections to the Imap server
> ----------------------------------------------
>
>                 Key: HUPA-33
>                 URL: https://issues.apache.org/jira/browse/HUPA-33
>             Project: JAMES Hupa
>          Issue Type: Bug
>          Components: server
>            Reporter: Manuel Carrasco
>            Assignee: Norman Maurer
>
> When using gmail imap service, and after working for long time, some actions 
> complain with the message: Too many simultaneous connections. 
> Not sure where the problem is, I need to investigate  to identify the cause.
> 154025 [qtp1516115866-20] ERROR HupaLogger  - Unable to expose msg for user 
> [email protected] in folder GWT with uid 58051
> javax.mail.AuthenticationFailedException: [ALERT] Too many simultaneous 
> connections. (Failure)
>       at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:566)
>       at javax.mail.Service.connect(Service.java:288)
>       at 
> org.apache.hupa.server.InMemoryIMAPStoreCache.get(InMemoryIMAPStoreCache.java:100)
>       at 
> org.apache.hupa.server.InMemoryIMAPStoreCache.get(InMemoryIMAPStoreCache.java:73)
>       at 
> org.apache.hupa.server.handler.GetMessageDetailsHandler.exposeMessage(GetMessageDetailsHandler.java:88)
>       at 
> org.apache.hupa.server.handler.GetMessageDetailsHandler.executeInternal(GetMessageDetailsHandler.java:71)
>       at 
> org.apache.hupa.server.handler.GetMessageDetailsHandler.executeInternal(GetMessageDetailsHandler.java:52)
>       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.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>       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]

Reply via email to