History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-3757
Type: Improvement Improvement
Status: Open Open
Priority: Minor Minor
Assignee: Robin Shen
Reporter: Robin Shen
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

Able to retry on LDAP connection failure

Created: 12/Jul/21 11:02 PM   Updated: 12/Jul/21 11:02 PM
Component/s: None
Affects Version/s: 11.0.7
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
jvm 1 | 2021-07-09 15:38:31,807 WARN /rest/builds
jvm 1 | java.lang.RuntimeException: javax.naming.NamingException: LDAP connection has been closed
jvm 1 | at com.pmease.quickbuild.plugin.authenticator.ldap.LdapAuthenticator.authenticate(LdapAuthenticator.java:462)
jvm 1 | at com.pmease.quickbuild.plugin.authenticator.ldap.LdapAuthenticator$$EnhancerByCGLIB$$5053cd90.CGLIB$authenticate$0(<generated>)
jvm 1 | at com.pmease.quickbuild.plugin.authenticator.ldap.LdapAuthenticator$$EnhancerByCGLIB$$5053cd90$$FastClassByCGLIB$$71c408f3.invoke(<generated>)
jvm 1 | at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
jvm 1 | at com.pmease.quickbuild.DefaultScriptEngine$Interpolator.intercept(DefaultScriptEngine.java:261)
jvm 1 | at com.pmease.quickbuild.plugin.authenticator.ldap.LdapAuthenticator$$EnhancerByCGLIB$$5053cd90.authenticate(<generated>)
jvm 1 | at com.pmease.quickbuild.security.SecurityHelper.authenticate(SecurityHelper.java:602)
jvm 1 | at com.pmease.quickbuild.security.SecurityHelper.authenticate(SecurityHelper.java:808)
jvm 1 | at com.pmease.quickbuild.rest.RestServlet.service(RestServlet.java:43)
jvm 1 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
jvm 1 | at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)
jvm 1 | at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
jvm 1 | at com.pmease.quickbuild.Quickbuild$DisableTraceFilter.doFilter(Quickbuild.java:1223)
jvm 1 | at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
jvm 1 | at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
jvm 1 | at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221)
jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
jvm 1 | at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
jvm 1 | at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
jvm 1 | at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
jvm 1 | at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)
jvm 1 | at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
jvm 1 | at org.eclipse.jetty.server.Server.handle(Server.java:499)
jvm 1 | at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)
jvm 1 | at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:258)
jvm 1 | at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)
jvm 1 | at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
jvm 1 | at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
jvm 1 | at java.base/java.lang.Thread.run(Thread.java:834)
jvm 1 | Caused by: javax.naming.NamingException: LDAP connection has been closed
jvm 1 | at java.naming/com.sun.jndi.ldap.LdapRequest.getReplyBer(LdapRequest.java:133)
jvm 1 | at java.naming/com.sun.jndi.ldap.Connection.readReply(Connection.java:434)
jvm 1 | at java.naming/com.sun.jndi.ldap.LdapClient.ldapBind(LdapClient.java:365)
jvm 1 | at java.naming/com.sun.jndi.ldap.LdapClient.authenticate(LdapClient.java:214)
jvm 1 | at java.naming/com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2895)
jvm 1 | at java.naming/com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:348)
jvm 1 | at jdk.naming.ldap/com.sun.jndi.ldap.dns.LdapDnsProviderServiceImpl.getLdapCtxFromUrl(LdapDnsProviderServiceImpl.java:95)
jvm 1 | at jdk.naming.ldap/com.sun.jndi.ldap.dns.LdapDnsProviderServiceImpl.getContextFromEndpoints(LdapDnsProviderServiceImpl.java:129)
jvm 1 | at java.naming/com.sun.jndi.ldap.LdapCtxFactory.getContextFromEndpoints(LdapCtxFactory.java:188)
jvm 1 | at java.naming/com.sun.jndi.ldap.LdapCtxFactory.lambda$getUsingURL$0(LdapCtxFactory.java:197)
jvm 1 | at java.base/java.security.AccessController.doPrivileged(Native Method)
jvm 1 | at java.base/java.security.AccessController.doPrivilegedWithCombiner(AccessController.java:570)
jvm 1 | at java.naming/com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:195)
jvm 1 | at java.naming/com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:241)
jvm 1 | at java.naming/com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:160)
jvm 1 | at java.naming/com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:90)
jvm 1 | at java.naming/javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:719)
jvm 1 | at java.naming/javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:305)
jvm 1 | at java.naming/javax.naming.InitialContext.init(InitialContext.java:236)
jvm 1 | at java.naming/javax.naming.InitialContext.<init>(InitialContext.java:208)
jvm 1 | at java.naming/javax.naming.directory.InitialDirContext.<init>(InitialDirContext.java:101)
jvm 1 | at com.pmease.quickbuild.plugin.authenticator.ldap.LdapAuthenticator.authenticate(LdapAuthenticator.java:343)
jvm 1 | ... 29 more

 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.