ONS configuration failed
See original GitHub issueSystem information:
- Operating system (distribution) and version: Windows Server 2016 Datacenter
- DBeaver version: 7.1.0.202005311732
- Java version: Version 8 Update 251
Connection specification:
- Database name and version: Oracle
- Driver name: Oracle, 12.2.0.1
- Do you use tunnels or proxies (SSH, SOCKS, etc)? no
Describe the problem you’re observing:
After latest update I can’t connect to Oracle database anymore. After trying to connect for ~30sec connection failing with error:
Unexpected driver error occurred while connecting to the database
ONS configuration failed
ONS configuration failed
Subscription time out
Oracle SQL Developer portable works completely fine on this machine without any problems.
Include any warning/errors/backtraces from the logs
Debug log:
> Start Eclipse IDE UI Application [org.eclipse.ui.ide.application 1.3.600.v20200116-2127]
> Start Eclipse e4 Workbench SWT [org.eclipse.e4.ui.workbench.swt 0.14.900.v20200213-1442]
> Start Eclipse Application Services [org.eclipse.e4.core.services 2.2.200.v20200127-0814]
> Start Eclipse Contexts [org.eclipse.e4.core.contexts 1.8.400.v20191217-1710]
> Start Eclipse UI Application Services [org.eclipse.e4.ui.services 1.3.700.v20190930-1643]
> Start ICU4J Base [com.ibm.icu.base 58.2.0.v20170418-1837]
> Start EMF Common [org.eclipse.emf.common 2.18.0.v20191225-1014]
> Start EMF Ecore [org.eclipse.emf.ecore 2.21.0.v20200127-1342]
> Start EMF XML/XMI Persistence [org.eclipse.emf.ecore.xmi 2.16.0.v20190528-0725]
> Start Eclipse UI Dependency Injection [org.eclipse.e4.ui.di 1.2.800.v20200128-0855]
> Start Eclipse e4 Workbench Add-ons [org.eclipse.e4.ui.workbench.addons.swt 1.3.800.v20191212-1231]
> Start Expression Language [org.eclipse.core.expressions 3.6.700.v20200212-1751]
> Start Eclipse e4 Workbench SWT Renderer [org.eclipse.e4.ui.workbench.renderers.swt 0.14.1100.v20200217-1217]
> Start Eclipse Bindings Support [org.eclipse.e4.ui.bindings 0.12.800.v20191216-0805]
> Start Eclipse Dependency Injection Extensions [org.eclipse.e4.core.di.extensions 0.15.500.v20200106-1259]
> Start Eclipse CSS SWT Support [org.eclipse.e4.ui.css.swt 0.13.900.v20200203-0840]
> Start Eclipse CSS SWT Theme Support [org.eclipse.e4.ui.css.swt.theme 0.12.600.v20200124-0005]
> Start DBeaver UI [org.jkiss.dbeaver.ui 5.1.49.202005311732]
> Start Help System Core [org.eclipse.help 3.8.700.v20191212-1123]
> Start Equinox Provisioning Core [org.eclipse.equinox.p2.core 2.6.300.v20200211-1504]
> Start Equinox Provisioning Operations API [org.eclipse.equinox.p2.operations 2.5.700.v20191211-1713]
> Start Equinox Provisioning Platform Automatic Update Support [org.eclipse.equinox.p2.ui.sdk.scheduler 1.4.600.v20200221-0754]
> Start Equinox Provisioning Update Checker [org.eclipse.equinox.p2.updatechecker 1.2.300.v20200222-1600]
> Start Equinox Provisioning Metadata [org.eclipse.equinox.p2.metadata 2.4.700.v20191213-1911]
> Start Equinox Provisioning Engine [org.eclipse.equinox.p2.engine 2.6.600.v20200110-2121]
> Start Equinox Provisioning Metadata Repository [org.eclipse.equinox.p2.metadata.repository 1.3.400.v20191211-1528]
> Start Equinox Provisioning Repository [org.eclipse.equinox.p2.repository 2.4.700.v20200110-2121]
> Start DBeaver SQL Model [org.jkiss.dbeaver.model.sql 1.0.24.202005311732]
> Start Equinox Provisioning UI Support [org.eclipse.equinox.p2.ui 2.5.800.v20200213-1530]
> Start Default Text Editor [org.eclipse.ui.editors 3.13.100.v20200130-1507]
> Start Text Editor Framework [org.eclipse.ui.workbench.texteditor 3.14.100.v20200212-1049]
> Start DBeaver UI Editors - Base [org.jkiss.dbeaver.ui.editors.base 1.0.34.202005311732]
> Start DBeaver UI Editors - SQL [org.jkiss.dbeaver.ui.editors.sql 1.0.34.202005311732]
> Start DBeaver UI Editors - Data [org.jkiss.dbeaver.ui.editors.data 1.0.34.202005311732]
> Start DBeaver Sample Database [org.jkiss.dbeaver.ext.sample.database 1.0.71.202005311732]
> Start DBeaver Tip of the day [org.jkiss.dbeaver.ext.ui.tipoftheday 1.0.40.202005311732]
> Start DBeaver ER Diagram [org.jkiss.dbeaver.ext.erd 2.0.136.202005311732]
> Start File Buffers [org.eclipse.core.filebuffers 3.6.900.v20200117-0616]
> Start DBeaver UI Editors - Connections [org.jkiss.dbeaver.ui.editors.connection 1.0.25.202005311732]
> Start DBeaver Oracle UI [org.jkiss.dbeaver.ext.oracle.ui 1.0.21.202005311732]
> Start DBeaver Oracle Support [org.jkiss.dbeaver.ext.oracle 2.1.119.202005311732]
> Start Java Native Access [com.sun.jna 4.5.1.v20190425-1842]
> Start DBeaver SSH tunnels [org.jkiss.dbeaver.net.ssh.ui 1.0.55.202005311732]
> Start DBeaver SSH tunnels [org.jkiss.dbeaver.net.ssh 1.0.55.202005311732]
> Start Team Support Core [org.eclipse.team.core 3.8.900.v20200211-0946]
> Start Equinox Java Authentication and Authorization Service (JAAS) [org.eclipse.equinox.security 1.3.500.v20200114-1637]
Jun 17, 2020 5:09:08 PM oracle.simplefan.impl.FanManager configure
SEVERE: attempt to configure ONS in FanManager failed with oracle.ons.NoServersAvailable: Subscription time out
Jun 17, 2020 5:20:11 PM oracle.simplefan.impl.FanManager configure
SEVERE: attempt to configure ONS in FanManager failed with oracle.ons.NoServersAvailable: Subscription time out
Issue Analytics
- State:
- Created 3 years ago
- Comments:18 (4 by maintainers)
Top Results From Across the Web
FMW 12.2.1.3.0: "ONS configuration failed" or "oracle.ons ...
While this is JDBC issue, in the FMW/WLS context, this issue can be seen during Upgrade, Installation/Configuration or starting Admin/Managed Servers.
Read more >Spring boot app error log says attempt to configure ONS in ...
I am running a Spring Boot application ( v2.2.0-RELEASE ) with spring-boot-starter-jdbc and com.oracle.ojdbc:ojdbc8:19.3.0.0 driver.
Read more >After upgrade from 12.2.1.2.0 to 12.2.1.3.0 - JDBC fails with ...
0 - JDBC fails with "ONS configuration failed". After upgrade from WebLogic 12.2.1.2.0 to WebLogic 12.2.1.3.0 the server throws exception when ...
Read more >Confluence initial setup error when testing Oracle Database ...
Confluence initial setup error when testing Oracle Database connection "configure attempt to configure ONS in FanManager failed with oracle.ons.
Read more >attempt to configure ONS in FanManager failed with oracle ...
However, when the FAN configuration is not complete or not available for any reason, ... IllegalArgumentException: ONS configuration failed.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This happens to me every now and then with a specific server. I’m able to fix it with those steps:
It then continues to work for weeks. When the problem happens again, I just repeat the steps above.
Set: -Doracle.jdbc.fanEnabled=false
https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=99525057147918&parent=EXTERNAL_SEARCH&sourceId=PROBLEM&id=2308193.1&_afrWindowMode=0&_adf.ctrl-state=g3tq88y1z_53
In dbeaver Database / Driver Manager select Oracle and define the connection properties oracle.jdbc.fanEnabled and set to false