InstanceNotFoundException Reported when Deploying a Project on a Glassfish Stand-Alone Instance and Configuration Parameters are stored in LDAP. (Doc ID 1466153.1)

Last updated on NOVEMBER 02, 2016

Applies to:

Oracle Java CAPS Enterprise Service Bus - Version R6.2 to R6.2 [Release 6.0]
Information in this document applies to any platform.
***Checked for relevance on 07-August-2014***

Symptoms


Have a Java CAPS Repository Based Project which uses LDAP for storing the configuration parameters for some external systems in the environment. When the project is deployed on a Glassfish Stand-Alone Instance the following exception occurs:


[#|2012-04-11T19:31:02.052+0800|SEVERE|sun-appserver2.1|com.stc.configuration.LDAPAttributeTransformer|_ThreadID=56;_ThreadName=RMI TCP Connection(610)-10.45.11.69;_RequestID=6d3f42a9-262d-4e4f-9aa6-b98897483307;|From LDAPAttributeTransfer: no caps env over-ride for: LDAP|#]

[#|2012-04-11T19:31:02.054+0800|SEVERE|sun-appserver2.1|com.stc.configuration.LDAPAttributeTransformer|_ThreadID=56;_ThreadName=RMI TCP Connection(610)-10.45.11.69;_RequestID=6d3f42a9-262d-4e4f-9aa6-b98897483307;|Error in getting the value for ldaps://uid=fileLoc,ou=jms,dc=jcaps,dc=com?cn
com.stc.configuration.util.AppConfigException: javax.management.InstanceNotFoundException: This operation failed, because it could not be handled by this domain.
An example of such an operation is creating application server instances or clusters when they are not supported by the given domain.
The actual error is: MBean instance not found: com.sun.appserv:category=config,jndi-name=capsenv/LDAP,type=custom-resource
at com.stc.configuration.util.AppConfigUtil.getCAPSEnvConfig(AppConfigUtil.java:54)
at com.stc.configuration.LDAPAttributeTransformer.getLDAPAttrValue(LDAPAttributeTransformer.java:186)
at com.stc.configuration.LDAPAttributeTransformer.getValue(LDAPAttributeTransformer.java:350)
...
Caused by: javax.management.InstanceNotFoundException: This operation failed, because it could not be handled by this domain.
An example of such an operation is creating application server instances or clusters when they are not supported by the given domain.
The actual error is: MBean instance not found: com.sun.appserv:category=config,jndi-name=capsenv/LDAP,type=custom-resource
at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.manufactureAndRegisterMBean(SunoneInterceptor.java:663)
at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.registerWithPersistenceCheck(SunoneInterceptor.java:692)
at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:302)

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