Confluence initial setup error when testing Oracle Database connection "configure attempt to configure ONS in FanManager failed with oracle.ons.NoServersAvailable: Subscription time out"
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Problem
When first configuring a new Confluence Instance with an Oracle 12c backend, the test connection option times out. However, after it times out, Confluence doesn't provide an on-screen error. The following appears in the atlassian-confluence.log
configure attempt to configure ONS in FanManager failed with oracle.ons.NoServersAvailable: Subscription time out referer: http://confluenceserver:8090/setup/setupdbtype-start.action | url: /setup/setupstandarddb-testconnection.action
Diagnosis
Environment
- Confluence 6.8, Oracle 12c (12.1.0.1.0), Java driver ojdbc8.
Cause
Oracle describes this same error in version 12.2 (12c Release 2). ONS configuration failed However, please note our current Supported Platforms.
Work Around
Steps:
- Stop Confluence
- Edit system properties using the appropriate method for the environment: Configuring System Properties
Add the following line to the system properties:
-Doracle.jdbc.fanEnabled=
false
Restart Confluence and attempt the Test Database Connection