WebLogic Server 9.2 With Active Directory Crashing During Authentication (Doc ID 1382594.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle Weblogic Server - Version: 9.2 and later   [Release: and later ]
Information in this document applies to any platform.

Symptoms

In a Weblogic 9.2 domain, with Active Directory Authenticator configured, server instance is crashing during LDAP authentication. This happens with both Sun JDK and JRockit.

Between the last successful request and the crash, there is about several minutes interval between which thread dumps were captured. Below is snippet of thread dumps which shows recursive call without return at the LDAP authenticator stack trace.

"[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'" id=16 idx=0x58 tid=4228 prio=5 alive, waiting, native_blocked, daemon
-- Waiting for notification on: netscape/ldap/LDAPSearchListener@0x0000000184932A78[fat lock]
at jrockit/vm/Threads.waitForNotifySignal(JLjava/lang/Object;)Z(Native Method)
at jrockit/vm/Locks.wait(Locks.java:1973)[inlined]
at java/lang/Object.wait(Object.java:474)[optimized]
at netscape/ldap/LDAPMessageQueue.waitForMessage(LDAPMessageQueue.java:200)
^-- Lock released while waiting: netscape/ldap/LDAPSearchListener@0x0000000184932A78[recursive]
at netscape/ldap/LDAPMessageQueue.waitFirstMessage(LDAPMessageQueue.java:101)
^-- Lock released while waiting: netscape/ldap/LDAPSearchListener@0x0000000184932A78[fat lock]
at netscape/ldap/LDAPConnection.sendRequest(LDAPConnection.java:1796)
^-- Holding lock: netscape/ldap/LDAPConnection@0x0000000184924B50[biased lock]
at netscape/ldap/LDAPConnection.search(LDAPConnection.java:2566)
at weblogic/security/providers/authentication/LDAPAtnDelegate.listMemberGroups(LDAPAtnDelegate.java:2036)
at weblogic/security/providers/authentication/LDAPAtnLoginModuleImpl.addAllGroups(LDAPAtnLoginModuleImpl.java:420)
at weblogic/security/providers/authentication/LDAPAtnLoginModuleImpl.addAllGroups(LDAPAtnLoginModuleImpl.java:457)
at weblogic/security/providers/authentication/LDAPAtnLoginModuleImpl.addAllGroups(LDAPAtnLoginModuleImpl.java:457)
at weblogic/security/providers/authentication/LDAPAtnLoginModuleImpl.addAllGroups(LDAPAtnLoginModuleImpl.java:457)
at weblogic/security/providers/authentication/LDAPAtnLoginModuleImpl.addAllGroups(LDAPAtnLoginModuleImpl.java:457)
at weblogic/security/providers/authentication/LDAPAtnLoginModuleImpl.addAllGroups(LDAPAtnLoginModuleImpl.java:457)
at weblogic/security/providers/authentication/LDAPAtnLoginModuleImpl.addAllGroups(LDAPAtnLoginModuleImpl.java:457)
at weblogic/security/providers/authentication/LDAPAtnLoginModuleImpl.addAllGroups(LDAPAtnLoginModuleImpl.java:457)
at weblogic/security/providers/authentication/LDAPAtnLoginModuleImpl.addAllGroups(LDAPAtnLoginModuleImpl.java:457)
at weblogic/security/providers/authentication/LDAPAtnLoginModuleImpl.addAllGroups(LDAPAtnLoginModuleImpl.java:457)
at weblogic/security/providers/authentication/LDAPAtnLoginModuleImpl.addAllGroups(LDAPAtnLoginModuleImpl.java:457)
at weblogic/security/providers/authentication/LDAPAtnLoginModuleImpl.addAllGroups(LDAPAtnLoginModuleImpl.java:457)
at weblogic/security/providers/authentication/LDAPAtnLoginModuleImpl.addAllGroups(LDAPAtnLoginModuleImpl.java:457)
at weblogic/security/providers/authentication/LDAPAtnLoginModuleImpl.addAllGroups(LDAPAtnLoginModuleImpl.java:457)
at weblogic/security/providers/authentication/LDAPAtnLoginModuleImpl.addAllGroups(LDAPAtnLoginModuleImpl.java:457)
at weblogic/security/providers/authentication/LDAPAtnLoginModuleImpl.addAllGroups(LDAPAtnLoginModuleImpl.java:457)
at weblogic/security/providers/authentication/LDAPAtnLoginModuleImpl.addAllGroups(LDAPAtnLoginModuleImpl.java:457)
at weblogic/security/providers/authentication/LDAPAtnLoginModuleImpl.addAllGroups(LDAPAtnLoginModuleImpl.java:457)
at weblogic/security/providers/authentication/LDAPAtnLoginModuleImpl.addAllGroups(LDAPAtnLoginModuleImpl.java:457)
at weblogic/security/providers/authentication/LDAPAtnLoginModuleImpl.addAllGroups(LDAPAtnLoginModuleImpl.java:457)
......(about 2k lines same to the last line)
at weblogic/security/providers/authentication/LDAPAtnLoginModuleImpl.addAllGroups(LDAPAtnLoginModuleImpl.java:457)
at weblogic/security/providers/authentication/LDAPAtnLoginModuleImpl.addAllGroups(LDAPAtnLoginModuleImpl.java:457)
at weblogic/security/providers/authentication/LDAPAtnLoginModuleImpl.addGroups(LDAPAtnLoginModuleImpl.java:407)
at weblogic/security/providers/authentication/LDAPAtnLoginModuleImpl.login(LDAPAtnLoginModuleImpl.java:245)
at com/bea/common/security/internal/service/LoginModuleWrapper$1.run(LoginModuleWrapper.java:110)
at jrockit/vm/AccessController.doPrivileged(AccessController.java:254)
at jrockit/vm/AccessController.doPrivileged(AccessController.java:268)
at com/bea/common/security/internal/service/LoginModuleWrapper.login(LoginModuleWrapper.java:106)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
at jrockit/vm/Reflect.invokeMethod(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Native Method)
at sun/reflect/NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(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:592)
at javax/security/auth/login/LoginContext.invoke(LoginContext.java:769)
at javax/security/auth/login/LoginContext.access$000(LoginContext.java:186)
at javax/security/auth/login/LoginContext$4.run(LoginContext.java:683)
at jrockit/vm/AccessController.doPrivileged(AccessController.java:254)
at jrockit/vm/AccessController.doPrivileged(AccessController.java:268)
at javax/security/auth/login/LoginContext.invokePriv(LoginContext.java:680)
at javax/security/auth/login/LoginContext.login(LoginContext.java:579)
at com/bea/common/security/internal/service/JAASLoginServiceImpl.login(JAASLoginServiceImpl.java:91)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
at jrockit/vm/Reflect.invokeMethod(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Native Method)
at sun/reflect/NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(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:592)
at com/bea/common/security/internal/utils/Delegator$ProxyInvocationHandler.invoke(Delegator.java:61)
at $Proxy17.login(Ljava/lang/String;Ljavax/security/auth/callback/CallbackHandler;Lweblogic/security/service/ContextHandler;)Lcom/bea/common/security/service/Identity;(Unknown Source)
at weblogic/security/service/internal/WLSJAASLoginServiceImpl$ServiceImpl.login(WLSJAASLoginServiceImpl.java:89)
at com/bea/common/security/internal/service/JAASAuthenticationServiceImpl.authenticate(JAASAuthenticationServiceImpl.java:80)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
at jrockit/vm/Reflect.invokeMethod(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Native Method)
at sun/reflect/NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(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:592)
at com/bea/common/security/internal/utils/Delegator$ProxyInvocationHandler.invoke(Delegator.java:61)
at $Proxy19.authenticate(Ljavax/security/auth/callback/CallbackHandler;Lweblogic/security/service/ContextHandler;)Lcom/bea/common/security/service/Identity;(Unknown Source)
at weblogic/security/service/PrincipalAuthenticator.authenticate(PrincipalAuthenticator.java:366)
at weblogic/servlet/security/internal/SecurityModule.checkAuthenticate(SecurityModule.java:256)
at weblogic/servlet/security/ServletAuthentication.login(ServletAuthentication.java:394)
at weblogic/servlet/security/ServletAuthentication.weak(ServletAuthentication.java:371)
at com/bea/p13n/security/Authentication.login(Authentication.java:136)
at com/dhc/login/LoginBacking.handlePostbackData(LoginBacking.java:41)
at com/bea/netuix/servlets/controls/content/JspContent.handlePostbackData(JspContent.java:294)
at com/bea/netuix/nf/ControlLifecycle$2.visit(ControlLifecycle.java:178)
at com/bea/netuix/nf/ControlTreeWalker.walkRecursive(ControlTreeWalker.java:351)
at com/bea/netuix/nf/ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
at com/bea/netuix/nf/ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
at com/bea/netuix/nf/ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
at com/bea/netuix/nf/ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
at com/bea/netuix/nf/ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
at com/bea/netuix/nf/ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
at com/bea/netuix/nf/ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
at com/bea/netuix/nf/ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
at com/bea/netuix/nf/ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
at com/bea/netuix/nf/ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
at com/bea/netuix/nf/ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
at com/bea/netuix/nf/ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
at com/bea/netuix/nf/ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
at com/bea/netuix/nf/ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
at com/bea/netuix/nf/ControlTreeWalker.walkRecursive(ControlTreeWalker.java:361)
at com/bea/netuix/nf/ControlTreeWalker.walk(ControlTreeWalker.java:128)
at com/bea/netuix/nf/Lifecycle.processLifecycles(Lifecycle.java:361)
at com/bea/netuix/nf/Lifecycle.processLifecycles(Lifecycle.java:339)
at com/bea/netuix/nf/Lifecycle.processLifecycles(Lifecycle.java:330)
at com/bea/netuix/nf/Lifecycle.runInbound(Lifecycle.java:162)
at com/bea/netuix/nf/Lifecycle.run(Lifecycle.java:137)
at com/bea/netuix/servlets/manager/UIServlet.runLifecycle(UIServlet.java:419)
at com/bea/netuix/servlets/manager/UIServlet.doPost(UIServlet.java:267)
at com/bea/netuix/servlets/manager/UIServlet.service(UIServlet.java:197)
at com/bea/netuix/servlets/manager/SingleFileServlet.service(SingleFileServlet.java:237)
at com/bea/netuix/servlets/manager/PortalServlet.service(PortalServlet.java:602)
at javax/servlet/http/HttpServlet.service(HttpServlet.java:856)
at weblogic/servlet/internal/StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic/servlet/internal/StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic/servlet/internal/ServletStubImpl.execute(ServletStubImpl.java:283)
at weblogic/servlet/internal/TailFilter.doFilter(TailFilter.java:26)
at weblogic/servlet/internal/FilterChainImpl.doFilter(FilterChainImpl.java:42)
at com/bea/p13n/servlets/PortalServletFilter.doFilter(PortalServletFilter.java:251)
at weblogic/servlet/internal/FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic/servlet/internal/WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3242)
at weblogic/security/acl/internal/AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic/security/service/SecurityManager.runAs(SecurityManager.java:121)
at weblogic/servlet/internal/WebAppServletContext.securedExecute(WebAppServletContext.java:2010)
at weblogic/servlet/internal/WebAppServletContext.execute(WebAppServletContext.java:1916)
at weblogic/servlet/internal/ServletRequestImpl.run(ServletRequestImpl.java:1366)
at weblogic/work/ExecuteThread.execute(ExecuteThread.java:209)
at weblogic/work/ExecuteThread.run(ExecuteThread.java:181)
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
-- end of trace

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms