My Oracle Support Banner

Updating or Viewing libOVD Adapters with WLST Fails with: AttributeError: 'NoneType' object has no attribute 'invoke' (Doc ID 1995963.1)

Last updated on AUGUST 18, 2022

Applies to:

Oracle Virtual Directory - Version 11.1.1.0 and later
Information in this document applies to any platform.

Symptoms

Library OVD (Oracle Virtual Directory) 11g.

Manage libOVD adapters with WLST fails:

wls:/<DOMAIN_NAME>/serverConfig> domainRuntime()
Location changed to domainRuntime tree. This is a read-only tree with DomainMBean as the root.
For more help, use help(domainRuntime)

wls:/<DOMAIN_NAME>/domainRuntime> listAdapters()
Traceback (innermost last):
 File "", line 1, in ?
 File "<MIDDLEWARE_HOME>/oracle_common/common/wlst/OracleLibOVD.py", line 91, in listAdapters
 File "<MIDDLEWARE_HOME>/oracle_common/common/script_handlers/OracleLibOVD_handler.py", line 235, in listAdapters
 File "<MIDDLEWARE_HOME>/oracle_common/common/wlst/lib/ora_mbs.py", line 56, in invoke
AttributeError: 'NoneType' object has no attribute 'invoke'

 

wls:/<DOMAIN_NAME>/domainRuntime> wls:/<DOMAIN_NAME>/domainRuntime> modifyLDAPAdapter(adapterName='<ADAPTER_NAME>', attribute='InitialPoolSize', value=10, contextName='<CONTEXT>')
Traceback (innermost last):
 File "", line 1, in ?
 File "<MIDDLEWARE_HOME>/oracle_common/common/wlst/OracleLibOVD.py", line 39, in modifyLDAPAdapter
 File "<MIDDLEWARE_HOME>/oracle_common/common/script_handlers/OracleLibOVD_handler.py", line 125, in modifyLDAPAdapter
 File "<MIDDLEWARE_HOME>/oracle_common/common/wlst/lib/ora_mbs.py", line 68, in setAttribute
AttributeError: 'NoneType' object has no attribute 'setAttribute'
wls:/<DOMAIN_NAME>/domainRuntime> listAdapters()
Traceback (innermost last):
 File "", line 1, in ?
 File "<MIDDLEWARE_HOME>/oracle_common/common/wlst/OracleLibOVD.py", line 91, in listAdapters
 File "<MIDDLEWARE_HOME>/oracle_common/common/script_handlers/OracleLibOVD_handler.py", line 235, in listAdapters
 File "<MIDDLEWARE_HOME>/oracle_common/common/wlst/lib/ora_mbs.py", line 56, in invoke
AttributeError: 'NoneType' object has no attribute 'invoke'
wls:/<DOMAIN_NAME>/domainRuntime>

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.