Help me!SQLException: Connection refused!

My codes:
<%@ page import="java.io.*"%>
<%@ page import="java.util.*"%>
<%@ page import="java.sql.*"%>
<%@ page import="javax.servlet.*"%>
<%@ page import="javax.servlet.http.*"%>
<%
try{
Class.forName("oracle.jdbc.driver.OracleDriver");
}catch (ClassNotFoundException e){
out.println("Could not load the driver");
String url="jdbc:oracle:thin:@172.10.100.6:1521:TEST";
Connection con=DriverManager.getConnection(url, "mxxh", "123456");
Statement stmt = con.createStatement();
String query =     "CREATE TABLE COFFEES" +
          "(COF_NAME VARCHAR(32),"+
          "SUP_ID INTEGER,"+
          "PRICE FLOAT,"+
          "SALES INTEGER,"+
          "TOTAL INTEGER)";
stmt.executeUpdate(query);
out.println("table coffees created");
%>
Error:
SQLException: Io Exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=135290880)(ERR=12504)(ERROR_STACK=(ERROR=(CODE=12504)(EMFI=4))))

ok, I searched the http://www.oracle.com for the error code = 12504 and this is what i got
http://technet.oracle.com/doc/server.804/a58312/newch254.htm
says that SID is missing

Similar Messages

  • Pls help: Io exception: Connection refused

    My application was running fine and one days i got this error
    Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=168821248)(ERR=12514)(ERROR_STACK=(ERROR=(CODE=12514)(EMFI=4))))
    I am using a remote oracle server in my application .....the service provider is saying that every thing is ok and he didn't know wht is wrong in my schema object.....
    the method of connetion is
    DriverManager.registerDriver (new oracle.jdbc.driver.OracleDriver());
                             connect = DriverManager.getConnection("jdbc:oracle:thin:@//host_ip/orcl.oracle.com%","user","password");
    // @machineName:port:SID, userid, password
    I am struck now and i have no idea wht to do now and wht should i ask to my service provider to do.....
    pls help

    The error 12514 means 'TNS:listener could not resolve SERVICE_NAME given in connect descriptor'. In your connect string what is the service_name?
    The format for a connect string is :
    ("jdbc:oracle:thin:@myhost:<PORT>:<SERVICE_NAME>","<USERNAME>", "<PASSWORD>");

  • Help! Network Connection Refused hooking to Itunes store

    I have never had this issue before...
    Everything else is working fine, I have a trip to colombia tomorrow and wanted some movies, but Itunes store is not working....
    Here is what I get when I run diagnostics
    Microsoft Windows XP Professional Service Pack 2 (Build 2600)
    Sony Corporation VGN-T350P
    iTunes 7.1.1.5
    Current user is an administrator.
    Network Adapter Information
    Adapter Name: {64E43FE8-4E86-4C10-9841-9F1DECF4C645}
    Description: Intel(R) PRO/Wireless 2200BG Network Connection - Packet Scheduler Miniport
    IP Address: 192.168.3.107
    Subnet Mask: 255.255.255.0
    Default Gateway: 192.168.3.1
    DHCP Enabled: Yes
    DHCP Server: 192.168.3.1
    Lease Obtained: Wed Apr 04 15:39:22 2007
    Lease Expires: Thu Apr 05 15:39:22 2007
    DNS Servers: 192.168.1.254
    Adapter Name: {D2464F5E-C19F-48A0-9063-A739F1116295}
    Description: Intel(R) PRO/100 VE Network Connection - Packet Scheduler Miniport
    IP Address: 0.0.0.0
    Subnet Mask: 0.0.0.0
    Default Gateway:
    DHCP Enabled: Yes
    DHCP Server: 192.168.15.1
    Lease Obtained: Sat Mar 17 11:52:50 2007
    Lease Expires: Sat Mar 17 12:52:50 2007
    DNS Servers:
    Adapter Name: {B5C036D0-A380-4892-A3FC-27035658C63B}
    Description: Bluetooth Device (Personal Area Network)
    IP Address: 0.0.0.0
    Subnet Mask: 0.0.0.0
    Default Gateway:
    DHCP Enabled: Yes
    DHCP Server:
    Lease Obtained: Sat Mar 17 12:52:50 2007
    Lease Expires: Sat Mar 17 12:52:50 2007
    DNS Servers:
    Network Connection Information
    Active Connection: LAN Connection
    Connected: Yes
    Online: Yes
    Using Modem: No
    Using LAN: Yes
    Using Proxy: No
    SSL 3.0 Support: Enabled
    TLS 1.0 Support: Enabled
    Firewall Information
    Windows Firewall is off.
    Connection attempt to Apple web site was unsuccessful.
    The network connection was refused.
    Connection attempt to iTunes Store was unsuccessful.
    The network connection was refused.
    Secure connection attempt to iTunes Store was unsuccessful.
    The network connection was refused.

    You disabled everything using MSConfig and the network connection was still refused? That's odd.
    There may be some issue with your ISP, then. Do you have the ability to connect to the internet a different way, like a wireless access point? The fact that your connection was refused as opposed to simply timed out makes me think that there's something that is actively preventing iTunes from connecting to the iTunes Store.

  • Please Help - Connection Refused

    Hello,
    I am having trouble connecting to cloudscape database, have been working OK for the past
    couple weeks with an application that I have writen but now big problems!
    java -Djdbc.drivers=COM.cloudscape.core.RmiJdbcDriver Testjava.sql.SQLException: Connection refused to host: localhost; nested exception is:
    java.net.ConnectException: Connection refused: connect
    at RmiJdbc.RJDriver.connect(RJDriver.java:156)
    at java.sql.DriverManager.getConnection(DriverManager.java:512)
    at java.sql.DriverManager.getConnection(DriverManager.java:140)
    at COM.cloudscape.core.RmiJdbcDriver.connect(Unknown Source)
    at java.sql.DriverManager.getConnection(DriverManager.java:512)
    at java.sql.DriverManager.getConnection(DriverManager.java:193)
    at Test.getConnection(Test.java:14)
    at Test.main(Test.java:54)
    *I am running cloudscape
    *set the class paths to point at
    - RmiJdbc.jar
    - cloudclient.jar
    I have written a small test program to check problem,
    //////////////////////////////////CODE LISTING/////////////////////////////////////////////
    import java.sql.*;
    import java.util.*;
    public class Test
    { static Connection conn = null;
    static Statement stmt = null;
    static ResultSet rset = null;
    private Test()
    public static Connection getConnection(String url) throws SQLException
    { DriverManager.setLoginTimeout(10);
    return DriverManager.getConnection(url);
    public static void close(Statement stmt)
    { if(stmt != null)
    { try
    { stmt.close();
    }catch(Exception e)
    { e.printStackTrace();
    public static void close(Connection conn)
    { if (conn != null)
    { try
    { conn.close();
    }catch(Exception e)
    { e.printStackTrace();
    public static void close(ResultSet rset)
    { if (rset != null)
    { try
    { rset.close();
    }catch(Exception e)
    { e.printStackTrace();
    public static void main(String [] args)
    { try
    { String url= "jdbc:cloudscape:rmi://localhost:2005/cloudscapeDB;create=true";
    conn = getConnection(url);
    stmt = conn.createStatement(ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_READ_ONLY);
    }catch(SQLException e)
    { e.printStackTrace();
    close(rset);
    close(stmt);
    close(conn);
    Please Help me!!!!

    It is obvious that noone is going to reply to me, so I have kind of solved this for myself,
    for some unknown reason my origonal program that worked fine doesnt now.!?!?!??!?
    However decided to approach problem from another side, and give both my desk and head a break.
    Below is now how I am connecting to a database and return a connection to it, it works,
    public static Connection getConnection() {
    String databaseName = "jdbc:rmi://" + "localhost" + ":1099/jdbc:cloudscape:CloudscapeDB;autocommit=true;create=true";
    try {
    Class.forName("RmiJdbc.RJDriver");
    } catch (ClassNotFoundException e) {
    System.out.println("PopulateTables: caught getting connection: " + e);
    Connection con = null;
    try {
    con = DriverManager.getConnection(databaseName); // , user, password);
    } catch (java.sql.SQLException se) {
    System.out.println("PopulateTables: caught getting connection: " + se);
    return con;
    Thanks me.

  • Connection refused from Java in Windows to remote postgresql Linux server

    I fail to connect from windows to a remote postgresql linux server. The SQLEexception received is same as the SQLException that happen to the localhost connection to postgresql where the condition of postgresql not started or not start with -i option to allow tcp/ip connection. The SQLException is SQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
    Please help..
    Java class file with the following codes:
    String url = "jdbc:postgresql://servername:5432/databasename";
    Connection con = DriverManager.getConnection(url,"username","password");
    The /var/lib/pgsql/data/pg_hba.conf have the following configuration:
    # TYPE DATABASE USER IP-ADDRESS IP-MASK METHOD
    local all all trust
    host all all 127.0.0.1 255.255.255.255 trust
    hostssl all all 219.94.117.8 255.255.255.255 trust
    hostssl all all 0.0.0.0. 0.0.0.0 trust
    host all all 219.94.117.8 255.255.255.255 trust
    host all all 0.0.0.0 0.0.0.0 trust
    The /var/lib/pgsql/data/postgresql.conf have the following configuration:
    # Connection Parameters
    tcpip_socket = true
    #ssl = false
    #max_connections = 32
    #superuser_reserved_connections = 2
    #port = 5432
    #hostname_lookup = false
    #show_source_port = false
    The postgresql start in the /etc/init.d directory with the command ./postgresql start
    postgres 16923 0.1 0.3 9556 1956 pts/0 S 01:58 0:00 /usr/bin/postmaster -p 5432 -i
    postgres 16925 0.0 0.3 10548 1948 pts/0 S 01:58 0:00 postgres: stats buffer process
    postgres 16926 0.0 0.3 9580 1968 pts/0 S 01:58 0:00 postgres: stats collector process
    root 16931 0.0 0.1 2664 716 pts/0 R 01:58 0:00 ps aux

    On my machine (OS X ) I had trouble with postgresql refusing to notice the -i option in the configuration file. Instead I manually had to specifiy postmaster -i ...
    Also check your firewall settings. I also could not get localhost to work, I had to use the actual IP address of the machine, ie not 127.0.0.1. Use telnet hostip 5432 to check if you can get a connection. For my situation once telnet would connect, then JDBC started working too. Then localhost started working too.

  • SQL Exception: Connection refused

    Hi,
    If have a serious problem connecting to an Oracle Database.
    From time to time I get following exception when I try to get a
    Connection:
    java.sql.SQLException: Connection
    refused(DESCRIPTION=(TMP=)(VSNNUM=134238208)(ERR=12500)(ERROR_STA
    CK=(ERROR=(CODE=12500)(EMFI=4))(ERROR=(CODE=12560)(EMFI=4))(ERROR
    =(CODE=530)(EMFI=4))(ERROR=(BUF=''))))
    at
    oracle.jdbc.dbaccess.DBError.check_error(DBError.java:406)
    at
    oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:
    169)
    at
    oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDrive
    r.java:231)
    at
    oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:208)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at java.sql.DriverManager.getConnection(Unknown Source)
    Sometimes connecting works without any problems.
    I am using Oracle 8.0.5 on NT4SP5, JDK 1.2.2 and JDBC Thin Driver
    8.1.6 SDK.
    Someone out there who knows a solution for this problem?
    regards, PG
    null

    Hi,
    From my point of view, the error is on the server side not on
    the client side.
    Error 12500 : TNS:listener failed to start a dedicated server
    process
    Error 12560 : TNS:protocol adapter error.
    Both messages are related to a problem on the listener process
    of the server. Take a look to the listener log file on the
    server and check that other type of client (SQL+ for example)
    may connect properly. You surely have the same error with all
    network connections.
    Hope this can help.
    pg (guest) wrote:
    : Hi,
    : If have a serious problem connecting to an Oracle Database.
    : From time to time I get following exception when I try to get
    a
    : Connection:
    : java.sql.SQLException: Connection
    : refused(DESCRIPTION=(TMP=)(VSNNUM=134238208)(ERR=12500)
    (ERROR_STA
    : CK=(ERROR=(CODE=12500)(EMFI=4))(ERROR=(CODE=12560)(EMFI=4))
    (ERROR
    : =(CODE=530)(EMFI=4))(ERROR=(BUF=''))))
    : at
    : oracle.jdbc.dbaccess.DBError.check_error(DBError.java:406)
    : at
    : oracle.jdbc.driver.OracleConnection.<init>
    (OracleConnection.java:
    : 169)
    : at
    : oracle.jdbc.driver.OracleDriver.getConnectionInstance
    (OracleDrive
    : r.java:231)
    : at
    : oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:208)
    : at java.sql.DriverManager.getConnection(Unknown Source)
    : at java.sql.DriverManager.getConnection(Unknown Source)
    : Sometimes connecting works without any problems.
    : I am using Oracle 8.0.5 on NT4SP5, JDK 1.2.2 and JDBC Thin
    Driver
    : 8.1.6 SDK.
    : Someone out there who knows a solution for this problem?
    : regards, PG
    null

  • SQLServer connection refused - What´s problem ?

    Please help me !

    You need to provide more detail if you want someone to help you.
    Connection refused generally means that there is nothing listening on the port you are trying to connect to.

  • Java.sql.SQLException: Network error IOException: Connection refused:

    hi...i am tryin to connect to sqlserver2000 ....i wanted a dsnless connection...i have downloaded jtds driver...set the classpath..no joy..i'm connecting to sqlserver's default port 1433..i also confirmed that sqlserver tcp is enabled...still gettin the same err:
    java.sql.SQLException: Network error IOException: Connection refused: connect
    at net.sourceforge.jtds.jdbc.ConnectionJDBC2.<init>(ConnectionJDBC2.java
    :385)
    at net.sourceforge.jtds.jdbc.ConnectionJDBC3.<init>(ConnectionJDBC3.java
    :50)
    at net.sourceforge.jtds.jdbc.Driver.connect(Driver.java:182)
    at java.sql.DriverManager.getConnection(DriverManager.java:525)
    at java.sql.DriverManager.getConnection(DriverManager.java:171)
    at SQLServerConnect.getConnection(SQLServerConnect.java:27)
    at SQLServerConnect.displayDbProperties(SQLServerConnect.java:44)
    at SQLServerConnect.main(SQLServerConnect.java:80)
    Caused by: java.net.ConnectException: Connection refused: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:364)
    at java.net.Socket.connect(Socket.java:507)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at net.sourceforge.jtds.jdbc.SharedSocket.createSocketForJDBC3(SharedSoc
    ket.java:304)
    at net.sourceforge.jtds.jdbc.SharedSocket.<init>(SharedSocket.java:255)
    at net.sourceforge.jtds.jdbc.ConnectionJDBC2.<init>(ConnectionJDBC2.java
    :310)
    ... 7 more
    Error Trace in getConnection() : Network error IOException: Connection refused:
    connect
    Error: No active Connection
    i even tried connecting to the port 1433 thru telnet...err:Could not open connection to the host, on port 1433:connection failed...
    i thought it cud b a firewall issue...disabled my windows firewall..no joy..
    can ne body help me with this....need to solve this desparately
    thanks in advance
    jude

    Old, but still coming up in google searches. Here's the solution that worked for me:
    Dynamic Port Allocation explained:
    http://support.microsoft.com/kb/823938
    How to: Configure a Server to Listen on a Specific TCP Port (SQL Server Configuration Manager)
    http://support.microsoft.com/kb/823938
    In case that dissappears:
    To assign a TCP/IP port number to the SQL Server Database Engine
    1. In SQL Server Configuration Manager, in the console pane, expand SQL Server 2005 Network Configuration, expand Protocols for <instance name>, and then double-click TCP/IP.
    2. In the TCP/IP Properties dialog box, on the IP Addresses tab, several IP addresses appear, in the format IP1, IP2, up to IPAll. One of these are for the IP address of the loopback adapter, 127.0.0.1. Additional IP addresses appear for each IP Address on the computer. Right-click each address, and then click Properties to identify the IP address that you wish to configure.
    3. If the TCP Dynamic Ports dialog box contains 0, indicating the Database Engine is listening on dynamic ports, delete the 0.
    4. In the IPn Properties area box, in the TCP Port box, type the port number you wish this IP address to listen on, and then click OK.
    5. In the console pane, click SQL Server 2005 Services.
    6. In the details pane, right-click SQL Server (<instance name>) and then click restart, to stop and restart SQL Server.

  • Connection Refused Error!! Please help to resolve

    I am using Oracle 9i in Windows 2000. I have created a new db called DTSDB. And I have used the following program for getting connection
    code:
    package com.example; import java.sql.Connection;import java.sql.DriverManager;import java.sql.SQLException;      public class ConnectionPool{          public ConnectionPool(){}          public Connection getConnection(){          Connection con = null;          try{               Class.forName("oracle.jdbc.driver.OracleDriver");                         con = DriverManager.getConnection("jdbc:oracle:thin:@mike-dm210ghop:1521:DTSDB","scott","tiger");                              System.out.println("con ::##############"+con);          }catch(SQLException e){               e.printStackTrace();          }catch(Exception e){               e.printStackTrace();          }          return con;     }      public static void main(String[] args) {          System.out.println(new ConnectionPool().getConnection());     }     }
    Error I am getting:
    code:
    java.sql.SQLException: Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=153092352)(ERR=12500)(ERROR_STACK=(ERROR=(CODE=12500)(EMFI=4))(ERROR=(CODE=12537)(EMFI=4))(ERROR=(CODE=12560)(EMFI=4))(ERROR=(CODE=507)(EMFI=4))(ERROR=(BUF='32-bit Windows Error: 109: Unknown error'))))     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:333)     at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:404)     at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:468)     at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:314)     at java.sql.DriverManager.getConnection(Unknown Source)     at java.sql.DriverManager.getConnection(Unknown Source)     at com.example.ConnectionPool.getConnection(ConnectionPool.java:17)     at com.example.ConnectionPool.main(ConnectionPool.java:28)null
    I have also tried to create a connection thru ODBC and given the DSN name as "reg" and username and password and I am getting the error as
    TNS:listener could not start a dedicated server error
    My tnsnames.ora File
    ====================
    code:
    # TNSNAMES.ORA Network Configuration File: D:\oracle\ora92\network\admin\tnsnames.ora# Generated by Oracle configuration tools. DTSDB = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = mike-dm210ghop)(PORT = 1521)) ) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = DTSDB) ) ) INST1_HTTP = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = mike-dm210ghop)(PORT = 1521)) ) (CONNECT_DATA = (SERVER = SHARED) (SERVICE_NAME = MODOSE) (PRESENTATION = http://HRService) ) ) EXTPROC_CONNECTION_DATA = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0)) ) (CONNECT_DATA = (SID = PLSExtProc) (PRESENTATION = RO) ) ) ORACLE = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = mike-dm210ghop)(PORT = 1521)) ) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = ORACLE) ) )
    My listener.ora File:
    ======================
    code:
    # LISTENER.ORA Network Configuration File: D:\oracle\ora92\network\admin\listener.ora# Generated by Oracle configuration tools. LISTENER = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0)) ) (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = mike-dm210ghop)(PORT = 1521)) ) ) ) SID_LIST_LISTENER = (SID_LIST = (SID_DESC = (SID_NAME = PLSExtProc) (ORACLE_HOME = D:\oracle\ora92) (PROGRAM = extproc) ) (SID_DESC = (GLOBAL_DBNAME = ORACLE) (ORACLE_HOME = D:\oracle\ora92) (SID_NAME = ORACLE) ) (SID_DESC = (GLOBAL_DBNAME = DTSDB) (ORACLE_HOME = D:\oracle\ora92) (SID_NAME = DTSDB) ) )
    PLease help to reolve my problem

    Did you started the Oracle Net Listener for your database instance ?
    Can you connect with SQL*Plus to your database instance ?
    If no, what are the errors message do you get ?
    Did you have a look to the Oracle Net Services Administrator's Guide relevant section.

  • Help! - Io exception: Connection refused(DESCRIPTION...

    This has been bugging me for weeks.... I get this error only on some tables and not all of them so I am wondering if maybe it is a permissions grant thing. This web application I have allows a visitor to post information into the DB, this works fine, but the weird thing is that when they click to view the information they submitted only the information that is generated server side is displayed yet all the information the visitor submitted was entered into the table! Here is all the info I think you will need to figure this one out...
    Note that it has nothing to do with my web application I know this because as I said it works fine on some of the tables...
    Here is the exception I am getting...
    Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=153093120)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))
    java.sql.SQLException: Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=153093120)(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:333)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:404)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:468)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:314)
    at java.sql.DriverManager.getConnection(DriverManager.java:512)
    at java.sql.DriverManager.getConnection(DriverManager.java:171)
    When I run lsnrctl services this is what I get...
    [oracle@ds26 network]$ lsnrctl services
    LSNRCTL for Linux: Version 9.2.0.4.0 - Production on 17-JUL-2005 19:54:40
    Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC)))
    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
    Service "db9i" has 2 instance(s).
    Instance "db9i", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    Instance "db9i", status READY, has 2 handler(s) for this service...
    Handler(s):
    "D000" established:762 refused:0 current:73 max:1002 state:ready
    DISPATCHER
    (ADDRESS=(PROTOCOL=tcp)(HOST=203.432.54.66)(PORT=32769))
    "DEDICATED" established:0 refused:0 state:ready
    LOCAL SERVER
    The command completed successfully
    Here is my listener.ora file...
    # LISTENER.ORA Network Configuration File: /home/oracle/Oracle9i/product/9.2.0/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = some.domain.net)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /home/oracle/Oracle9i/product/9.2.0)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = db9i)
    (ORACLE_HOME = /home/oracle/Oracle9i/product/9.2.0)
    (SID_NAME = db9i)
    Here is my tnsnames.ora...
    # TNSNAMES.ORA Network Configuration File: /home/oracle/Oracle9i/product/9.2.0/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    DB9I.432.54.66 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = some.domain.net)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = db9i)
    EXTPROC_CONNECTION_DATA.432.54.66 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    INST1_HTTP.432.54.66 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = SHARED)
    (SERVICE_NAME = MODOSE)
    (PRESENTATION = http://HRService)
    Here is the listener.log file...
    TNSLSNR for Linux: Version 9.2.0.1.0 - Production on 16-MAY-2005 23:37:18
    Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
    System parameter file is /home/oracle/Oracle9i/product/9.2.0/network/admin/listener.ora
    Log messages written to /home/oracle/Oracle9i/product/9.2.0/network/log/listener.log
    Trace information written to /home/oracle/Oracle9i/product/9.2.0/network/trace/listener.trc
    Trace level is currently 0
    Started with pid=11876
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))
    Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=432.54.66.203.sfldmi01.ce.domain.net)(PORT=1521)))
    TNS-12545: Connect failed because target host or object does not exist
    TNS-12560: TNS:protocol adapter error
    TNS-00515: Connect failed because target host or object does not exist
    No longer listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))
    And my sqlnet.ora file...
    # SQLNET.ORA Network Configuration File: /home/oracle/Oracle9i/product/9.2.0/network/admin/sqlnet.ora
    # Generated by Oracle configuration tools.
    NAMES.DEFAULT_DOMAIN = 432.54.66
    NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)
    Here is the output from a tnsping...
    [oracle@ds26 oracle]$ tnsping DB9I.432.54.66
    TNS Ping Utility for Linux: Version 9.2.0.4.0 - Production on 18-JUL-2005 23:24:15
    Copyright (c) 1997 Oracle Corporation. All rights reserved.
    Used parameter files:
    /home/oracle/Oracle9i/product/9.2.0/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = some.domain.net)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = db9i)))
    OK (10 msec)
    And I can connect fine with...
    sqlplus user/[email protected]

    Posting the meaning of the error is always helpful;
    12505, 00000, "TNS:listener could not resolve SID given in connect descriptor"
    // *Cause:  The SID in the CONNECT_DATA was not found in the listener's tables.
    // *Action: Check to make sure that the SID specified is correct.
    // The SIDs that are currently registered with the listener can be obtained by
    // typing "LSNRCTL SERVICES <listener name>". These SIDs correspond to
    // SID_NAMEs in TNSNAMES.ORA, or db_names in INIT.ORA.
    // *Comment: This error will be returned if the database instance has not
    // registered with the listener; the instance may need to be started.
    And, a most peculiar hostname you have: 432.54.66.203.sfldmi01.ce.domain.net
    I suggest you change that to sfldmi01.ce.domain.net, and also change the names.default domain in sqlnet.ora to ce.domain.net.
    Also, check if your IP-address is indeed 203.432.54.66.
    Then, change tnsnames.ora, and let your entries end with the same ce.domain.net, not the numeric notitation.
    And you are not getting this on some tables, but on some connections, because you close and open your connecions - hence the use of MTS (which listens on address 203.432.54.66), probably. So you might readup on MTS, and make up your mind: now your using both MTS and dedicated (the latter configured in listener.ora, the former in the instance)

  • HELP! - Io exception: Connection refused(DESCRIPTION=(TMP=)(...

    Can anyone help me figure out this exception?
    TIA!
    Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=153093120)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))
    java.sql.SQLException: Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=153093120)(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:333)
         at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:404)
         at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:468)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:314)
         at java.sql.DriverManager.getConnection(DriverManager.java:512)
         at java.sql.DriverManager.getConnection(DriverManager.java:171)
         at org.apache.jsp.view_jsp._jspService(view_jsp.java:77)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:509)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
         at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:261)
         at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:360)
         at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:604)
         at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:562)
         at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:679)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
         at java.lang.Thread.run(Thread.java:534)

    When I run lsnrctl services this is what I get...
    [oracle@ds26 network]$ lsnrctl services
    LSNRCTL for Linux: Version 9.2.0.4.0 - Production on 17-JUL-2005 19:54:40
    Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC)))
    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
    Service "db9i" has 2 instance(s).
    Instance "db9i", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    Instance "db9i", status READY, has 2 handler(s) for this service...
    Handler(s):
    "D000" established:762 refused:0 current:73 max:1002 state:ready
    DISPATCHER <machine: some.domain.net, pid: 1903>
    (ADDRESS=(PROTOCOL=tcp)(HOST=203.432.54.66)(PORT=32769))
    "DEDICATED" established:0 refused:0 state:ready
    LOCAL SERVER
    The command completed successfully
    [oracle@ds26 network]$

  • Java.sql.SQLException: Io exception: Connection Refused

    Hi,
    Got struck in this since yesterday. I am trying to connect to an Oracle server and the code is pretty much simple and am reproducing the relevant portion here.
    Class.forName("oracle.jdbc.driver.OracleDriver");
    Connection conn = null;
    try {
    conn = DriverManager.getConnection("jdbc:oracle:thin:@host_IP:1521:****","****","****");
    } catch(Exception e) { System.out.println(e); }
    conn.setAutoCommit(true);
    Statement s = conn.createStatement();
    ResultSet rs;
    It gives me the following exception.
    >>
    java.sql.SQLException: Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=135294976)(ERR=12500)(ERROR_STACK=(ERROR=(CODE=12500)(EMFI=4))(ERROR=(CODE=12560)(EMFI=4))(ERROR=(CODE=530)(EMFI=4))(ERROR=(BUF='32-bit Windows Error: 2: No such file or directory'))))
    Exception in thread "main" java.lang.NullPointerException
    at Test.main(Test.java:17)
    <<
    The line 17 is actually the statement,
    conn.setAutoCommit(true);
    Any help is highly appreciated.
    Thanks,
    Baskaran

    Hi Baskaran
    Actually i had the same problem which you are currently facing.
    Iam on unix box and when i tried to connect to DB for the first time using the same code piece which you wrote i got the same error and after breaking my head i came to know that the Oracle_SID i gave is incorrect
    Please check these entries in your code
    conn = DriverManager.getConnection("jdbc:oracle:thin:@host_IP:1521:*DBUsername,DBPassword,Oracle_SID*);
    To know oracle SID on unix box type this command
    $ ps -ef|grep -i smon
    oracle 740 1 0 ������� ? 1:27 ora_smon_support
    oracle 29685 29681 0 17:24:47 pts/12 0:00 grep -i smon
    $ echo $ORACLE_SID
    support
    $
    On windows box logon to the Oracle Box (i.e., on which oracle is installed) and open the regedit and search for ORACLE_SID.
    Also make sure you give the correct oracleIPAddress, dbusername, dbpassword.
    Hope it will work fine.
    Regards,
    Imas

  • Java.sql.SQLException: Listener refused the connection

    hi everybody!
    i'm new in oracle and java and have a problem working in Oracle 11g ExpressEdition.
    i have the next error when i'm trying to start java project using oracle:
    incorrect login or password
    and the next:
    java.sql.SQLException: Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descript
    or
    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:412)
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:
    +531)+
    at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:221)
    at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtensio
    n.java:32)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:503)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at tools.db.ConnectionFactory.getOracleConnection(ConnectionFactory.java
    +:30)+
    at tools.db.DatabaseTools.checkAuthorizationInfo(DatabaseTools.java:24)
    at mainforms.LoginForm.jButton1ActionPerformed(LoginForm.java:112)
    at mainforms.LoginForm.access$000(LoginForm.java:16)
    at mainforms.LoginForm$1.actionPerformed(LoginForm.java:52)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour
    ce)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$000(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour
    ce)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour
    ce)
    at java.awt.EventQueue$4.run(Unknown Source)
    at java.awt.EventQueue$4.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour
    ce)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    Caused by: oracle.net.ns.NetException: Listener refused the connection with the
    following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descript
    or
    at oracle.net.ns.NSProtocol.connect(NSProtocol.java:385)
    at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1042)
    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:301)
    +... 47 more+
    my listener.ora file content:
    SID_LIST_LISTENER =
    +(SID_LIST =+
    +(SID_DESC =+
    +(SID_NAME = PLSExtProc)+
    +(ORACLE_HOME = D:\oraclexe\app\oracle\product\11.2.0\server)+
    +(PROGRAM = extproc)+
    +)+
    +(SID_DESC =+
    +(SID_NAME = CLRExtProc)+
    +(ORACLE_HOME = D:\oraclexe\app\oracle\product\11.2.0\server)+
    +(PROGRAM = extproc)+
    +)+
    +)+
    LISTENER =
    +(DESCRIPTION_LIST =+
    +(DESCRIPTION =+
    +(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))+
    +(ADDRESS = (PROTOCOL = TCP)(HOST = Home)(PORT = 1521))+
    +)+
    +)+
    DEFAULT_SERVICE_LISTENER = (XE)
    and tnsnames.ora file content:
    XE =
    +(DESCRIPTION =+
    +(ADDRESS = (PROTOCOL = TCP)(HOST = Home)(PORT = 1521))+
    +(CONNECT_DATA =+
    +(SERVER = DEDICATED)+
    +(SERVICE_NAME = XE)+
    +)+
    +)+
    EXTPROC_CONNECTION_DATA =
    +(DESCRIPTION =+
    +(ADDRESS_LIST =+
    +(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))+
    +)+
    +(CONNECT_DATA =+
    +(SID = PLSExtProc)+
    +(PRESENTATION = RO)+
    +)+
    +)+
    ORACLR_CONNECTION_DATA =
    +(DESCRIPTION =+
    +(ADDRESS_LIST =+
    +(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))+
    +)+
    +(CONNECT_DATA =+
    +(SID = CLRExtProc)+
    +(PRESENTATION = RO)+
    +)+
    +)+
    and results of commands:
    C:\Users\Admin>lsnrctl service
    LSNRCTL for 32-bit Windows: Version 11.2.0.2.0 - Production on 06-╠└╔-2012
    +:13+
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 3 handler(s) for this service.
    Handler(s):
    +"DEDICATED" established:0 refused:0+
    LOCAL SERVER
    +"ORACLE SERVER" established:0 refused:0 current:0 max:25 state:ready+
    CLRExtProc
    +(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\NTN_C54_1CECCED2_7DC8.OR+
    +"ORACLE SERVER" established:0 refused:0 current:0 max:25 state:ready+
    CLRExtProc
    +(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\NTN_C54_1CECCED2_B57B.OR+
    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
    Service "XEXDB" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    Handler(s):
    +"D000" established:0 refused:0 current:0 max:1022 state:ready+
    DISPATCHER <machine: HOME, pid: 3280>
    +(ADDRESS=(PROTOCOL=tcp)(HOST=Home)(PORT=56207))+
    Service "xe" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    Handler(s):
    +"DEDICATED" established:1 refused:0 state:ready+
    LOCAL SERVER
    The command completed successfully
    and
    C:\Users\Admin>tnsping XE
    TNS Ping Utility for 32-bit Windows: Version 11.2.0.2.0 - Production on 06-╠└╔-2
    +012 13:22:40+
    Copyright (c) 1997, 2010, Oracle. All rights reserved.
    Used parameter files:
    D:\oraclexe\app\oracle\product\11.2.0\server\network\ADMIN\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = Home)(PO
    RT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = XE)))
    OK (10 msec)
    dont understand what the reason of problem. read many forums and try this and that but can't resolve it (haven't enough knowledges :( ).
    will be very thankful for a help everybody.

    <msg time='2012-05-06T16:58:11.735+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 16:58:11 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T16:58:44.738+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 16:58:44 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T17:00:02.856+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 17:00:02 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T17:00:14.900+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 17:00:14 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T17:00:45.008+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 17:00:45 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T17:00:48.018+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 17:00:48 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T17:02:18.460+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>System parameter file is D:\oraclexe\app\oracle\product\11.2.0\server\network\ADMIN\listener.ora
    </txt>
    </msg>
    <msg time='2012-05-06T17:02:18.819+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>Log messages written to D:\oraclexe\app\oracle\diag\tnslsnr\Home\listener\alert\log.xml
    </txt>
    </msg>
    <msg time='2012-05-06T17:02:18.819+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>Trace information written to D:\oraclexe\app\oracle\diag\tnslsnr\Home\listener\trace\ora_108_424.trc
    </txt>
    </msg>
    <msg time='2012-05-06T17:02:18.819+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>Trace level is currently 0
    </txt>
    </msg>
    <msg time='2012-05-06T17:02:18.819+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>
    </txt>
    </msg>
    <msg time='2012-05-06T17:02:18.835+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>Started with pid=108
    </txt>
    </msg>
    <msg time='2012-05-06T17:02:18.928+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    </txt>
    </msg>
    <msg time='2012-05-06T17:02:18.944+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Home)(PORT=1521)))
    </txt>
    </msg>
    <msg time='2012-05-06T17:02:20.582+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>Listener completed notification to CRS on start
    </txt>
    </msg>
    <msg time='2012-05-06T17:02:20.629+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>
    TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
    </txt>
    </msg>
    <msg time='2012-05-06T17:02:48.865+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>Dynamic address is already listened on (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Home)(PORT=1521)))
    </txt>
    </msg>
    <msg time='2012-05-06T17:02:48.880+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 17:02:48 * service_register * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T17:02:51.876+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 17:02:51 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T17:03:02.062+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 17:03:02 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T17:03:16.508+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 17:03:16 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T17:03:22.545+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Home)(PORT=8080))(Presentation=HTTP)(Session=RAW))
    </txt>
    </msg>
    <msg time='2012-05-06T17:03:22.545+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 17:03:22 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T17:03:25.541+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 17:03:25 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T17:03:49.620+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 17:03:49 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T17:03:58.590+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 17:03:58 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T17:04:01.616+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 17:04:01 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T17:04:19.656+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 17:04:19 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T17:07:14.278+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 17:07:14 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T17:09:59.872+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 17:09:59 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T17:10:32.991+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 17:10:32 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T17:12:45.466+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 17:12:45 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T17:13:24.607+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 17:13:24 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T17:16:37.298+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 17:16:37 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T17:21:38.379+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 17:21:38 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T17:23:26.768+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 17:23:26 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T17:25:03.114+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 17:25:03 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T17:25:33.222+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 17:25:33 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T17:30:01.183+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 17:30:01 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T17:30:25.270+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 17:30:25 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T17:30:34.302+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 17:30:34 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T17:30:58.389+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 17:30:58 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T17:33:28.929+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 17:33:28 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T17:34:17.102+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 17:34:17 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T17:37:35.815+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 17:37:35 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T17:38:42.053+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 17:38:42 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T17:40:33.452+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 17:40:33 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T17:43:31.090+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 17:43:31 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T17:45:31.522+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 17:45:31 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T17:50:32.603+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 17:50:32 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T17:53:33.251+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 17:53:33 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T17:58:31.321+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 17:58:31 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T18:00:01.645+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 18:00:01 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T18:00:31.753+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 18:00:31 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T18:00:46.807+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 18:00:46 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T18:03:35.412+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 18:03:35 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T18:05:32.833+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 18:05:32 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T18:10:33.914+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 18:10:33 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T18:12:55.531+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 18:12:55 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T18:13:04.554+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 18:13:04 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T18:13:37.674+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 18:13:37 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T18:14:44.029+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 18:14:44 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T18:15:18.183+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 18:15:18 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T18:15:36.949+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 18:15:36 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T18:15:51.962+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 18:15:51 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T18:16:25.322+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 18:16:25 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T18:17:32.063+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 18:17:32 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T18:18:05.088+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 18:18:05 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T18:18:35.113+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 18:18:35 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T18:22:56.145+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 18:22:56 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T18:28:05.164+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 18:28:05 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T18:32:56.183+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 18:32:56 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T18:40:32.214+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 18:40:32 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T18:42:56.223+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 18:42:56 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T18:50:32.253+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 18:50:32 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T18:52:56.264+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 18:52:56 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T18:55:32.367+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 18:55:32 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T18:59:11.545+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 18:59:11 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T19:00:29.688+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 19:00:29 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T19:00:44.689+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 19:00:44 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T19:01:23.703+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 19:01:23 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T19:02:56.736+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 19:02:56 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T19:03:47.752+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 19:03:47 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T19:04:53.767+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 19:04:53 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T19:05:59.798+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 19:05:59 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T19:07:39.042+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 19:07:39 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T19:08:15.113+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 19:08:15 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T19:09:54.206+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 19:09:54 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T19:11:36.299+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 19:11:36 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T19:12:00.312+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 19:11:59 * (CONNECT_DATA=(SID=xe)(CID=(PROGRAM=SQL Developer)(HOST=__jdbc__)(USER=Admin))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=50478)) * establish * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T19:12:57.354+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 19:12:57 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T19:13:51.913+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 19:13:51 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T19:14:24.936+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 19:14:24 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T19:14:51.721+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 19:14:51 * (CONNECT_DATA=(SID=LogistDB)(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=Admin))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=50621)) * establish * LogistDB * 12505
    </txt>
    </msg>
    <msg time='2012-05-06T19:14:51.750+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>TNS-12505: TNS:listener does not currently know of SID given in connect descriptor
    </txt>
    </msg>
    <msg time='2012-05-06T19:15:15.587+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 19:15:15 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=Admin))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=186647040)) * status * 0
    </txt>
    </msg>
    <msg time='2012-05-06T19:17:10.428+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 19:17:10 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T19:18:22.597+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 19:18:22 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T19:19:09.605+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 19:19:09 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=Admin))(COMMAND=services)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=186647040)) * services * 0
    </txt>
    </msg>
    <msg time='2012-05-06T19:20:31.674+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 19:20:31 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T19:21:40.732+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 19:21:40 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T19:22:13.988+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 19:22:13 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T19:22:46.995+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 19:22:46 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T19:22:58.999+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 19:22:58 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T19:25:32.370+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 19:25:32 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T19:26:44.417+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 19:26:44 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T19:27:50.575+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 19:27:50 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T19:28:11.590+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 19:28:11 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T19:31:12.568+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 19:31:12 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T19:31:48.599+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 19:31:48 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T19:33:00.647+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 19:33:00 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T19:35:30.764+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 19:35:30 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T19:38:15.875+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 19:38:15 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T19:42:55.204+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 19:42:55 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T19:43:01.206+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 19:43:01 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T19:43:28.485+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 19:43:28 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T19:44:35.170+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 19:44:35 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T19:45:08.144+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 19:45:08 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T19:45:32.165+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 19:45:32 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T19:45:41.176+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 19:45:41 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T19:46:14.280+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 19:46:14 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T19:46:47.320+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 19:46:47 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T19:47:20.333+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 19:47:20 * service_update * xe * 0
    </txt>
    </msg>
    <msg time='2012-05-06T19:53:02.663+04:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='HOME'
    host_addr='fe80::cd1d:33c3:f2cc:7ca0%17'>
    <txt>06-МАЙ-2012 19:53:02 * service_update * xe * 0
    </txt>
    </msg>

  • ORACLE 9.2.0 thin Connection Refused  Please Help.

    I am using the ojdbc14.jar ORACLE JDBC driver. I have installed it in a folder d:\bpa\oracle. I have also set the classpath using the eclipse IDE to the file. I can register the driver no problem
    However when I try to connect I get the following Connection refused error:
    java.sql.SQLException: Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=153093120)(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(Unknown Source)
         at java.sql.DriverManager.getConnection(Unknown Source)
         at Helloworld.main(Helloworld.java:30)
    My code is very simple at the moment as I am just testing this stuff:
    public class Helloworld {
         public static void main(String[] args)
              try {
                   Class.forName("oracle.jdbc.driver.OracleDriver");
              } catch (ClassNotFoundException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
         try {
    DriverManager.registerDriver (new oracle.jdbc.driver.OracleDriver());
              Connection con = DriverManager.getConnection("jdbc:oracle:thin:@203.56.110.153:1521:IDBP", "system", "manager");
         System.out.print(" This has succeeded" );
         } catch (SQLException e1) {
              // TODO Auto-generated catch block
              e1.printStackTrace();
              return;
         } finally{
              System.out.print("This is a another test");
    I have done the Telnet thing and there is no response that says cannot connect . I am sure NOT how to be certain that my telnet session is OK because the cmd prompt does not come back with anything. just blank.
    Do I need the oracle client on my machine when I try to run this?... I did not think so...
    I am a java newbie so pleeeeeeeeez help

    Please, please, please, please do not use the "SYSTEM" account (unless you are a super-duper Oracle DBA and actually want to modify the way Oracle works).
    The SYSTEM and SYS accounts are special and primarily for Oracle internal stuff; I'm a 50%-time Oracle DBA and I log in as one of them no more than 6 times a year. I believe it's possible that those accounts can be configured to require local access, which could your problem.
    The best way to debug Oracle connection problems (if it doesn't work in JDBC and you don't have a clue), is to figure out your credentials and connection strings using some other product. Oracle's SQL*PLUS client (not the web-based iSQL thingie, but the standalone client) is good for sorting out credentials and confirming remote DB reachability, which is often the problem, but it's not a JDBC-based product and configuring it is a little arcane too if you don't have a handy DBA to help. Still, it's a very powerful tool.
    There are also lots of Java/JDBC generic clients, pehaps the simplest to get up and running is HenPlus (sort of a generic SQL*Plus, actually).
    http://henplus.sourceforge.net/
    Read the docs, but basically you just give it a JDBC driver and a connection URL and it works (or doesn't). If you can't get that working, then you know there's a problem with the IP, the SID or service (you're using SID format) or the user credentials.

  • Java.sql.SQLException: Listener refused the connection with the following error: ORA-12514, TNS:listener does not currently know of service requested in connect descriptor

    Good Day,
    I'm encountering this problem
         java.sql.SQLException: Listener refused the connection with the following error:
         ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
    here's the java code
    Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
    String url = "jdbc:oracle:thin:@//10.143.85.21/UCSL";
    String userName = "mssoriano";
    String passWord = "mssoriano_4319";
    conn = DriverManager.getConnection(url, userName, passWord);
    and here's my tnsnames.ora
    UCSL =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = 10.143.85.21)(PORT = 1521))
        (CONNECT_DATA =
          (SID = psusldb11)
    Please do let me know if what may the cause of the problem and how to solve this. Thank you and God bless.

    Hi,
    see this example
    Connect to Oracle DB via JDBC driver
    Frank

Maybe you are looking for