Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 443332, 1 year ago
Io exception: The Network Adapter could not establish the connection
via Oracle Community by 160915, 1 year ago
Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=153093120)(ERR=12504)(ERROR_STACK=(ERROR=(CODE=12504)(EMFI=4))))
via Server Fault by ydaetskcoR
, 1 year ago
Io exception: The Network Adapter could not establish the connection
via serverfault.com by Unknown author, 2 years ago
Io exception: The Network Adapter could not establish the connection
via Oracle Community by 843854, 1 year ago
Io exception: JNDI Package failurejavax.naming.NotContextException: Not an instance of DirContext
java.sql.SQLException: Io exception: The Network Adapter could not establish the connection	at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)	at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)	at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:334)	at oracle.jdbc.ttc7.TTC7Protocol.handleIOException(TTC7Protocol.java:3695)	at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java:352)	at oracle.jdbc.driver.OracleConnection.(OracleConnection.java:362)	at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:536)	at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:328)	at java.sql.DriverManager.getConnection(DriverManager.java:512)	at java.sql.DriverManager.getConnection(DriverManager.java:171)	at oracle.dss.connection.server.drivers.mdm.MDMPluggableConnectionDriverImpl.connectToDatabase(MDMPluggableConnectionDriverImpl.java:127)	at oracle.dss.connection.server.drivers.mdm.MDMPluggableConnectionDriverImpl.connect(MDMPluggableConnectionDriverImpl.java:40)	at oracle.dss.connection.server.drivers.mdm.MDMConnectionDriverImpl.connect(MDMConnectionDriverImpl.java:149)	at oracle.dss.connection.server.ConnectionImpl.connect(ConnectionImpl.java:286)	at oracle.dss.connection.client.Connection.connect(Connection.java:409)	at oracle.dss.connection.client.Connection.connect(Connection.java:326)	at oracle.dss.metadataManager.client.MetadataManager.setConnectionObjects(MetadataManager.java:3997)	at oracle.dss.metadataManager.client.MetadataManager.attach(MetadataManager.java:862)	at oracle.dss.metadataManager.client.MetadataManager.attach(MetadataManager.java:799)	at oracle.dss.datautil.client.XMLManagerFactory.createQueryManager(XMLManagerFactory.java:187)	at oracle.dss.datautil.client.ManagerFactoryImpl.lookupQueryManager(ManagerFactoryImpl.java:176)	at oracle.dss.datautil.client.ManagerFactoryImpl.lookupMetadataManager(ManagerFactoryImpl.java:219)	at oracle.dss.datautil.client.ManagerFactoryImpl.lookupManager(ManagerFactoryImpl.java:128)	at samples.javaclient.bootstrap.BIFrame.connect(BIFrame.java:198)	at samples.javaclient.linkingPresentations.BILinking.connect(BILinking.java:192)	at samples.javaclient.bootstrap.BIFrame$9.actionPerformed(BIFrame.java:537)	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)	at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)	at javax.swing.plaf.basic.BasicButtonListener$ReleasedAction.actionPerformed(BasicButtonListener.java:301)	at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1530)	at javax.swing.JComponent.processKeyBinding(JComponent.java:2438)	at javax.swing.JComponent.processKeyBindings(JComponent.java:2473)	at javax.swing.JComponent.processKeyEvent(JComponent.java:2401)	at java.awt.Component.processEvent(Component.java:4909)	at java.awt.Container.processEvent(Container.java:1569)	at java.awt.Component.dispatchEventImpl(Component.java:3615)	at java.awt.Container.dispatchEventImpl(Container.java:1627)	at java.awt.Component.dispatchEvent(Component.java:3477)	at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1713)	at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:627)	at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:831)	at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:741)	at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:592)	at java.awt.Component.dispatchEventImpl(Component.java:3506)	at java.awt.Container.dispatchEventImpl(Container.java:1627)	at java.awt.Window.dispatchEventImpl(Window.java:1606)	at java.awt.Component.dispatchEvent(Component.java:3477)	at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)	at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)