Login for Clustered OIM 11.1.2.0.x and 11.1.2.1.x Environments gives "Error 500 - Internal Server Error" with "java.lang.AbstractMethodError:javax.xml.parsers.DocumentBuilderFactory.setFeature" and BEA-101017 HTTP Error when WLS PSU 12+ is Applied (Doc ID 2185920.1)

Last updated on MARCH 08, 2017

Applies to:

Identity Manager - Version 11.1.2.0.0 to 11.1.2.1.9 [Release 11g]
Information in this document applies to any platform.

Symptoms

After applying any of the WLS 10.3.6 Patch Set Updates (PSUs) past PSU 11 (ie...WLS PSU 10.3.6.0.160419 patch 22505423 or higher ) users get an ADF Popup with "javax.xml.parsers.DocumentBuilderFactory.setFeature(Ljava/lang/String;Z)V" when logging in to OIM Self Service.

javax.xml.parsers.DocumentBuilderFactory.setFeature(Ljava/lang/String;Z)V
ADF_FACES-60097:For more information, please see the server's error log for an entry beginning with: ADF_FACES-60096:Server Exception during PPR, #1

This can be followed with an Error 500 - Internal Server Error message:

Error 500 - Internal Server Error.
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1
10.5.1 500 Internal Server Error
The server encountered an unexpected condition which prevented it from fulfilling the request. 

The corresponding OIM managed server's terminal output (or redirected oim_serverX.out file) shows an exception stack with "java.lang.AbstractMethodError:javax.xml.parsers.DocumentBuilderFactory.setFeature" and an BEA-101017 HTTP Error:

<May 31, 2016 12:42:02 PM CDT> <Warning> <oracle.adfinternal.view.faces.lifecycle.LifecycleImpl> <BEA-000000> <ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase APPLY_REQUEST_VALUES 2
java.lang.AbstractMethodError: javax.xml.parsers.DocumentBuilderFactory.setFeature(Ljava/lang/String;Z)V
at weblogic.xml.jaxp.RegistryDocumentBuilder.setupDocumentBuilderFactory(RegistryDocumentBuilder.java:497)
at weblogic.xml.jaxp.RegistryDocumentBuilder.getDefaultDocumentBuilderFactory(RegistryDocumentBuilder.java:416)
at weblogic.xml.jaxp.RegistryDocumentBuilder.getDocumentBuilder(RegistryDocumentBuilder.java:327)
at weblogic.xml.jaxp.RegistryDocumentBuilder.parse(RegistryDocumentBuilder.java:155)
at oracle.adfinternal.view.rich.marshal.DefaultMarshalingService.unmarshalValue(DefaultMarshalingService.java:58)
at oracle.adfinternal.view.faces.event.rich.ClientEventUtils._getEventParameters(ClientEventUtils.java:248)
at oracle.adfinternal.view.faces.event.rich.ClientEventUtils._parseEvents(ClientEventUtils.java:177)
at oracle.adfinternal.view.faces.event.rich.ClientEventUtils._getAndLoadEvents(ClientEventUtils.java:146)
at oracle.adfinternal.view.faces.event.rich.ClientEventUtils.decodeAndStoreClientEvents(ClientEventUtils.java:125)
at oracle.adfinternal.view.faces.event.rich.ClientEventUtils.getCustomEvents(ClientEventUtils.java:55)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeCustomEvents(LifecycleImpl.java:576)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:472)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:196)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
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:301)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
at oracle.adf.view.page.editor.webapp.WebCenterComposerFilter.doFilter(WebCenterComposerFilter.java:117)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:126)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
at oracle.iam.ui.platform.servletfilter.IdentityContextFilter.doFilter(IdentityContextFilter.java:50)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
at oracle.iam.ui.platform.view.authz.filter.AdvancedConsoleAccessFilter.doFilter(AdvancedConsoleAccessFilter.java:125)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3748)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3714)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2283)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2182)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1499)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:263)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
>
<May 31, 2016 12:42:02 PM CDT> <Error> <HTTP> <BEA-101017> <[ServletContext@89980547[app:oracle.iam.console.identity.sysadmin.ear module:sysadmin path:/sysadmin spec-version:2.5 version:V2.0]] Root cause of ServletException.
java.lang.AbstractMethodError: javax.xml.parsers.DocumentBuilderFactory.setFeature(Ljava/lang/String;Z)V
at weblogic.xml.jaxp.RegistryDocumentBuilder.setupDocumentBuilderFactory(RegistryDocumentBuilder.java:497)
at weblogic.xml.jaxp.RegistryDocumentBuilder.getDefaultDocumentBuilderFactory(RegistryDocumentBuilder.java:416)
at weblogic.xml.jaxp.RegistryDocumentBuilder.getDocumentBuilder(RegistryDocumentBuilder.java:327)
at weblogic.xml.jaxp.RegistryDocumentBuilder.parse(RegistryDocumentBuilder.java:155)
at oracle.adfinternal.view.rich.marshal.DefaultMarshalingService.unmarshalValue(DefaultMarshalingService.java:58)
Truncated. see log file for complete stacktrace

The OIM managed servers' diagnostic file (at $DOMAIN_HOME/servers/oim_serverX/logs/oim_serverX-diagnostic.log ) will contain an ADF_FACES warning with:

[2016-05-31T12:42:02.501-04:00] [oim_server1] [WARNING] [] [oracle.adfinternal.view.faces.lifecycle.LifecycleImpl] [tid: [ACTIVE].ExecuteThread: '30' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: ad6efd156a4e0c97:54f76524:14f18016134:-8000-0000000000000a66,0] [APP: oracle.iam.console.identity.self-service.ear#V2.0] ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase APPLY_REQUEST_VALUES 2[[
java.lang.AbstractMethodError: javax.xml.parsers.DocumentBuilderFactory.setFeature(Ljava/lang/String;Z)V
at weblogic.xml.jaxp.RegistryDocumentBuilder.setupDocumentBuilderFactory(RegistryDocumentBuilder.java:497)
at weblogic.xml.jaxp.RegistryDocumentBuilder.getDefaultDocumentBuilderFactory(RegistryDocumentBuilder.java:416)
at weblogic.xml.jaxp.RegistryDocumentBuilder.getDocumentBuilder(RegistryDocumentBuilder.java:327)
at weblogic.xml.jaxp.RegistryDocumentBuilder.parse(RegistryDocumentBuilder.java:155)
at oracle.adfinternal.view.rich.marshal.DefaultMarshalingService.unmarshalValue(DefaultMarshalingService.java:58)
at oracle.adfinternal.view.faces.event.rich.ClientEventUtils._getEventParameters(ClientEventUtils.java:248)
at oracle.adfinternal.view.faces.event.rich.ClientEventUtils._parseEvents(ClientEventUtils.java:177)
at oracle.adfinternal.view.faces.event.rich.ClientEventUtils._getAndLoadEvents(ClientEventUtils.java:146)
at oracle.adfinternal.view.faces.event.rich.ClientEventUtils.decodeAndStoreClientEvents(ClientEventUtils.java:125)
at oracle.adfinternal.view.faces.event.rich.ClientEventUtils.getCustomEvents(ClientEventUtils.java:55)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeCustomEvents(LifecycleImpl.java:576)
...

Changes

 The issue occurs after applying one of the WebLogic Server Patch Set Updates (PSU) subsequent to PSU 11 (10.3.6.0.11).

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