Connect to Oracle DB using DBCP and tnsnames.ora

I have a Spring-based web app that is running on Tomcat and uses DBCP to connect to Oracle.
The problem:
Need to pull database connection information from tnsnames.ora file. There is Oracle Client installed on a server, so tnsnames file is available.
According to JDBC documentation, the following url should do the trick: jdbc:datadirect:oracle:TNSNamesFile=c:\\oracle\\product\\10.2.0\\NETWORK\\ADMIN\\tnsnames.ora;TNSServerName=FITZGERALD.SALES
This leads to the following declaration in dataAccessContext-local.xml file:
+<bean id="dataSource" class="org.apache.tomcat.dbcp.dbcp.BasicDataSource" destroy-method="close">+
+<property name="driverClassName" value="oracle.jdbc.OracleDriver"/>+
+<property name="url" value="jdbc:datadirect:oracle:TNSNamesFile=C:\\oracle\\product\\10.2.0\\db_1\\network\\admin\\tnsnames.ora;TNSServerName=TESTDB"/>+
+<property name="username" value="${jdbc.username}"/>+
+<property name="password" value="${jdbc.password}"/>+
+</bean>+
This doesn&rsquo;t work for me saying that database url is invalid.
Can anyone provide instructions on how to set up DBCP with tnsnames.ora?
Any help greatly appreciated.

You are right, the I got that url may not be correct. I got it from datadirect documentation.
I couldn�t find any good information or examples on this, but I think using TNS keyword-value pairs and tnsnames.ora is supported by type4 Oracle 10g JDBC.
Some info I found in section �Connecting to the Database through the Applet� in JDBC Reference http://download.oracle.com/docs/cd/B19306_01/java.102/b14355/jdbcthin.htm#CACCHECD
I guess there is something off in that documentation though. I couldn't get it working.

Similar Messages

  • Cant connect to Oracle database using oracle db client

    Hi All,
    I recently created a virtual machine running windows server 2008 on my windows 7 host. Oracle database 11g is already installed on host OS(windows 7) and I have installed oracle 11g client on the guest OS(windows server 2008) and trying to connect to oracle database from remote server using oracle client but getting this error:
    ORA-12504: TNS:listener was not given the SERVICE_NAME in CONNECT_DATAI am trying to connect using oracle client as below:
    C:\Users\Administrator>SET ORACLE_SID = HR84DEV
    C:\Users\Administrator>SQLPLUS /NOLOG
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Feb 10 06:16:34 2012
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    SQL> CONNECT SYSADM/[email protected]
    ERROR:
    ORA-12504: TNS:listener was not given the SERVICE_NAME in CONNECT_DATA
    I have created database with name - HR84DEV
    HOST ip address is - 192.168.56.1
    I googled this error and as most of resources/blogs talked about having correct entry on listner.ora and tnsnames.ora file, I did the changes on both of these files accordingly.
    PFB the cotent of both of these files:
    tnsnames.ora
    # tnsnames.ora Network Configuration File: C:\MyApps\Oracle\product\11.2.0\dbhome_\NETWORK\ADMIN\tnsnames.ora
    # Generated by Oracle configuration tools.
    LISTENER_ORCL =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.56.1)(PORT = 1521))
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    HR84DEV =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.56.1)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = HR84DEV)
    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    listner.ora
    # listener.ora Network Configuration File: C:\MyApps\Oracle\product\11.2.0\dbhome_\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\MyApps\Oracle\product\11.2.0\dbhome_)
    (PROGRAM = extproc)
    (ENVS = "EXTPROC_DLLS=ONLY:C:\MyApps\Oracle\product\11.2.0\dbhome_\bin\oraclr11.dll")
    (SID_DESC =
    (SID_NAME = HR84DEV)
    (ORACLE_HOME = C:\MyApps\Oracle\product\11.2.0\dbhome_)
    (PROGRAM = extproc)
    (ENVS = "EXTPROC_DLLS=ONLY:C:\MyApps\Oracle\product\11.2.0\dbhome_\bin\oraclr11.dll")
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.56.1)(PORT = 1521))
    ADR_BASE_LISTENER = C:\MyApps\Oracle
    Please not that I dont have any problem in connect to database locally.

    Thanks Nicolas,
    Actually, there was a problem with my oracle client installation. I uninstalled it and then installed back again but still, even after following your instructions I get some error.
    Here what I did:
    Created tnsnames.ora file as below:
    HR84DEV =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.56.1)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = HR84DEV)
    Placed it under appropriate directory and then checked the connection with database using the command shown below:
    C:\Users\Administrator>tnsping HR84DEV
    TNS Ping Utility for 32-bit Windows: Version 11.2.0.1.0 - Production on 10-FEB-2
    012 08:42:03
    Copyright (c) 1997, 2010, Oracle. All rights reserved.
    Used parameter files:
    C:\MyApps\Administrator\product\11.2.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.56.1)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = HR84DEV)))
    OK (20 msec)
    Then tried to connect to database as below:
    C:\Users\Administrator>SET ORACLE_SID=HR84DEV
    C:\Users\Administrator>SQLPLUS /NOLOG
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Feb 10 08:25:56 2012
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    SQL> CONNECT SYSADM/SYSADM@HR84DEV
    ERROR:
    ORA-28547: connection to server failed, probable Oracle Net admin error
    But still getting error.
    I Googled this error and tried to figure out what the problem is and came across the possible cause which is because I haven't specify that the service should run as a user who is in domain admin group.
    well, I am not really sure about this and dont know what user name and password I should enter in OracleserviceHR84DEV-properties-log on-this account.
    do I really need to set this?

  • Connect to oracle database using c program

    I am using AIX environment and i want to connect to oracle database using c program.

    http://download.oracle.com/docs/cd/E11882_01/appdev.112/e10825/pc_03dbc.htm#i5880

  • Can we connect to oracle 9i using vb6.0 in 64 bit machine.

    Can we connect to oracle 9i using vb6.0 in 64 bit machine.
    Code i have written is
    dim conn as new ADODB.Connection
    conn.open("Provider=MSDAORA.1;password=pw;user id=usname;data source=dbname;Persist Security info=false")
    but it is throwing an error saying
    "Connection not open"
    But the same code is working in vb.net.
    Do we need to install any providers for 64 bit machine?

    I have had no luck doing this in the 64-bit ODAC or otherwise. If anybody succeeds I would love to hear about it. My experience follows for those interested:
    I am trying to migrate some working VB6 code from Windows 2000 Server to 64-bit Windows Server 2003 but can't get the OLEDB connection to Oracle to work.
    In the working code (x86 environment), I am using ADO 2.8 and Microsoft OLEDB Provider for Oracle (MSDAORA). Since the Microsoft OLEDB provider for Oracle is no longer supported or available on Windows Server 2003 x64, I tried to use the 32-bit Oracle OLEDB provider in ODAC 10.2 but may have run into the parsing bug posted on MSDN (http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=159581). Next, I successfully installed the beta 64-bit version of ODAC 10.2, but when I try to open the connection I receive "Error 3706 Provider cannot be found. It may not be properly installed." However, I can successfully TNSPing the data source.
    Windows Server 2003 x64 (not Itanium)
    Oracle Enterprise 9.2
    Microsoft Visual Basic 6
    Microsoft ADO 2.8 (Objects & Recordset references)
    Oracle OLEDB Provider (ODAC 10.2, 64-bit)
    Code Snippet:
    Set m_dbConn = New ADODB.Connection
    With m_dbConn
    .ConnectionString = "Provider=OraOLEDB.Oracle;Data Source=oplprod; User ID=myid; Password=mypwd;"
    .ConnectionTimeout = 10
    .CursorLocation = adUseClient
    .Open
    End With

  • I lost my connection when I was using internet and when I want to reconnect to airport it give me connection timeout error, I changed my password on router but still doesn't work. How can i fix my problem?

    Hi,
    I lost my airport connection when I was using internet and when I wanted to re-reconnect to airport it gave me connection timeout error, I changed my password on router but still doesn't work. How can i fix my problem?

    Hello there hastibahreini,
    It sounds like you were using your Wi-Fi network from your Airport base station and the connection cut out. You have reset the password on the device but the issue persists. I would try the 3 resets outlined in the following article in order to help resolve the issue. If it persists, is the Wi-Fi connection issue happening on more than one device or computer?
    Resetting an AirPort base station FAQ
    http://support.apple.com/kb/ht3728
    Thank you for using Apple Support Communities.
    Cheers,
    Sterling

  • Oracle environment variable tns_admin instead tnsnames.ora

    Hi, I have a big trouble with the tns_name file. First of all I am working oracle with visual studio .net. I have the file tns_name in the following route C:\oracle\ora92\network\ADMIN\tnsnames.ora. If I delete this file, visual studio .net can still work properly. Then I figured out that it is taking the tnsnames from tns_admin in environment variables. It means visual studio .net is taking the tnsnames from tns_admin instead of C:\oracle\ora92\network\ADMIN\tnsnames.ora.
    Can someone explain me why and how is the way to configure which file is used? Where can I configure it?
    Thanks in advance.

    it throws the following error: ora-12154 tns could not resolveORA-12154 ALWAYS only occurs on SQL Client & no SQL*Net packets ever leave client system
    ORA-12154 occurs when client requests a connection to some DB server system using some connection string.
    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.

  • Listener.ora and tnsnames.ora

    What are the differences between the files listerner.ora and tnsname.ora in terms of their functions? Their contents are so similiar. Thks.
    A beginner

    I need to use ADO with the connection string
    "provider=sqloledb; server=OrclServer;
    DATABASE=PMSYS;UID=PMUSER;PWD=" in the application IWhy do you "need" to use the MS OLE DB data provider for SQL Server (SQLOLEDB)?
    And the rest of the connection string you are trying to use looks like one for odbc dsn-less connection. Be sure you are using the correct syntax when you have decided on the type of data access api that is suitable for your application and database.
    You should probably be using OraOLEDB.Oracle data provider, Like Sybrand suggested. Also, be aware of other obsolete providers such as msdaora and msdasql - I'd suggest that you do not use these for a new application (unless you really know what you are doing).
    If you are developing with .NET Framework, then you have another range of data providers to choose from. If you are developing for Oracle data sources, the one from Oracle should be your first choice: ODP.NET.
    Message was edited by:
    orafad

  • How to write the listener.ora and tnsnames.ora

    Hi, there
    I store my oracle database in the machine A. In the machine B,
    it only install the oracle without create database. How should
    I write the
    listener.ora and tnsnames.ora? So that the machine B could
    acces the database which store in the machines A.
    Could you give me a simple example and with some description.
    Thanks you very much!!
    null

    wrjih (guest) wrote:
    : Hi, there
    : I store my oracle database in the machine A. In the machine B,
    : it only install the oracle without create database. How should
    : I write the
    : listener.ora and tnsnames.ora? So that the machine B could
    : acces the database which store in the machines A.
    : Could you give me a simple example and with some description.
    : Thanks you very much!!
    1 - you can simply copy the files from the server to the client.
    If they are correct, it must work fine
    2 - Follow the examples inside the
    $ORACLE_HOME/network/admin/samples
    3 - Follow my examples:
    I will try to make it simple:
    The server must have the listener.ora. The client does not need
    it if you don't have a database there.
    I cannot tell you what is mandatory in the file, and what is not.
    The listener.ora has the interface (addr or name)
    to listen, the port/proto, and some info about your database
    ($ORACLE_HOME and Name).
    #--- Listener.ora -- my minimal settings ---
    LISTENER =
    (ADDRESS_LIST =
    (ADDRESS=(PROTOCOL= TCP)(Host=Server)(Port= 1521))
    (ADDRESS=(PROTOCOL= IPC)(KEY = ORCL))
    STARTUP_WAIT_TIME_LISTENER = 1
    CONNECT_TIMEOUT_LISTENER = 10
    TRACE_LEVEL_LISTENER = OFF
    TRACE_LEVEL_CLIENT=OFF
    SID_LIST_LISTENER =
    (SID_LIST=(SID_DESC=
    (SID_NAME = SACS)
    (ORACLE_HOME=/oracle/805)))
    #---- end of listener.ora ---
    Both machines can, and should have similar TNSNAMES.ORA:
    tnsnames.ora has the address or name of the server, and the Name
    of the database you wish to connect to.
    #--- tnsnames.ora --- minimal.
    ORCL = (DESCRIPTION =
    (ADDRESS_LIST=(ADDRESS = (PROTOCOL = TCP)(Host=Server)(Port =
    1521)))
    (CONNECT_DATA = (SID = SACS)))
    #--- end of tnsnames.ora ---
    And finally sqlnet.ora, that is very usefull for setting secure
    networks or
    just logging for looking for errors. You can also set your
    keepalive timeout.
    #--- sqlnet.ora
    TRACE_LEVEL_CLIENT = OFF
    names.directory_path = (TNSNAMES)
    SQLNET.EXPIRE_TIME = 10
    #-- end of sqlnet.ora --
    null

  • Path of Sqlnet.ora and Tnsnames.ora

    Hi all
    Why I have one
    Sqlnet.ora
    in
    C:\ORAWIN95\NETWORK\ADMIN
    and
    one in
    C:\ORAWIN95\NET80\ADMIN
    and
    Tnsnames.ora
    in
    C:\ORAWIN95\NET80\ADMIN
    and
    C:\ORAWIN95\NETWORK\ADMIN
    and
    C:\ORAWIN95\NET80\TNSAPI
    why they are duplicated?
    thanks
    Sobrinho

    It looks like you have (or had) multiple versions of SQL*Net.
    Oracle 8 put everything in %oracle_home%\net80 while Oracle 7 and 9 use %oracle_home%\network

  • Listener.ora and Tnsnames.ora created in a different location

    Hi All,
    I have both the files i.e Listener.ora and Tnsnames.Ora in a location called D:\OraHome_1 and not in D:\OraHome_1\Network\Admin !! Also I do not have the sqlnet.ora file in either of these two locations.
    Though conn sys/pswd@sid is working fine and DB is also up and running, "conn / as sysdba" is not working. I would like to restore these files in their actual location and make "conn / as sysdba also working".
    Thanks in advance
    -Aditi

    Is perhaps TNS_ADMIN set to d:\orahome_1 ?where do i check this parameter ?
    What does output of following tell youc:\> tnsping sid
    C:\WINNT\system32>tnsping sid
    TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 05-JUL-2006 19:17:26
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Used parameter files:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 'complete host name')(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = SID)))
    OK (30 msec)
    ***NOTE*** this leaves a blank space when it says 'Used parameter files:' Isn't this unusual ....!!
    You may not need the listener.ora - it is kinda "optional". Not sqlnet.ora either. There are defaults to survive on.That's fine but I still would like to know why these files got created in a directory different from oraclehome\network\admin?

  • Setting the listener and tnsnames.ora

    Hi,
    I have two node cluster database 10.2.0.4 on Linux. Someone messed up with the tnsnames file and also the local,remote listener setting are gone during the switchover.
    Now I just want to replace the new tns entries,listener entries, set the local/remote listener and then register the local/remote listener. During these changes it will not affect the applications, but just want to know is there any specific steps which I have to keep in mind.
    Thank you.
    Edited by: 936264 on May 23, 2012 8:52 AM

    Hi
    Did you not back them up? :-)
    The answer to your question is yes. Basically, you need your listener referenced in the listener.ora for each node, then you need to reference those listeners in your tnsnames.ora - one for your local listener and another for your remote listener. A good starting point will be what you've got in your LOCAL_LISTENER and REMOTE_LISTENER parameter - that will show the names of the entries you need to create in the tnsnames.ora. I have all entries in the listener.ora and tnsnames.ora on both nodes just for simplicity but you don't have to do that.
    Any idea what port you used for your listener? The default 1521?
    A couple of examples from my test system:
    listener.ora (we use port 1550 by the way):
    LISTENER_DEVDB_NODE1 =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = node1-vip)(PORT = 1550)(IP = FIRST))
    (ADDRESS = (PROTOCOL = TCP)(HOST = node1)(PORT = 1550)(IP = FIRST))
    tnsnames.ora
    LISTENER_DEVDB_NODE1 =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = node1-vip)(PORT = 1550)(IP = FIRST))
    LISTENER_DEVDB_NODE2 =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = node2-vip)(PORT = 1550)(IP = FIRST))
    LISTENERS_DEVDB =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = node1-vip)(PORT = 1550)(IP = FIRST))
    (ADDRESS = (PROTOCOL = TCP)(HOST = node2-vip)(PORT = 1550)(IP = FIRST))
    So our local listener is LISTENER_DEVDB_NODEn for each and REMOTE_LISTENER is LISTENERS_DEVDB on each node.
    Hope that helps. Any further questions let me know....
    cheers,
    Mark
    orabackus.wordpress.com

  • How to configure listener and tnsnames.ora on 10g version

    how to configure listener and tnsnames.ora on 10g version

    If you are on linux platform, on command prompt execute netmgr and configure listener fromt there. Or go to $oracle_home/network/admin/listner.ora write the following
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /u01/app/oracle/product/10.2.0/db_1)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    For tnsnames.ora write the following
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    )

  • Linked Servers - Sql server 2005 to connect to Oracle 11g using ldap.ora instead of tnsnames.ora

    We have a SQL Server 2005 64bit box that needs a linked server created to Oracle 11g 64bit box. I have all the Oracle client software installed and can successfully connect to the Oracle database using SQL+ on the SQL Server 2005 64bit box. When I create
    the linked server and select the OraOledb.Oracle provider, I get the TNSNames error. The Oracle server does not use tnsnames.ora it uses OLAP.ora to resolve. How do I get Linked server to stop trying to connect via TNSNames and use the OLAP.ora file instead?
    I can't find any articles for this specific issues. All Oracle examples tell you to use TNSNAMES. The Oracle server is not under my companies control so I can not force the vendor to use tnsnames instead of OLAP.

    Hi,
    Have you got a resolution?
    Thank you.

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

  • Connect to Oracle Rdb Using Enterprise Manager

    How can I create a connection to an Rdb Database using the Enterprise Manager or by editing tnsnames.ora? What is the correct syntax for the tns entries?

    Download and install 9i client for Linux (you will need linux_base package for linux compatibility).
    Following links may help you:
    http://ezine.daemonnews.org/200402/oracle.html
    http://tomclegg.net/oracle9i-bsd5
    http://www.freebsd.org.ru/software/linux-oracle.html
    Then install php with "--with-oci8=$ORACLE_HOME" option.

Maybe you are looking for

  • Query Manager Authorisations

    Hi, I want to restrict areas in the query manager to certain users.  How can I do this please? Thanks, vankri

  • User exits for delivery note vl02

    i want to add some field in delivery note at item level susch as no of package per item for this which user exits  i use

  • Service Bus(OSB) not harvesting Endpoint to Enterprise Repository(OER)

    Hi, I am harvesting a WSDL-based HTTP Proxy Service from Oracle Service Bus (OSB) to Oracle Enterprise Repository (OER) but the Endpoint is not harvested. The other artifacts are harvested successfully. Can someone please help Thanks, Umar

  • CREATE FORMS IN PORTAL

    Hello, I want to create a form in the portal. I go to PORTLET BUILDERS --> Form Portlet --> define --> Form based on table or view ....--> Finish. But when I finish the Wizard no form appears in the region. What can I do? Thank you for helping.

  • Amazon Website - Where's the top of the page?

    I am using Safari, and when I go to Amazon, the Amazon heading and search box that used to appear is gone. I have no idea what happened, but could someone tell me if there is a setting in Mac OS to fix this? Thanks.