Skip to content

Commit 99c2e26

Browse files
committed
squelching FAN error during JRF domain creation with an ATP database
1 parent 8a071ed commit 99c2e26

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Diff for: core/src/main/python/wlsdeploy/tool/util/rcu_helper.py

+9
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
from java.lang import Class as JClass
1111
from java.lang import Exception as JException
1212
from java.lang import IllegalArgumentException
13+
from java.lang import System
1314
from java.sql import DriverManager
1415
from java.util import Properties
1516
from oracle.weblogic.deploy.create import CreateDomainLifecycleHookScriptRunner
@@ -101,6 +102,14 @@ def __init__(self, model_object, archive_helper, model_context, aliases, excepti
101102
####################
102103

103104
def check_or_run_rcu(self):
105+
# This squelches the following error during JRF domain creation with an ATP database.
106+
#
107+
# ####<Mar 29, 2024 3:19:53 PM> <SEVERE> <FanManager> <configure> <> <attempt to configure
108+
# ONS in FanManager failed with oracle.ons.NoServersAvailable: Subscription time out>
109+
#
110+
if self._rcu_db_info.is_use_atp():
111+
System.setProperty('oracle.jdbc.fanEnabled', 'false')
112+
104113
if self._model_context.get_domain_typedef().requires_rcu():
105114
if self._model_context.is_run_rcu():
106115
self.__run_rcu()

0 commit comments

Comments
 (0)