Skip to Content.
Sympa Menu

grouper-users - [grouper-users] Subject source LDAP timeouts

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] Subject source LDAP timeouts


Chronological Thread 
  • From: "Wessel, Keith" <>
  • To: "" <>
  • Subject: [grouper-users] Subject source LDAP timeouts
  • Date: Tue, 6 Dec 2016 19:53:14 +0000
  • Accept-language: en-US
  • Ironport-phdr: 9a23:sywm+hzVzoHMUpPXCy+O+j09IxM/srCxBDY+r6Qd2usRIJqq85mqBkHD//Il1AaPBtSAra8cwLeH+4nbGkU4qa6bt34DdJEeHzQksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2aFLduGC94iAPERvjKwV1Ov71GonPhMiryuy+4ZPebgFGiTanYb5+MBq6oAXVu8ILnYZsN6E9xwfTrHBVYepW32RoJVySnxb4+Mi9+YNo/jpTtfw86cNOSL32cKskQ7NWCjQmKH0169bwtRbfVwuP52ATXXsQnxFVHgXK9hD6XpP2sivnqupw3TSRMMPqQbwoXzmp8qFmQwLqhigaLT406GHZhNJtgqJHrhyvpB1/zJLbbo6aL/d+Yrrdcc8GSWZdQspdSSpMCZ68YYsVCOoBOP5Vo4f9qFQQthu+HhejBOf3xjRVg3H5w6w60/ghEQ3IwQctGNEOsXrKo9XuL6cdT+S1wbLJzTXHa/NW2DH96I/JchA6u/2DQ69/cdfIxEQpCgjLgFKQqYn/MDOU0OQAq3Sb7+p6Ve2xkWEotht9oiKyxscqjITCm4Ebykjc+Cln3Io4Kse0RUp1bNK+DpdcrSKXO5NrTs4mXW1kojs2x78ctZKlciUG0oorywPdZvCffYiH/BHuWPqULDp9mH1oeK+wihm3/ES9y+DzS9K73VNEoydGktTAqHUA2h7d6sWERPZw+Fqq1yyV2ADJ8O5EJFg5larFJJ4lxb49joATvlrHHiDsmET2l7aaeV8r+ue27eTnfqnqq5yGO49olA7xLqQumtehDuQiLAgOXnSU9vqn1LH5/E35RLFKjvwwkqnesZDaPt4XqbCkDA9Iyooj6hC/ACm60NkAg3ULMF1IdAiDgoXnIV3CPur0APSnj1SpijhrxvTGPrP7ApXKK3jOiLThfLhj5E5H0wo809Rf6olVCrEFJPLzW0nxtNvZDh8iKQC73fvoCMhl2oMERW2PGrOZML/VsVKQ6eIvOe6MZJINuDnjMfgp/uPujWQnll8HZqmkxp8XaHGjHvR6OEWVf2DggtYHEWcWoAU+Vurqh0OeUTJNfXq9Qb8z5ixoQL6hWM3MXIewmLGbmTqgE4dNTmFAFl2WF3r0LcOJV+pGIHadOMh8ijEeEKW6RpU6/RCoqALgzbd7dKzZ9jBO5rz5090grdLejgo/8Xg8LMmcz2HHBzV3gW4TXDIy9KF7pU17zVaYl6V0nqoLRpRo+/pVX1JiZtbnxOtgBoWqVw==

Hi,

We've been seeing LDAP connection read timeout exceptions in our Grouper dev
and text environments. (We don't have production running quite yet.) They're
somewhat random in terms of when they happen, but sometimes we see them if
someone leaves a Grouper UI session idle in their browser for more than a
half hour (give or take). Other times, they happen when an environment hasn't
been accessed in a while.

I'm blaming connecton pooling, but I'm unclear why a stale connection from
the pool would cause this to happen. After all, if our LDAP server closed an
idle connection, wouldn't' the pool just create a new one? And is the pool
really handing out stale connections?

The LDAP server, for what it's worth, as an IBM Security Systems Directory
Server.

Any advice would be appreciated. The Java stack trace is below.

Thanks,
Keith

2016-12-06 13:00:51,534: [TP-Processor3] ERROR GrouperUiFilter.doFilter(1030)
- - UI error
edu.internet2.middleware.subject.SourceUnavailableException: Ldap
NamingException: LDAP response read timed out, timeout used:2000ms.,
Cant find subject from login id: ecc
at
edu.internet2.middleware.subject.provider.LdapSourceAdapter.getLdapResultsHelper(LdapSourceAdapter.java:774)
at
edu.internet2.middleware.subject.provider.LdapSourceAdapter.getLdapResults(LdapSourceAdapter.java:661)
at
edu.internet2.middleware.subject.provider.LdapSourceAdapter.getLdapUnique(LdapSourceAdapter.java:806)
at
edu.internet2.middleware.subject.provider.LdapSourceAdapter.getSubject(LdapSourceAdapter.java:374)
at
edu.internet2.middleware.subject.provider.BaseSourceAdapter.getSubjectByIdOrIdentifier(BaseSourceAdapter.java:252)
at
edu.internet2.middleware.grouper.subj.SourcesXmlResolver$4.callLogic(SourcesXmlResolver.java:514)
at
edu.internet2.middleware.grouper.subj.SourcesXmlResolver$4.callLogic(SourcesXmlResolver.java:511)
at
edu.internet2.middleware.grouper.subj.SourcesXmlResolver$LogLabelCallable.call(SourcesXmlResolver.java:169)
at
edu.internet2.middleware.grouper.subj.SourcesXmlResolver.executeCallables(SourcesXmlResolver.java:230)
at
edu.internet2.middleware.grouper.subj.SourcesXmlResolver.findByIdOrIdentifier(SourcesXmlResolver.java:520)
at
edu.internet2.middleware.grouper.subj.CachingResolver.findByIdOrIdentifier(CachingResolver.java:377)
at
edu.internet2.middleware.grouper.subj.ValidatingResolver.findByIdOrIdentifier(ValidatingResolver.java:203)
at
edu.internet2.middleware.grouper.SubjectFinder.findByIdOrIdentifier(SubjectFinder.java:315)
at
edu.internet2.middleware.grouper.ui.GrouperUiFilter.retrieveSubjectLoggedInHelper(GrouperUiFilter.java:347)
at
edu.internet2.middleware.grouper.ui.GrouperUiFilter.retrieveSubjectLoggedIn(GrouperUiFilter.java:297)
at
edu.internet2.middleware.grouper.ui.GrouperUiFilter.doFilter(GrouperUiFilter.java:1013)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705)
at
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:745)
Caused by: javax.naming.NamingException: LDAP response read timed out,
timeout used:2000ms.; remaining name 'ou=people,dc=uiuc,dc=edu'
at com.sun.jndi.ldap.Connection.readReply(Connection.java:483)
at com.sun.jndi.ldap.LdapClient.getSearchReply(LdapClient.java:639)
at com.sun.jndi.ldap.LdapClient.search(LdapClient.java:562)
at com.sun.jndi.ldap.LdapCtx.doSearch(LdapCtx.java:1985)
at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1847)
at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1772)
at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1789)
at
com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(ComponentDirContext.java:412)
at
com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:394)
at
com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:376)
at edu.vt.middleware.ldap.AbstractLdap.search(AbstractLdap.java:215)
at edu.vt.middleware.ldap.Ldap.search(Ldap.java:431)
at edu.vt.middleware.ldap.Ldap.search(Ldap.java:347)
at
edu.internet2.middleware.subject.provider.LdapSourceAdapter.getLdapResultsHelper(LdapSourceAdapter.java:771)
... 30 more



Archive powered by MHonArc 2.6.19.

Top of Page