Results 1 to 4 of 4
  1. #1
    Join Date
    May 2006
    Posts
    5

    Unanswered: TNS: address Error Message

    i made a program from java which is connected with oracle. why, when the program's running, i've got an error message from oracle listener.

    here the error message:

    java.sql.SQLException: [Oracle][ODBC][Ora]ORA-12542: TNS:address already in use
    at sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc .java:6958)
    at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java :7115)
    at sun.jdbc.odbc.JdbcOdbc.SQLDriverConnect(JdbcOdbc.j ava:3074)
    at sun.jdbc.odbc.JdbcOdbcConnection.initialize(JdbcOd bcConnection.java:323)
    at sun.jdbc.odbc.JdbcOdbcDriver.connect(JdbcOdbcDrive r.java:174)
    at java.sql.DriverManager.getConnection(DriverManager .java:525)
    at java.sql.DriverManager.getConnection(DriverManager .java:171)
    at koneksi.BukaKoneksi(BP.java:275)
    at BP.ping_dev(BP.java:31)
    at BP.main(BP.java:179)
    at BP.<init>(BP.java:16)
    at BP.main(BP.java:251)

    Press any key to continue . . .


    please help me, how to solve the problem. thanx for your favour.

  2. #2
    Join Date
    Jan 2004
    Location
    Croatia, Europe
    Posts
    4,094
    Provided Answers: 4
    This is what Oracle says about it:
    ORA-12542 TNS:address already in use

    Cause: Specified listener address is already being used.

    Action: Start your listener with a unique address.

  3. #3
    Join Date
    May 2006
    Posts
    5
    how to start listener with a unique address? gimme the steps. tx

  4. #4
    Join Date
    Jan 2004
    Location
    Croatia, Europe
    Posts
    4,094
    Provided Answers: 4
    No problem. Click here.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •