IBM Support

CORBA.IMPLIMIT Context is Read Only exception

Troubleshooting


Problem

org.omg.CORBA.IMP_LIMIT: Context is Read Only when trying to add a configured JNDI name to the name space.

Symptom

If a server scoped configured binding is created, that has a common intermediate context as any Resource Manager resource, then the naming operation will fail with a WriteProtectedContextException:

[8/20/14 23:45:18:511 EDT] 0000000a Helpers W NMSV0610I: A
NamingException is being thrown from a javax.naming.Context
implementation. Details follow:
Context implementation: com.ibm.ws.naming.jndicos.CNContextImpl
Context method: createSubcontext
Context name: WPSNetwork/clusters/dev2.a.AppTarget
Target name: com/ibm
Other data: ""
Exception stack trace:
com.ibm.websphere.naming.WriteProtectedContextException: The target
context for this operation on the name "com/ibm" from the context
"WPSNetwork/clusters/dev2.a.AppTarget"is a read-only context. [Root
exception is org.omg.CORBA.IMP_LIMIT: Context is Read Only, Primary
Name=WPSNetwork/clusters/dev2\.a\.AppTarget/com vmcid: 0x49421000
minor code: 82 completed: No]
at com.ibm.ws.naming.jndicos.CNContextImpl.mapIMP_LIMIT(CNContextImpl.java:
4878)
at com.ibm.ws.naming.jndicos.CNContextImpl.doCreateSubcontext(CNContextImpl
.java:2874)
at com.ibm.ws.naming.jndicos.CNContextImpl.createSubcontext(CNContextImpl.j
ava:971)
at com.ibm.websphere.naming.JndiHelper.createSubcontexts(JndiHelper.java:31
2)
...
Caused by: org.omg.CORBA.IMP_LIMIT: Context is Read Only, Primary
Name=WPSNetwork/clusters/dev2\.a\.AppTarget/com vmcid: 0x49421000
minor code: 82 completed: No
at com.ibm.ws.naming.distcos.ReadOnlyNC.do_bind_new_corba_context(ReadOnlyN
C.java:173)
at com.ibm.ws.naming.cosbase.WsnOptimizedNamingImplBase.bind_new_corba_cont
ext(WsnOptimizedNamingImplBase.java:2023)
at com.ibm.WsnOptimizedNaming._NamingContextStub.bind_new_corba_context(_Na
mingContextStub.java:472)
at com.ibm.ws.naming.jndicos.CNContextImpl.cosBindNewContext(CNContextImpl.
java:4295)
at com.ibm.ws.naming.jndicos.CNContextImpl.doCreateSubcontext(CNContextImpl
.java:2852)

[{"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"JNDI\/Naming","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF012","label":"IBM i"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"9.0;8.5.5;8.0;7.0","Edition":"Base;Network Deployment","Line of Business":{"code":"LOB77","label":"Automation Platform"}},{"Product":{"code":"SS7K4U","label":"WebSphere Application Server for z\/OS"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":null,"Platform":[{"code":"PF035","label":"z\/OS"}],"Version":"7.0;6.1;6.0","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
03 March 2025

UID

swg21398579