Connect Oracle 10g client to the Oracle 10g database behind a firewall

I need to connect an Oracle 10g client to the Oracle 10g database (windows server 2003 box) behind a firewall. I ran into this problem: Port redirection. Port redirection requires the Oracle client to connect to the database using a different port (usually a randomly selected TCP port) than the default or originally configured one. If there is no firewall between the server and the client, port redirection will not affect the actual connection. However, if port redirection does occur with the server behind a firewall, the client will be likely to suffer from a connectivity failure. The reason is simple: the newly assigned port based on port redirection is often blocked by the firewall. Such failures are not uncommon on Windows platforms.
I don't know how to stablished an unique TCP port.
I Enabled USE_SHARED_SOCKET on the Oracle database server, windows registry. Acording to what I read,that will force the server machine to share its port 1521 and thus all clients will stay on that port when connecting to the database. Noticeably, port redirection will not occur with USE_SHARED_SOCKET enabled, but that's true in oracle 8 or oracle 9. In oracle 10g this solution doesn't work.
I will apreciate any help about this. Please!
Thanks in advanced.

Three solutions in order of preference
1 Use Connection Manager on the server (only installed using a Custom Install). This will tunnel all traffic through a single port. It will also allow you to configure allowable nodes
2 Set up shared server to use a fixed port. Disadvantage: shared server has overhead and the number of connections is limited
3 Use shared_sockets. Disadvantage: when you stop the listener everyone is disconnected.
Sybrand Bakker
Senior Oracle DBA

Similar Messages

  • Oracle 10g client for the old OEM

    Does anyone know where I can download the Oracle 10g client for the old OEM software. There is a download link on technet but it when you follow it ...it turns into something else....!
    thanks
    3PO

    I used to 10gR1 version to check out change manager. It was indeed buggy. It was quite easy to configure though and bear in mind, that it's here only for backward compatibility reason. This won't be available in the next versions.

  • Executing an Oracle 9i Client Process from OAS 10g Java Application

    Sorry in advance for the long post:
    We have a piece of legacy software (Uniface.exe) that contains a good chunk of business rules for an existing system. Uniface client connects to an Oracle 10g database but requires Oracle 9i client libraries. Therefore the default Oracle home for a local machine running Uniface is set to the Oracle 9i client software location.
    On the same machine we have OAS 10g (10.1.3.1) running a Java-based middleware product (J2EE). The Java code invokes the Uniface.exe client to run specific business functions. We have in our Java code Runtime.getRuntime().exec(cmd); where cmd is the Uniface.exe.
    It appears that when the OAS Java program executes the Uniface.exe it is using the Oracle 10g client libraries from OAS instead of the Oracle 9i client libraries from the local machine's default Oracle home. When we run Uniface.exe from a Windows command prompt it works fine.
    We have noticed that when running Uniface.exe from Java OAS uses its own Windows path and environment variables and does not honor the system path. We wrote a Windows bat script to explicitly set the Oracle home and system path to the 9i location and then run Uniface.exe but this doesn't seem to work.
    Any ideas?

    OAS sets the ORA_NLS33 environment variable to the OAS 10g home location (F:\Oracle\10.1.3.1\OracleAS_1\ocommon\nls\admin\dat). Setting it to my Oracle 9i client location (C:\Oracle\product\9i\ocommon\nls\ADMIN\DATA) appears to have solved the problem.

  • Oracle.DataAccess.Client.OracleException: The provider is not compatible

    I am getting an error, and I don't understand why I'm getting it.
    Error:
    Oracle.DataAccess.Client.OracleException: The provider is not compatible with the version of Oracle client
    Environment:
    ODP.NET, 10.2.0.2 (ODTwithODAC10202.exe install)
    Oracle 9i database
    Windows 2000, .NET 1.x framework
    Before ODP.NET, Oracle 9.2 client
    Server does not have Visual Studio installed
    Just installed ODP.NET today; any time I attempt to access OracleConnection, I get the error above. I am a newbie to server installations; if something is obvious to you, it might not be obvious to me, so feel free to point out even the most basic things.
    I did install ODP.NET (same version) on my own PC several months ago, running over the same database, and everything seems to be working fine...
    Message was edited by:
    user531571

    Yeah; apparently, the Oracle install on that server was known (by everyone but me, from the sounds of it) to be exceptionally fragile. Installing ODP.NET brought down all Oracle connections. Uninstalling ODP.NET broke (actually, shattered might be closer to the truth) the Oracle instance on that box. Our solution? Start from scratch with a new server. Another piece of information which would have been nice to know is that they were looking for an excuse to get rid of this server; I wouldn't have been running around like a madman trying to fix it (and stressing all the while).
    So, the problem has been solved, but not in any kind of normal fashion.

  • Ways to connect MS SQL server to the Oracle server

    Dear Experts,
    Can you let me know the ways to connect MS SQL server to the Oracle server.
    Thanks,
    Suresh.

    Dear Experts,
    Can you let me know the ways to connect MS SQL server to the Oracle server.
    Thanks,
    Suresh.

  • Installation of  Oracle Intelligent Agent from the Oracle CD-ROM

    I just want to Install the Oracle Intelligent Agent from the Oracle CD-ROM as per the Oracle Enterprise Manager Installation Guide. The Intelligent Agent is a separate component to select but it was not selected at the time of installation . Please suggest how i can install it now.

    When prompted hit 'Custom install'. This allows you to select any component.
    Obviously this is also in the installation documentation.
    Sybrand Bakker
    Senior Oracle DBA

  • Windows 7 64 bit, Access 2010 32 bit, Oracle 10G client 32 bit, Oracle database 10.2.0.4 64 bit

    I am trying to connect to an Oracle 10.2.0.4 database from Windows 7 OS - 64 bit using
    Access 2010 32 bit and Oracle 32 bit client version 10.2.0.1 installed on PC.
    My user requires a 64 bit Windows 7 OS for other needs.
    Oracle ODBC driver is 32 bit from Oracle 32 bit client.
    In Windows 7 OS 64 bit, ODBC DSN setup software is located in:
    C:\Windows\system32\odbcad32.exe for 64 bit drivers - all DSN types setup and
    C:\Windows\syswow64\odbcad32.exe for 32 bit drivers - USER DSN setup
    When I run the ODBC Data Source Administrator, I see the Version number is 6.1.7601.17632
    I setup a User DSN using the 32 bit odbcad32.exe with a 32 bit ODBC driver.
    Our Oracle TNSnames.ora file has our standard entries which have worked for years
    (Windows 7 OS 32 bit and everything 32 bit has connected for years too)
    So when I configure an ODBC User DSN and leave all the default settings and press the TEST Connection button, it says it works.
    But when I open the existng Access 2010 database (which does connect to Oracle in a Windows 7 32 bit PC environment),
    1. I go to Access External Data ribbon tab / Link to the Data Source by creating a linked table / press OK
    2. I select the Machine Data source = to the USER DSN name / press OK
    3. The Oracle ODBC Driver Connect Window opens with Service Name = USER DSN and User Name and it wants a Password
    4. I enter the correct password and I get the following error message:
    ODBC call failed
    [Oracle][ODBC]{Ora]ORA-12154: TNS: could not resolve the connect identifier specified
    (#12154) [Microsoft][ODBC Driver manager] Driver's SQLSetConnectAttr failed IM006 0
             [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed (#0)
    I have tried a quite a number of fixes:
    I have gone into the PC registry and cleaned out most or all off the Oracle client keys and
    reinstalled the Oracle 32 bit 10g client. It didn't fix the error.
    I read about the Oracle instantclient-basic-win32-10.2.0.4.zip with ODBC modules but I have Windows 7 64 bit.
    Anyone experienced a problem like this and have a fix?

    Thank you for your reply.
    I did not get to try it because after I entered my question, I did a lot more internet Googling.
    I found this small comment:
    “There's a known issue where you get a 12154 error message running 32 bit software on a 64 bit OS using client 10201, and
    It should be resolved by patching the client to 10204, which you do by applying the 10204 database patch to it.”
    I searched around for the 10.2.0.4 patch for 10.2.0.1 Oracle 32 bit client.
    When I contacted my Oracle DBA to ask if he had that patch, he said that I should try the 11g 32 bit client on the Win 7 64 bit PC.
    We have a 10.2.0.4 Oracle database but he said the 11g client should work fine.
    I tried it and it solved the problem!
    With so many settings, configurations and permissions involved in ODBC, I am inclined to think that I missed a setting but
    it was a bug in the 32 bit client 10.2.0.1.
    Solved.

  • Is it possible to enable Java in oracle 10g express with the oracle jvm?

    I've oracle 10g express installed. I would like to create java stored procedures in a schema. But, how do I have the database java-enabled?

    It might be possible.
    Realize, however, that the Oracle JVM is a component of the Standard Edition One and higher - so to be able to use it you need to license Standard Edition One or higher.
    If you are going to violate the license anyway, why not stick with an Edition that contains the JVM.

  • ASP to Oracle...without the Oracle client...

    Hi there. I work in a university setting, complete with politics and territorial departments. I am authoring some web pages using third party software for the content management (which uses SQL Server); the 3rd party software requires these pages use ASP. However, there is some data I need to pull off of an Oracle Database and integrate with the regular content.
    I have just begun to learn about my options for connecting to Oracle from ASP, and they all involve, if I understand correctly, installing the Oracle client software on the web server.
    The department that controls the web server (Win 2000 IIS) has balked on installing the client software. They want to keep the machine "clean".
    Is there a method for connecting to Oracle from ASP that does not involve installing the Oracle client on the web server? Maybe just a driver? Someone told me that I might be able to have the ASP page call a procedure on SQL server (which is not on the web server) which in turn connects to Oracle, pulls the data, then returns it to the ASP page. Sounds convoluted, but I guess if it works...
    The issue is not going away; we are pretty much tied to ASP for our web development and Oracle for our database needs. Can anyone give me some advice on what direction I should take? Do I have any options? (Besides stealing the web server away...)
    Thanks in advance...

    If I were in your position, I would simply explain that if you want to pull data from an Oracle database and use that data to create dynamic ASP web pages, you'll need the Oracle client on the web server. 99%+ of the world does it this way, it'll almost certainly cost more to develop and maintain a nonstandard setup than it will cost to "depurify" the web server with the Oracle client. Save lots of headaches down the road.
    Barring that, however, there are a few options technically available to you. I'll list them in my personal order of preference
    1) There are some third parties (DataDirect is one) that sell "thin" ODBC drivers which don't require the Oracle client to be installed. They speak the Oracle wire protocol. You can use this thin driver and the Microsoft OLE DB to ODBC translation layer to communicate with Oracle. These aren't particularly cheap products as I understand it, but you may be able to negotiate terms. You'll still have to install something on the web server, it'll just be a smaller something than the Oracle client.
    2) You could set up a SQL Server database on a separate machine (you could have SQL Server & Oracle on the same machine I suppose), install the Oracle client on that machine, and set SQL Server up to query from the Oracle database. Your ASP pages could query the SQL Server database on this machine, which would query Oracle and return the data. Not particlarly elegant, but doable. If you have to license the SQL Server install (i.e. you don't have a site license), this is probably more expensive & less elegant than #1.
    Side note: the reason you don't need to install "SQL Server client" software on the web server is that Microsoft has helpfully decided that SQL Server client components need to be a standard part of Windows.
    3) (Warning, speculative) The goal here is to use Oracle's thin JDBC driver (no Oracle client required) on the web server to query the Oracle database. I don't know if you could cobble together some database access components using Visual J++ called from ASP that called Oracle's thin JDBC driver. This strikes me as requiring a whole mess of bailing wire, duct tape, and chewing gum to hold together if it's possible, but has the benefit of not costing you money (just sanity, time, future maintenance...)
    So, it's technically possible to do what you wnat.
    I'd strongly advocate getting folks to understand the necessity of installing the Oracle client on their precious web server, no matter how pristine they think it is. If you're really backed into a corner, explain that you can go for option #1, but there will be a financial cost to doing so. Without knowing your precise requirements, I would tend to suspect that you won't be able to meet you project objectives with #2 & #3 both because they'll make development, design, and maintenance more difficult and because they'll involve more "moving parts" which will tend to make performance & reliability suffer. If this is a low-priority system that people won't rely on too heavily, you may be able to get away with it. Of course, if it's a low priority system, my guess is that you wouldn't have to time to develop it.
    Justin

  • Oracle AS and Oracle 9i Client on the same server

    Hello,
    We have a Window 2000 server with Oracle 9i Client. A number of applications running on this server relies on Oracle 9i Client. Could I install Oracle AS on the same machine without causing any problems to the applications using Oracle 9i client?
    Thanks
    Slava

    Oracle software is multi home aware - which means you can install 10 different Oracle products and versions, each in its own unique Oracle Home directory, and switch between and run all 10 different products - even at the same time (assuming sufficient resources on the platform).
    You cannot "+consolidate+" different Oracle Homes - it is an unwise thing to do. The Oracle Universal Installer (OUI) has the means to determine when installing a new product, whether or not you have the option to install into an existing Oracle Home.
    And with OUI you also have the means to uninstall products in which case you can remove the corresponding Oracle Home from your platform.
    Note though that despite multiple homes, certain configuration files will be shared (e.g. +/etc/oratab+ on Unix systems). In such a case you may need to manually update such a configuration file after removing an Oracle Home from your system.
    Oracle XE sports its own installer (setup.exe on Windows) - so it does not use OUI. But it is multi-home aware - and can co-exists with other Oracle products in their specific Oracle Homes.

  • Connecting an Oracle 8i client to an Oracle 9 DB

    Hey, my company just upgraded an Oracle8i instance to an Oracle9 installation. At first I was given link errors pertaining to an oci9 issue. I resolved that by patching my JDBC driver(classes12.zip).
    Now I am told:
    java.lang.UnsatisfiedLinkError: get_env_handle
    at oracle.jdbc.oci8.OCIEnv.getEnvHandle(OCIEnv.java:70)
    at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:359)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:252)
    When I attempt to execute my java code. I patched classes12_g.zip with no change in behavior. Any suggestions?

    Hello,
    I am having much the same prolem. Am working with ColdFusion and IIS on an NT Server (that is the Oracle client) and an Oracle 8.1.7 database on a database server (Oracle server). Communication between these two machines worked fine with Oracle 7.3 client software loaded on the client machine and Oracle 8.1.7 on the server. Now I need to use the Oracle 8.1.7 client with Net8 and I can't get anything to verify. Here's what I've done.
    I installed the Oracle 8.1.7 Client on the NT Server. I copied the tnsnames.ora and sqlnet.ora files over from the other client that is running on 7.3 client drivers. I would think that everything should work properly this way since 8.1.7 is supposed to be reverse compatible. What have I not done or done wrong?
    I am aware that for Oracle 8i clients you can get away without using the SID in the tnsnames.ora file of the client. Is is a requirement that it is not used or can it still be used? If I choose not to use the SID where else must I change configuration files? any on the server?
    I am kind of stuck so any light on the situation would be a big help. Thanks.

  • 10g client with 8.1.7 database

    Hi,
    I have to use two databases with my PC, 10g and 8.1.7. Which client should I use, 10.2.0 or 8.1.7? Or should I Install both and let the software decide which one to use?
    Hoping answers,
    Mark

    user12099718 wrote:
    Hi,
    I have to use two databases with my PC, 10g and 8.1.7. Which client should I use, 10.2.0 or 8.1.7? Or should I Install both and let the software decide which one to use?
    Hoping answers,
    MarkHi and welcome to the forum!
    Why you've installed both clients to one machine? To which database are you connecting to? Oracle 8i is no longer supported. Use 10g Client to connect to your databases

  • Oracle instance client version with Oracle RDBMS 11G

    We are planning to upgrade oracle from 10G  i.e. 10.2.2.4  to 11G R2, which  oracle instance client version should we use while we do the upgrade and after upgrade is completed to 11G R2
    Thanks
    Abu

    http://service.sap.com/instguides
    --> Database Upgrades
    --> Oracle
    In the upgrade guide to Oracle 11.2 it's section
    3.8 Updating the Oracle Instant Client
    Markus

  • Oracle 8i Client install over Oracle 9i

    I am trying to install Oracle 8i Client over top my Oracle 9i installation to support 8i EXP processess. It is appearing that it works (i.e. Universal Installer runs through everything like it is installing) but afterward if I run the Univ Installer to look at installed programs it is all still version 9.2 items and my migration of 8i to 9i still does not work. How do I force an overwrite?
    Pretty sure I am not a P4 so that should not be the issue. Am I missing something on how to get 8i over top 9i?????
    Thanks for any help,
    Miller

    If you want to install that software you have to do it in a different Oracle Home. If you want to export a database or part of it with the export uitility of Oracle8i client you will be able to do it without installing Oracle8i Client on Oracle9i.
    Joel Pérez
    http://otn.oracle.com/experts

  • How to call a Oracle Form from within the oracle APEX application

    Hi,
    I am new for Oracle APEX. I have a requirment where need to call a Oracle form (.fmx file) from within the Oracle APEX application.
    Can someone help me out ?
    it would be a great help.
    Thanks

    This might help you...
    http://roelhartman.blogspot.com/2008/11/integrate-oracle-forms-with-apex.html

Maybe you are looking for