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

Last updated on SEPTEMBER 15, 2016

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:/iam_domain/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:/iam_domain/domainRuntime> listAdapters()
Traceback (innermost last):
 File "", line 1, in ?
 File "/home/oracle/Oracle/Middleware/oracle_common/common/wlst/OracleLibOVD.py", line 91, in listAdapters
 File "/home/oracle/Oracle/Middleware/oracle_common/common/script_handlers/OracleLibOVD_handler.py", line 235, in listAdapters
 File "/home/oracle/Oracle/Middleware/oracle_common/common/wlst/lib/ora_mbs.py", line 56, in invoke
AttributeError: 'NoneType' object has no attribute 'invoke'

 

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

 

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