Oracle instant connection problem

In Redhat7.2 Linux,
I used the connetion description as follows:
orcl =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(PROTOCOL = TCP)
(Host = 192.168.66.85)
(Port = 1521)
(CONNECT_DATA =
(SID = orcl)
(GLOBAL_NAME = orcl.hexiong.com)
And TNS_ADMIN environment is set.
But it can't connect to 192.168.66.85 yet. Why?

I'v installed Oracle10g Instant Client for linux i386.
And the error is:
SQL*Plus: Release 10.1.0.2.0 - Production on Tue Sep 7 09:43:16 2004
Copyright (c) 1982, 2004, Oracle. All rights reserved.
ERROR:
ORA-12162: TNS:net service name is incorrectly specified
Enter user-name: sde
Enter password:
ERROR:
ORA-12162: TNS:net service name is incorrectly specified

Similar Messages

  • Oracle 10G connection problem

    Oracle 10G connection problem
    I launch my db with the following script:
    su - oracle -c "export ORACLE_HOME=/u01/app/oracle/product/10.1.0/db_1 && /u01/app/oracle/product/10.1.0/db_1/bin/dbstart"
    su - oracle -c "export ORACLE_HOME=/u01/app/oracle/product/10.1.0/db_1 && /u01/app/oracle/product/10.1.0/db_1/bin/lsnrctl start"
    Here is the output:
    SQL*Plus: Release 10.1.0.2.0 - Production on Fri Feb 27 22:17:51 2004
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    SQL> Connected to an idle instance.
    SQL> ORACLE instance started.
    Total System Global Area 188743680 bytes
    Fixed Size 778036 bytes
    Variable Size 162537676 bytes
    Database Buffers 25165824 bytes
    Redo Buffers 262144 bytes
    Database mounted.
    Database opened.
    SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Database "orcl" warm started.
    LSNRCTL for Linux: Version 10.1.0.2.0 - Production on 27-FEB-2004 22:17:59
    Copyright (c) 1991, 2004, Oracle. All rights reserved.
    Starting /u01/app/oracle/product/10.1.0/db_1/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 10.1.0.2.0 - Production
    System parameter file is /u01/app/oracle/product/10.1.0/db_1/network/admin/listener.ora
    Log messages written to /u01/app/oracle/product/10.1.0/db_1/network/log/listener.log
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xavan_fi
    xe)(PORT=1521)))
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 10.1.0.2.0 - Production
    Start Date 27-FEB-2004 22:17:59
    Uptime 0 days 0 hr. 0 min. 0 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/app/oracle/product/10.1.0/db_1/network/admin/listener.ora
    Listener Log File /u01/app/oracle/product/10.1.0/db_1/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xavan_fi
    xe)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    But when i try to connect with sqlplus:
    oracle@xavan_fixe oracle $ sqlplus
    SQL*Plus: Release 10.1.0.2.0 - Production on Ven. Févr. 27 22:19:32 2004
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    Enter user-name: scott
    Enter password:
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux Error: 2: No such file or directory

    When you go to get connection you have to set the ORACLE_SID enviroment variable or use the service name in the string to get connection.
    Joel Pérez

  • Oracle 6i connection problem

    Dear All,
    good afternoon:
    i am facing problem with oracle 6i connecting to oracle RAC two nodes cluster. which was working fine from last 3-4 years and there was no issue with application as well as database.
    now i am getting error with oracle 6i forms , sometimg its not connecting with database . when i enabled the trace on 6i sqlnet.ora file.
    i goted the result
    trace file:
    -- TRACE CONFIGURATION INFORMATION FOLLOWS ---
    New trace stream is "C:\ora6i\NET80\ADMIN\trace\conection.trc.trc"
    New trace level is 16
    --- TRACE CONFIGURATION INFORMATION ENDS ---
    [02-MAY-10 12:33:07] nigini: entry
    [02-MAY-10 12:33:07] nigini: Count in NI global area now: 1
    [02-MAY-10 12:33:07] nigini: Count in NI global area now: 1
    [02-MAY-10 12:33:07] nrigbi: entry
    [02-MAY-10 12:33:07] nrigbni: entry
    [02-MAY-10 12:33:07] nrigbni: Unable to get data from navigation file tnsnav.ora
    [02-MAY-10 12:33:07] nrigbni: exit
    [02-MAY-10 12:33:07] nrigbi: exit
    [02-MAY-10 12:33:07] nigini: exit
    [02-MAY-10 12:33:07] niqname: Using nnfsn2a() to build connect descriptor for (possibly remote) database.
    [02-MAY-10 12:33:07] nnftboot: entry
    [02-MAY-10 12:33:07] nnftboot: exit
    [02-MAY-10 12:33:07] nnfoboot: entry
    [02-MAY-10 12:33:07] nnfoboot: exit
    [02-MAY-10 12:33:07] nnfoboot: entry
    [02-MAY-10 12:33:07] nnfoboot: exit
    [02-MAY-10 12:33:07] nnfhboot: entry
    [02-MAY-10 12:33:07] nnfhboot: exit
    [02-MAY-10 12:33:07] nncpmlf_make_local_addrfile: construction of local names file failed
    [02-MAY-10 12:33:07] nncpmsf_make_sys_addrfile: system names file is C:\ora6i\NET80\admin\tnsnames.ora
    [02-MAY-10 12:33:07] nncpcin_maybe_init: first request sent to name server will have ID 0
    [02-MAY-10 12:33:07] nncpcin_maybe_init: initial retry timeout for all name servers is 1500 csecs
    [02-MAY-10 12:33:07] nncpcin_maybe_init: max request retries per name server is 1
    [02-MAY-10 12:33:07] nngsini_init_streams: initializing stream subsystem, cache size is 10
    [02-MAY-10 12:33:07] nngtini_init_msg: initializing PDU subsystem, initial pool size is 2
    [02-MAY-10 12:33:07] nncpcin_maybe_init: default name server domain is [root]
    [02-MAY-10 12:33:07] nnfun2a: entry
    [02-MAY-10 12:33:07] nnftqnm: entry
    [02-MAY-10 12:33:07] nnfcagmd: entry
    [02-MAY-10 12:33:07] nnfcagmd: Attempting to find metadata for type a.smd
    [02-MAY-10 12:33:07] nnfcagmd: Attribute name a.smd is a predefined meta type, syntax is 4.
    [02-MAY-10 12:33:07] nnfcagmd: exit
    [02-MAY-10 12:33:07] nnfotran: Checking local tnsnames.ora file
    [02-MAY-10 12:33:07] nnfotran: Checking local tnsnames.ora file
    [02-MAY-10 12:33:07] nncpldf_load_addrfile: initial load of names file C:\ora6i\NET80\admin\tnsnames.ora
    [02-MAY-10 12:33:07] nncpldf_load_addrfile: failure, error stack follows
    [02-MAY-10 12:33:07] nncpldf_load_addrfile: NL-00425: bad continuation line
    NL-00425: bad continuation line
    NL-00425: bad continuation line
    NL-00425: bad continuation line
    [02-MAY-10 12:33:07] nncpldf_load_addrfile: NOTE: FILE CONTAINS ERRORS, SOME NAMES MAY BE MISSING
    [02-MAY-10 12:33:07] nnftqnm: Using tnsnames.ora address (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = dbsr15-vip1.dxbdom08.com)(PORT = 1521)) (ADDRESS = (PROTOCOL = TCP)(HOST = dbsr15-vip2.dxbdom08.com)(PORT = 1521)) (LOAD_BALANCE = yes) (FAILOVER = ON) (CONNECT_DATA = (SERVICE_NAME = mscdxb)(SERVER=DEDICATED) (FAILOVER_MODE=(TYPE=select)(METHOD=basic)))) for name mscdxb
    [02-MAY-10 12:33:07] nnfcraa: entry
    [02-MAY-10 12:33:07] nnfun2a: Obtaining answer records for mscdxb
    [02-MAY-10 12:33:07] nnftans: entry
    [02-MAY-10 12:33:07] nnfcran: entry
    [02-MAY-10 12:33:07] nnfcran: 64 rrs requested, 1 remaining, 1 total
    [02-MAY-10 12:33:07] nnfcran: exit
    [02-MAY-10 12:33:07] nnfotrv1: entry
    [02-MAY-10 12:33:07] nnfotrv1: translated "mscdxb" to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = dbsr15-vip1.dxbdom08.com)(PORT = 1521)) (ADDRESS = (PROTOCOL = TCP)(HOST = dbsr15-vip2.dxbdom08.com)(PORT = 1521)) (LOAD_BALANCE = yes) (FAILOVER = ON) (CONNECT_DATA = (SERVICE_NAME = mscdxb)(SERVER=DEDICATED) (FAILOVER_MODE=(TYPE=select)(METHOD=basic))))
    [02-MAY-10 12:33:07] nngsdei_deinit_streams: deinit
    [02-MAY-10 12:33:07] nngscls_close_stream: UID 0 not established, ignored
    [02-MAY-10 12:33:07] nngscls_close_stream: UID 0 not established, ignored
    [02-MAY-10 12:33:07] nngscls_close_stream: UID 0 not established, ignored
    [02-MAY-10 12:33:07] nngscls_close_stream: UID 0 not established, ignored
    [02-MAY-10 12:33:07] nngscls_close_stream: UID 0 not established, ignored
    [02-MAY-10 12:33:07] nngscls_close_stream: UID 0 not established, ignored
    [02-MAY-10 12:33:07] nngscls_close_stream: UID 0 not established, ignored
    [02-MAY-10 12:33:07] nngscls_close_stream: UID 0 not established, ignored
    [02-MAY-10 12:33:07] nngscls_close_stream: UID 0 not established, ignored
    [02-MAY-10 12:33:07] nngscls_close_stream: UID 0 not established, ignored
    please help me,
    thanks in advance.
    sher khan

    thanks dear this is my tnsfile please check it. if any error can you corect me.
    mscdxb =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.2)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.3)(PORT = 1521))
    (LOAD_BALANCE = on)
    (FAILOVER = ON)
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = mscdxb)
         (FAILOVER_MODE=
    (TYPE=select)
    (METHOD=basic))     
    thanks,
    sher khan

  • Oracle Tomcat Connection Problem

    Dear all,
    We have Oracle as the back end and Java-Jsp-Struts as the front end for our project.For the last few days we are facing a strange problem and although we tried a lot we were not able to find even the cause of the problem
    We have Oracle server and Webserver running on seperate machine. As this is a webbased solution , clients can take the pages by putting the URL in the browser. The problem is that the connection to the database is lost sometimes and we need to restart our apache tomcat service to get the connection again. Once it is restarted the pages work fine for sometime and after sometime the problem comes again. Sometimes the problem occures frequently and sometimes rarely.
    Please help us as we tried a lot to troubleshoot but failed.
    Whenever we are loosing connection, the database or listener seem to have no problem as they are running perfectly fine. Is there something that should be done in Tomcat for oracle connections? Or if multiple users are accessing the database at the same time is there something to do sothat the webserver is able to handle these multiple connections and update operations?
    The error messages that we get are:
    The network adapter could not establish the connection
    or The TNS Listener could not resolve the SID given in the connection descriptor
    If the error is the second one then sometimes it will vanish after sometime even without restarting thr tomcat service . But for the first one we must restart the service
    All suggessions are welcome.
    Regards,
    Cochu.

    Hi,
    Thanks for your valuable suggession, but when I
    tried to ping from webserver to db server, it was
    pinging all the time and I am sure that the LAN
    Connection is alright.
    Regards,
    Cochu.No, the fact that Oracle works at all says that your network connection between servers is not the problem.
    When you say "connection to Oracle", it sounds like you literally mean a single connection to Oracle. You open the connection on startup, so if it's stale or lost or dropped you have to restart the web app. Is this true?
    If it is, your solution is to use a database connection pool and rewrite the database code in such a way that you get a fresh connection out of the pool when request comes in, use it, and immediately close it in the same scope, returning it to the pool. Scope should be within a single transaction in a single method. You should keep a connection open only for as long as you need it for a request.
    %

  • Oracle 8i connection problem

    So that we may better diagnose DOWNLOAD problems, please provide the following information.
    - Server name
    - Filename
    - Date/Time
    - Browser + Version
    - O/S + Version
    - Error Msg
    I have the Oracle 8i personal edition for win 98. I've installed the software and I'm able to use SQL *Plus. But when I try connecting to server manager to create a tablespace, I can't.
    I'm logged in as Scott/Tiger.
    I'm unable to connect as internal with the password manager.
    I get an Error Msg: "ORA-01031: insufficient privileges"
    Where am I going wrong? Is there any other way to connect to server manager?
    Is there a different userid or pwd? The software is installed at home and there are no admins involved.
    Also, can someone tell me where to find Oracle 8 for windows?

    Have you patched either the 8i or 10g installations? There is a bug (3437884) that makes the 10g software not able to connect to versions of 8i below 8.1.7.4 - the bug is fixed in the 10.1.0.3.0 patchset. So, if you patch the 8i installation to 8.1.7.4.x you can connect using the 10.1.0.2.0 software. Or you can patch the 10.1.0.2.0 software to 10.1.0.3.0 - however there is another bug (3870317) that prevents any additional components from being installed into a 10.1.0.3.0 home. So, if you patch to 10.1.0.3.0 make sure you have installed all the components you will need to into that home before patching. The workaround for this particular bug is a complete uninstall and re-install.
    Sorry for the long-winded response, but hope that helps.
    - Mark
    ===================================================
    Mark A. Williams
    Oracle DBA
    Author, Professional .NET Oracle Programming
    http://www.apress.com/book/bookDisplay.html?bID=378

  • Oracle Database Connectivity Problem.. Please Help

    Hi , i am having a problem in connecting my JSP page to Oracle. I dont know how to work from Scratch like which classes to download for driver and where to put them so that it works for me please also help me in writng connection String. i am writing this code but it generates an error.
    <%
    try
    Connection conn=null; // defining variable
    Class.forName("oracle.jdbc.driver.OracleDriver");
    conn = DriverManager.getConnection("jdbc:oracle:thin:@serverName:1521:myDatabase", "scott", "tiger");
    Statement st = conn.createStatement();
    String sql = "SELECT * FROM POS";
    ResultSet rs = st.executeQuery(sql);
    String name = rs.getString("DNAME");
    out.println(name);
    catch(Exception e)
    out.println(e);
    %>
    and the Error is
    java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
    I shall be thankful to you for your help.
    Regards,
    Adeel

    Thanks for your reply and sugession. We cannot stop
    using JSP actually. I meant while learning JDBC and attempting to debug it.
    I have been working with ODBC
    drivers and haven't got any problem. Now here you are
    talking about Class.... We haven't download the
    driver yet thats what i was trying to ask that from
    where to dowload those drivers/classes and where to
    put them or how to config them . Your Help is always
    appriciated because it can be really crucial for some
    one else. Any way Thanks again hope to see a reply
    from you.That isn't what your OP suggested. It suggested specifically that you didn't know what a class not found exception meant.
    You can down load the drivers from oracle. Or you can get them from the Oracle client install - just drill down under the install directory.
    As for where you put them, it would be the same place that you put the other drivers that you already have experience with.

  • Oracle OCI Connection Problem

    Could you please help me?
    When I try to access Oracle using TopLink and OCI this error occurred
    # An unexpected error has been detected by Java Runtime Environment:
    # EXCEPTION_IN_PAGE_ERROR (0xc0000006) at pc=0x10007774, pid=3504, tid=3716
    # Java VM: Java HotSpot(TM) Client VM (1.6.0_03-b05 mixed mode)
    # Problematic frame:
    # C [OCI.dll+0x7774]
    # An error report file with more information is saved as hs_err_pid3504.log
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    [error occurred during error reporting, step 270, id 0xc0000006]
    I have used these libraries
    - ojdbc14.jar
    - toplink-essentials.jar
    - toplink-essentials-agent.jar
    Also I used netbeans v6
    and Apache Tomcat 6.0.14
    The following code shows my persistence.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <persistence version="1.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd">
      <persistence-unit name="RtsModelPU" transaction-type="RESOURCE_LOCAL">
        <provider>oracle.toplink.essentials.PersistenceProvider</provider>
        <class>com.xxx.rts.model.Responsibility</class>
        <class>com.xxx.rts.model.Person</class>
        <class>com.xxx.rts.model.WeeklyTask</class>
        <properties>
          <property name="toplink.jdbc.user" value="XXX"/>
          <property name="toplink.jdbc.password" value="XXX"/>
          <property name="toplink.jdbc.url" value="jdbc:oracle:oci:@XXX"/>
          <property name="toplink.jdbc.driver" value="oracle.jdbc.driver.OracleDriver"/>
        </properties>
      </persistence-unit>
    </persistence>This is the server log file
    # An unexpected error has been detected by Java Runtime Environment:
    # EXCEPTION_IN_PAGE_ERROR (0xc0000006) at pc=0x10007774, pid=3504, tid=3716
    # Java VM: Java HotSpot(TM) Client VM (1.6.0_03-b05 mixed mode)
    # Problematic frame:
    # C [OCI.dll+0x7774]
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    --------------- T H R E A D ---------------
    Current thread (0x0aaaa000): JavaThread "Finalizer" daemon [_thread_in_native, id=3716]
    siginfo: ExceptionCode=0xc0000006, ExceptionInformation=0x00000000 0x10007774 0xc000020c
    Registers:
    EAX=0x00000003, EBX=0x00000000, ECX=0x0b837070, EDX=0x00000001
    ESP=0x0ac1f54c, EBP=0x0ac1f564, ESI=0x0b3cbc00, EDI=0x0b3cbc00
    EIP=0x10007774, EFLAGS=0x00010202
    Top of Stack: (sp=0x0ac1f54c)
    0x0ac1f54c: 0c6504d7 0b88ea34 0b88eae8 00000000
    0x0ac1f55c: 0b837070 00000000 0ac1f580 0c65d331
    0x0ac1f56c: 0b3cbc00 00000001 0b3cbc00 00000000
    0x0ac1f57c: 00000000 0ac1f5a0 0c644647 0b3cbc00
    0x0ac1f58c: 00000000 0b3cbc00 00000000 0b3cbc00
    0x0ac1f59c: 07c1b6b8 0ac1f5c4 0c6444d1 0b3cbc00
    0x0ac1f5ac: 00000000 0b3cbc00 00000000 00000000
    0x0ac1f5bc: 0c4f1348 0c4f1f38 0ac1f5e8 74327ed4
    Instructions: (pc=0x10007774)
    0x10007764:
    [error occurred during error reporting, step 100, id 0xc0000006]
    Stack: [0x0abd0000,0x0ac20000), sp=0x0ac1f54c, free space=317k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C [OCI.dll+0x7774]
    C [SQORA32.DLL+0x1d331]
    C [SQORA32.DLL+0x4647]
    C [SQORA32.DLL+0x44d1]
    C [ODBC32.dll+0x7ed4]
    C [JdbcOdbc.dll+0x4d8b]
    j sun.jdbc.odbc.JdbcOdbc.SQLDisconnect(J)V+132
    j sun.jdbc.odbc.JdbcOdbcDriver.disconnect(J)V+4
    j sun.jdbc.odbc.JdbcOdbcConnection.close()V+42
    j oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.closeDatasourceConnection()V+4
    j oracle.toplink.essentials.internal.databaseaccess.DatasourceAccessor.disconnect(Loracle/toplink/essentials/internal/sessions/AbstractSession;)V+35
    j oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.disconnect(Loracle/toplink/essentials/internal/sessions/AbstractSession;)V+7
    j oracle.toplink.essentials.internal.sessions.DatabaseSessionImpl.disconnect()V+14
    j oracle.toplink.essentials.internal.sessions.DatabaseSessionImpl.logout()V+25
    j oracle.toplink.essentials.threetier.ServerSession.logout()V+1
    j oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerSetupImpl.removeSessionFromGlobalSessionManager()V+21
    j oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerSetupImpl.undeploy()V+159
    j oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.close()V+13
    j oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.finalize()V+8
    v ~StubRoutines::call_stub
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    j sun.jdbc.odbc.JdbcOdbc.disconnect(J[B)V+0
    j sun.jdbc.odbc.JdbcOdbc.SQLDisconnect(J)V+132
    j sun.jdbc.odbc.JdbcOdbcDriver.disconnect(J)V+4
    j sun.jdbc.odbc.JdbcOdbcConnection.close()V+42
    j oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.closeDatasourceConnection()V+4
    j oracle.toplink.essentials.internal.databaseaccess.DatasourceAccessor.disconnect(Loracle/toplink/essentials/internal/sessions/AbstractSession;)V+35
    j oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.disconnect(Loracle/toplink/essentials/internal/sessions/AbstractSession;)V+7
    j oracle.toplink.essentials.internal.sessions.DatabaseSessionImpl.disconnect()V+14
    j oracle.toplink.essentials.internal.sessions.DatabaseSessionImpl.logout()V+25
    j oracle.toplink.essentials.threetier.ServerSession.logout()V+1
    j oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerSetupImpl.removeSessionFromGlobalSessionManager()V+21
    j oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerSetupImpl.undeploy()V+159
    j oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.close()V+13
    j oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.finalize()V+8
    v ~StubRoutines::call_stub
    j java.lang.ref.Finalizer.invokeFinalizeMethod(Ljava/lang/Object;)V+0
    j java.lang.ref.Finalizer.runFinalizer()V+45
    j java.lang.ref.Finalizer.access$100(Ljava/lang/ref/Finalizer;)V+1
    j java.lang.ref.Finalizer$FinalizerThread.run()V+11
    v ~StubRoutines::call_stub
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0x0b0b0c00 JavaThread "JDWP Transport Listener: dt_shmem" daemon [_thread_in_native, id=5896]
    0x0b3d3400 JavaThread "http-8084-4" daemon [_thread_blocked, id=464]
    0x0af5a000 JavaThread "http-8084-3" daemon [_thread_blocked, id=5312]
    0x0b22d000 JavaThread "TP-Monitor" daemon [_thread_blocked, id=6060]
    0x0b36b000 JavaThread "TP-Processor4" daemon [_thread_in_native, id=5300]
    0x0b33ec00 JavaThread "TP-Processor3" daemon [_thread_blocked, id=636]
    0x0b33e400 JavaThread "TP-Processor2" daemon [_thread_blocked, id=2364]
    0x0b127000 JavaThread "TP-Processor1" daemon [_thread_blocked, id=4616]
    0x0b264000 JavaThread "http-8084-2" daemon [_thread_blocked, id=2092]
    0x0b32b000 JavaThread "http-8084-1" daemon [_thread_in_native, id=784]
    0x0b097800 JavaThread "http-8084-Acceptor-0" daemon [_thread_in_native, id=4424]
    0x0b200800 JavaThread "ContainerBackgroundProcessor[StandardEngine[Catalina]]" daemon [_thread_blocked, id=3832]
    0x0aada000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=4072]
    0x0aad8800 JavaThread "CompilerThread0" daemon [_thread_blocked, id=5492]
    0x0aacd800 JavaThread "JDWP Event Helper Thread" daemon [_thread_blocked, id=5060]
    0x0aabcc00 JavaThread "Attach Listener" daemon [_thread_blocked, id=5980]
    0x0aabc000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=6100]
    =>0x0aaaa000 JavaThread "Finalizer" daemon [_thread_in_native, id=3716]
    0x0aaa5800 JavaThread "Reference Handler" daemon [_thread_blocked, id=3636]
    0x00299400 JavaThread "main" [_thread_in_native, id=876]
    Other Threads:
    0x0aaa2800 VMThread [id=5072]
    0x0aadb800 WatcherThread [id=4248]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    def new generation total 1280K, used 25K [0x02990000, 0x02af0000, 0x02e70000)
    eden space 1152K, 2% used [0x02990000, 0x02996470, 0x02ab0000)
    from space 128K, 0% used [0x02ab0000, 0x02ab0000, 0x02ad0000)
    to space 128K, 0% used [0x02ad0000, 0x02ad0000, 0x02af0000)
    tenured generation total 16728K, used 11763K [0x02e70000, 0x03ec6000, 0x06990000)
    the space 16728K, 70% used [0x02e70000, 0x039ecd70, 0x039ece00, 0x03ec6000)
    compacting perm gen total 36352K, used 36190K [0x06990000, 0x08d10000, 0x0a990000)
    the space 36352K, 99% used [0x06990000, 0x08ce7be8, 0x08ce7c00, 0x08d10000)
    No shared spaces configured.
    Dynamic libraries:
    0x00400000 - 0x00423000      C:\Program Files\Java\jdk1.6.0_03\bin\java.exe
    0x7c900000 - 0x7c9b0000      C:\WINNT\system32\ntdll.dll
    0x7c800000 - 0x7c8f5000      C:\WINNT\system32\kernel32.dll
    0x77dd0000 - 0x77e6b000      C:\WINNT\system32\ADVAPI32.dll
    0x77e70000 - 0x77f02000      C:\WINNT\system32\RPCRT4.dll
    0x77fe0000 - 0x77ff1000      C:\WINNT\system32\Secur32.dll
    0x7c340000 - 0x7c396000      C:\Program Files\Java\jdk1.6.0_03\jre\bin\msvcr71.dll
    0x6d870000 - 0x6daba000      C:\Program Files\Java\jdk1.6.0_03\jre\bin\client\jvm.dll
    0x7e410000 - 0x7e4a0000      C:\WINNT\system32\USER32.dll
    0x77f10000 - 0x77f57000      C:\WINNT\system32\GDI32.dll
    0x76b40000 - 0x76b6d000      C:\WINNT\system32\WINMM.dll
    0x629c0000 - 0x629c9000      C:\WINNT\system32\LPK.DLL
    0x74d90000 - 0x74dfb000      C:\WINNT\system32\USP10.dll
    0x77c10000 - 0x77c68000      C:\WINNT\system32\msvcrt.dll
    0x6d3c0000 - 0x6d3c8000      C:\Program Files\Java\jdk1.6.0_03\jre\bin\hpi.dll
    0x76bf0000 - 0x76bfb000      C:\WINNT\system32\PSAPI.DLL
    0x6d4b0000 - 0x6d4d9000      C:\Program Files\Java\jdk1.6.0_03\jre\bin\jdwp.dll
    0x6d770000 - 0x6d776000      C:\Program Files\Java\jdk1.6.0_03\jre\bin\npt.dll
    0x6d820000 - 0x6d82c000      C:\Program Files\Java\jdk1.6.0_03\jre\bin\verify.dll
    0x6d460000 - 0x6d47f000      C:\Program Files\Java\jdk1.6.0_03\jre\bin\java.dll
    0x6d860000 - 0x6d86f000      C:\Program Files\Java\jdk1.6.0_03\jre\bin\zip.dll
    0x6d320000 - 0x6d328000      C:\Program Files\Java\jdk1.6.0_03\jre\bin\dt_shmem.dll
    0x6d620000 - 0x6d633000      C:\Program Files\Java\jdk1.6.0_03\jre\bin\net.dll
    0x71ab0000 - 0x71ac7000      C:\WINNT\system32\WS2_32.dll
    0x71aa0000 - 0x71aa8000      C:\WINNT\system32\WS2HELP.dll
    0x71a50000 - 0x71a8f000      C:\WINNT\system32\mswsock.dll
    0x662b0000 - 0x66308000      C:\WINNT\system32\hnetcfg.dll
    0x71a90000 - 0x71a98000      C:\WINNT\System32\wshtcpip.dll
    0x62f00000 - 0x62f13000      ...\Ora10gClient\BIN\ocijdbc10.dll
    0x10000000 - 0x10057000      ...\ora10gClient\bin\OCI.dll
    0x61c20000 - 0x61e72000      ...\ora10gClient\bin\OraClient10.Dll
    0x60870000 - 0x60953000      ...\ora10gClient\bin\oracore10.dll
    0x60a80000 - 0x60b44000      ...\ora10gClient\bin\oranls10.dll
    0x63690000 - 0x636a8000      ...\ora10gClient\bin\oraunls10.dll
    0x60eb0000 - 0x60eb7000      ...\ora10gClient\bin\orauts.dll
    0x774e0000 - 0x7761d000      C:\WINNT\system32\ole32.dll
    0x636b0000 - 0x636b6000      ...\ora10gClient\bin\oravsn10.dll
    0x60fa0000 - 0x61092000      ...\ora10gClient\bin\oracommon10.dll
    0x60300000 - 0x60857000      ...\ora10gClient\bin\orageneric10.dll
    0x63430000 - 0x63457000      ...\ora10gClient\bin\orasnls10.dll
    0x0c000000 - 0x0c160000      ...\ora10gClient\bin\oraxml10.dll
    0x0c160000 - 0x0c171000      C:\WINNT\system32\MSVCIRT.dll
    0x60960000 - 0x60a6d000      ...\ora10gClient\bin\oran10.dll
    0x62740000 - 0x6277d000      ...\ora10gClient\bin\oranl10.dll
    0x62790000 - 0x627a7000      ...\ora10gClient\bin\oranldap10.dll
    0x627f0000 - 0x628f9000      ...\ora10gClient\bin\orannzsbb10.dll
    0x62530000 - 0x62583000      ...\ora10gClient\bin\oraldapclnt10.dll
    0x62670000 - 0x6268b000      ...\ora10gClient\bin\orancrypt10.dll
    0x71ad0000 - 0x71ad9000      C:\WINNT\system32\WSOCK32.dll
    0x77120000 - 0x771ab000      C:\WINNT\system32\OLEAUT32.dll
    0x62920000 - 0x6296c000      ...\ora10gClient\bin\oranro10.dll
    0x626b0000 - 0x626b7000      ...\ora10gClient\bin\oranhost10.dll
    0x62660000 - 0x62666000      ...\ora10gClient\bin\orancds10.dll
    0x0acc0000 - 0x0acc8000      ...\ora10gClient\bin\orantns10.dll
    0x60b50000 - 0x60ea8000      ...\ora10gClient\bin\orapls10.dll
    0x0c180000 - 0x0c189000      ...\ora10gClient\bin\oraslax10.dll
    0x63080000 - 0x63284000      ...\ora10gClient\bin\oraplp10.dll
    0x61ed0000 - 0x61f5b000      ...\ora10gClient\bin\orahasgen10.dll
    0x62ab0000 - 0x62b1a000      ...\ora10gClient\bin\oraocr10.dll
    0x62b20000 - 0x62b60000      ...\ora10gClient\bin\oraocrb10.dll
    0x5b860000 - 0x5b8b4000      C:\WINNT\system32\NETAPI32.dll
    0x62980000 - 0x62990000      ...\ora10gClient\bin\orantcp10.dll
    0x0c190000 - 0x0c22a000      ...\ora10gClient\bin\orasql10.dll
    0x76f20000 - 0x76f47000      C:\WINNT\system32\DNSAPI.dll
    0x76fb0000 - 0x76fb8000      C:\WINNT\System32\winrnr.dll
    0x76f60000 - 0x76f8c000      C:\WINNT\system32\WLDAP32.dll
    0x76fc0000 - 0x76fc6000      C:\WINNT\system32\rasadhlp.dll
    0x5ad70000 - 0x5ada8000      C:\WINNT\system32\uxtheme.dll
    0x0c400000 - 0x0c407000      C:\Program Files\Logitech\MouseWare\System\LgWndHk.dll
    0x74720000 - 0x7476b000      C:\WINNT\system32\MSCTF.dll
    0x6d4a0000 - 0x6d4ad000      C:\Program Files\Java\jdk1.6.0_03\jre\bin\JdbcOdbc.dll
    0x74320000 - 0x7435d000      C:\WINNT\system32\ODBC32.dll
    0x5d090000 - 0x5d12a000      C:\WINNT\system32\COMCTL32.dll
    0x7c9c0000 - 0x7d1d6000      C:\WINNT\system32\SHELL32.dll
    0x77f60000 - 0x77fd6000      C:\WINNT\system32\SHLWAPI.dll
    0x763b0000 - 0x763f9000      C:\WINNT\system32\comdlg32.dll
    0x773d0000 - 0x774d3000      C:\WINNT\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\comctl32.dll
    0x20000000 - 0x20017000      C:\WINNT\system32\odbcint.dll
    0x5fe80000 - 0x5fe9b000      C:\WINNT\system32\odbccp32.dll
    0x77c00000 - 0x77c08000      C:\WINNT\system32\VERSION.dll
    0x0c640000 - 0x0c6bd000      ...\Ora10gClient\BIN\SQORA32.DLL
    0x0c6c0000 - 0x0c6c9000      ...\ORA10GCLIENT\BIN\sqresUS.dll
    0x7c140000 - 0x7c245000      C:\WINNT\system32\MFC71.DLL
    0x5d360000 - 0x5d36e000      C:\WINNT\system32\MFC71ENU.DLL
    VM Arguments:
    jvm_args: -Dhttp.proxyHost= -Dhttp.proxyPort=80 -Dhttp.nonProxyHosts= -Dhttps.proxyHost= -Dhttps.proxyPort=80 -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=C:\Documents and Settings\...\.netbeans\6.0\apache-tomcat-6.0.14_base\conf\logging.properties -Xdebug -Xrunjdwp:transport=dt_shmem,address=tomcat_shared_memory_id,server=y,suspend=n -Djava.endorsed.dirs=C:\Program Files\Apache Software Foundation\Apache Tomcat 6.0.14\endorsed -Dcatalina.base=C:\Documents and Settings\XXX\.netbeans\6.0\apache-tomcat-6.0.14_base -Dcatalina.home=C:\Program Files\Apache Software Foundation\Apache Tomcat 6.0.14 -Djava.io.tmpdir=C:\Documents and Settings\...\.netbeans\6.0\apache-tomcat-6.0.14_base\temp
    java_command: org.apache.catalina.startup.Bootstrap start
    Launcher Type: SUN_STANDARD
    Environment Variables:
    JAVA_HOME=C:\Program Files\Java\jdk1.6.0_03
    JRE_HOME=C:\Program Files\Java\jdk1.6.0_03
    CLASSPATH=C:\Program Files\Java\jdk1.6.0_03\lib\tools.jar;C:\Program Files\Apache Software Foundation\Apache Tomcat 6.0.14\bin\bootstrap.jar
    PATH=...\ora10gClient\bin;...\ora9i\bin;...\orant\ora8i\bin;...\orant\bin;C:\Program Files\Java\jre1.5.0_06\bin;C:\Program Files\Java\jre1.5.0_06\bin;C:\Program Files\Documentum\Shared;p:\pvcs813\vm\win32\bin;p:\pvcs813\vm\common\bin\win32;P:\PVCS81\vm\win32\bin;P:\PVCS81\vm\common\bin\win32;C:\Program Files\Common Files\Business Objects\3.0\bin\NOTES\;C:\Program Files\Common Files\Business Objects\3.0\bin\NOTES\DATA\;C:\WINNT\system32;C:\WINNT;C:\WINNT\system32\wbem;C:\Program Files\QuickTime\QTSystem";;C:\Program Files\QuickTime\QTSystem;C:\Borland\JBuilder2005\jdk1.4\bin;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Documentum\Shared;C:\WINNT;C:\WINNT\system32
    USERNAME=XXX
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=x86 Family 15 Model 3 Stepping 4, GenuineIntel
    --------------- S Y S T E M ---------------
    OS: Windows XP Build 2600 Service Pack 2
    CPU:total 1 (1 cores per cpu, 1 threads per core) family 15 model 3 stepping 4, cmov, cx8, fxsr, mmx, sse, sse2, sse3
    Memory: 4k page, physical 1047536k(145972k free), swap 2996004k(1885868k free)
    vm_info: Java HotSpot(TM) Client VM (1.6.0_03-b05) for windows-x86, built on Sep 24 2007 22:24:33 by "java_re" with unknown MS VC++:1310
    Please if have a solution to this problem let me know,
    Please don't say use thin driver because OCI is required on my envirnoment

    Are you sure you are using the Oracle OCI JDBC driver? From you stack trace you are not, you are using the JDBC-ODBC bridge.
    >>
    sun.jdbc.odbc.JdbcOdbc.SQLDisconnect(J)V+132
    j sun.jdbc.odbc.JdbcOdbcDriver.disconnect(J)V+4
    j sun.jdbc.odbc.JdbcOdbcConnection.close()V+42
    j oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.closeDatasourceConnection()V+4
    Ensure you set your database url and driver class in your persistence XML (or DataSource config) to be the Oracle JDBC driver and the Oracle OCI url.
    i.e.
    toplink.jdbc.driver - oracle.jdbc.OracleDriver
    toplink.jdbc.url - jdbc:oracle:oci:@instance
    -- James : http://www.eclipselink.org

  • Problem in Oracle Database Connectivity in JSP

    I am having big problem such as Oracle Database connectivity problem
    Following code i am used for database connection. but it throw an exception call class not found exception.
    Pls any one can help me. With a sample code for Oracle Database connection in JSP
    Class.forName ("oracle.jdbc.driver.OracleDriver");
    String url="jdbc:oracle:thin:@172.25.44.54:1521:bbo";
    con = DriverManager.getConnection(url,"user", "user123");
    Thank you

    Well i've never used oracle or their drivers before but i'm presuming that you'd go to oracle.com or something and look for downloads. Otherwise you could goodle for Oracle JDBC drivers. Then just follow the instructions.
    Again i've never used JSP but if you have a manifest file somewhere you'll need to put a class-path: entry in their referecning the jar file with the driver so that it is availble at run-time.
    Wes

  • Oracle 10g connection

    Oracle 10G connection problem
    I launch my db with the following script:
    su - oracle -c "export ORACLE_HOME=/u01/app/oracle/product/10.1.0/db_1 && /u01/app/oracle/product/10.1.0/db_1/bin/dbstart"
    su - oracle -c "export ORACLE_HOME=/u01/app/oracle/product/10.1.0/db_1 && /u01/app/oracle/product/10.1.0/db_1/bin/lsnrctl start"
    Here is the output:
    SQL*Plus: Release 10.1.0.2.0 - Production on Fri Feb 27 22:17:51 2004
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    SQL> Connected to an idle instance.
    SQL> ORACLE instance started.
    Total System Global Area 188743680 bytes
    Fixed Size 778036 bytes
    Variable Size 162537676 bytes
    Database Buffers 25165824 bytes
    Redo Buffers 262144 bytes
    Database mounted.
    Database opened.
    SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Database "orcl" warm started.
    LSNRCTL for Linux: Version 10.1.0.2.0 - Production on 27-FEB-2004 22:17:59
    Copyright (c) 1991, 2004, Oracle. All rights reserved.
    Starting /u01/app/oracle/product/10.1.0/db_1/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 10.1.0.2.0 - Production
    System parameter file is /u01/app/oracle/product/10.1.0/db_1/network/admin/listener.ora
    Log messages written to /u01/app/oracle/product/10.1.0/db_1/network/log/listener.log
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xavan_fi
    xe)(PORT=1521)))
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 10.1.0.2.0 - Production
    Start Date 27-FEB-2004 22:17:59
    Uptime 0 days 0 hr. 0 min. 0 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/app/oracle/product/10.1.0/db_1/network/admin/listener.ora
    Listener Log File /u01/app/oracle/product/10.1.0/db_1/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xavan_fi
    xe)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    But when i try to connect with sqlplus:
    oracle@xavan_fixe oracle $ sqlplus
    SQL*Plus: Release 10.1.0.2.0 - Production on Ven. Févr. 27 22:19:32 2004
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    Enter user-name: scott
    Enter password:
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux Error: 2: No such file or directory

    Both friends
    You have to set the ORACLE_SID enviroment variable before getting connection to the database through SQL*Plus so:
    export ORACLE_SID=<database_sid>
    sqlplus /nolog
    conn <user>/<password>
    and that's it
    Joel Pérez
    http://otn.oracle.com/experts

  • Database connectivity problem with instant client.

    Guys,
    I've installed the Oracle instant client basic and ODBC files in my system.
    But when I create a system DSN and test the connectivity my database connectivity,it fails with
    ORA-12637:Packet receive failed error
    My TNSNAMES reads below:
    ONDSP101.DIGITALINDIASW.NET =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = namesrv1.xy.zz.com)(PORT = 1522))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = ONDSP101)
    and my SQLNET as below:
    AUTOMATIC_IPC = OFF
    TRACE_LEVEL_CLIENT = ON
    SQLNET.INBOUND_CONNECT_TIMEOUT=20
    NAMES.DEFAULT_DOMAIN = na.pg.com
    NAME.DEFAULT_ZONE = na.pg.com
    SQLNET.CRYPTO_SEED = "kdg:9yv2$-plo*u6b2x!"
    NAMES.DIRECTORY_PATH = (ONAMES,TNSNAMES)
    NAMES.PREFERRED_SERVERS =
    (ADDRESS_LIST =
    (ADDRESS =
    (COMMUNITY = TCP.xy.zz.com)
    (PROTOCOL = TCP)
    (Host = namesrv1.xy.zz.com)
    (Port = 1522)
    (ADDRESS =
    (COMMUNITY = TCP.xy.zz.com)
    (PROTOCOL = TCP)
    (Host = namesrv2.xy.zz.com)
    (Port = 1522)
    I've placed my TNSNAMES and SQLNET file in the same folder having the instant client files and I've set my TNSADMIN,LD_LIBRARY_PATH and PATH environmental variable to the folder location.
    Note:I'm able to connect to the database using SQLplus.
    Thanks,
    Bhagat

    12637, 00000, "Packet receive failed"
    // *Cause:  A process was unable to receive a packet from another process.
    // Possible causes are:
    // 1. The other process was terminated.
    // 2. The machine on which the other process is running went down.
    // 3. Some other communications error occurred.
    // *Action: If the cause is not obvious, contact Oracle Customer Support.
    These days I very seldom use ODBC for Oracle - most recently it was simply to get Enterprise Architect to "talk" to Oracle. I never used it for my client applications (unlike in the fast distant past), so what I know about ODBC is seriously outdated.
    Even so, a few comments. :-)
    Have you tried creating a user DSN, in case a system DSN somehow works different environment wise?
    The above error description sounds like the original TCP connection was successful (i.e. it is not a host unknown or not reachable error). Subsequent packets seem to fails.
    To confirm, run the listener on namesrv1.xy.zz.com with logging enabled and have a look at the listener.log - does it show a connection being accepted/handled from your PC when you use the ODBC DSN?
    Have you tried the Oracle ODBC drivers? When getting EA connected I had problems (also with Instant Client) and Microsoft ODBC driver for Oracle. Downloaded and installed the Oracle ODBC driver and it worked just fine first time around.
    PS. You should raise this topic on the Instant Client Forum instead.

  • Connection problem to Oracle 11.1.0 on Windows Professional XP (SP2)

    Hello
    I've recently performed default installations for 3 Oracle Databases, into seperate homes on a newly formatted Windows
    Professional XP (SP2) standalone laptop. For all databases Oracle 10.2.0 (rover), Oracle XE (xe) and Oracle 11.1.0 (fido) I
    installed APEX and they worked perfectly.
    I then installed my Wireless O2 Broadband for my internet which uses DHCP
    I am unable to connect to my databases with the wireless broadband connected. I then bring down all databases and turn
    off/disable the Broadband,then restart all databases.
    Using commands
    Set ORACLE_SID=ROVER
    sqlplus system/rover@rover
    Set ORACLE_SID=XE
    sqlplus system/xe@xe
    Set ORACLE_SID=FIDO
    sqlplus system/fido@fido
    Connections are successfull apart from the Oracle 11.1.0 (fido) database with error
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    Can anybody identify my connection problem to Oracle 11.1.0 (fido) database by reviewing my listener.ora, tnsnames.ora and
    other configuration files below.
    Many thanks in advance
    Regards
    Ade
    tnsping results
    ===============
    C:\>tnsping rover
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localho
    t)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = rover)))
    OK (10 msec)
    C:\>tnsping xe
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = bascilic
    o)(PORT = 1522)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = XE)))
    OK (30 msec)
    C:\>tnsping fido
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhos
    t)(PORT = 1523)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = fido)))
    OK (20 msec)
    lsnrctl stat - results
    ======================
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1523)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 11.1.0.7.0 - Production
    Start Date 17-OCT-2009 15:54:12
    Uptime 0 days 0 hr. 32 min. 11 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File C:\oracle\product\11.1.0\db_fido\network\admin\listener.ora
    Listener Log File c:\oracle\product\11.1.0\diag\tnslsnr\bascilico\listener\alert\log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1523ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=bascilico)(PORT=1523)))
    The listener supports no services
    The command completed successfully
    General configuration - Environment variables
    =============================================
    PATH =
    C:\oracle\product\11.1.0\db_fido\bin;C:\oracle\product\10.2.0\db_rover\bin;C:\oracle\oraclexe\app\oracle\product\10.2.0\serve
    r\bin;C:\oracle\ohs\bin;C:\oracle\ohs\jlib;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\ATI
    Technologies\ATI Control Panel
    TNS_ADMIN = C:\oracle\tns
    C:\oracle\tns\tnsnames.ora
    ==========================
    ROVER =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = rover)
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = bascilico)(PORT = 1522))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    FIDO =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1523))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = fido)
    Oracle 10.2.0 listener.ora
    ==========================
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_rover)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    Oracle 10.2.0 tnsnames.ora
    ==========================
    ROVER =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = rover)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    Oracle XE listener.ora
    ======================
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\oraclexe\app\oracle\product\10.2.0\server)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\oracle\oraclexe\app\oracle\product\10.2.0\server)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (ADDRESS = (PROTOCOL = TCP)(HOST = bascilico)(PORT = 1522))
    DEFAULT_SERVICE_LISTENER = (XE)
    Oracle XE tnsnames.ora
    ======================
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = bascilico)(PORT = 1522))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    Oracle 11.1.0 listener.ora
    ==========================
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1523))
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1523))
    Oracle 11.1.0 tnsnames.ora
    ==========================
    LISTENER_FIDO =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1523))
    FIDO =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1523))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = fido)
    )

    For static registration you need to update the 3 listener.ora files.
    Exemple:
    SID_LIST_LISTENER_FIDO =
      (SID_LIST =
        (SID_DESC
          (ORACLE_HOME = <Oracle Home path>)
          (SID_NAME=FIDO)
    )

  • CR 2008 and ODBC connection using Oracle Instant Client driver?

    Two questions.
    I'm creating CR 2008 report using an ODBC connection. The ODBC driver is the Oracle Instant Client (version 10.2, I think.)
    When I define the connection, I see only a few tables. I do not see the Tables, Views, Qualifiers tree that I see with a normal Oracle Server connection.
    Does anybody know why this happens? Is there a CR ODBC driver that works better?
    Second question:  I have a .NET application that is pointing the report to another Oracle DB. In my db, table names are not unique -- each user has the same set of tables. I find that when the .net applciation sets the datasource, I get connected to the first table with a given name; I do not get the table scoped by the logon user.
    In the .net application, how do I scope the table name to a particular user.
    Any info helps. Thanks.
    Tim

    Hi Tim,
    Below are the replies to your questions:
    Answer 1: Please try the below steps:
    - Make sure that in File->Options->Database Tab in the Data Explorer section the corresponding checkboxes are checked for tables, views,system tables,synonyms and stored procedures and the Table name LIKE and Owner LIKE boxes are blank.
    - Please try with OLEDB connection and check the results.
    - You can also refer to this SAP note no# 1215994, the link to which is given below:
    [https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3132313539393426]
    Answer 2: If you are using RAS SDK only then you would be able to change table name. Please let us know if you are using RAS.
       If you are using RAS with Java please post your query in the Java forum else if you are using Visual Studio/.NET then please post your question in .NET Forum.
    Please update with the results.
    Thanks!

  • How to solve Oracle SQL Developer connection problem ?

    Folks,
    Hello. I am using Oracle Database 11gR1. The Database Control Console https://localhost.localdomain:1158/em works correctly. I can create a Database and a table successfully.
    My OS is Linux and connects to internet successfully.
    In order to run SQL statements. we need to use Oracle SQL Developer. I connect Oracle SQL Developer in the following way:
    Connection Name: DB1 (this is my database name as well)
    Username: SYS (this is the user name I used to login to the Console)
    Password: SYS (this the password used to login to the Console)
    Connection Type: Basic
    Host Name: localhost
    Port: 1158
    SID: DB1 (this is created during installing the Database)
    But the error message comes up: "Status: Failure - IO exception Connection Reset."
    Can any folk tell me how to solve Oracle SQL Developer connection problem ?

    user8860348 wrote:
    Folks,
    Hello. I am using Oracle Database 11gR1. The Database Control Console https://localhost.localdomain:1158/em works correctly. I can create a Database and a table successfully.
    My OS is Linux and connects to internet successfully.
    In order to run SQL statements. we need to use Oracle SQL Developer. I connect Oracle SQL Developer in the following way:
    Connection Name: DB1 (this is my database name as well)
    Username: SYS (this is the user name I used to login to the Console)
    Password: SYS (this the password used to login to the Console)
    Connection Type: Basic
    Host Name: localhost
    Port: 1158
    SID: DB1 (this is created during installing the Database)
    But the error message comes up: "Status: Failure - IO exception Connection Reset."
    Can any folk tell me how to solve Oracle SQL Developer connection problem ?username: sys
    password: enter_your_correct_password given at the time of oracle installation
    role: select sysdba if you would connect as sysdba else select normal for users other than sys
    hostname: enter your oracle server hostname or ip address eg:- 192.168.11.12
    to find the hostname open terminal/command prompt in oracle installed machine
    type ---> hostname
    type ---->ping hostname
    you can find the ipaddress of the server
    port number: 1521 (default) ----> i guess , else check the port number in the tnsnames.ora file under your ORACLE_HOME/network/admin folder
    SID: DB1
    try it
    Good Luck

  • Oracle instant client 11g doesn`t connect to database 10g

    hi,
    i installed a oracle instant client 11g for windows xp on my pc, because i need a odbc connection.
    I don`nt know this product. I don`t find a tns.ora file, so how can i give them the right parameter for my oracle database and how can i make a odbc connection.
    Is it already the right client?
    Thanks in advance.
    Regards
    Nicole

    nicole4 wrote:
    Hi,
    now 've seen that installed this client win32_11gR2_client this isn't the instant basic client.
    Should i deinstall this client?
    Or how can i make there a odbc connection?
    Thanks
    NicoleODBC sits on top of the Oracle client. (or any other native client of a given db product).
    I don't think the ODBC drivers come with the instant client, though if you can locate a 3d party odbc driver for Oracle, that should work with the instant client.
    Oracle ODBC drivers do come with the full client, but even there don't install by default - at least not up through 10g. In that case you have to select 'custom installation' (which can be done after a basic run-time installation) and select 'windows components'.

  • Problem PHP Oracle - Instant Client

    Hi,
    i have been trying to resolve this issue but im not really sure what i need to do, could someone help me?
    Warning: oci_connect() [function.oci-connect]: OCIEnvNlsCreate() failed. There is something wrong with your system - please check that PATH includes the directory with Oracle Instant Client libraries
    Im getting this error when i try to connect to a Oracle database via PHP.
    My host is Windows, Oracle instant client is on C:\instantclient_11_2 and added on PATH Variables.
    I think there are missing some oracle variables on my phpinfo(), below:
    OCI8 Support
    enabled
    Version
    1.4.9
    Revision
    $Id: 44bfa713983a99b3e59477f6532e5fb51b6dee94 $
    Active Persistent Connections
    0
    Active Connections
    0
    Oracle Run-time Client Library Version
    0.0.0.0.0
    Oracle Instant Client Version
    11.2
    Temporary Lob support
    enabled
    Collections support
    enabled
    Directive
    Local Value
    Master Value
    oci8.connection_class
    no value
    no value
    oci8.default_prefetch
    100
    100
    oci8.events
    Off
    Off
    oci8.max_persistent
    -1
    -1
    oci8.old_oci_close_semantics
    Off
    Off
    oci8.persistent_timeout
    -1
    -1
    oci8.ping_interval
    60
    60
    oci8.privileged_connect
    Off
    Off
    oci8.statement_cache_size
    20
    20
    Environment
    Variable
    Value
    REDIRECT_HANDLER
    application/x-httpd-php
    REDIRECT_STATUS
    200
    HTTP_HOST
    marcelb01v
    HTTP_USER_AGENT
    Mozilla/5.0 (Windows NT 6.1; rv:28.0) Gecko/20100101 Firefox/28.0
    HTTP_ACCEPT
    text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    HTTP_ACCEPT_LANGUAGE
    en-US,en;q=0.5
    HTTP_ACCEPT_ENCODING
    gzip, deflate
    HTTP_CONNECTION
    keep-alive
    PATH
    C:\instantclient_11_2;O:\ora11202w\BIN;C:\PHP\;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;
    SystemRoot
    C:\windows
    COMSPEC
    C:\windows\system32\cmd.exe
    PATHEXT
    .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
    WINDIR
    C:\windows
    SERVER_SIGNATURE
    no value
    SERVER_SOFTWARE
    Apache/2.2.25 (Win32) mod_fcgid/2.3.6
    SERVER_NAME
    marcelb01v
    SERVER_ADDR
    10.26.213.195
    SERVER_PORT
    80
    REMOTE_ADDR
    10.45.112.152
    DOCUMENT_ROOT
    C:/htdocs
    SERVER_ADMIN
    SCRIPT_FILENAME
    C:\htdocs\stuffs\test.php
    REMOTE_PORT
    51461
    REDIRECT_URL
    /stuffs/test.php
    GATEWAY_INTERFACE
    CGI/1.1
    SERVER_PROTOCOL
    HTTP/1.1
    REQUEST_METHOD
    GET
    QUERY_STRING
    no value
    REQUEST_URI
    /stuffs/test.php
    SCRIPT_NAME
    /stuffs/test.php
    ORIG_SCRIPT_FILENAME
    C:/PHP/php-cgi.exe
    ORIG_PATH_INFO
    /stuffs/teste.php
    ORIG_PATH_TRANSLATED
    C:\htdocs\stuffs\test.php
    ORIG_SCRIPT_NAME
    /php/php-cgi.exe
    PHP Variables
    Variable
    Value
    _SERVER["REDIRECT_HANDLER"]
    application/x-httpd-php
    _SERVER["REDIRECT_STATUS"]
    200
    _SERVER["HTTP_HOST"]
    marcelb01v
    _SERVER["HTTP_USER_AGENT"]
    Mozilla/5.0 (Windows NT 6.1; rv:28.0) Gecko/20100101 Firefox/28.0
    _SERVER["HTTP_ACCEPT"]
    text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    _SERVER["HTTP_ACCEPT_LANGUAGE"]
    en-US,en;q=0.5
    _SERVER["HTTP_ACCEPT_ENCODING"]
    gzip, deflate
    _SERVER["HTTP_CONNECTION"]
    keep-alive
    _SERVER["PATH"]
    C:\instantclient_11_2;O:\ora11202w\BIN;C:\PHP\;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;
    _SERVER["SystemRoot"]
    C:\windows
    _SERVER["COMSPEC"]
    C:\windows\system32\cmd.exe
    _SERVER["PATHEXT"]
    .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
    _SERVER["WINDIR"]
    C:\windows
    _SERVER["SERVER_SIGNATURE"]
    no value
    _SERVER["SERVER_SOFTWARE"]
    Apache/2.2.25 (Win32) mod_fcgid/2.3.6
    _SERVER["SERVER_NAME"]
    marcelb01v
    _SERVER["SERVER_ADDR"]
    10.26.213.195
    _SERVER["SERVER_PORT"]
    80
    _SERVER["REMOTE_ADDR"]
    10.45.112.152
    _SERVER["DOCUMENT_ROOT"]
    C:/htdocs
    _SERVER["SERVER_ADMIN"]
    _SERVER["SCRIPT_FILENAME"]
    C:\htdocs\stuffs\test.php
    _SERVER["REMOTE_PORT"]
    51461
    _SERVER["REDIRECT_URL"]
    /stuffs/test.php
    _SERVER["GATEWAY_INTERFACE"]
    CGI/1.1
    _SERVER["SERVER_PROTOCOL"]
    HTTP/1.1
    _SERVER["REQUEST_METHOD"]
    GET
    _SERVER["QUERY_STRING"]
    no value
    _SERVER["REQUEST_URI"]
    /stuffs/test.php
    _SERVER["SCRIPT_NAME"]
    /stuffs/test.php
    _SERVER["ORIG_SCRIPT_FILENAME"]
    C:/PHP/php-cgi.exe
    _SERVER["ORIG_PATH_INFO"]
    /stuffs/test.php
    _SERVER["ORIG_PATH_TRANSLATED"]
    C:\htdocs\stuffs\test.php
    _SERVER["ORIG_SCRIPT_NAME"]
    /php/php-cgi.exe
    _SERVER["PHP_SELF"]
    /stuffs/test.php
    _SERVER["REQUEST_TIME"]
    1399483024

    Your PATH includes "C:\instantclient_11_2;O:\ora11202". This hints that you have multiple versions of Oracle installed, which is common cause of issues.
    Do you need Instant Client?  If you already have an Oracle DB you don't really need Instant Client unless you have a particular version requirement.

Maybe you are looking for

  • Upgrade to 6.0.4 lost All purchased music et al...

    went to 6.0.4 from some flavor of 5 and now No purchased music At All, also about 1/3 of my library is gone also curious that.... tried the usual trashing prefs etc to no avail

  • Availability of Speaker Stand in India

    Can anyone tell me if rear-speaker stand for Inspire 5200 5.1 system is available in India? I have searched a lot of place, no one has been able to help me. I think the model number would be MT1200 or MT1100. It would be great if you could tell me a

  • Movie is loading twice

    Structure: * one main movie ** one swf loaded into that *** one mc in that I animate the mc using the timeline (movement up) and on the first frame of the same mc I generate up an interface inside it. This all works, but: When the mc has generated th

  • Generick Extarction using Function Module.

    Hi, Give me the steps Generic Extraction using function module.Thanks for your help. Thanks & Regards, Suresh.

  • Passing payload to job triggered by an advance queue

    I created an event that suscribe to a queue: DBMS_SCHEDULER.CREATE_JOB ( job_name => 'testJob' program_name => 'myTestProgram' ,enabled => TRUE ,start_date => SYSTIMESTAMP ,queue_spec => 'JOB_MSG_QUEUE,JOB_RECIPIENT' ,event_condition => 'tab.user_dat