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)
Log InLog in to view more of this document
Was this topic helpful?
Document Information
Modified date:
03 March 2025
UID
swg21398579