Oracle 8i client connection problem

Hello
I have installed the Oracle 8i Client S\w on to my machine and have put in the required and correct Net Service names etc... Have also added the JDBC drivers in the Path field!
But still when I run a sample Java program checking jdbc connections... i get an error ORA:12560 TNS: Protocol Adapter error
Can anyone please help me resolve it?
thanks in advance
priya

Hi
Thank you for replying.
The TNSNAMES.ora file looks very fine and I have also checked the listener, which works fine too! But still I can not connect to the main databse thru the dev. machine! It would be very nice if someone can help me coz this is getting serious and urgent!
thanks a lot
Priya
Make sure you have the proper tnsnames.ora
in your ORACLE_HOME\network\admin directory.
Jack
null

Similar Messages

  • A client connection problem....

    Hi All,
    I have a client connection problem.
    The project which i did with C# (vs.net 2005) and Oracle XE , works well on my developer machine but i am getting a connection string error on the client side. The error comes from System.Exception class not from OracleException.
    The properties of the Oracle.DataAccess reference are ;
    Description: Oracle.DataAccess.dll
    Runtime Version:v1.0.3705
    Version: 10.2.0.100
    Path: C:\oraclexe\app\oracle\product\10.2.0\server\bin\Oracle.DataAccess.dll
    The sample code is:
    using Oracle.DataAccess.Client;
    using Oracle.DataAccess.Types;
    private void button1_Click(object sender, EventArgs e)
    OracleConnection cnn = new OracleConnection();
    OracleCommand cmm = new OracleCommand();
    try
    cnn.ConnectionString = "USER ID=" + textEdit1.Text + ";PASSWORD=" + textEdit2.Text +
    ";DATA SOURCE=" + textEdit3.Text + ";";
    DataSet ds = new DataSet();
    cmm.Connection = cnn;
    cmm.Connection.Open();
    cmm.CommandType = CommandType.Text;
    cmm.CommandText = "SELECT * FROM FORMS";
    OracleDataAdapter ad = new OracleDataAdapter(cmm);
    ad.Fill(ds);
    gridControl1.DataSource = ds.Tables[0];
    cmm.Connection.Close();
    cnn.Dispose();
    catch (OracleException oexx)
    MessageBox.Show(oexx.Message,"From OracleException");
    cmm.Connection.Close();
    cnn.Dispose();
    catch (Exception exx)
    MessageBox.Show(exx.Message,"Fromn Exception");
    cmm.Connection.Close();
    cnn.Dispose();
    And the error message is:
    'user ıd' is an invalid connection string attribute --> Oracle.DataAccess
    Any idea ?
    Thanks in advance for your help.
    Adam

    1. What is the client machine locale? Is it Turkish by any chance?
    2. Try using lowe case "user id" in the connection string instead of upper case "USER ID".

  • 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 10g client connect to oracle 11g server

    Hi All,
    In my system, i have installed oracle 11g server(11.1.0.6.0). while i try to connect to this server by 10g client in my friends system,which is in the same network,it is showing
    ORA-12545: Connect failed because target host or object does not exist,
    then i tried with other system (using oracle10g client), its showing
    ORA-12154: TNS:could not resolve the connect identifier specified
    then i tried with one another system (using oracle 9i client) -- its is connected.
    what may be the problem. not connecting using oracle 10g client. and also different error.

    user12479258 wrote:
    Hi,
    The client version is 10.2.0.1
    this version may not be connect to oracle 11g?
    If so then which are the client version will connect to oracle11g server(11.1.0.6.0).A 10.2 client will connect to an 11.x database, but the sqlnet.ora and tnsnames.ora files must be configured correctly. The errors you reported are not uncommon and have been diagnosed repeatedly on this forum. Let's not confuse the issue by comparing / copying files from various machines, as that has already created a moving target of error messages.
    On the client that is exhibiting the problem ...
    Do you have a single ORACLE_HOME? A single TNSNAMES.ORA?
    On that machine, at a command prompt, do a tnsping on the service in question. Also try to connect with sqlplus. Copy the entire session -- commands and results -- and paste it all back here.
    On the server machine, log on as the owner of the oracle software, and at a command prompt enter the command "lsnrctl status". Again, Copy the entire session -- commands and results -- and paste it all back here.

  • Oracle 9 client connecting to 10g server

    Hello,
    Is it possible to connect an Oracle 9i client to an Oracle 10g server? Is there any known issues/problems with that?
    Because I'm facing the issue that with the same application connecting to different oaracle versions, when I connect to the 10g I get some connection errors, I'm wondering if going back to client 9i and connect to a 10g server would be a good test.
    Thanks in advance,
    Lucas.

    If Oracle knows little about connection pools it is true. If by changing the Oracle version some issues arise I wouldn't immediately discard the interoperability version issue.
    In this case the OP faces probably a big issue. The application has to be upgraded and all the compatibility matrix revisited. The main problem when working with unsuported versions is that in case it has to do with a bug from 9i Oracle has limited support by means of the Extended Support option.
    Does it have to actually do with interoperability, bugs or application configuration is something that cannot be accurately established after the partial information provided by the OP.
    ~ Madrid
    http://hrivera99.blogspot.com

  • Oracle 11g client Update Problem

    Hi ,
    I have problem with oracle 11g client, I have a treatment that is has selected information and update after the last treatment.The problem is that the update is sometimes the enssemble fields, even those I do not want to update.
    I use the 11g client with c #, my procedure is like update WHERE num = @ aram.I have doubts about the problems of loss of connection, because it give me the log: host not found, but there is a transaction, and in case of emergency I did a rollback.is there anyone who approaches to this problem??I took you to kindly help me, because the project and in production mode

    Apart from the fact that this has nothing to do with Oracle Forms the certifications and the version checks of the installer are there for a reason. Copying one version file doesn't make your RHEL6 a RHEL3. RHEL6 most certainly uses a different kernel, different libraries, different everything then RHEL3 (yes, Software Vendors change version numbers of their products not just for fun!). You might get lucky (using your friend google) that you get it working with some effort, but this doesn't guarantee that everything works and given the fact that this is not certified getting help is not that easy. Better yet is to save yourself the time and stick with certified combinations (maybe use OEL insted of RHEL?)
    cheers

  • 2504 controller + 2602 APs = wireless clients connectivity problems

    Hello, everybody!
    I have a connectivity problems of wireless clients. The symptoms are:
    1) Some clients receive 169.254.x.x., instead a correct DHCP addresses, less in a minute connection drops, and in controller's "Monitor" > "Clients" tab these clients are marked as "Excluded".
    2) Most of the clients receive the correct addresses from DHCP (192.168.2.x), but also loose connection soon.
    3) Wireless clients with correct addresses can't ping each other, gateway and an address of the controller's dynamic interface (all of them are in same subnet).
    4) And the most suspicious problem is that some machines are unable to connect to APs after several attemps to do that. I mean, I configure controller and change some options, trying to understand, whether they were applied or not and constantly connect and disconnet certain PC to the SSID. After five or ten attempts I can't connect to the SSID. During these attempts, the others PCs stay connected, without interruptions, and they could be reconnected again. It's like some kind of port security works, but I'm not sure...
    Do you have any ideas which options should I configure?
    My configuration:
    I have three interfaces on the controller: virtual, management (default) and dynamic (it is set to the WLAN)
    I have one SSID, WPA/WPA2, AES/TKIP, authentication PSK.
    My clients are a/b/g/n, all are permitted on the controller. No custom security policies were applied.
    All the devices are in a single room: controller, one AP and different clients: desktop, notebooks, iPad, Nokia Lumia, etc.
    I have an internal DHCP Server on the controller and it works perfectly well.
    I can provide all the screenshots required from web-interface of the controller...
    Many thanks in advance for all ideas that you have about these problems...

    Hi, there!
    The problem was solved.
    1) APIPA address receives only single machine with Win8 - I think there are some firewall issues
    2) Other devices have been loosing connection because they were mobile devices, like iPad and Lumia. If you keep working with it, it doesn't drop the connection
    3) The dynamic interface address and gateway address were inaccessible because i had not used an appropriate port on the controller. =)))) Firstly, it was just a guess, but it proved.
    Now, everything works with WPA2, AES, PSK...
    It is a very good day!)
    The only question remains: why I can't connect machines, which have a static IP? During the controller initialization, I said "yes" for permitting static IPs...
    Guys, many thanks for your help!

  • CSCum49200 - 7.6 Broadcom client connectivity problems if WMM enabled w/ ap2600

    I have this issue when using Apple Macbook Pro in my network.
    I have seen in thsi forum this problem occurs only with 3600 APs, but i`m having this same problem using 2602 APs.
    can someone tell me if this is the same problema and if i cansolve this disbling the WMM?
    Rgs

    I too am having a connection problem with Apple Macbook Pro (2013 retina) and Cisco WAP 2602.
    I am running 7.6.110.
    I have not tested disabling WMM. 
    I really need a fix for this!!!

  • Instant Client Connection Problem - Excel 2007 to Oracle 10g

    Dear users,
    I would some help to connect Excel to Oracle.
    I am using Excel 2007 (32-bit) on Windows Vista Enterprise 64-bit. I want to connect to an Oracle 10g database through our local network using ODBC. I need to fetch some data once into an excel sheet.
    There are no firewall issues or connection issues between my current machine , as I can connect from my machine, using SQL developer as a local client to the Oracle Database which is on another machine on the network.
    I tried to make an ODBC connection but Oracle is not listed as a driver.
    I beleive ODBC is the best way to do this, but please correct me if I am wrong.
    It is an Oracle 10G database.
    I downloaded instantclient-basiclite-windows.x64-11.2.0.2.0.zip a
    I also downloaded the extra ODBC components: *Instant Client Package - ODBC: Additional libraries for enabling ODBC applications.
    I unzipped both in a folder called C:\instantclient_11_2
    The system path included that. I checked after rebooting.
    I placed my tnsnames.ora (which I copied from the server) in that folder.
    I got ti from the server : D:\Oracle\Ora10gR2DB\network\admin\tnsnames.ora
    I ran the exe "odbc_install" and It told me the ODBC was intalled successfully.
    When I went the control panel, administrative tools, ODBC
    In the user dsn tab
    I added a new entry. I chose the Oracle driver (previously it was not in the list)
    Used the following values
    Data Source name: OracleL
    Description 123
    TNS Service NAme: I chose fro ma drop down menu our prod environment. (There are two entries with the production name, one in caps and the other in lowercase)
    Userid: my username
    I tried Test the connection and got this:
    Unable to Connect
    SQlState=S1000
    [Oracle][ODBC][Ora]ORA-12545: Connect failed because target host or object does not exist
    Any suggestions please.
    Thnaks in advance.
    A.
    Thanks for all your help, in advance.
    Akajohn.
    Edited by: user12282521 on May 19, 2011 1:47 PM

    user12282521 wrote:
    I would some help to connect Excel to Oracle.
    I am using Excel 2007 (32-bit)
    I downloaded instantclient-basiclite-windows.x64-11.2.0.2.0.zip aIf Excel is 32-bit (2007 is) and Oracle client libraries are 64-bit, it won't work. 32-bit needs 32-bit.
    You probably should remove current ic packages and get the 32-bit ones instead.
    Start over.
    When I went the control panel, administrative tools, ODBCOn Windows x64, to manage 32-bit ODBC DSNs/drivers one needs to run the tool from Windows\SysWoW64\odbcad32.exe.

  • Oracle 11g XE Connectivity Problems

    Hi to all and thanks for the attention !
    Quick facts
    OS : Microsoft Server 2008 R2 (x64)
    Oracle Version : 11g XE (x32)
    Database name : XE
    I've been fighting over with providers for a whole day and I can't seem to make this work out,
    I have an application(Web, on a IIS 7) that connects to a schema, the connection uses a Oracle Provider For OleDB, well at first I was getting a "Provider not registered" error, that was easy I only had to make the app run on x32 and puf the error changed, so I quickly set up the Data Source ( with the data source manager located in WOW64 ) with a oracle ole db provider, no problems, I can click on it, it will ask me for a user/password and when I click test connection I works just like I would expect it to work, now back to the application, when i set the connection string up, I get a error from the app : ORA-12154 TNS:could not resolve the connect identifier specified. So went up and tried making a udl ( invoking again the x32 ), same error ORA-12154 so I started digging and so far so good what I got is, "try tnsping <instance_Name>", did it, and got an OK (40ms) (though I had to navigate to bin folder, which was not explained in the posts, perhaps this means something ?) and also registered the oraoledb11.dll with regsvr32
    Oh ! And I can connect to the database with sqldeveloper
    I know really little of Oracle, any thoughts ?
    Thanks again !

    ORA-12154 ALWAYS only occurs on SQL Client & no SQL*Net packets ever leave client system
    ORA-12154 NEVER involves the listener, the database itself or anything on the DB Server.
    ORA-12154 occurs when client requests a connection to some DB server system using some connection string.
    TNS-03505 is thrown by tnsping & is same error as ORA-12154 thrown by sqlplus or others.
    The lookup operation fails because the name provided can NOT be resolved to any remote DB.
    The analogous operation would be when you wanted to call somebody, but could not find their name in any phonebook.
    The most frequent cause for the ORA-12154 error is when the connection alias can not be found in tnsnames.ora.
    The lookup operation of the alias can be impacted by the contents of the sqlnet.ora file; specifically DOMAIN entry.
    So post the content of the sqlnet.ora file.
    TROUBLESHOOTING GUIDE: ORA-12154 & TNS-12154 TNS:could not resolve service name [ID 114085.1]
    http://edstevensdba.wordpress.com/2011/02/26/ora-12154tns-03505/

  • Oracle/ SQL Developer connection problem.

    I have installed Oracle 11 g and SQL Developer, When I open SQL Developer and try to make a new connection ( I name the connection, put a user name in, put my password in), I click on "Test" and I get this error:
    Status: Failure - Test failed: Listener refused the connection with the followong error:ORA-12505, TNS: listener does not currently know of SID given in connect descriptor The connection descroptor used by the client was:localhost:1521:ex
    Can anyone explain this to me and help me resolve this issue I am having?
    Thank you in advance for your help
    -steve
    p.s. I have also tried the user name: Scott and Password: Tiger

    Windows 7 Home ... will have challenges at some point, as Oracle may not be completely compatible with Windows 7.
    Aside from that, you may find firewall issues even if you are on the same machine, since the default connection from SQLDeveloper is to use the network (even loopback).
    First step is to verify that the database and listener are running and that the database is registered to the listener. TO do that, drop into command line and issue:
    1) Listener
    lsnrctl statuswhich will give one of two results, if properly installed. First - listener is down
    C:\temp>lsnrctl status
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 07-FEB-2010 20:48
    :13
    Copyright (c) 1991, 2005, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
      TNS-00511: No listener
       32-bit Windows Error: 2: No such file or directory
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=FCC003L)(PORT=1521)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
      TNS-00511: No listener
       32-bit Windows Error: 61: Unknown errorIf the above is displayed, check the Service applet (Control Panel -> Admin Tools > Service) to ensure serivce is up, or enter "lsnrctl start", in which case the status shoud show
    C:\temp>lsnrctl status
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 07-FEB-2010 20:46
    :40
    Copyright (c) 1991, 2005, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Produ
    ction
    Start Date                05-FEB-2010 14:42:10
    Uptime                    2 days 6 hr. 4 min. 30 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Default Service           XE
    Listener Parameter File   C:\oracle\app\oracle\product\10.2.0\server\network\adm
    in\listener.ora
    Listener Log File         C:\oracle\app\oracle\product\10.2.0\server\network\log
    \listener.log
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=FCC003L)(PORT=1521)))
    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...
    The command completed successfully
    C:\temp>2) After the service is verified up, make sure the database is up
    sqlplus / as sysdbawhich should respond with something like
    C:\temp>sqlplus / as sysdba
    SQL*Plus: Release 10.2.0.1.0 - Production on Sun Feb 7 20:43:12 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    SQL>if it gives something like
    C:\temp>sqlplus / as sysdba
    SQL*Plus: Release 10.2.0.1.0 - Production on Sun Feb 7 20:44:49 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    ERROR:
    ORA-12560: TNS:protocol adapter errorthe pull up the Control Panel, Admnistration Tools, Services and start the database. Then recheck the listener and it shoudl show some additional services such as
    Service "PLSExtProc" has 1 instance(s).
      Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "TEST" has 1 instance(s).
      Instance "xe", status READY, has 1 handler(s) for this service...
    Service "XEXDB" has 1 instance(s).
      Instance "xe", status READY, has 1 handler(s) for this service...
    Service "XE_XPT" has 1 instance(s).
      Instance "xe", status READY, has 1 handler(s) for this service...
    Service "xe" has 1 instance(s).
      Instance "xe", status READY, has 1 handler(s) for this service...
    The command completed successfullyIn the above, remember the "xe" from 'Service "xe" has 1 instance(s).'. I expect to see something about that in the TNSNAMES.ORA file in your ORACLE_HOME\network\admin directory. That file should have an entry like
    XE =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = FCC003L)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = XE)
      )and you will note the XE on the left side of the equal sign (which is a network alias), and one XE in the (SERVICE_NAME = XE) line. On YOUR system, the XE should be replaced by whatever you called your database (often 'orcl'). REMEMBER THIS ALIAS;-) and also make note of the host that your entry uses. If your host name changes because of DHCP, you're hooped (for a while).
    If the database is registered (shows up in the list), the next step is to make sure a userid is available. You could use 'system' (try to avoid using SYS since it is the master userid and if you mess that up, you mess up all your homework. In a production encvironment, every access to SYS will be audited.
    So, let's create a userid called me with (in 11g case sensitive) password 'myself'. Make sure that user is allow to log in (create session) and create a table.
    C:\temp>sqlplus system/oracle
    SQL*Plus: Release 10.2.0.1.0 - Production on Sun Feb 7 20:54:38 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    SQL> create user me identified by myself;
    User created.
    SQL> rem to show you how to change password ...
    SQL> alter user me identified by myself account unlock;
    User altered.
    SQL> grant create session, create table to me;
    Grant succeeded.
    SQL> exit
    Disconnected from Oracle Database 10g Express Edition Release 10.2.0.1.0 - Productionand now see whether we can log in using the same 'network' technique we will later use with SQLDeveloper.
    Do you remember the XE discussion above? Replace XE with the one on the left of the equal sign - the system looks that up to find which service it wants to access.
    C:\temp>sqlplus me/myself@XE
    SQL*Plus: Release 10.2.0.1.0 - Production on Sun Feb 7 20:58:26 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    SQL> select * from dual;
    D
    X
    SQL> exit
    Disconnected from Oracle Database 10g Express Edition Release 10.2.0.1.0 - ProductionIf the above worked, you should have no problem accessing the system using SQLDeveloper. You simply use the HOST, the PORT and the SID (alias) or service from the "lsnrctl status" output in the SQLDeveloper fields.
    If it did not work, try dropping the "@XE" to see whether you can get in (using the bequeath connection) which is useful for troubleshooting but will not help with the traditional SQLDeveloper connection. If you get in without the @XE (or whatever your alias is) but not with it, most likely either your listener is not up or your firewall is blocking the access to the listener.

  • Oracle server & client deinstallation problems

    my system configuration is:
    windows 2000 professionnal (SP2)
    on this machine, i had the oracle client software installed (verion 8.17)
    i needed the machine to install on it an oracle database, so i deinstalled the client software with the oracle 8.i CD and did not remove three datasources (user DSN driver microsoft ODBC for oracle) that used to work with the previous client version. Then, i installed the oracle server software and created the database.
    the problem at this step is that i could not use the data sources that i had nither could i use the driver to create another one.
    so, for the second time, i deinstalled the server software and installed the client software.
    my second problem, here, (after deinstalling the server software)is that i had the services oracleora81TNSListner and oracleserviceSID that are not removed and i can not stop nor resume
    i'm looking for your answer (what to do with these services and what is the solution for the data sources)
    regards

    user626162 wrote:
    So I need to install the oracle client on C and the Oracle Connection Manager on server B? Would you point me to the document on how to do this?Correct. A good place to start is probably the [Configuring and Administering Oracle Connection Manager|http://download.oracle.com/docs/cd/B19306_01/network.102/b14212/cman.htm#NETAG011] chapter in the Net Services Administrator's Guide.
    Justin

  • Oracle server - client connection question

    This is my problem:
    Server A : oracle server (behind the firewall)
    Server B: the bridge server
    Server C: my application is on who need to connect to the database on A
    C can not connect to A directly. But it can connect to B. What are my options? If I install an oracle client on B, then can I connect to the client who will connect to the db server on A? Do I need to install a client on C as well? does it work?
    Thanks,
    Chau

    user626162 wrote:
    So I need to install the oracle client on C and the Oracle Connection Manager on server B? Would you point me to the document on how to do this?Correct. A good place to start is probably the [Configuring and Administering Oracle Connection Manager|http://download.oracle.com/docs/cd/B19306_01/network.102/b14212/cman.htm#NETAG011] chapter in the Net Services Administrator's Guide.
    Justin

  • Oracle 11g XE connectivity problem

    Hello,
    I'm trying to setup a Virtual machine for test purposes using VMware Player.
    I'm following Oracle® Database Express Edition Installation Guide 11g Release 2 (11.2) for Linux x86-64: http://download.oracle.com/docs/cd/E17781_01/install.112/e18802.pdf
    As described there, I've installed Oracle Enterprise Linux 5 Update 2 from DVD V15099-01.zip(Enterprise-R5-U2-Server-x86_64-dvd.iso).
    After that followed the instructions in the guide and installed the XE database... so far no errors or problems... while testing from local ssh session :)
    [root@oracle11xe bin]# /etc/init.d/oracle-xe status
    LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 26-OCT-2011 02:04:22
    Copyright (c) 1991, 2011, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.2.0 - Production
    Start Date 26-OCT-2011 01:44:00
    Uptime 0 days 0 hr. 20 min. 22 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Default Service XE
    Listener Parameter File /u01/app/oracle/product/11.2.0/xe/network/admin/listener.ora
    Listener Log File /u01/app/oracle/diag/tnslsnr/oracle11xe/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oracle11xe.localdomain)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oracle11xe.localdomain)(PORT=8080))(Presentation=HTTP)(Session=RAW))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "XE" has 1 instance(s).
    Instance "XE", status READY, has 1 handler(s) for this service...
    Service "XEXDB" has 1 instance(s).
    Instance "XE", status READY, has 1 handler(s) for this service...
    The command completed successfully
    and
    [root@oracle11xe bin]# sqlplus system
    SQL*Plus: Release 11.2.0.2.0 Production on Wed Oct 26 01:51:12 2011
    Copyright (c) 1982, 2011, Oracle. All rights reserved.
    Enter password:
    Connected to:
    Oracle Database 11g Express Edition Release 11.2.0.2.0 - 64bit Production
    SQL> EXEC DBMS_XDB.SETLISTENERLOCALACCESS(FALSE);
    PL/SQL procedure successfully completed.
    SQL> exit
    [root@oracle11xe ~]# telnet 192.168.1.10 1521
    Trying 192.168.1.10...
    Connected to 192.168.1.10 (192.168.1.10).
    Escape character is '^]'.
    But now when I try access this VM box from my windows box, from where I have ping and can open SSH connection, I get "Could not open connection to the host".
    I've already disabled my windows firewall for the test - no good. Also SSH works over the network, so I don't think it's a firewall or network issue...maybe I'm missing something in listners configuration or some security setting somewhere?
    I've created screenshot http://img846.imageshack.us/img846/2931/oraissue.jpg .
    I'm looking forward to your suggestions, because I'm running out of ideas, I expected to be able to start this thing faster :)
    Regards,
    Pavel

    Hello,
    What sort of access? And ssh is working? putty? Using VM NAT, or bridged?
    Yes, from my desktop windows to the VM's eth0 interface I could use SSH without any concerns. Yes, I've used PuTTY Client for SSH. For VM is bridged.
    That's not relevant to accessing the VM, you'll need to open up ports in the VM host firewall. Port 8080 too if you want to access the Apex pages, along with opening port 1521 for the database listener.
    Yes, you are right - had to stop firewall on my VM box... since this is a dummy sandbox I just stopped firewall
    service iptables stop
    chkconfig iptables off
    After that SQL Developer Studio managed to open connection to the XE database on this VM box over the network. Thank you!
    You've got all the listener endpoints, including the http 8080 but setting up a server on dhcp isn't optimal unless you have dynamic DNS to register the VM IP for name resolution. Unless a dos box $ ping oracle11xe or $ ping oracle11xe.localdomain from the Win box gets the correct IP address of the VM ...
    Sorry I didn't get this one... Could you please give me more information.
    I've configured VM(oracle11xe.localdomain) to use static IP address(NO DHCP, I'd like to avoid involving the DHCP Server in my network in this simple test). This leads to me being able to ping it from Win Box only via IP address, what problems may show up from this? My idea was to avoid having problems, if for example I started the VM box in very different environment(lets say another network) and it gets some other IP address, because I didn't knew how oracle XE will feel about the new IP?
    Once again - Thank you. Original issue is solved!

  • Oracle Forms 10g & Oracle 10g DB Connection Problem

    Toady i have installed oracle forms 10g and oracle 10g db when i run my form it gives me this error how can i resolve it
    "ora-12154 tns could not resolve the connect identifier specified"
    Here are the values in forms 10g tns
    # tnsnames.ora Network Configuration File: C:\DevSuiteHome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = PLSExtProc)
              IMS =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = IMS)
    and here the values of forms 10g SQLnet
    # sqlnet.ora Network Configuration File: C:\DevSuiteHome_1\network\admin\sqlnet.ora
    # Generated by Oracle configuration tools.
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (LDAP, TNSNAMES, EZCONNECT, ONAMES, HOSTNAME)
    (description =
    # (address=(protocol=tcp)(host=localhost)(port=1383))
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (connect_data=(rpc=on))
    What changes should i make to overcome this problem.

    "ora-12154 tns could not resolve the connect identifier specified"The problem is local to the Forms Home, probably in tnsnames.ora (seems that there are tabs in IMS entry name). Carefully check it.$ oerr ora 12154
    12154, 00000, "TNS:could not resolve the connect identifier specified"
    // *Cause:  A connection to a database or other service was requested using
    // a connect identifier, and the connect identifier specified could not
    // be resolved into a connect descriptor using one of the naming methods
    // configured. For example, if the type of connect identifier used was a
    // net service name then the net service name could not be found in a
    // naming method repository, or the repository could not be
    // located or reached.
    // *Action:
    //   - If you are using local naming (TNSNAMES.ORA file):
    //      - Make sure that "TNSNAMES" is listed as one of the values of the
    //        NAMES.DIRECTORY_PATH parameter in the Oracle Net profile
    //        (SQLNET.ORA)
    //      - Verify that a TNSNAMES.ORA file exists and is in the proper
    //        directory and is accessible.
    //      - Check that the net service name used as the connect identifier
    //        exists in the TNSNAMES.ORA file.
    //      - Make sure there are no syntax errors anywhere in the TNSNAMES.ORA
    //        file.  Look for unmatched parentheses or stray characters. Errors
    //        in a TNSNAMES.ORA file may make it unusable.
    //   - If you are using directory naming:
    //      - Verify that "LDAP" is listed as one of the values of the
    //        NAMES.DIRETORY_PATH parameter in the Oracle Net profile
    //        (SQLNET.ORA).
    //      - Verify that the LDAP directory server is up and that it is
    //        accessible.
    //      - Verify that the net service name or database name used as the
    //        connect identifier is configured in the directory.
    //      - Verify that the default context being used is correct by
    //        specifying a fully qualified net service name or a full LDAP DN
    //        as the connect identifier
    //   - If you are using easy connect naming:
    //      - Verify that "EZCONNECT" is listed as one of the values of the
    //        NAMES.DIRETORY_PATH parameter in the Oracle Net profile
    //        (SQLNET.ORA).
    //      - Make sure the host, port and service name specified
    //        are correct.
    //      - Try enclosing the connect identifier in quote marks.
    //   See the Oracle Net Services Administrators Guide or the Oracle
    //   operating system specific guide for more information on naming.
    $

Maybe you are looking for

  • Expanding Text Fields, only when printed

    All, I have a dynamic form that has many text fields for user input. These fields have a fixed height, however allow multiple lines beyond the visible area. I don't want these text fields to expand when the field is exited, but rather when the form i

  • Oracle SOA Suite Install Error on Vista 64 bit

    Hi All, I am trying to install SOA Suite 10.1.3.1.0 on Vista 64 bit windows. I downloaded Correct version from the Oracle Site. when I click on Setup exe it is throwing following error? "The Version of this is file is not compatible with the version

  • Average mode DSOX2002A

    Deseo obtener las formas de onda medidas en los 2 canales del osciloscopio DSOX2002A cuando configuro el mismo en modo de Acquire Average, pues utilizo el código de ejemplo: "Agilent 2000 3000 X-Series Acquire Waveform.vi" pero no obtengo las formas

  • Project will not generate

    I am new to Robohelp. Great software. I have been working on a project with no problems. Generating and viewing the results. Something has happened! I no longer can generate. I click generate and nothing happens. No error message or anything! What st

  • Grid Control in VMWARE

    Hello all My customer uses vmware for there database environment, well aware that it isn't supported. Now I have installed Grid Control into a vmware server and have a problem. After the installation everything works as expected. I shutdown the OMS s