Database 8 had error ORA-12505 wit DBLINK to 10 g

Hello
I have a database of Oracle 8 Linux, I want to create a data link to an Oracle 10 g database, I wrote tnsnames entry ian like this
OSO.com =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = tcp)(HOST= 172.1.34.120) (PORT = 1521))
(CONNECT_DATA =
(SID = OSOL.com)
)
)

I also tried with this
OSO.com =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = tcp)(HOST= 172.1.34.120) (PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = OSO.com)
)
)

AND thereby
OSO =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = tcp)(HOST= 172.1.34.120) (PORT = 1521))
(CONNECT_DATA =
(SID = OSOL.com)
)
)
and when I tried to conect to sqlplus give me ORA-12505: TNS:listener could not resolve SID in connect descriptor, I try OSO tnsping works very well but don't sqlplus
Can U help me
Thank you

hosoriol wrote:
Hello
I have a database of Oracle 8 Linux, I want to create a data link to an Oracle 10 g database, I wrote tnsnames entry ian like this
OSO.com =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = tcp)(HOST= 172.1.34.120) (PORT = 1521))
(CONNECT_DATA =
(SID = OSOL.com)
)
)

I also tried with this
OSO.com =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = tcp)(HOST= 172.1.34.120) (PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = OSO.com)
)
)

AND thereby
OSO =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = tcp)(HOST= 172.1.34.120) (PORT = 1521))
(CONNECT_DATA =
(SID = OSOL.com)
)
)
and when I tried to conect to sqlplus give me ORA-12505: TNS:listener could not resolve SID in connect descriptor, I try OSO tnsping works very well but don't sqlplus
Can U help me
Thank you

TNSPING only shows that there is a listener on the specified host and port. He really doesn't know the status of any particular database.

What services are you see when you do a LSNRCTL STATUS on the machine to 172.1.34.120. That's what you have to choose when setting SERVICE_NAME in your tnsnames.ora file.

BTW, sid has really nothing to do with the areas, so specifying SID = OSOL.com was particularly striking to glitter! ;-)

Tags: Database

Similar Questions

  • Developer SQL error: ORA-12505. TNS:listner is not currently of SID given in connect descriptor

    Hello guys, I know this question has been posted on several occasions in the past, but my question includes developer oracle sql only. I can use the database and all the features through sql * more even execute sql queries. but when it comes to developer sql always returns this error. (error: ORA-12505.)

    Windows 8-64 oracle 11 g r2

    --------------------------------------------------------------------------------------------------------------------------------------

    Welcome to LSNRCTL, enter 'help' for more information.

    LSNRCTL > status

    Connection to (ADDRESS = (PROTOCOL = tcp)(HOST=) (PORT = 1521))

    STATUS of the LISTENER

    ------------------------

    Alias auditeur1

    TNSLSNR for Windows 64-bit version: Version 11.2.0.1.0 - Production

    Start date August 11, 2014 13:08:08

    Uptime 0 days 0 h 14 min 55 sec

    Draw level off

    Security ON: OS Local Authentication

    SNMP OFF

    Listener parameter File C:\app\oracle\product\11.2.0\dbhome_1\network\admin\listener.ora

    C:\app\oracle\diag\tnslsnr\Needo-pc\listener1\alert\log.XML log listener

    Summary of endpoints listening...

    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp) (HOST = Needo-pc)(PORT=1521)))

    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))

    Summary of services...

    Service 'CLRExtProc' has 1 instance (s).

    Instance of 'CLRExtProc', status UNKNOWN, has 3 service management...

    Service "orcl" has 1 instance (s).

    Instance "orcl", State LOAN, has 1 operation for this service...

    Service 'orclXDB' has 1 instance (s).

    Instance "orcl", State LOAN, has 1 operation for this service...

    The command completed successfully

    -----------------------------------------------------------------------------------------------------------------

    LSNRCTL > services

    Connection to (ADDRESS = (PROTOCOL = tcp)(HOST=) (PORT = 1521))

    Summary of services...

    Service 'CLRExtProc' has 1 instance (s).

    Instance of 'CLRExtProc', status UNKNOWN, has 3 service management...

    Managers:

    "DEDICATED" set up: 0 denied: 0

    LOCAL SERVER

    "ORACLE SERVER" put in place: 0 denied: current: 0 0 max: 25 status: ready

    CLRExtProc

    (ADDRESS = (PROTOCOL = ipc) (PIPENAME=\\.\pipe\NTN_122C_C6D0FCF3. ORA))

    "ORACLE SERVER" put in place: 0 denied: current: 0 0 max: 25 status: ready

    CLRExtProc

    (ADDRESS = (PROTOCOL = ipc) (PIPENAME=\\.\pipe\NTN_122C_C6D0FCF3. ORA))

    Service "orcl" has 1 instance (s).

    Instance "orcl", State LOAN, has 1 operation for this service...

    Managers:

    "DEDICATED" set up: 22 refused: 0 status: ready

    LOCAL SERVER

    Service 'orclXDB' has 1 instance (s).

    Instance "orcl", State LOAN, has 1 operation for this service...

    Managers:

    "D000" put in place: 0 denied: current: 0 0 max: 1022 State: loan

    DISPATCHER < machine: NEEDO-PC, pid: 3172 >

    (ADDRESS = (PROTOCOL = tcp) (HOST = Needo-pc)(PORT=52654))

    The command completed successfully

    ------------------------------------------------------------------------------------------

    Thank you!

    Try it with sid ORCL instead of XE.

    If this does not help, then choose SERVICE_NAME orcl instead of SID in sql developer.

    Your listener seems to have an entry for this.

    You can also test it in SQl * more. But what you've done so far in SQl * plus was a "server connection", without providing the database.

    Because in your case, the client and the server is on the same machine, it works with sql * more.

    If you try a customer coonnect by specifying the database, then you would do the same thing as the Oracle SQL Developer is by train.

    For test purposes, something like

    sqlplus user/pwd@host:port/ORCL

    also in the Sqlnet.ora file must be an etry for local EZCONNECT connect method. I don't know if it is set during the installation of network by default.


    You can try if there is an Alias-TNS name (configured in the tnsnames.ora)

    sqlplus user/pwd@ORCL


    If it works with sql * plus, so you must always indicate the sql developer where the tnsnames.ora file is located on your computer.

    The setting can be found in the menu: extras/tools/base data/improved

    The tnsnames.ora file is usually in a file like this:

    C:\Oracle\product\11.2.0\client_1\network\admin


  • Error ORA-12505 only in SQL Developer - 11g Express

    Hello

    I found many similar problems but no answering mine.

    I installed the Oracle 11g Express version.  I can connect to my database order online when I try Developer SQL I get the following error code:

    Status: Failure-Test failed: listener refused the connection with the following error:
    ORA-12505, TNS:listener is not currently of SID given in connect descriptor.

    i\m data trying to connect to is xe.

    Here are my tnsnames.ora file content:

    ===============================================================================================

    XE =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = Jon-portable)(PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = XE)

    )

    )

    EXTPROC_CONNECTION_DATA =

    (DESCRIPTION =

    (ADDRESS_LIST =

    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1))

    )

    (CONNECT_DATA =

    (SID = PLSExtProc)

    (PRESENTATION = RO)

    )

    )

    ORACLR_CONNECTION_DATA =

    (DESCRIPTION =

    (ADDRESS_LIST =

    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1))

    )

    (CONNECT_DATA =

    (SID = CLRExtProc)

    (PRESENTATION = RO)

    )

    )

    ===================================================================================================

    Here is the output of "tnsping xe:

    Use settings files:

    C:\oraclexe\app\oracle\product\11.2.0\server\network\admin\sqlnet.ora

    TNSNAMES adapter used to resolve the alias

    Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = Jon-Lapt

    OP) (PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = XE)))

    OK (0 msec)

    ==================================================================================================

    The production of SERVICES of LSNRTCL are:

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1)))

    Summary of services...

    Service 'CLRExtProc' has 1 instance (s).

    Instance of 'CLRExtProc', status UNKNOWN, has 1 operation for this service...

    Managers:

    "DEDICATED" set up: 0 denied: 0

    LOCAL SERVER

    Service 'PLSExtProc' has 1 instance (s).

    Instance of 'PLSExtProc', status UNKNOWN, has 1 operation for this service...

    Managers:

    "DEDICATED" set up: 0 denied: 0

    LOCAL SERVER

    Service 'XEXDB' has 1 instance (s).

    Instance "xe", State LOAN, has 1 operation for this service...

    Managers:

    "D000" put in place: 0 denied: current: 0 0 max: 1022 State: loan

    DISPATCHER < machine: JON-laptop, pid: 2636 >

    (ADDRESS = (PROTOCOL = tcp) (HOST = Jon-Laptop)(PORT=1064))

    "Xe" service has 1 instance (s).

    Instance "xe", State LOAN, has 1 operation for this service...

    Managers:

    "DEDICATED" set up: 0 denied: 0 status: ready

    LOCAL SERVER

    The command completed successfully

    =================================================================================================

    NOTE: I tried to connect to ORCL with SQL Developer and put with the SYSTEM account.

    Please let me know if you need more information.  Thanks in advance.

    you typed in the 'OracleServiceXE' chain & the listener isn't aware of any Service with this exact name.

    You must only enter "XE".

  • Listener to refuse the connection with the following error ORA-12505

    Hi everyone, Am really new to the oracle database, I work on my school project work and am stuck in the middle of this error (listener refused the connection with the following error ORA-12505).

    I started the time serveral listener and it is said that 'no service supported by the LISTENER', I can't access the database via sqldeveloper including trows on the same error (listener refused the connection with the following error ORA-12505, TNS:Listener currently know of SID given in connect descriptor.) In addition, my em show red arrow down to the listener. Here are my coordinates hard & software.


    Oracle 11.1.0
    OS: Red Hat Enterprise Linux 4 (running the operating system through Vmware workstation)
    TNSNAME. ORA

    LISTENER2 =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    ((ADDRESS = (PROTOCOL = TCP (PORT = 1522))(HOST=localhost.localdomain))
    )
    )

    AUDITEUR1 =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST=localhost.localdomain) (PORT = 1523))
    )
    )

    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST=localhost.localdomain) (PORT = 1521))




    Listner, ora




    LISTNER_ORCL
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST=localhost.localdomain) (PORT = 1523))
    (ADDRESS = (PROTOCOL = TCP)(HOST=localhost.localdomain) (PORT = 1521))
    )

    IMT_ADMI =
    (= DESRIPTION
    (PORT = 1522))
    (ADDRESS = (PROTOCOL = TCP (PORT = 1522))(HOST=localhost.localdomain))
    (ADDRESS = (PROTOCOL = TCP)(HOST=localhost.localdomain) (PORT = 1523))
    (ADDRESS = (PROTOCOL = TCP)(HOST=localhost.localdomain) (PORT = 1521))

    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = imt_admin
    )
    )

    LISTENER_IMTADMIN =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP (PORT = 1522))(HOST=localhost.localdomain))
    (ADDRESS = (PROTOCOL = TCP)(HOST=localhost.localdomain) (PORT = 1523))
    (ADDRESS = (PROTOCOL = TCP)(HOST=localhost.localdomain) (PORT = 1521))

    )

    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST=localhost.localdomain) (PORT = 1523))
    (ADDRESS = (PROTOCOL = TCP)(HOST=localhost.localdomain) (PORT = 1521))

    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)

    I read on some forums that I need to edit somethings that am not sure cos I don't want to mess with the database, I need help on what to.
    Thanks for the help in advance.

    (ADDRESS = (PROTOCOL = TCP)(HOST=localhost.localdomain) (PORT = 1521))

    Try to edit listener.ora by:
    (ADDRESS = (PROTOCOL = TCP) (HOST = HOST_NAME_OF_YOUR_DATABASE_MACHINE/OR TRY USING THE IP ADDRESS OF THE DATABASE SERVER MACHINE)(PORT=1521))
    Just try to edit HOST = value line above. You must use HOST_NAME_OF_YOUR_DATABASE_MACHINE or IP OF the DATABASE SERVER MACHINE.

    Host name can be obtained by the hostname command on the database server.

    With localhost, no one can connect to the database remotely.

    Concerning
    Girish Sharma

    Published by: Girish Sharma January 11, 2013 18:26

    then after the output of commands below:
    lsnrctl stop
    lsnrctl start
    Wait 60 seconds...
    ORACLE_SID =
    sqlplus scott/tiger@tnsname

    Show us what is happening now.

  • Listener refused the connection with the following error: ORA-12505

    Hello
    Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor The Connection descriptor used by the client was: 127.0.0.1:1521:XE 
    Windows XP + Oracle 10.1.0.20

    I checked my *.ora files and found the host 127.0.0.1 but I noticed by running the netstat command on prompt back most of my ports is captured by www.360.cn including 1521

    When I try to stop the following message is displayed:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exists
    Thank you and best regards

    Hello

    [oracle@myoramachine ~]$ oerr ora 12505
    12505, 00000, "TNS:listener does not currently know of SID given in connect descriptor"
    // *Cause:  The listener received a request to establish a connection to a
    // database or other service. The connect descriptor received by the listener
    // specified a SID for an instance (usually a database instance) that either
    // has not yet dynamically registered with the listener or has not been
    // statically configured for the listener. This may be a temporary condition
    // such as after the listener has started, but before the database instance
    // has registered with the listener.
    // *Action:
    //  - Wait a moment and try to connect a second time.
    //  - Check which instances are currently known by the listener by executing:
    //    lsnrctl services 
    //  - Check that the SID parameter in the connect descriptor specifies
    //    an instance known by the listener.
    //  - Check for an event in the listener.log file.
    [oracle@myoramachine ~]$
    

    1. check the lsnrctl services

    2 check the tnsping output:

    tnsping MYORACLE

    3. check the connectivity to the computer hosting your Oracle server to the port (I guess 1521):

    Telnet 1521

    4. in case you are not able to connect to the Oracle Server - I investigate it in several directions:

    -problem of network infrastructure

    -some process disturbing / virus on the server Oracle itself

    -firewall problem

    Good luck!

    ---------------------------------
    http://DBA-star.blogspot.com/

  • error: ORA-12505

    java.sql.SQLException: listener refused the connection with the following error:
    ORA-12505, TNS:listener is not currently of SID given in connect descriptor
    Used by the client connect descriptor was:
    * 127.0.0.1:1521:XE *.



    My Java Code:
    import java.io.*;
    import java.sql.*;
    
    public class db{
    
        public static Connection getOracleConnection() throws Exception {
        String driver = "oracle.jdbc.driver.OracleDriver";
        String url = "jdbc:oracle:thin:@127.0.0.1:1521:XE";
        String username = "login";
        String password = "*****";
    
        Class.forName(driver); 
        Connection cnn = DriverManager.getConnection(url, username, password);
        return cnn;
      }
    }
    My Listener.ora:
    # listener.ora Network Configuration File:
    
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = /usr/lib/oracle/xe/app/oracle/product/10.2.0/server)
          (PROGRAM = extproc)
        )
      )
    
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
          (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
        )
      )
    
    DEFAULT_SERVICE_LISTENER = (XE)
    My tnsnames.ora
    # tnsnames.ora Network Configuration File:
    
    XE =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = XE)
        )
      )
    
    EXTPROC_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
        )
        (CONNECT_DATA =
          (SID = PLSExtProc)
          (PRESENTATION = RO)
        )
      )
    -bash-3, 1 # hostname
    100


    My/etc/hosts
    127.0.0.1  100  localhost localhost.localdomain
    My sysconfig
    NETWORKING="yes"
    GATEWAY="67.19.xx.xx"
    HOSTNAME="100"
    My status of the listener:
    -bash-3.1# lsnrctl status
    
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 11-MAR-2009 05:44:49
    
    Copyright (c) 1991, 2005, Oracle.  All rights reserved.
    
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    STATUS of the LISTENER
    ------------------------
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    Start Date                11-MAR-2009 05:39:58
    Uptime                    0 days 0 hr. 4 min. 51 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Default Service           XE
    Listener Parameter File   /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/listener.ora
    Listener Log File         /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/log/listener.log
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
      Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    My listener services:
    -bash-3.1# lsnrctl service
    
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 11-MAR-2009 05:45:41
    
    Copyright (c) 1991, 2005, Oracle.  All rights reserved.
    
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
      Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0
             LOCAL SERVER
    The command completed successfully
    Thank you and best regards

    Hello!

    Your "lsnrctl status" tells you that the listener unaware of XE services. Try the following steps:

    (1.) to connect to SQL * Plus as SYSDBA enter

    ALTER SYSTEM REGISTER;
    

    (2.) to check if your listener knows XE after that

    If this does not work, try:

    1.) modify your listener.ora like that

    # listener.ora Network Configuration File:
    
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = /usr/lib/oracle/xe/app/oracle/product/10.2.0/server)
          (PROGRAM = extproc)
        )
        (SID_DESC =
              (GLOBAL_DBNAME=XE)
              (SID_NAME=XE)
              (ORACLE_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server)
        )
      )
    
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
          (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
        )
      )
    

    Recharge 2.) the listenerparameters

    lsnrctl reload
    

    3.) again once check your status as a listener and try to connect from your Java application.

    Yours sincerely

    Florian W.

  • Data Guard of database status is error ORA-01031: insufficient privileges.

    Hi DBAs,

    I spotted this error while doing daily morning DB health check-ups.

    "The status of Data Guard of ZEUSDB is error ORA-01031: not sufficient privileges."

    I tried Googling, but this error is related to a lot of things so impossible to find the exact solution.

    Kind regards

    Ritu

    No, we don't know the sleep state.  You can watch the alert.log from the night before to see if it is actively applying redo/archivelogs.  You can query V$ DATAGUARD_STATUS on the day before.

    If you have installed and configured broker DataGuard, it can monitor the day before.

    If you use a script, make sure that it is configured to connect properly the SYSDBA privilege and password (or a local connection on the standby server - that would be my preference).

    Hemant K Collette

  • Create the database fails with error ORA-01505: Error adding log files

    Hi all

    hope someone can help out me, I'm creating a database by using a SQL script, the content of the script is:
    create the testora database
    the user sys identified by oracle
    the user identified by oracle's system
    LogFile Group 1 ('/ u01/app/oracle/oradata/testora/redo01a.log ',' / u02/app/oracle/oradata/testora/redo01b.log') blocksize 512 re-use, 100 m in size.
    Group 2 ('/ u01/app/oracle/oradata/testora/redo02a.log ',' / u02/app/oracle/oradata/testora/redo02b.log') blocksize 512 re-use, 100 m in size.
    Group 3 ('/ u01/app/oracle/oradata/testora/redo03a.log ',' / u02/app/oracle/oradata/testora/redo03b.log') blocksize 512 re-use, 100 m in size.
    maxLogFiles 5
    maxlogmembers 5
    MAXDATAFILES 100
    US7ASCII character set
    AL16UTF16 national character set
    Local extended management
    DataFile ' / u01/app/oracle/oradata/testora/system01.dbf' re-use of 400 m size
    SYSAUX datafile ' / u01/app/oracle/oradata/testora/sysaux01.dbf' re-use of 400 m size
    default tablespace users
    DataFile ' / u02/app/oracle/oradata/testora/users01.dbf' size 500 m reuse autoextend on maxsize unlimited
    default temporary tablespace tempts1
    tempfile ' / u01/app/oracle/oradata/testora/temp01.dbf' size 20 m reuse autoextend on maxsize 4g
    Undo tablespace undotbs1
    DataFile ' / u01/app/oracle/oradata/testora/undotbs01.dbf' size 200 m reuse autoextend on maxsize unlimited
    ;

    It fails in the creation of the database with the following result:

    SQL > @/home/oracle/Oracle_Scripts/testora_db_script.sql
    create the testora database
    *
    ERROR on line 1:
    ORA-01092: ORACLE instance is complete. Disconnection forced
    ORA-01501: CREATE DATABASE failed
    ORA-01505: Error adding log files
    ORA-01184: logfile group 1 already exists
    Process ID: 3486
    ID of the session: 1 serial number: 3

    This is the documentation: http://docs.oracle.com/cd/E11882_01/server.112/e26088/statements_5004.htm#i2142335
    >
    If only the DB_RECOVERY_FILE_DEST initialization parameter is specified, Oracle database then creates a log file member to this place.

  • Test failed: listener refused the connection with the following error: ORA-12505, TNS:listener is not currently of SID given in connect descriptor

    Hello

    I was trying to set up a database connection in Oracle developer j 12 c.

    It's showing this exception.

    I m in this news. Could someone help me pls to solve this issue.

    I have attached the screen for reference.

    https://www.dropbox.com/SC/ua5a92q6kwwflui/wiuCXO_gaG

    Thank you

    Lax

    Database, you are trying to connect is ORCL? If Yes, then you suggest that you write ORCL in the dialog box where you are supposed to write the instance that is directed by the attachment instead of XE what we ORCL

  • ORA-12505 error connecting to the schema of HR of Oracle 11 g local db, ORA-00600, ORA-01033

    Hello

    When I try to connect to the hr schema in SQL Developer with these credentials (host: localhost, port: 1521, SID: ORCL), it throws the error message.

    "" Status: failed - Test has failed: listener refused the connection with the following error: ORA-12505, TNS: listener does not currently know the SID ".



    When I try to connect through cmd, it throws this

    SQL * more: Production version 11.2.0.1.0 Mon Jan 11 17:09:47 2016

    Copyright (c) 1982, 2010, Oracle.  All rights reserved.

    Enter the user name: human resources

    Enter the password:

    ERROR:

    ORA-01033: ORACLE initialization or shutting

    Process ID: 0

    Session IDs: serial number 0: 0



    And here is the status of the listener


    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production January 11, 2016 16:04

    : 28

    Copyright (c) 1991, 2010, Oracle.  All rights reserved.

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1521)))

    STATUS of the LISTENER

    ------------------------

    Alias LISTENER

    TNSLSNR for Windows 64-bit version: Version 11.2.0.1.0 - Prod

    ction

    Start date January 11, 2016 15:02:27

    Uptime 0 days 1 hour 2 minutes 5 seconds

    Draw level off

    Security ON: OS Local Authentication

    SNMP OFF

    Listener parameter File D:\app\DKMOH\product\11.2.0\dbhome_1\network\admin\l

    istener.ora

    D:\app\dkmoh\diag\tnslsnr\DKMOH-PC\listener\alert\ log listener

    log. XML

    Summary of endpoints listening...

    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))

    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=127.0.0.1) (PORT = 1521)))

    Summary of services...

    Service 'CLRExtProc' has 1 instance (s).

    Instance of 'CLRExtProc', status UNKNOWN, has 1 operation for this service...

    The command completed successfully



    I went through this link fixed - ORA-01033: ORACLE initialization or shutdown in progress | IT Blogger Tips , where it says to change the status from the db to 'OPEN'.

    SQL > select status, database_status from v$ instance;

    STATUS DATABASE_STATUS

    ------------ -----------------

    ACTIVE RISE



    And then, when I run this query below, that's what I get.

    SQL > alter database open;

    change the database open

    *

    ERROR on line 1:

    ORA-00600: internal error code, arguments: [kcratr_nab_less_than_odr], [1],

    [[507], [56509], [56515] [] [], [], [], [], []]



    I'm totally lost here. Any help would be appreciated.

    Thank you

    Hello

    This issue seems to be with the redo log.

    SQL > bootable media.

    SQL > show parameter control_files

    Query 1

    ------------

    SQL > select a.member, a.group #, b.status v$ logfile a, v$ log b where a.group #= b.group # and b.status = 'CURRENT';

    Note the name of the redo log

    SQL > the judgment;

    Take a backup of the controlfile operating system level (this is to ensure that we have a copy backup of the current state of the controlfile)

    SQL > bootable media.

    SQL > restore database using backup controlfile until cancel;

    Enter the location of the log to roll forward as recent on demand 1 when you are prompted for the recovery of

    Press enter

    SQL > Alter database open resetlogs;

    Thank you

  • ORA-12505 error after installation listener properly and tnsnames.

    Hello.

    I have a very common problem. I can't connect using the tnsnames on Windows 2003 server.
    Facts.

    1 Tnsnames.ora file is set correctly.
    2 Listener.ora file is set correctly.
    3 - tnsping works without any problem.
    4 - Windows service is running.

    However, I get this error.

    C:\Documents and Settings\sabreadm > sqlplus lps/first1@lm3dprd1

    SQL * more: Release 10.2.0.1.0 - Production on Wednesday 24 June at 12:32:26 2009

    Copyright (c) 1982, 2005, Oracle. All rights reserved.

    ERROR:
    ORA-12505: TNS:listener is not currently of SID given in connect
    descriptor of

    Enter the user name:
    ERROR:
    ORA-01017: name of user and password invalid. connection refused

    content of the Listener.ora file
    -------------------------------

    listener.ora # Network Configuration file: D:\Apps\oracle\network\admin\listener.ora
    # Generated by Oracle configuration tools.

    TRACE_LEVEL_LISTENER = USER
    TRACE_DIRECTORY_LISTENER = D:\Apps\oracle\NETWORK\ADMIN
    LOG_FILE_LISTENER = listener.log
    LOG_DIRECTORY_LISTENER = D:\Apps\oracle\NETWORK\ADMIN
    TRACE_FILE_LISTENER = listener.trc
    MAX_REG_CONNECTIONS_LISTENER = 3000
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.58.44)(PORT = 1521))
    )
    )
    )
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = lm3dtst1)
    (ORACLE_HOME = D:\Apps\oracle)
    )
    (SID_DESC =
    (SID_NAME = lm3dprd1)
    (ORACLE_HOME = D:\Apps\oracle)
    )
    )

    content of the tnsnames.ora file.
    -----------------------------------

    tnsnames.ora # Network Configuration file: D:\Apps\oracle\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.

    lm3dtst1 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (PROTOCOL = TCP)
    (Host = 192.168.58.44)
    (Port = 1521)
    )
    )
    (CONNECT_DATA =
    (SID = lm3dtst1
    (GLOBAL_NAME = lm3dtst1)
    )
    )
    lm3dprd1 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (PROTOCOL = TCP)
    (Host = 192.168.58.44)
    (Port = 1521)
    )
    )
    (CONNECT_DATA =
    (SID = lm3dprd1
    (GLOBAL_NAME = lm3dprd1)
    )
    )

    Any advice will be highly appreciated.
    Thank you.
    Alex.

    Alex,

    Next time when you post code or output or no matter what configuration, place them between.

     tags to preserve formatting
    
    \
    
       Your code or output 
    

    \

    h4.  Anyway, modify your tnsnames.ora file on your client machine and add this 
    

    lm3dprd1 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.58.44)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = dedicated)
    (SERVICE_NAME = lm3dprd1)
    (INSTANCE_NAME = lm3dprd1)
    )
    )

    Regards
    OrionNet                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
    
  • A localhost DB connection works, other gets ORA - 12505 connecting to the DB in Pentaho

    Hello

    I use LOCALHOST to connect to my database of dev and have no problem connection using JDBC in Pentaho.  When I try to connect to my database of prod, he throws "listener refused the connection with the following error: ORA - 12505, TNS:listener is not currently of SID given in connect descriptor".  Both are 11 G databases and I can't TNSPING both of them and I can connect at once using SQL Developer.

    Here are my LISTENER and TNSNAMES entries:

    DEV (working properly):

    FTSDEV =

    (DESCRIPTION =

    (ADDRESS =

    (PROTOCOL = TCP)

    (HOST = localhost)

    (PORT = 1531)

    )

    (CONNECT_DATA =

    (SERVER = dedicated)

    (SERVICE_NAME = FTSDEV)

    )

    )

    PROD (does not work):

    FTSPRD =

    (DESCRIPTION =

    (ADDRESS_LIST =

    (LOAD_BALANCE = on)

    (FAILOVER = off)

    (ADDRESS = (PROTOCOL = TCP (PORT = 1528))(HOST=localhost))

    )

    (CONNECT_DATA = (SERVICE_NAME = FTSPRD_ETL))

    )

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (SID_NAME = CLRExtProc)

    (ORACLE_HOME = C:\Oracle\product\11.2.0\dbhome_1)

    (= Extproc PROGRAM)

    (ENVS = "EXTPROC_DLLS=ONLY:C:\Oracle\product\11.2.0\dbhome_1\bin\oraclr11.dll")

    )

    )

    LISTENER =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))

    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))

    )

    )

    C:\Users\ > lsnrctl services

    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 6 may 2015 10:39

    : 35

    Copyright (c) 1991, 2010, Oracle.  All rights reserved.

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1521)))

    Summary of services...

    Service 'CLRExtProc' has 1 instance (s).

    Instance of 'CLRExtProc', status UNKNOWN, has 1 operation for this service...

    Managers:

    "DEDICATED" set up: 0 denied: 0

    LOCAL SERVER

    The command completed successfully

    Thanks in advance for your help

    Well, it sounds like a question for Pentaho.

    However, if you have Oracle installed on the Pentaho Server customer, you could use OIC as the access method and then provide the TNS alias.

    In the contrary case, it * seems * that Pentaho for a JDBC connection, use your 'database name' as a SID. What is the result of lsnrctl and status services on your box of production Oracle lsnrctl?

  • ORA-12505 TNS Listener does not currently in SID

    Hello
    When I try to connect to Oracle Sql developer, error "ORA-12505 TNS Listener does not currently of SID given in connect descriptor". ""
    I use 11 GR 1 material on Windows XPSP2 platform. But several sql works very well.
    Thank you

    Published by: user12222356 on April 11, 2010 07:20

    user12222356 wrote:
    This time the Sql developer is connected successfully. But there is not a question of being happy because what happens frequently. Sometimes is connected while sometimes the connection refused... All, it seems, is that SQL Developer connection to the Oracle server depends on luck.
    Is there any solution to get rid of this problem?

    It's a matter of timing.

    First thing that should be launched is the listener. Who should be started on boot. For a laptop or another machine which uses the DHCP protocol, the listener must be configured to talk to the loopback adapter.

    Then the database should be started to talk to listening on the port of sight to the listener - it is applied either with the "LOCAL_LISTENER" database being left to null (for the default listener on 1521). This can be checked by "Lsnrctl status" showing the instance of database such as saved and available.

    Then the SQLDeveloper can start up, pointing to the same host, port, and service/instance, as shown in "lsnrctl status".

  • ORA-12505, TNS:listener is not currently of SID...

    The President complied,

    I installed
    Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    It worked fine for 2 days and its suddenly began raise the following error:
    java.sql.SQLException: Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor The Connection descriptor used by the client was: localhost:1521:XE 
    My listener.ora
    # listener.ora Network Configuration File: c:\oracle\product\10.1.0\db_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = c:\oracle\product\10.1.0\db_1)
          (PROGRAM = extproc)
        )
      )
    
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS_LIST =
            (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
          )
          (ADDRESS_LIST =
            (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
          )
        )
      )
    My tnsnames.ora
    # tnsnames.ora Network Configuration File: c:\oracle\product\10.1.0\db_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    
    XE =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = XE)
        )
      )
    
    EXTPROC_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
        )
        (CONNECT_DATA =
          (SID = PLSExtProc)
          (PRESENTATION = RO)
        )
      )
    My sqlnet.ora
    # sqlnet.ora Network Configuration File: c:\oracle\product\10.1.0\db_1\network\admin\sqlnet.ora
    # Generated by Oracle configuration tools.
    
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    My JDBC class:
    import java.sql.Connection;
    import java.sql.DriverManager;
    
    
    public class DB{
    
        public static Connection getOracleConnection() throws Exception {
        String driver = "oracle.jdbc.driver.OracleDriver";
        String url = "jdbc:oracle:thin:@127.0.0.1:1521:XE";
        String username = "RMS";
        String password = "s09204031";
    
        Class.forName(driver); 
        Connection cnn = DriverManager.getConnection(url, username, password);
        return cnn;
      }
    }
    Journal of the listener
    TNSLSNR for 32-bit Windows: Version 10.1.0.2.0 - Production on 17-NOV-2009 16:01:55
    
    Copyright (c) 1991, 2004, Oracle.  All rights reserved.
    
    System parameter file is c:\oracle\product\10.1.0\db_1\network\admin\listener.ora
    Log messages written to c:\oracle\product\10.1.0\db_1\network\log\listener.log
    Trace information written to c:\oracle\product\10.1.0\db_1\network\trace\listener.trc
    Trace level is currently 0
    
    Started with pid=3644
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROCipc)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    
    TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
    17-NOV-2009 16:01:57 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=Administrator))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=168821248)) * status * 0
    17-NOV-2009 16:02:47 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=Administrator))(COMMAND=services)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=168821248)) * services * 0
    17-NOV-2009 16:02:51 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=Administrator))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=168821248)) * status * 0
    Thank you and best regards

    Run "lsnrctl status" and if she does not see that your XE service you may need to manually add in listener.ora part SID_LIST:
    for example:

    SID_LIST_LISTENER10G =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = c:\oracle\product\10.1.0\db_1)
    (= Extproc PROGRAM)
    )
    (SID_DESC =
    (GLOBAL_DBNAME = XE)
    (SID_NAME = XE)
    (ORACLE_HOME = c:\oracle\product\10.1.0\db_1)
    )
    )

    or similar...

    Also, make sure that you can resolve localhost for example ping localhost

    Edited by: Kecskemethy November 17, 2009 06:12

  • ORA-12505, TNS:listener is not currently of SID given in connect the

    Hi, I have a problem connecting to the repository working ODI...

    The master repository and repository of work are installed in the Oracle 11g company Manager...

    From my PC, I can connect to the master repository and I can see the repository to work, but when I try to connect I get this message:

    oracle.odi.core.config.WorkRepositoryResourceFailureException: ODI-10182: categorizar sin Excepcion durante el acceso al repositorio.
    Could not make JDBC connection; nested exception is java.sql.SQLException: Se ha powered una excepcion al get the conexion: oracle.ucp.UniversalConnectionPoolException: No. is you can get the conexion del origen of datos: java.sql.SQLException: listener refused the connection with the following error:
    ORA-12505, TNS:listener is not currently of SID given in connect descriptor

    at oracle.odi.core.repository.Repository.getWorkRepository(Repository.java:195)
    at oracle.odi.core.OdiInstance.createWorkRepository(OdiInstance.java:504)
    to oracle.odi.core.OdiInstance. < init > (OdiInstance.java:581)
    at oracle.odi.core.OdiInstance.createInstance(OdiInstance.java:521)
    at com.sunopsis.graphical.dialog.SnpsDialogLoginDetail.testConnection(SnpsDialogLoginDetail.java:755)
    to com.sunopsis.graphical.dialog.SnpsDialogLoginDetail.access$ 4 (SnpsDialogLoginDetail.java:743)
    to com.sunopsis.graphical.dialog.SnpsDialogLoginDetail$ 2.performAction(SnpsDialogLoginDetail.java:287)
    at oracle.odi.ui.framework.event.OdiActionListener.actionPerformed(OdiActionListener.java:69)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
    in javax.swing.AbstractButton$ Handler.actionPerformed (AbstractButton.java:2318)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
    at java.awt.Component.processMouseEvent(Component.java:6297)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3275)
    at java.awt.Component.processEvent(Component.java:6062)
    at java.awt.Container.processEvent(Container.java:2039)
    at java.awt.Component.dispatchEventImpl(Component.java:4660)
    at java.awt.Container.dispatchEventImpl(Container.java:2097)
    at java.awt.Component.dispatchEvent(Component.java:4488)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4236)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4166)
    at java.awt.Container.dispatchEventImpl(Container.java:2083)
    at java.awt.Window.dispatchEventImpl(Window.java:2489)
    at java.awt.Component.dispatchEvent(Component.java:4488)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:668)
    to java.awt.EventQueue.access$ 400 (EventQueue.java:81)
    in java.awt.EventQueue$ 2.run(EventQueue.java:627)
    in java.awt.EventQueue$ 2.run(EventQueue.java:625)
    at java.security.AccessController.doPrivileged (Native Method)
    in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:87)
    in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:98)
    in java.awt.EventQueue$ 3.run(EventQueue.java:641)
    in java.awt.EventQueue$ 3.run(EventQueue.java:639)
    at java.security.AccessController.doPrivileged (Native Method)
    in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:638)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
    in java.awt.Dialog$ 1.run(Dialog.java:1044)
    in java.awt.Dialog$ 3.run(Dialog.java:1096)
    at java.security.AccessController.doPrivileged (Native Method)
    at java.awt.Dialog.show(Dialog.java:1094)
    at java.awt.Component.show(Component.java:1591)
    at java.awt.Component.setVisible(Component.java:1543)
    at java.awt.Window.setVisible(Window.java:843)
    at java.awt.Dialog.setVisible(Dialog.java:984)
    at oracle.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:395)
    at oracle.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:356)
    at oracle.odi.ui.framework.adapter.DefaultAdapter.displayDialog(DefaultAdapter.java:242)
    at oracle.odi.ui.framework.UIFramework.displayDialog(UIFramework.java:88)
    at oracle.odi.ui.LoginFactory.modifyLogin(LoginFactory.java:334)
    to com.sunopsis.graphical.dialog.SnpsDialogLogin$ 3.performAction(SnpsDialogLogin.java:185)
    at oracle.odi.ui.framework.event.OdiActionListener.actionPerformed(OdiActionListener.java:69)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
    in javax.swing.AbstractButton$ Handler.actionPerformed (AbstractButton.java:2318)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
    at java.awt.Component.processMouseEvent(Component.java:6297)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3275)
    at java.awt.Component.processEvent(Component.java:6062)
    at java.awt.Container.processEvent(Container.java:2039)
    at java.awt.Component.dispatchEventImpl(Component.java:4660)
    at java.awt.Container.dispatchEventImpl(Container.java:2097)
    at java.awt.Component.dispatchEvent(Component.java:4488)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4236)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4166)
    at java.awt.Container.dispatchEventImpl(Container.java:2083)
    at java.awt.Window.dispatchEventImpl(Window.java:2489)
    at java.awt.Component.dispatchEvent(Component.java:4488)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:668)
    to java.awt.EventQueue.access$ 400 (EventQueue.java:81)
    in java.awt.EventQueue$ 2.run(EventQueue.java:627)
    in java.awt.EventQueue$ 2.run(EventQueue.java:625)
    at java.security.AccessController.doPrivileged (Native Method)
    in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:87)
    in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:98)
    in java.awt.EventQueue$ 3.run(EventQueue.java:641)
    in java.awt.EventQueue$ 3.run(EventQueue.java:639)
    at java.security.AccessController.doPrivileged (Native Method)
    in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:638)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
    in java.awt.Dialog$ 1.run(Dialog.java:1044)
    in java.awt.Dialog$ 3.run(Dialog.java:1096)
    at java.security.AccessController.doPrivileged (Native Method)
    at java.awt.Dialog.show(Dialog.java:1094)
    at java.awt.Component.show(Component.java:1591)
    at java.awt.Component.setVisible(Component.java:1543)
    at java.awt.Window.setVisible(Window.java:843)
    at java.awt.Dialog.setVisible(Dialog.java:984)
    at oracle.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:395)
    at oracle.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:356)
    at oracle.odi.ui.framework.adapter.DefaultAdapter.displayDialog(DefaultAdapter.java:242)
    at oracle.odi.ui.framework.UIFramework.displayDialog(UIFramework.java:88)
    at oracle.odi.ui.OdiConnectController.handleEvent(OdiConnectController.java:113)
    at oracle.ide.controller.IdeAction.performAction(IdeAction.java:529)
    at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:897)
    at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:501)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
    in javax.swing.AbstractButton$ Handler.actionPerformed (AbstractButton.java:2318)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
    at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:809)
    in javax.swing.plaf.basic.BasicMenuItemUI$ Handler.mouseReleased (BasicMenuItemUI.java:850)
    at java.awt.Component.processMouseEvent(Component.java:6297)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3275)
    at java.awt.Component.processEvent(Component.java:6062)
    at java.awt.Container.processEvent(Container.java:2039)
    at java.awt.Component.dispatchEventImpl(Component.java:4660)
    at java.awt.Container.dispatchEventImpl(Container.java:2097)
    at java.awt.Component.dispatchEvent(Component.java:4488)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4236)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4166)
    at java.awt.Container.dispatchEventImpl(Container.java:2083)
    at java.awt.Window.dispatchEventImpl(Window.java:2489)
    at java.awt.Component.dispatchEvent(Component.java:4488)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:668)
    to java.awt.EventQueue.access$ 400 (EventQueue.java:81)
    in java.awt.EventQueue$ 2.run(EventQueue.java:627)
    in java.awt.EventQueue$ 2.run(EventQueue.java:625)
    at java.security.AccessController.doPrivileged (Native Method)
    in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:87)
    in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:98)
    in java.awt.EventQueue$ 3.run(EventQueue.java:641)
    in java.awt.EventQueue$ 3.run(EventQueue.java:639)
    at java.security.AccessController.doPrivileged (Native Method)
    in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:638)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    Caused by: org.springframework.jdbc.CannotGetJdbcConnectionException: could not make connection JDBC; nested exception is java.sql.SQLException: Se ha powered una excepcion al get the conexion: oracle.ucp.UniversalConnectionPoolException: No. is you can get the conexion del origen of datos: java.sql.SQLException: listener refused the connection with the following error:
    ORA-12505, TNS:listener is not currently of SID given in connect descriptor

    at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:82)
    at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:524)
    at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:588)
    at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:613)
    at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:645)
    at org.springframework.jdbc.object.SqlQuery.execute(SqlQuery.java:111)
    at org.springframework.jdbc.object.SqlQuery.execute(SqlQuery.java:121)
    at org.springframework.jdbc.object.SqlQuery.execute(SqlQuery.java:136)
    to oracle.odi.core.repository.support.RepositoryUtils$ RepositoryInfoSource.loadRepositoryInfo (RepositoryUtils.java:182)
    at oracle.odi.core.repository.support.RepositoryUtils.loadWorkRepositoryInfo(RepositoryUtils.java:382)
    at oracle.odi.core.repository.Repository.getWorkRepository(Repository.java:174)
    ... more than 144
    Caused by: java.sql.SQLException: Se ha powered una excepcion al get the conexion: oracle.ucp.UniversalConnectionPoolException: No. is you can get the conexion del origen of datos: java.sql.SQLException: listener refused the connection with the following error:
    ORA-12505, TNS:listener is not currently of SID given in connect descriptor

    at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.doGetConnection(LoginTimeoutDatasourceAdapter.java:133)
    at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.getConnection(LoginTimeoutDatasourceAdapter.java:62)
    at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:113)
    at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:79)
    ... more than 154
    Caused by: java.sql.SQLException: Se ha powered una excepcion al get the conexion: oracle.ucp.UniversalConnectionPoolException: No. is you can get the conexion del origen of datos: java.sql.SQLException: listener refused the connection with the following error:
    ORA-12505, TNS:listener is not currently of SID given in connect descriptor

    at oracle.ucp.util.UCPErrorHandler.newSQLException(UCPErrorHandler.java:488)
    at oracle.ucp.util.UCPErrorHandler.throwSQLException(UCPErrorHandler.java:163)
    at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.java:943)
    at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.java:873)
    at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.java:863)
    at sun.reflect.GeneratedMethodAccessor95.invoke (unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    to oracle.odi.core.datasource.support.RuntimeClassLoaderDataSourceCreator$ DataSourceInvocationHandler.invoke (RuntimeClassLoaderDataSourceCreator.java:48)
    to $Proxy0.getConnection (Unknown Source)
    to oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter$ ConnectionProcessor.run (LoginTimeoutDatasourceAdapter.java:217)
    to java.util.concurrent.Executors$ RunnableAdapter.call (Executors.java:439)
    to java.util.concurrent.FutureTask$ Sync.innerRun (FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    to java.util.concurrent.ThreadPoolExecutor$ Worker.runTask (ThreadPoolExecutor.java:886)
    to java.util.concurrent.ThreadPoolExecutor$ Worker.run (ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:662)
    Caused by: oracle.ucp.UniversalConnectionPoolException: No. is you can get the conexion del origen of datos: java.sql.SQLException: listener refused the connection with the following error:
    ORA-12505, TNS:listener is not currently of SID given in connect descriptor

    at oracle.ucp.util.UCPErrorHandler.newUniversalConnectionPoolException(UCPErrorHandler.java:368)
    at oracle.ucp.util.UCPErrorHandler.throwUniversalConnectionPoolException(UCPErrorHandler.java:49)
    at oracle.ucp.util.UCPErrorHandler.throwUniversalConnectionPoolException(UCPErrorHandler.java:80)
    at oracle.ucp.jdbc.DriverConnectionFactoryAdapter.createConnection(DriverConnectionFactoryAdapter.java:122)
    to oracle.ucp.common.UniversalConnectionPoolImpl$ UniversalConnectionPoolInternal.createOnePooledConnectionInternal (UniversalConnectionPoolImpl.java:1610)
    to oracle.ucp.common.UniversalConnectionPoolImpl$ UniversalConnectionPoolInternal.access$ 600 (UniversalConnectionPoolImpl.java:1446)
    at oracle.ucp.common.UniversalConnectionPoolImpl.createOnePooledConnection(UniversalConnectionPoolImpl.java:514)
    at oracle.ucp.jdbc.oracle.OracleJDBCConnectionPool.createOnePooledConnection(OracleJDBCConnectionPool.java:129)
    at oracle.ucp.common.UniversalConnectionPoolImpl.borrowConnectionWithoutCountingRequests(UniversalConnectionPoolImpl.java:297)
    at oracle.ucp.common.UniversalConnectionPoolImpl.borrowConnection(UniversalConnectionPoolImpl.java:142)
    at oracle.ucp.jdbc.JDBCConnectionPool.borrowConnection(JDBCConnectionPool.java:157)
    at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.java:931)
    ... 14 more

    Please, if someone could give me a tip. Thank you!!!

    Looks like a problem with the tnsnames file / wrong sid. try using tnsping > that you will be in your tnsnames.ora.

Maybe you are looking for