Skip to content

Commit e73eb2d

Browse files
Improve message for missing schematype jar during discover of custom security provider (#762)
1 parent 07a819e commit e73eb2d

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

core/src/main/python/wlsdeploy/tool/discover/topology_discoverer.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,9 @@ def discover_security_configuration(self):
341341
self._discover_subfolders(result[model_constants.REALM][realm], location, check_order)
342342
location.remove_name_token(name_token)
343343
except DiscoverException, de:
344-
_logger.warning('WLSDPLY-06200', self._wls_version, de.getLocalizedMessage(),
344+
wlst_path = self._aliases.get_wlst_attributes_path(location)
345+
_logger.warning('WLSDPLY-06200', wlst_path,
346+
self._wls_version, de.getLocalizedMessage(),
345347
class_name=_class_name, method_name=_method_name)
346348
result = OrderedDict()
347349

core/src/main/resources/oracle/weblogic/deploy/messages/wlsdeploy_rb.properties

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -579,9 +579,10 @@ WLSDPLY-06155=Attribute {0} value at location {1} replaced by token {2}
579579
WLSDPLY-06156=MBean not defined in alias definitions at location {0}. Will skip discovery of MBean folder.
580580

581581
# mbean_getter.py, attribute_getter.py specific to discover
582-
WLSDPLY-06200=Unable to get the Security Realm Provider name in version {0} with offline WLST. \
583-
The SecurityConfiguration will not be added to the model. The work-around is to \
584-
manually add the Security Configuration to the model or to discover the domain in online mode : {1}.
582+
WLSDPLY-06200=Unable to get the Security Realm Provider location {0} in version {1} with offline WLST. \
583+
The SecurityConfiguration will not be added to the model. Check that the schematype jar has been generated. \
584+
The work-around is to \
585+
manually add the Security Configuration to the model or to discover the domain in online mode : {2}.
585586
WLSDPLY-06201=Invalid Security Provider name "{0}" found for provider type at location {1}
586587

587588
# resources_discoverer.py

0 commit comments

Comments
 (0)