This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 105371

Summary: The Network Adapter could not establish the connection
Product: db Reporter: geldouches <geldouches>
Component: CodeAssignee: Andrei Badea <abadea>
Status: RESOLVED WORKSFORME    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description geldouches 2007-06-01 09:41:02 UTC
When i try to be connected to an oracle database with netbeans 5.5.1 (Runtime 
Window), it is OK and i can parse the database schema ... etc.

But it failed with netbeans6 with the following exception :
java.sql.SQLException: Exception d'E/S: The Network Adapter could not establish 
the connection
        at oracle.jdbc.driver.DatabaseError.throwSqlException
(DatabaseError.java:112)
        at oracle.jdbc.driver.DatabaseError.throwSqlException
(DatabaseError.java:146)
        at oracle.jdbc.driver.DatabaseError.throwSqlException
(DatabaseError.java:255)
        at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:387)
        at oracle.jdbc.driver.PhysicalConnection.<init>
(PhysicalConnection.java:420)
        at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
        at oracle.jdbc.driver.T4CDriverExtension.getConnection
(T4CDriverExtension.java:35)
        at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
        at org.netbeans.modules.db.explorer.DbDriverManager.getConnection
(DbDriverManager.java:99)
[catch] at org.netbeans.modules.db.explorer.DatabaseConnection$2.run
(DatabaseConnection.java:503)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:539)
        at org.openide.util.RequestProcessor$Processor.run
(RequestProcessor.java:964)
Comment 1 geldouches 2007-06-01 09:46:16 UTC
The netbeans 5.5.1 and netbeans6 are installed on the same machine and use the 
same JDK(Mustang)
Comment 2 Andrei Badea 2007-06-26 15:47:53 UTC
Which version of the Oracle driver are you using? Are you using the same version in both NB 5.5.1 and 6.0? And what is
the version of the Oracle server?
Comment 3 Andrei Badea 2007-07-27 13:49:42 UTC
No update from the reported for a long time, closing.