Connection refused(DESCRIPTION=(TMP=)(VSNNUM=169870080)(ERR=12514)

Hello everyone,
I'm a complete newbie here... but I wanted to share with you a problem that's driving me mad.
I've got a database that has been monitored for quite a long time. But now, for some reason, it keeps showing errors intermittently.
Working fine one moment, then on error for the next two or three runs of the monitor.
This is the error message the monitor prints on the screen:
Connection refused(DESCRIPTION=(TMP=)(VSNNUM=169870080)(ERR=12514)(ERROR_STACK=(ERROR=(CODE=12514)(EMFI=4))))
Any ideas?
Thank you!

Hi,
The 12514 error is usually caused by a problem with the tnsnames.ora file and it does not recognise the connection name being passed to it.
Are you trying to connect to a non-Oracle database using a gateway or another Oracle database ?
How are you making the connection ? Check that you have the correct tnsnames.ora file being accessed and that it has the connect name you are trying to use.
Regards,
Mike

Similar Messages

  • 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]$

  • 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)

  • 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>");

  • Connection refused via JDBC

    I have another connection refused problem, seems to be common.
    Looked at previous posts, answer(s) were not explicit.
    Able to connect to db via SQL navigator.
    What do I have to do?
    my code:
    try {
    DriverManager.registerDriver (new
    oracle.jdbc.driver.OracleDriver());
         DriverManager.getConnection      
         ("jdbc:oracle:thin:@192.168.0.3:1521:orcl", "scott", "tig
    er");
         }catch ( SQLException sqle ) {
              out.println( "jdbc error: " + sqle );
    error message:
    jdbc error: java.sql.SQLException: Io exception: Connection
    refused(DESCRIPTION=(TMP=)(VSNNUM=135294976)(ERR=12505)
    (ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))
    listener log:
    05-JUL-2001 09:30:32 * (CONNECT_DATA=(SID=orcl)(CID=(PROGRAM=)
    (HOST=__jdbc__)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)
    (HOST=192.168.0.3)(PORT=1407)) * establish * orcl * 12505
    TNS-12505: TNS:listener could not resolve SID given in connect
    descriptor

    Problem solved!
    Helps to look at the tnsnames.ora file. All I had to do was use
    the host name in the URL, because that's the way its spelled out
    in tnsnames.ora

  • Io exception: Connection refused Error

    I am trying to configure a connection pool on Weblogic 8.1 using Oracle thin client.
    When I click on the Test Driver configuration, I get the following error:
    Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=153092352)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))
    I have verified that the username/url are correct.
    Any ideas?

    Sreeram wrote:
    I am not sure how to run utils.dbping.Try this:
    C:\> java utils.dbping
    It will print out a usage message.
    Anyway, I am able to connect to the database using SQLPlus. I have the following
    entry in my tnsnames ora:
    dbalias.world=
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = server.xx.com)(PORT = 1521))
    (CONNECT_DATA =
    (service_name = dbname)
    )Ok, and how did you define the pool? What were the properties and URL?
    Did your URL contain 'dbname' as the SID, or did you set the SID in the properties?
    show me the pool definition and show me how you start SQL-PLUS.
    Joe
    Thanks!
    Joe Weinstein <[email protected]> wrote:
    Sreeram wrote:
    I am trying to configure a connection pool on Weblogic 8.1 using Oraclethin client.
    When I click on the Test Driver configuration, I get the followingerror:
    Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=153092352)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))
    I have verified that the username/url are correct.The SID is probably wrong. What does utils.dbping show?
    Joe
    Any ideas?

  • Io exception: Connection refused

    I have a main process flow that incorporates a number of sub-process flows to perform a complete warehouse load. Whenever I execute this process flow, it fails with the error shown below. It fails at a different subprocess each time I run it, and when I execute just that subprocess by itself, the subprocess completes successfully. I have no idea what causes this error or how to prevent it from re-occuring:
    RPE-02083: Process ITM_LOAD has errored Activities. Dependent objects may not have been deployed. You can use Oracle Workflow Monitor to retry the activities or abort the Process.
    RPE-02018: Oracle Workflow schema OWF_MGR on host <hostname> cannot be accessed using service <database name> through port 1521. Please check the location details and try again.
    Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=153092352)(ERR=12516)(ERROR_STACK=(ERROR=(CODE=12516)(EMFI=4))))
    I would really appreciate any help on this!!

    Julie,
    Can you check the location registration for all locations? It looks like you hit TNS-12516:
    TNS-12516 TNS:listener could not find available handler with matching protocol stack
    Cause: None of the known and available service handlers for the given SERVICE_NAME support the client's protocol stack: transport, session, and presentation protocols.
    Action: Check to make sure that the service handlers (for example, dispatchers) for the given SERVICE_NAME are registered with the listener, are accepting connections, and that they are properly configured to support the desired protocols.
    Mark.

  • 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.

  • Netbean Oracle : Problem with connection refused

    Hi, Im currently using Netbean to develop a system in JSP. I already succeed to connect to Oracle 11g. However, I'm facing problem connection refused. It always happen.
    For the server, I using GlassFish Server 3.1
    Any one have idea to solve this problem? Thanks in advances.
    Detail of the error:
    WARNING: StandardWrapperValve[jsp]: PWC1406: Servlet.service() for servlet jsp threw exception
    java.sql.SQLException: Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=186646784)(ERR=12519)(ERROR_STACK=(ERROR=(CODE=12519)(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:579)
         at java.sql.DriverManager.getConnection(DriverManager.java:221)
         at dbConnection.dbConnection.connectEasy(dbConnection.java:66)
         at org.apache.jsp.Boundary.insertStudForm_jsp._jspService(insertStudForm_jsp.java:783)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:403)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
         at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1539)
         at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:787)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:649)
         at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:604)
         at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:534)
         at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:1015)
         at org.apache.jsp.index_jsp._jspService(index_jsp.java:462)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:403)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
         at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1539)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:281)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
         at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98)
         at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:91)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)
         at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:330)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
         at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:174)
         at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)
         at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)
         at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)
         at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
         at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
         at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
         at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
         at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
         at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
         at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
         at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
         at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
         at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
         at java.lang.Thread.run(Thread.java:722)

    user8963384 wrote:
    I already run the sql that you ask, this is the result
    RESOURCE_NAME     CURRENT_UTILIZATION     MAX_UTILIZATION     INITIAL_ALLOCATION     LIMIT_VALUE
    processes     26     150     150     150
    sessions     30     154     248     248
    This my function I use to connect to database
    public class dbConnection {
    public Connection conn=null;
    public String id="Se";
    public String password="See";
    public dbConnection(){
    public dbConnection (String id, String password){
    this.id=id;
    this.password=password;
    public void connect(){
    try{
    //load driver
    String driverName="oracle.jdbc.driver.OracleDriver";
    Class.forName(driverName);
    //Create connection
    String serverName = "localhost";
    Is it the same server on which db is running. Better put servername or IP for serverName above.
    String portNumber = "1521";
    String sid = "DEGREE";
    String url = "jdbc:oracle:thin:@" + serverName + ":" + portNumber + ":" + sid;
    System.out.println("url: " + url);
    conn = DriverManager.getConnection(url,id,password);
    }Can you try id/password@(DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = DEGREE))) from sql prompt and post the result.
    catch(ClassNotFoundException e){
    System.out.println("ClassNotFoundException: " + e.getMessage());
    catch(SQLException e){
    System.out.println("SQLException: " + e.getMessage());
    while((e = e.getNextException()) != null)
    System.out.println(e.getMessage());
    }Everything goes OK, then download latest driver from oracle corporation and try again. A code sample can be found at http://www.orafaq.com/wiki/JDBC.
    Regards
    Virendra
    Edited by: Virendra.k.Yadav on Oct 18, 2011 11:26 PM

  • Helppp meeee!!! Io exception: Connection refused..

    I'm trying to connect to an Oracle 8i (version 8.1.6.0.0) DB through a lan using an applet running on a Win NT 4 system. I also use jdk1.3.1. The code that i'm using is the following:
    import java.sql.*;
    public class ConnectionToDB {
    private Connection con;
    final private oracle.jdbc.driver.OracleDriver driver;
    public ConnectionToDB() {
    driver = new oracle.jdbc.driver.OracleDriver();
    try{
    DriverManager.registerDriver(driver);
    catch(SQLException _) {
    System.err.println(_.getMessage());
    System.exit(-1);
    try {
    con = DriverManager.getConnection("jdbc:oracle:thin:@myhost:1521:orcl","scott", "tiger");
    con.setAutoCommit(true);
    catch (SQLException _){
    System.err.println(_.getMessage());
    System.err.println("NOT CONNECTED TO THE DB.");
    try {
    Statement stmt = con.createStatement();
    ResultSet rs = stmt.executeQuery("SELECT COL1 FROM TABLE ");
    while (rs.next()){
    System.out.println(rs.getString(1));
    con.close();
    catch (SQLException _) {
    System.err.println(_.getMessage());
    The Error that i get is:
    Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=135290880)(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'))))
    NOT CONNECTED TO THE DB.
    Can anyone give me a hint please??
    Thanks.

    I'm trying to connect to an Oracle 8i (version
    8.1.6.0.0) DB through a lan using an applet running on
    a Win NT 4 system. I also use jdk1.3.1. The code that
    i'm using is the following:
    import java.sql.*;
    public class ConnectionToDB {
    private Connection con;
    final private oracle.jdbc.driver.OracleDriver
    ver driver;
    public ConnectionToDB() {
    driver = new oracle.jdbc.driver.OracleDriver();
    try{
    DriverManager.registerDriver(driver);
    catch(SQLException _) {
    System.err.println(_.getMessage());
    System.exit(-1);
    try {
    con =
    con =
    =
    DriverManager.getConnection("jdbc:oracle:thin:@myhost:1
    21:orcl","scott", "tiger");
    con.setAutoCommit(true);
    catch (SQLException _){
    System.err.println(_.getMessage());
    System.err.println("NOT CONNECTED TO THE
    TO THE DB.");
    try {
    Statement stmt = con.createStatement();
    ResultSet rs = stmt.executeQuery("SELECT COL1
    CT COL1 FROM TABLE ");
    while (rs.next()){
    System.out.println(rs.getString(1));
    con.close();
    catch (SQLException _) {
    System.err.println(_.getMessage());
    }The Error that i get is:
    Io exception: Connection
    refused(DESCRIPTION=(TMP=)(VSNNUM=135290880)(ERR=12500)
    ERROR_STACK=(ERROR=(CODE=12500)(EMFI=4))(ERROR=(CODE=12
    60)(EMFI=4))(ERROR=(CODE=530)(EMFI=4))(ERROR=(BUF='32-b
    t Windows Error: 2: No such file or directory'))))
    NOT CONNECTED TO THE DB.
    Can anyone give me a hint please??
    Thanks.

  • 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

  • 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

  • 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.

  • 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

  • Linux Error:111:Connection refused & Linux Error:29:Illegal seek

    I have installed the rpm pack oracle-xe-univ-10.2.0.1-1.0.i386.rpm in Red Hat Enterprise Linux. I was able to install the rpm pack and am able to initiat sqlplus on the server and even run sql queries.
    However i am facing the following issues:-
    1) While browsing http://127.0.0.1:8090/apex for accessing the database home page i am getting the error message "The connection was refused when connecting to http://127.0.0.1:8090/apex" (i have mentioned 8090 as the HTTP port during configuration and this is the URL which was listed after the configuration).
    2) I am unable to start the listerner service.
    Please help me to resolve the above issues.
    Following is the message while checking the listener status:-_
    LSNRCTL> status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
    TNS-00511: No listener
    Linux Error: 111: Connection refused
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=RHL-Research-001)(PORT=1521)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
    TNS-00511: No listener
    Linux Error: 111: Connection refused
    Following is the message while initiating a listener:-_
    LSNRCTL> status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
    TNS-00511: No listener
    Linux Error: 111: Connection refused
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=RHL-Research-001)(PORT=1521)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
    TNS-00511: No listener
    Linux Error: 111: Connection refused
    Following is the content of the listerner.ora file:-_
    [root@RHL-Research-001 admin]# cat 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 = RHL-Research-001)(PORT = 1521))
    DEFAULT_SERVICE_LISTENER = (XE)
    Following is the content of /etc/hosts:-_
    [root@RHL-Research-001 admin]# cat /etc/hosts
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1 RHL-Research-001 localhost.localdomain localhost
    [root@RHL-Research-001 admin]#
    Following is the pinging status:-_
    [root@RHL-Research-001 admin]# ping RHL-Research-001
    PING RHL-Research-001 (127.0.0.1) 56(84) bytes of data.
    64 bytes from RHL-Research-001 (127.0.0.1): icmp_seq=0 ttl=0 time=0.050 ms
    64 bytes from RHL-Research-001 (127.0.0.1): icmp_seq=1 ttl=0 time=0.049 ms
    64 bytes from RHL-Research-001 (127.0.0.1): icmp_seq=2 ttl=0 time=0.051 ms
    64 bytes from RHL-Research-001 (127.0.0.1): icmp_seq=3 ttl=0 time=0.052 ms
    64 bytes from RHL-Research-001 (127.0.0.1): icmp_seq=4 ttl=0 time=0.050 ms
    64 bytes from RHL-Research-001 (127.0.0.1): icmp_seq=5 ttl=0 time=0.046 ms
    64 bytes from RHL-Research-001 (127.0.0.1): icmp_seq=6 ttl=0 time=0.051 ms
    --- RHL-Research-001 ping statistics ---
    7 packets transmitted, 7 received, 0% packet loss, time 6016ms
    rtt min/avg/max/mdev = 0.046/0.049/0.052/0.009 ms, pipe 2
    Thanks,
    SKP

    I had to re-install the linux server and install the oracle rpm again ... resulting in delayed reply.
    Currently still i am unable to access http://127.0.0.1:8090/apex. The following error message is being displayed
    "The connection was refused when attempting to contact http://127.0.0.1:8090/apex"
    However now the listener service has started successfully.
    Following is the output of the command lsnrctl status:-
    bash-2.05b$ lsnrctl status
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 24-FEB-2010 17:55:02
    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 24-FEB-2010 17:35:26
    Uptime 0 days 0 hr. 19 min. 36 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=selinux)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "XE" has 1 instance(s).
    Instance "XE", status BLOCKED, has 1 handler(s) for this service...
    Service "XE_XPT" has 1 instance(s).
    Instance "XE", status BLOCKED, has 1 handler(s) for this service...
    The command completed successfully
    Following is the output of the command env|sort:-
    bash-2.05b$ env|sort
    COLORTERM=gnome-terminal
    DISPLAY=:0.0
    G_BROKEN_FILENAMES=1
    GDMSESSION=Default
    GNOME_DESKTOP_SESSION_ID=Default
    GTK_RC_FILES=/etc/gtk/gtkrc:/usr/lib/oracle/xe/.gtkrc-1.2-gnome2
    HISTSIZE=1000
    HOME=/usr/lib/oracle/xe
    HOSTNAME=selinux
    INPUTRC=/etc/inputrc
    LANG=en_US.UTF-8
    LD_LIBRARY_PATH=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib:
    LESSOPEN=|/usr/bin/lesspipe.sh %s
    LOGNAME=oracle
    LS_COLORS=
    MAIL=/var/spool/mail/oracle
    NLS_LANG=AMERICAN_AMERICA.AL32UTF8
    ORACLE_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server
    ORACLE_SID=XE
    PATH=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/lib/oracle/xe/bin
    PWD=/usr/lib/oracle/xe
    SESSION_MANAGER=local/selinux:/tmp/.ICE-unix/4320
    SHELL=/bin/bash
    SHLVL=2
    SSH_AGENT_PID=4365
    SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
    SSH_AUTH_SOCK=/tmp/ssh-Jsbl4320/agent.4320
    TERM=xterm
    USER=oracle
    _=/usr/bin/env
    WINDOWID=27268667
    XAUTHORITY=/usr/lib/oracle/xe/.Xauthority
    XMODIFIERS=@im=none
    bash-2.05b$
    Please let me know how to resolve this issue of accessing the database home page at http://127.0.0.1:8090/apex.
    Thanks,
    SKP

Maybe you are looking for