java.sql.SQLNonTransientConnectionException: [Mercury][Oracle JDBC Driver][Oracle]ORA-12514 Connection refused, the specified service name (lab3) was not recognized by the Oracle server.

tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Oracle 11.2.0.3 Service Name Mismatch issue

    Database Administrators | 1 year ago | SeanClt
    java.sql.SQLNonTransientConnectionException: [Mercury][Oracle JDBC Driver][Oracle]ORA-12514 Connection refused, the specified service name (lab3) was not recognized by the Oracle server.

    Root Cause Analysis

    1. java.sql.SQLNonTransientConnectionException

      [Mercury][Oracle JDBC Driver][Oracle]ORA-12514 Connection refused, the specified service name (lab3) was not recognized by the Oracle server.

      at com.mercury.jdbc.oraclebase.ddcr.b()
    2. com.mercury.jdbc
      ddcr.a
      1. com.mercury.jdbc.oraclebase.ddcr.b(Unknown Source)
      2. com.mercury.jdbc.oraclebase.ddcr.a(Unknown Source)
      2 frames