Skip to content

Commit 484ee09

Browse files
jshum2479ddsharpe
authored andcommitted
Skip RCUDBInfo processing if the domain type is not JRF (#460)
1 parent f94c105 commit 484ee09

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

core/src/main/python/wlsdeploy/tool/create/domain_creator.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ def __run_rcu(self):
246246
java_home = self.model_context.get_java_home()
247247

248248
if RCU_DB_INFO in self.model.get_model_domain_info():
249+
249250
rcu_properties_map = self.model.get_model_domain_info()[RCU_DB_INFO]
250251
rcu_db_info = RcuDbInfo(self.alias_helper, rcu_properties_map)
251252

@@ -807,6 +808,10 @@ def __configure_fmw_infra_database(self):
807808
_method_name = '__configure_fmw_infra_database'
808809
self.logger.entering(class_name=self.__class_name, method_name=_method_name)
809810

811+
if not self._domain_typedef.is_jrf_domain_type():
812+
self.logger.warning('WLSDPLY-12249')
813+
return
814+
810815
has_atp = 0
811816
# For ATP databases : we need to set all the property for each datasource
812817
# load atp connection properties from properties file

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1133,6 +1133,7 @@ WLSDPLY-12246=Adding custom extension template file {0} to domain
11331133
WLSDPLY-12247=WebLogic does not support targeting resources to dynamic servers. JRF product related resources \
11341134
will be targeted to the dynamic cluster using the applyJRF function.
11351135
WLSDPLY-12248=The server group(s) {0} will not be targeted to the Admin server or a configured manage server
1136+
WLSDPLY-12249=RCUDBInfo section is specified in the model but the domain type used is not JRF, RCU processing skipped
11361137

11371138
# domain_typedef.py
11381139
WLSDPLY-12300={0} got the domain type {1} but the domain type definition file {2} was not valid: {3}

0 commit comments

Comments
 (0)