1 Reply Latest reply on May 8, 2006 10:57 AM by 168180

    JDBC connection issue to

      I am trying to make a jdbc connection to an Oracle 9i database (on AIX, Entreprise - 64 bit) from a linux box.
      On the client, I have last jdbc driver available :
      jdbc driver name: Oracle JDBC driver
      jdbc driver version:
      jdbc driver major version: 9
      jdbc driver minor version: 2
      db product name: Oracle
      db product version: Oracle9i Release - Production
      JServer Release - Production

      However, when trying to connect I got the following execption :
      java.sql.SQLException: Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=153093888)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))
      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:3678)
      at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java:352)
      at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:365)
      at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:547)
      at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:347)
      at java.sql.DriverManager.getConnection(DriverManager.java:512)
      at java.sql.DriverManager.getConnection(DriverManager.java:172)
      at austin.db.TestDB.main(Unknown Source)

      Note, that with the same code, I can successfully connect to another server (Oracle9i Release running on windows)

      Does anyone has an idea oof what is going wrong