Description
To make progress while getting issue #946 sorted, I started loading up my ORACLE_HOME with mbeans/schemas. Regardless, for one authorizer I kept getting this:
WLSDPLY-06779: Unable to complete discover of Security Configuration Provider Proxy for ZiAuthorizationProvider: Name=ZiAuthorizationProvider, Type=Authorizer. The mbean type jar and schema jar must be in the correct locations to discover the custom provider MBean. See documentation for more information.
After several days being certain that I had made some silly error with the schema creation, how the authorizer was written or whatever, and in general poring over my code and mbean creation procedures something finally whispered 'Use the source Luke!'. So I did (and I should have done it waaay earlier), I quickly found this:
(weblogic-deploy\lib\python\wlsdeploy\tool\discover\custom_folder_helper.py, method security_provider_interface_name, line 367 in 1.9.17)
... if result.endswith('ProviderMBean'): result = mbean_interface_name _logger.warning('WLSDPLY-06779', str(mbean_instance), class_name=_class_name, method_name=_method_name) ...
Unfortunately, my Authorizer happened to have the actual name '.ZiAuthorizationProvider' (and hence being found as '.ZiAuthorizationProviderMBean'), and so being incorrectly flagged as a problem. Oops.
While I technically could change the name to avoid this, this particular provider is not created by me so I can't really fix it easily...so please come up with a better method of figuring out how to handle the situation of a custom mbean missing the schema...:-)
Thank you,
ken1