Accessing ODSM 11g 11.1.1.7 Intermittently Fails with: java.lang.Exception: MDSLockedSessionManager already registered. Can't register more than one. (Doc ID 1586149.1)

Last updated on JULY 24, 2017

Applies to:

Oracle Internet Directory - Version 11.1.1.7.0 to 11.1.1.7.0 [Release 11g]
Oracle JDeveloper - Version 11.1.1.7.0 to 11.1.1.7.0 [Release Oracle11g]
Oracle Virtual Directory - Version 11.1.1.7.0 to 11.1.1.7.0 [Release 11g]
Information in this document applies to any platform.

Symptoms

Oracle Fusion Middleware (FMW) High Availability 11.1.1.7.0 installation with Oracle Internet Directory (OID) 11g 11.1.1.7.0.

Intermittently, using Oracle Directory Services Manager (ODSM) returns error:

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 following exceptions may be seen on the related WLS Managed Server (e.g., wls_ods1) output window / stdout:

....<snip>...

<Sep 20, 2013 12:22:10 PM EDT> <Warning> <org.apache.myfaces.trinidadinternal.context.RequestContextImpl> <BEA-000000> <Could not find partial trigger latIT from RichTable[org.apache.myfaces.trinidad.component.UIXTable$RowKeyFacesBeanWrapper@9203dad, id=t4] with the supported partialTriggers syntax. The partial trigger was found with the deprecated syntax. Please use the supported syntax.>
<Sep 20, 2013 12:22:17 PM EDT> <Error> <org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl> <BEA-000000> <
weblogic.utils.NestedRuntimeException: Cannot parse POST parameters of request: '/odsm/faces/odsm.jspx'
at weblogic.servlet.internal.ServletRequestImpl$RequestParameters.mergePostParams(ServletRequestImpl.java:2197)
at weblogic.servlet.internal.ServletRequestImpl$RequestParameters.parseQueryParams(ServletRequestImpl.java:2077)

...<etc,etc>...

Caused By: java.net.ProtocolException: EOF after reading only: '0' of: '641' promised bytes, out of which at least: '0' were already buffered
at weblogic.servlet.internal.PostInputStream.complain(PostInputStream.java:97)
at weblogic.servlet.internal.PostInputStream.read(PostInputStream.java:196)

...<etc,etc>...

<Sep 20, 2013 12:22:17 PM EDT> <Error> <HTTP> <BEA-101020> <[ServletContext@1087659987[app:odsm module:/odsm path:/odsm spec-version:2.5 version:11.1.1.2.0]] Servlet failed with Exception
java.lang.AssertionError: Assertion violated
at weblogic.utils.Debug.assertion(Debug.java:57)
at weblogic.servlet.internal.ServletRequestImpl$RequestParameters.mergePostParams(ServletRequestImpl.java:2175)

...<snip>...

<Sep 20, 2013 12:22:46 PM EDT> <Error> <oracle.adfinternal.controller.application.AdfcExceptionHandler> <ADFC-50016> <ADFc: While handling an exception the application's exception handler threw a new exception.
java.lang.RuntimeException: java.lang.Exception: MDSLockedSessionManager already registered. Can't register more than one.
at oracle.adf.controller.internal.mds.LockedTransactionManager.<init>(LockedTransactionManager.java:48)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$1.before(ADFPhaseListener.java:330)

...<snip>...

 

Another symptom description:

When navigating ODSM (browsing directory tree, or managing OVD or OID), the environment becomes unstable and displays "the HttpSession is invalid" - ADF_FACES-60097 error message pop-up.

The Managed Server log [wls_ods1-diagnostic.log (TRACE:32)] shows:

[2013-12-23T14:43:21.568-08:00] [wls_ods1] [ERROR] [ADFC-50016] [oracle.adfinternal.controller.application.AdfcExceptionHandler] [tid: [ACTIVE].ExecuteThread: '4' for queue: 'weblogic.kernel.Default
(self-tuning)'] [userId: <anonymous>] [ecid:a6ee2b4f0c85661a:-51502eb9:1430d437f2b:-8000-000000000000a162,0] [APP:odsm#11.1.1.2.0] [DSID: 0000KCXbVZFFw0K6yVAhMG1IgsO300000K] ADFc: While handling an exception the application's exception handler threw a new exception.[[
java.lang.RuntimeException: java.lang.Exception: MDSLockedSessionManager
already registered. Can't register more than one.
at oracle.adf.controller.internal.mds.LockedTransactionManager.<init>(LockedTransactionManager.java:48)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$1.before(ADFPhaseListener.java:330)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:76)
at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.beforePhase(ADFLifecyclePhaseListener.java:44)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:378)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:207)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
...
Caused by: java.lang.Exception: MDSLockedSessionManager already registered.
Can't register more than one.
at oracle.adf.share.mds.MDSTransManager.registerMDSLockedSessionManagerInst(MDSTransManager.java:132)
at oracle.adf.share.mds.MDSTransManager.registerMDSLockedSessionManager(MDSTransManager.java:124)
at oracle.adf.controller.internal.mds.LockedTransactionManager.<init>(LockedTransactionManager.java:44)
...
at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.beforePhase(ADFLifecyclePhaseListener.java:45)

 

Changes

 

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