My Oracle Support Banner

WebLogic Server 9.2 と Active Directory を使用する場合、認証中にクラッシュが発生 (Doc ID 1670233.1)

Last updated on DECEMBER 11, 2017

適用範囲:

Oracle WebLogic Server - バージョン 9.2 以降
この文書の内容はすべてのプラットフォームに適用されます。

現象

Active Directory 認証が設定された Weblogic 9.2 ドメインで、LDAP 認証時にサーバインスタンスがクラッシュする場合があります。 この問題は Sun JDK および JRockit どちらを使用していても発生します。

最後に成功したリクエストとクラッシュが発生するまで約数分の間隔があります。その間にスレッドダンプを取得しました。下記スレッドダンプの抜粋は LDAP 認証スタックトレースで、再帰的な呼び出しが復帰していない事を示しています。

"[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

原因

To view full details, 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 a vibrant support community of peers and Oracle experts.