Unable to connect to oracle database 10.1.0.2.0 from jdeveloper 11.1.2.1.0

Hello,
I am trying to connect to oracle database 10.1.0.2.0 from jdeveloper 11.1.2.1.0 to develop an ADF application.
But it is giving me the error
Test failed: Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
connection type:oracle(JDBC)
Role :SYSDBA
Driver:thin
Host:localhost
JDBC port:1521
SID:webaid
I am able to connect to the database using SQL*Plus with the same credentials.
Any help is appreciated!

I take it you solved this problem, since you posted this: installing Oracle 10.1.0.2.0 (32 bit)  on windows 2003 server

Similar Messages

  • Unable to connect to Oracle database running on Windows machine from linux.

    Hi,
    I'm not able to connect to oracle database running on Windows machine from Linux machine. I'm geting the below mentioned error. I have given below the code I used to connect to database and database propertes.Do I need to use any specific driver?
    Please help me.
    Thanks,
    Sunjyoti
    Code :
    import oracle.jdbc.pool.OracleDataSource;
    import java.sql.Connection;
    import java.util.*;
    import java.sql.*;
    import java.io.*;
    class try2{
    public static void main(String args[]) {
    try {
              System.out.println("hi");
    // Load the properties file to get the connection information
    Properties prop = new Properties();
    prop.load(new FileInputStream("/home/sreejith/EDIReader/Connection.properties"));
    // Create a OracleDataSource instance
    OracleDataSource ods = new OracleDataSource();
    System.out.println("prop is "+prop);
    configureDataSource(ods, prop);
    Connection conn=null;
    // Create a connection object
    conn = ods.getConnection();
         System.out.println("Connection is"+conn);
    // Sets the auto-commit property for the connection to be false.
    conn.setAutoCommit(false);
    } catch (SQLException sqlEx){ // Handle SQL Errors
    System.out.println("In exception "+sqlEx);
    } catch(Exception excep) { // Handle other errors
    System.out.println(" Exception "+ excep.toString());
    private static void configureDataSource(OracleDataSource ods, Properties prop) {
    // Database Host Name
    ods.setServerName(prop.getProperty("HostName"));
    // Set the database SID
    ods.setDatabaseName(prop.getProperty("SID"));
    // Set database port
    ods.setPortNumber( new Integer( prop.getProperty("Port") ).intValue());
    // Set the driver type
    ods.setDriverType ("thin");
    // Sets the user name
    ods.setUser(prop.getProperty("UserName"));
    // Sets the password
    ods.setPassword(prop.getProperty("Password"));
    Connection properties :
    # Your Database Connection details
    HostName = 10.20.3.19
    SID = EDIREAD
    Port = 1521
    UserName = dbuser
    Password = dbuser
    Error I'm getting is
    error while trying to connect with odbc datasource
    [root@iflexpau2217 EDIReader]# java try2
    hi
    prop is {HostName=10.20.3.19, Password=dbuser, UserName=dbuser, SID=EDIREAD, Port=1521}
    In exception java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    Also I tried to connect with weblogic JDBC driver
    Code is here:
    import java.io.BufferedReader;
    import java.io.ByteArrayInputStream;
    import java.io.File;
    import java.io.FileNotFoundException;
    import java.io.FileReader;
    import java.io.IOException;
    import java.sql.Blob;
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.PreparedStatement;
    import java.sql.SQLException;
    //import com.entrust.toolkit.util.ByteArray;
    public class trial{
         public static void main(String args[]) throws IOException{
              System.out.println("hi");
              Connection p_conn = null;
              PreparedStatement xml_insert = null;
              try {
         // Load the JDBC driver
                   System.out.println("hi2");
         // String driverName = "oracle.jdbc.driver.OracleDriver";
    String driverName = "weblogic.jdbc.oracle.OracleDriver";
         System.out.println("hi2");
         Class.forName(driverName);
         // Create a connection to the database
         String serverName = "10.20.3.19";
         String portNumber = "1521";
         String sid = "EDIREAD";
         //String url = "jdbc:oracle:thin:@" + serverName + ":" + portNumber + ":" + sid;
    String url = "jdbc:bea:oracle://10.20.3.19:1521";
         String username = "dbuser";
         String password = "dbuser";
    System.out.println("connection is:"+p_conn+"user name is"+username+"password is"+password);
         p_conn = DriverManager.getConnection(url, username, password);
         System.out.println("connection is:"+p_conn+"user name is"+username+"password is"+password);
              xml_insert=p_conn.prepareStatement("insert into PRTB_SUBUNIT (SUBUNT_ID,SUBUNT_SUB_UNIT,SUBUNT_PHYUNT_ID) values (?,?,?)");
              //InputStream in=null;
              File l_file=new File("/home/sreejith/EDIReader/propertyfiles/inputfile/BUG_10802_ES_CSB19_68.txt");
              BufferedReader input =null;
              input=new BufferedReader(new FileReader(l_file));
              String line = null;
              StringBuffer trial=new StringBuffer();
              while (( line = input.readLine()) != null){
                   trial.append(line);
                   trial.append(System.getProperty("line.separator"));
              //InputStream is = new BufferedInputStream(new FileInputStream(l_file));
              System.out.println(trial.toString());
              //Blob b ;
              //byte[] bytes=trial.toString().getBytes();
              //System.out.println("Size-->"+bytes.length);
              xml_insert.setString(1,new String("SpecailChar"));
              //xml_insert.setBinaryStream(2,new ByteArrayInputStream(bytes),15920);
              xml_insert.setString(3,"SpecailChar");
              xml_insert.executeUpdate();
              p_conn.commit();
              } catch (ClassNotFoundException e) {
                   System.out.println("ClassNotFoundException:"+e.getMessage());
              // Could not find the database driver
              } catch (SQLException e) {
                   System.out.println("SQEXCEPTIN:"+e.getMessage());
              // Could not connect to the database
              }catch (FileNotFoundException e) {
                   System.out.println("filenot found:"+e.getMessage());
              // Could not connect to the database
    Error I'm getting is
    error while trying with jdbc:
    SQEXCEPTIN:[BEA][Oracle JDBC Driver]Error establishing socket to host and port: 10.20.3.19:1521. Reason: Connection refused

    Is the Windows firewall active? Have you enabled the port on the firewall, if it is?

  • Unable to connect to Oracle Database using Oracle Sql developer 2.1.1.64

    Hi Everyone,
    I am searching for some help regarding my problem with Oracle connectivity. I have installed Oracle 11g release 2 on my Windows XP Professional Laptop. For a few days after installation i could connect to the Oracle database with the SYSTEM account using Oracle SQL developer ( installed on the same Laptop) but now i am unable to do so.It gives me this annoying message:
    An error was encountered performing the required operation  Got a minus one from read call .Vendor code 0
    However i am able to connect using Sql Plus by supplying the username SYSTEM and the corresponding password.
    My TNSNAMES .ora file is as follows:
    ORACLE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST =localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = ORACLE)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    My Listener.ora file is as follows:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = D:\app\product\11.2.0\dbhome_1)
    (PROGRAM = extproc)
    (ENVS = "EXTPROC_DLLS=ONLY:D:\app\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    (SID_DESC =
    (GLOBAL_DBNAME = Oracle)
    (ORACLE_HOME = D:\app\product\11.2.0\dbhome_1)
    (SID_NAME = Oracle)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (PROTOCOL_STACK =
    (PRESENTATION = GIOP)
    (SESSION = RAW)
    ADR_BASE_LISTENER = D:\app
    My Sqlnet.ora file is as follows:
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    I am new to Oracle and so i need someone in this forum who can help me resolve this problem. Also i even tried connecting to the database using Toad 10.5.0.41. It give me the following error:
    ORA 12537 : TNS Connection closed
    Thanks for your patience and help in advance.
    ---Prashant

    Hello Irian and Sue,
    I can connect to the Oracle database using SQL Plus. Now when i TNSPING ORACLE from command line i get the following message :
    Used parameter files:
    D:\app\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST =localhost
    *)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = ORACLE)))*
    TNS-12537: TNS:connection closed
    Thanks for your response to my initial post.Do u have any other methods to resolve this?

  • Crystal Reports XI is unable to connect to Oracle database

    I try to Create New Conection in y Crystal Reports XI using OLE DB(ADO) ,Microsoft OLD DB Provider for Oracle.
    I entered the right Connection Information for Service, User ID and Pasword and then hit the Finish button.
    I get the following error message.
    Login Failed.
    Detail: ADO Error CodeL 9x80004005
    Source: Microsoft OLE DB Provider for Oracle
    Description: Oracle client and networking components wer not found. These components are supplied by Oracle Corporation and are part of the Oracle Version 7.3.3 or later client software installation.
    Provider is unable to function until these components are installed.
    Where can I get these components?
    How can I install them?
    What should I do to get successfully connected to my Oracle database?
    Please guide me.
    Thanking in advance.
    Samy

    Hi Samy,
    I did some checking and found the old platforms text file for which servers we supported:
    Crystal Reports Data Sources
    =======================================
    Report Data Source              Database Client             
    Oracle 8.1.7                  Oracle Net client 9.2 (Native)
                                    ODBC Oracle 9.2
                                    JDBC Oracle 9.2
                                    OLEDB Oracle 9.2
    Oracle 9.2                    Oracle Net client 9.2 (Native)     
                                    ODBC Oracle 9.2
                                    JDBC Oracle 9.2
                                    OLEDB Oracle 9.2
    Oracle 10.1                   Oracle Net client 10.1 (Native)  
                                    ODBC Oracle 10.1
                                    JDBC Oracle 10.1
                                    OLEDB  Oracle 10.1
    As you can see we needed the 9.2 client. I do recall now there were UNICODE issues with earlier versions and 9.2 was the fix which is why we supported the 8 server but with the 9 client.
    So not sure why it worked previously but likely because Windows 7 doesn't have the dependencies XP would have had it may be the reason....
    Bottom line is you are not on a supported platform so we have not done much testing ourselves on how to get around these issues....
    Thanks again
    Don

  • Unable to connect to Oracle database on RHEL4

    Hi,
    I have completed installation of Oracle 10g release 2. on RHEL 4.
    On logging on to the RHEL 4 machine, I am able to start Oracle database and use sqlplus.
    However, I am unable to connect to it from my desktop, which is windows xp. The tnsnames.ora file in the windows desktop has been updated. However its not able to connect to this machine. The RHEL4 machine is configured with DHCP. Could this be the problem? I would not be able to configure it with static IP, is there a way to configure it with DHCP? tnsping does not identify the database instance either. I get the following error.
    TNS-12560: TNS:protocol adapter error
    Regards,
    Rishikesh

    rishikesh,
    On the RHEL4 machine
    1. check the listener:
    -check if the service name of your database is registered
    -check on which NIC/ip address the listener is listening
    2. check if you can login using TCP
    -do a tnsping of the connection descriptor you are using
    If both tests succeed, go to the client (windows XP machine)
    1. check if the RHEL4 machine responds to the ping command
    if that works:
    2. check if the hostname used in ping is the same as the hostname in the connectstring
    3. check if the service name in the connectstring is the same as in the listener
    4. check if the port number in the connectstrings is the same as in the listener

  • Unable to connect to oracle database using RODM

    Hello,
    I am trying to follow the steps described in
    http://www.oracle.com/technetwork/articles/datawarehouse/saternos-r-161569.html
    but I keep getting the same error message after the
    DB <- RODM_open_dbms_connection(dsn="orcl", uid="dm", pwd="dm")command. The message is
    Error in typesR2DBMS[[driver]] <<- value[c("double", "integer", "character",  :
      cannot change value of locked binding for 'typesR2DBMS'
    and doing a traceback() I get
    2: setSqlTypeInfo(driver, list(double = "double precision", integer = "integer",
           character = "varchar(255)", logical = "varchar(255)"))
    1: RODM_open_dbms_connection(dsn = "orcl", uid = "dm", pw = "dm")
    Could anyone suggest some way to fix this? I am stuck and I need to get this working asap.
    Thank you very much in advance                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Hello Mark,
    Thank you for your reply.
    I tried installing Oracle R Enterprise but I got stuck again, this time apparently because I do not have Oracle database 11.2.0.3 but rather 11.2.0.1.0.
    So I would like to ask you if there is some way of using RODM, or some other way of having R access to ODM algorithms?
    Thank you,
    Filipe

  • Unable to connect to Oracle Applications database (afscpgcs) after clone

    Hi,
    I have just moved (clone using rapidclone) two of our 11.5.10.2 install from a solaris SPARC 8 to 10 . After the clone, while discoverer 10g works perfectly well in one environment, it is giving the error below in the another environment.
    - Failed to connect to database - Unable to connect to Oracle Applications database (afscpgcs)
    Notes:
    1. For the 2 environments, nothing as changed apart from the hostnames.
    2. The password has not changed on both - from source to targets.
    3. This happens when launching discoverer 10g from Apps.... discoverer works well on it own if not launched from apps.
    I raised a SR with oracle and the 2 things they said have not worked. they said
    1. change signon password case parameter - but I cannot find that in the list of system parameters on our system.
    2. The other note says apply patch 6430269 and I can confirm this patch has been on the system for sometime.
    Please advise on this if you have come accross this before and you can help here.
    Thanks

    Thanks for your concern. I have used the notes you listed but no luck. One thing I have to point out here is that I have always cloned from solaris 8 to 8 for years without this problem. Now I am cloning from solaris 8 to 10 and the problems is on just one environment. The other is working well. The problem seems to be related to the apps password but the password has not changed at all. Also, I have tried to change the password to something else and ran autoconfig but no luck. Please help

  • Unable to connect to Oracle Applications database invalid username/password

    Hi,
    Ou Requirement is we want to connect to Oracle Applications using discoverer plus and discoverer viewer.
    Application Server used : 10.1.2.0.2
    Oracle Applications : R12 RUP4
    We have installed application server 10g with OID and when we try to connect to oracle applications we are getting
    A connection error has occurred.
    - Failed to connect to database - Unable to connect to Oracle Applications database: invalid username/password.
    Regards
    Ketan

    Hi,
    I think better to check with your sysadmin or DBA on this, I had the same isuse before but Apps 11i with Discoverer, I talked to ERP sysadmin and worked fine.
    Since applications userid cannot talk with Discoverer schema (eul10_us) and it should directly talk with APPS user and then APPS user can talk with Discoverer user.
    To the best of my knowledge I provided.
    --skat                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Client unable to connect to Oracle 10g on linux

    I have installed Oracle 10g on an Intel box running RedHat AS 3.0. The database installation was succesful but I am unable to connect to it from the client on my laptop running Oracle 10g client and Winfdows XP Pro. The server ip is 192.168.1.10 and I can ping it from the client:
    C:\>ping attila.n3kje.net
    Pinging attila.n3kje.net [192.168.1.10] with 32 bytes of data:
    Reply from 192.168.1.10: bytes=32 time<1ms TTL=64
    Reply from 192.168.1.10: bytes=32 time<1ms TTL=64
    Reply from 192.168.1.10: bytes=32 time<1ms TTL=64
    Reply from 192.168.1.10: bytes=32 time<1ms TTL=64
    Ping statistics for 192.168.1.10:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms
    Here is some info about the 2 environments:
    [oracle@attila bin]$ uname -a
    Linux attila.n3kje.net 2.4.21-9.0.1.ELsmp #1 SMP Mon Feb 9 22:26:51 EST 2004 i686 i686 i386 GNU/Linux
    Server hosts file
    ======================================================
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1 attila.n3kje.net attila localhost.localdomain localhost
    hostname output
    ======================================================
    [root@attila root]# hostname
    attila.n3kje.net
    ifconfig output
    =======================================================
    [root@attila root]# ifconfig
    eth0 Link encap:Ethernet HWaddr 00:C0:9F:1D:0C:C8
    inet addr:192.168.1.10 Bcast:192.168.1.255 Mask:255.255.255.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:13772171 errors:0 dropped:0 overruns:0 frame:0
    TX packets:13748842 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:1269613311 (1210.7 Mb) TX bytes:4065314800 (3876.9 Mb)
    Interrupt:16 Base address:0xecc0 Memory:fe100000-fe120000
    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:5513840 errors:0 dropped:0 overruns:0 frame:0
    TX packets:5513840 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:865454291 (825.3 Mb) TX bytes:865454291 (825.3 Mb)
    Client TNSNAMES.ORA
    ======================================================
    # tnsnames.ora Network Configuration File: C:\Oracle\product\10.1.0\Client_1\NETWORK\ADMIN\tnsnames.ora
    # Generated by Oracle configuration tools.
    ORACLE10G =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.10)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = DEV10G)
    PRDSRR =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.10)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = dev10g)
    Client SQLNET.ORA
    ======================================================
    # sqlnet.ora Network Configuration File: C:\Oracle\product\10.1.0\Client_1\network\admin\sqlnet.ora
    # Generated by Oracle configuration tools.
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (EZCONNECT, TNSNAMES)
    Server TNSNAMES.ORA
    ======================================================
    # tnsnames.ora Network Configuration File: /u01/app/oracle/product/10.1.0/db_1/n
    etwork/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    DEV10G =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = attila.n3kje.net)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = DEV10G)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    Server LISTENER.ORA
    ======================================================
    # listener.ora Network Configuration File: /u01/app/oracle/product/10.1.0/db_1/n
    etwork/admin/listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /u01/app/oracle/product/10.1.0/db_1)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = attila.n3kje.net)(PORT = 1521))
    Results from the TNSPING command issued at the client
    =================================================================
    C:\>tnsping prdsrr
    TNS Ping Utility for 32-bit Windows: Version 10.1.0.2.0 - Production on 02-APR-2
    004 09:26:11
    Copyright (c) 1997, 2003, Oracle. All rights reserved.
    Used parameter files:
    C:\Oracle\product\10.1.0\Client_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
    (HOST = 192.168.1.10)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = dev10g)))
    TNS-12541: TNS:no listener
    C:\>tnsping oracle10g
    TNS Ping Utility for 32-bit Windows: Version 10.1.0.2.0 - Production on 02-APR-2
    004 09:26:38
    Copyright (c) 1997, 2003, Oracle. All rights reserved.
    Used parameter files:
    C:\Oracle\product\10.1.0\Client_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
    (HOST = 192.168.1.10)(PORT = 1521))) (CONNECT_DATA = (SERVER = DEDICATED) (SERVI
    CE_NAME = DEV10G)))
    TNS-12541: TNS:no listener
    C:\>
    Trying to connect to the database from the server
    ==================================================
    [oracle@attila bin]$ echo $ORACLE_SID
    DEV10G
    [oracle@attila bin]$ ./sqlplus system
    SQL*Plus: Release 10.1.0.2.0 - Production on Fri Apr 2 12:22:29 2004
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    Enter password:
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> exit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Pr
    oduction
    With the Partitioning, OLAP and Data Mining options
    [oracle@attila bin]$ ./sqlplus system@dev10g
    SQL*Plus: Release 10.1.0.2.0 - Production on Fri Apr 2 12:23:09 2004
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    Enter password:
    ERROR:
    ORA-12154: TNS:could not resolve the connect identifier specified
    tnsping issued at the server
    ======================================================
    [oracle@attila bin]$ tnsping dev10g
    TNS Ping Utility for Linux: Version 10.1.0.2.0 - Production on 02-APR-2004 12:3
    :44
    Copyright (c) 1997, 2003, Oracle. All rights reserved.
    Used parameter files:
    /u01/app/oracle/product/10.1.0/db_1/network/admin/sqlnet.ora
    TNS-03505: Failed to resolve name
    What am I doing wrong?
    Thanks
    Renato

    Ok, I was able to succesfully connect to the database from the client. I made the following changes to the sqlnet.ora, tnsnames and listener. Here are the changes I made:
    sqlnet.ora
    ==============================
    # SQLNET.ORA Network Configuration File: /u01/app/oracle/product/9.2.0.1.0/netwo
    rk/admin/sqlnet.ora
    # Generated by Oracle configuration tools.
    # NAMES.DIRECTORY_PATH= (EZCONNECT)
    NAMES.DIRECTORY_PATH= (EXCONNECT, TNSNAMES, ONAMES, HOSTNAME)
    listener.ora
    ==============================
    # listener.ora Network Configuration File: /u01/app/oracle/product/10.1.0/db_1/n
    etwork/admin/listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /u01/app/oracle/product/10.1.0/db_1)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = DEV10G)
    (ORACLE_HOME = /u01/app/oracle/product/10.1.0/db_1)
    (SID_NAME = DEV10G)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.10)(PORT = 1521))
    tnsnames.ora
    ===========================================
    # tnsnames.ora Network Configuration File: /u01/app/oracle/product/10.1.0/db_1/n
    etwork/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    DEV10G =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.10)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = DEV10G)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    Here is the new problem!
    I start the dbconsole using the folowing command:
    [oracle@attila bin]$ ./emctl start dbconsole
    TZ set to US/Eastern
    Oracle Enterprise Manager 10g Database Control Release 10.1.0.2.0
    Copyright (c) 1996, 2004 Oracle Corporation. All rights reserved.
    http://attila.n3kje.net:5500/em/console/aboutApplication
    Starting Oracle Enterprise Manager 10g Database Control ........................
    ... started.
    Logs are generated in directory /u01/app/oracle/product/10.1.0/db_1/attila.n3kje
    .net_DEV10G/sysman/log
    When I try and access it from the client I get the following error message:
    "The database status is currently unavailable. It is possible that the database is in mount or nomount state. Click 'Startup' to obtain the current status and open the database. If the database cannot be opened, click 'Perform Recovery' to perform an appropriate recovery operation."
    What am I doing wrong this time?
    Your help would be greatly appreciated
    Thanks
    Renato

  • Unable to Connect to the database in RCU, Oracle11g XE on Laptop/Windows

    Software downloaded unzipped and installed from OTN
    OBIEE foundation 11.1.1.5
    Repository Creation Utility 11.1.1.5
    Oracle Database Express Edition 11.2
    Issues
    1. I installed Oracle 11g express edition. I am able to start/stop and run sql against the database however the homepage ("get started " accessed from Start > Programs > Oracle Database 11g XE > Get Started) does not work. This i will post in a separate thread but I am writing this anyway just in case it has some relevance.
    2, This is the one I need help with. Can you confirm that these are the parameters when I hit the "create" option in RCU because I get the error message saying I cannot connect.
    Hostname:This is the same as the hostname, when I go to cmd prompt like below
    C:>hostname<enter> That is what I am using.
    Port and Service :Can you confirm, Port = "1521" and Service = "XE". 1521 is the Database listener port when I installed Oracle 11g Database Express Edition. I am not putting the quotes in the boxes in the RCU.
    Should the service be OracleServiceXE - i have tried it but does not work.
    Anyway I get this message:
    Unable to connect to the database using the provided details.
    Please enter a valid hostname and port or check if the listener is up and running.
    Any ideas appreciated.
    By the way My lsnrctl status returns the following: (meaning the listeners are up!0
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    C:\Documents and Settings\dir>lsnrctl status
    LSNRCTL for 32-bit Windows: Version 11.2.0.2.0 - Production on 13-MAR-2012 13:44
    :03
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 11.2.0.2.0 - Produ
    ction
    Start Date 13-MAR-2012 10:55:11
    Uptime 0 days 2 hr. 48 min. 51 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Default Service XE
    Listener Parameter File C:\oraclexe\app\oracle\product\11.2.0\server\network\a
    dmin\listener.ora
    Listener Log File C:\oraclexe\app\oracle\diag\tnslsnr\myspecifichostname\listene
    r\alert\log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=myspecifichostname)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=myspecifichostname)(PORT=8080)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Edited by: ideakat on Mar 13, 2012 1:57 PM

    Hi,
    Like Abhi said, check your tnsnames.ora file to check the port number and service name is correct or not for the Express Edition database you have installed.
    and when you are running RCU installer, Please give system adminstrator account of OracleXE like 'sys' or 'system' account with confirmed port number and service name.
    Hope this helps.
    Regards,
    Bose
    Edited by: Bose on Mar 16, 2012 11:42 AM
    Edited by: Bose on Mar 16, 2012 5:35 PM

  • Unable to connect to 10g database from developer suite 10g

    I have loaded oracle 10g on my server with OS windows 2003 and it is working fine.Now I have installed Oracle developer suite 10g on windows XP client . we have configured local listener also and its entry is found in tnsnames.ora
    My database name is mbxdata .
    I have defined my host name as
    MBXDATA.mbxnet.com in tnsnames but I am unable to connect to the database since I get error as ORA-12154 : TNS :could not resolve the connect identifier specified.
    Please suggest matter urgent.
    Thanks in advance

    We are having the same issue now. Was this ever resolved? We created 2 new databases and added those entries in both tnsnames on the local pc, and the tnsnames on the application server. Able to connect via sqlplus, toad, etc. but not through forms developer. We are running 10g app server, 10g developer suite, 10g databases. Any ideas?
    Thanks,
    Deb

  • Unable to connect to the database through OEM

    Hi,
    ORACLE VERSION: 10.2.0.1.0
    OPERATING SYSTEM:LINUX
    I was unable to connect to my database through OEM.It is showing error like this in my OEM .
    Enterprise Manager is not able to connect to the database instance. The state of the components are listed below.
    The below is the list of errors written in the trace file .
    2009-07-13 14:55:18,351 [EMUI_14_55_18_/console/aboutApplication] ERROR em.console doGet.311 - java.lang.IllegalStateException: Response has already been committed
    java.lang.IllegalStateException: Response has already been committed
         at com.evermind.server.http.EvermindHttpServletResponse.resetBuffer(EvermindHttpServletResponse.java:1901)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:211)
         at oracle.sysman.emSDK.svlt.PageHandler.render(PageHandler.java:773)
         at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:396)
         at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:688)
         at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:291)
         at oracle.sysman.eml.app.Console.doGet(Console.java:135)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java:101)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
         at oracle.sysman.db.adm.inst.HandleRepDownFilter.doFilter(HandleRepDownFilter.java:123)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
         at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:239)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:793)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    2009-07-13 14:55:20,893 [HttpRequestHandler-25640626] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = ORA-01017: invalid username/password; logon denied
    2009-07-13 14:55:20,925 [HttpRequestHandler-25640626] ERROR eml.OMSHandshake getParameterFromDB.402 - ORA-01017: invalid username/password; logon denied
    2009-07-13 14:55:20,926 [HttpRequestHandler-25640626] ERROR eml.OMSHandshake processFailure.619 - OMSHandshake failed.(AGENT URL = http://VTL3200DB:3938/emd/main)(ERROR = INTERNAL_ERROR)
    2009-07-13 14:55:20,959 [HttpRequestHandler-23946437] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = ORA-01017: invalid username/password; logon denied
    2009-07-13 14:55:20,990 [HttpRequestHandler-23946437] ERROR eml.OMSHandshake getParameterFromDB.402 - ORA-01017: invalid username/password; logon denied
    2009-07-13 14:55:20,991 [HttpRequestHandler-23946437] ERROR eml.OMSHandshake processFailure.619 - OMSHandshake failed.(AGENT URL = http://VTL3200DB:3938/emd/main)(ERROR = INTERNAL_ERROR)
    2009-07-13 14:55:42,047 [OmsServiceDriver thread] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = ORA-01017: invalid username/password; logon denied
    2009-07-13 14:55:51,030 [HttpRequestHandler-12767107] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = ORA-01017: invalid username/password; logon denied
    2009-07-13 14:55:51,062 [HttpRequestHandler-12767107] ERROR eml.OMSHandshake getParameterFromDB.402 - ORA-01017: invalid username/password; logon denied
    2009-07-13 14:55:51,063 [HttpRequestHandler-12767107] ERROR eml.OMSHandshake processFailure.619 - OMSHandshake failed.(AGENT URL = http://VTL3200DB:3938/emd/main)(ERROR = INTERNAL_ERROR)
    2009-07-13 14:55:51,096 [HttpRequestHandler-28346522] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = ORA-01017: invalid username/password; logon denied
    2009-07-13 14:55:51,127 [HttpRequestHandler-28346522] ERROR eml.OMSHandshake getParameterFromDB.402 - ORA-01017: invalid username/password; logon denied
    2009-07-13 14:55:51,127 [HttpRequestHandler-28346522] ERROR eml.OMSHandshake processFailure.619 - OMSHandshake failed.(AGENT URL = http://VTL3200DB:3938/emd/main)(ERROR = INTERNAL_ERROR)
    2009-07-13 14:56:21,162 [HttpRequestHandler-32110028] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = ORA-01017: invalid username/password; logon denied
    2009-07-13 14:56:21,193 [HttpRequestHandler-32110028] ERROR eml.OMSHandshake getParameterFromDB.402 - ORA-01017: invalid username/password; logon denied
    2009-07-13 14:56:21,194 [HttpRequestHandler-32110028] ERROR eml.OMSHandshake processFailure.619 - OMSHandshake failed.(AGENT URL = http://VTL3200DB:3938/emd/main)(ERROR = INTERNAL_ERROR)
    2009-07-13 14:56:21,227 [HttpRequestHandler-12767107] ERROR conn.ConnectionService verifyRepositoryEx.433 - Invalid Connection Pool. ERROR = ORA-01017: invalid username/password; logon denied
    2009-07-13 14:56:21,258 [HttpRequestHandler-12767107] ERROR eml.OMSHandshake getParameterFromDB.402 - ORA-01017: invalid username/password; logon denied
    2009-07-13 14:56:21,259 [HttpRequestHandler-12767107] ERROR eml.OMSHandshake processFailure.619 - OMSHandshake failed.(AGENT URL = http://VTL3200DB:3938/emd/main)(ERROR = INTERNAL_ERROR)

    Invalid Connection Pool. ERROR = ORA-01017: invalid username/password; logon denied
    Don't say password is correct, if password is correct then tell us what last changes you did. did you change SYSMAN password throught alter user ...identified ... ?
    Regards,
    Taj

  • Unable to connect to the database to product shared services

    Hi
    I got an error in configuring shared services with the Oracle server database
    "" Unable to connect to the database to product shared services ""
    I created a database that is working properly when accessed by a client.
    I typed everything in config utility, Does we need to take care of any other servies?
    I appreciate if any one help with this.
    Thanks
    Abel Junior
    Version: Hyperion System 9 and Oracle 9i

    John is of course correct that XP is not a supported environment for Essbase 9.3.x.
    Having said that, I have successfully installed Shared Services, Essbase, and EAS on multiple XP laptops. I have done so with 9.2 (painful) and 9.3.1 (just about painless) although always against SQL Server. This is strictly for development/kick the tires work, never as a production environment.
    Planning has quite an issue with XP (and Vista) although I have heard that there is a Windows Registry fix for this.
    Of course Oracle support is going to gong you if you call up with questions about your laptop -- it isn't supported.
    One last thing -- Shared Services and laptop suspends =! stability. For my development purposes, I have backed off Shared Serivces and just go with Essbase as a service with native security and EAS.
    Regards,
    Cameron Lackpour
    P.S. VMs are probably the way to go if your desktop/laptop has the horsepower to drive a proper OS with the VM overhead. On a 4 gigabyte laptop with a Duo Core (no, not a Mac, I just can't remember what Intel calls it -- the power of marketing) VMServer running Windows Server 2003 and the full stack is pretty slow, but it works.

  • "Unable to connect to the database" when connected to corporate network

    Hi
    Installed Primavera P6 V7 and Oracle 10g in Stand alone on XP 32bit machines with SP3. When our machines are NOT connected to the corporate network it works fine.
    However when connected to the network we can not access the locally stored database. We get message "primavera unable to connect to the database. would you like to configure the database connection now"
    Database on servers that we set up are fine regardless.
    If we connect machines to just the internet, again no issues.
    So something is stopping Primavera opening local database when connect on our corporate network.
    Any ideas please?
    Thanks

    This may be a long shot but look into how your TNSNAMES.ora file is being distributed on the domain (or are you possibly utilizing LDAP.ora on the domain side?).
    Some time ago I remember a company scripting an ENV variable on domain logon that altered where the Oracle client would pull the TNSNAMES from.

  • Unable to connect to oracle driver

    I am unable to connect to oracle driver. My code is as follows --
    try {
    Class.forName("oracle.jdbc.OracleDriver").newInstance();
    } catch (ClassNotFoundException e) {
    System.out.println("Can't find class oracle.jdbc.OracleDriver");
    System.exit(1);
    } catch (Exception e){
    e.printStackTrace();
    When I run the code, I am getting the 'ClassNotFoundException'. I have JVM 1.4 and have included classes12.zip and ojdbc.jar in the class path.
    What am I missing?

    or better yet, upgrade to a less ancient driver jar.
    The driver classname you supplied is correct for Oracle 9i and later, but the driver jar you use is for Oracle 8. It's also for Java 1.2 (hence the "classes12" name), and seriously lacking in features and performance compared to more modern versions.
    Of course if you're stuck with a 10 year old database version you have little recourse but to use it, but no reputable company would use something that old any longer, especially since it's been out of support for ages.

Maybe you are looking for

  • Half the iphoto library won't display

    I am using iphoto 2.0.1 the library is on an external hard drive (200gig) and all the pictures are in their folders. However I just went to look at pictures using iphoto and pictured downloaded between march 3 and today do not show. There are data fi

  • My Safari shortcut Cmd+Opt+B doesn't work. Please Help.

    Hi fellow MacBook Pro Users, My Safari shortcut Cmd+Opt+B, to show and hide all bookmarks doesn't work.  The same shortcut is used in a third party app Scrivener and it doesn't work there too.  I had a look at all my keyboard shortcuts listed in Syst

  • My Wireless HP ENVY 4500 All-In-One Printer Has Stopped Printing PDF Files

    I installed the subject wirelessly printer about 1 years ago. It works quite well with my iMac OS X10.9.1 desktop and my Win7 laptop PC. But, it recently stopped printing PDF files for no apparent reason, and I get no error messages. It won't print P

  • Requirement type of return delivery

    Dear all, In our system, requirement types determination is based on the Strategy Groupe of material master. This works very well as we have different form of deliveries. The problem are the return deliveries. We would like to have an other requireme

  • TS3499 Problem charging macbook pro

    I'm using an L-shaped magsafe power adapter on a 2008 15 inch Macbook Pro.  Oddly enough, it will only charge it if the macbook is tilted. Why isn't it charging normally?