Transparent Gateway DB2
Can anyone help me here.
I have a client that want's to run Oracle 10g Apps Server, Oracle 10g Database, Transparent Gateway DB2, and a DB2 database all on the same architecture.
IBM pSeries(p_590) and the latest AIX operating system.
I am happy with Apps Server and Database on this platform but what if any version of the transparent gateway do I require????
look at the transparent gateway certification matrix in metalink.
u can install the gateway in the same oracle_home as the database in case both are the same realeses.
Similar Messages
-
Query over Oracle Transparent Gateway on DB2 hangs the session
I am on Database release 10gR2 using the Oracle Transparent Gateway (v9) installed on a DB2 i*series machine.
The Oracle database is located in the same data center as the DB2 database. When I issue very simple queries such as select count(*) from t, I get a result immediately. However when I issue something like select * from t, I very rarely get any rows back (I will sometimes 39 out of 4000) and the session appears to hang. Our DB2 administrators report that everything looks ok on their end. It's like the query is executed in DB2 but the gateway has trouble replying to the Oracle DB
As a side note, the hung session prevents the database from shutting down but does not prevent the database from closing some processes while trying to shutdown (e.g. J000, MXXX, etc.). This results in an open database with missing processes (non critical).
I think this is a network/firewall issue, has anyone had any similar experiences with the gateway? How can I diagnose the problem?
I should note, other Oracle databases in different locations (and different versions) do not have a problem when running the same queries.
Message was edited by:
SamBIf I remember correctly the V9 TG4DB2/400 was not certified with Oracle database 10gR2; only 10.1. See also Metalink certify page which states:
Operating System: IBM AS/400 Version V5R1 - V5R3
Oracle Transparent Gateway for DB2/400 Version 9.2.0
Oracle Database - Enterprise Edition V10 Version 10g
Status: Desupported
Side Note: the certify version states 10g; this means 10gR1; not 10gR2.
You can crosscheck it while checking out the V10.1/2 gateway certification which explicite lists 10gR2.
So it would be interesting if any 10gR2 database can successfully query the table. -
Lost RPC connection - Oracle 8 to DB2 using Transparent Gateway
Frequently I'm getting the following message when connecting to DB2 database:
"lost RPC connection to heterogeneous remote agent using..."
The problem is that most of the time it works fine, but at least once a day I get this error... and the system is in production phase!!!
*I have Oracle8 connected to DB2 using Transparent Gateway
Any clue? Please help...
Thanks EduardoI am also getting this error while connecting to DB2. It works some time.
-
Difference between Oracle Transparent Gateway and Golden Gate
Hi Guys
Could you please clear the confusion, What is the difference between Transparent gateway and Golden gate? are they same? In which situation which one to use?
Thanks in advanceuser8896122 wrote:
>
Satish Kandi said :
Transparent gateways are a cross-RDBMS "querying" mechanism
>
So you mean if an application (designed to work with oracle only ) can actually access SQL server or DB2 without any modificaton. If i am having transparent gateway on top of DB2 or SQL server ??You caught me. I should have used different words.
No. TG is a mechanism to query other RDBMS from Oracle. GG is a mechanism to have replication between any RDBMS. -
Can I join two tables from two different dbs by using transparent gateway?
E.g.:
select * from t1@rdb1, t1@rdb2
Can this work?As previously stated you options depend on your Oracle version and platform and the target version and platform for the remote non-Oracle (well in this case mySQL) database.
Oracle replaced HS or Generic Connectiivy with a new name and support module on 11g and maybe in 10g. You can see your manual CD or check the online documentation.
For that matter you need to check to see if the Transparent Gateway product has a mySQL driver.
The following Oracle support articles may be of interest.
Master Note For The Oracle ODBC Driver [ID 741033.1]
Detailed overview of connecting Oracle to MySQL using DG4ODBC database link [ID 1320645.1]
Gateway Configuration Utility for Database Gateway for ODBC - DG4ODBC - to Connect to Non-Oracle Databases For Example - DB2, SQL*Server, Sybase, Informix, MySQL [ID 1274143.1]
HTH -- Mark D Powell -- -
Hi
Has anyone used OWB over transparent gateways and deployed on a non-oracle db as target? I am interested in knowing how the whole thing will work? Whether mapping will be deployed on the non-oracle DB or on oracle etc.
thanks
Sureshya that's one good idea,
My DB2 is the Transaction System.
can you please tel me what will be the impact
if i UPDATE/INSERT 30 lakhs records using ODBC connection,
and the same using Transperent gateway connection,
My intension is not to distrub DB2 (Transaction system) in the peak hours.
When i use odbc, that takes some amount of DB2's process & priority.
But if I use Transperent gateway, DB2 will defnetly give more priority for the Warehouse
am i rt??
Regards
Raja -
Basically,
I keep losing the RPC connection with the remote agent with the following message (alert log) from an 8.1.7 instance over to a DB2/400 machine. These messages are prevelant throughtout the alert log. Any ideas on what could be causing this?
Wed May 9 10:45:50 2001
HS: Lost RPC connection to remote Agent...
HS: ... Agent SID = (description=(address=(protocol=tcp)(host=di400ora.pssd.com)(port=1528))(connect_data=(sid=ORAGATE))), NCR status = -2147385
341
nullme too.
please help me Transparent Gateway for Sql Server. -
A question about transparent gateway,sb help me plz!!
hi all:
i met a problem while trying the transparent gateway for ibm drda
1.i have the listner.ora configured like this:
=================================================================
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = felix)(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(PROGRAM = tg4drda)
(SID_NAME = TEST)
(ORACLE_HOME = E:\oracle\oradrda)
=================================================================
2.and the tnsnames.ora configured like this:
=================================================================
TEST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.18.10.11)(PORT = 1521))
(CONNECT_DATA =
(SID = TEST)
(SERVER = DEDICATED)
(HS = ok)
(HS = OK)
=================================================================
3.and the initTEST.ora configured like this:
=================================================================
set DRDA_CONNECT_PARM=localhost:446
DRDA_REMOTE_DB_NAME=test (database name of db2)
=================================================================
then i log on as user system and create a database link dblink1.But when i try the sql statment "select * from t1@dblink1"
such error came up:
# ORA-28545: error diagnosed by Net8 when connecting to an agent
NCRO: Failed to make RSLV connection
#ORA-02063:preceding 2 lines from dblink1
somebody help me plz,tell me how to deal with such a problem,thanks a lot!!!
Best regards!Hi Felix,
Please take a look at note 234517.1 on metalink (copied below).
This note explains how to resolve the following error messages when using Transparent Gateways or Generic Connectivity:
ORA-3113; ORA-2019; ORA-2085; ORA-12154; ORA-28545; ORA-28546; ORA-28509; ORA-942; ORA-904; ORA-28500;ORA-28528
SCOPE & APPLICATION
This note should help to solve common error messages when using generic
connectivity or gateways.
Common errors with gateways or generic connectivity
Here are the English descriptions of each error; to compare your message
with the message below, you can alter your current SQL*Plus session
and compare your message with the messages listed in this note:
alter session set nls_language=american;
ORA-3113:
SQL> connect system/manager@tg4msql;
ERROR:
ORA-03113: end-of-file on communication channel
Resolution:
You can't connect with SQL*Plus directly to the foreign
data store. HS or Gateways are only designed to work with
a database link from an Oracle database to the foreign
data store
ORA-2019:
SQL> select * from all_catalog@demo;
select * from all_catalog@demo
ERROR at line 1:
ORA-02019: connection description for remote database not found
Resolution:
Create a database link to connect to the foreign database
create [public] database link <db link name>
connect to <user of the foreign datastore>
identified by <password of this user>
using '<SQL*Net ALIAS>';
For case sensitive usernames/passwords of foreign databases,
surround the user and password with double quotes.
create [public] database link <db link name>
connect to "<user of the foreign datastore>"
identified by "<password of this user>"
using '<SQL*Net ALIAS>';
ORA-2085:
SQL> select * from all_catalog@tg4msql_v91;
select * from all_catalog@tg4msql_v91
ERROR at line 1:
ORA-02085: database link TG4MSQL_V91.DE.ORACLE.COM
connects to HO.WORLD
Resolution:
This problem is related to GLOBAL NAMES.
The simplest way to disable global naming is to alter
the current session.
alter session set global_names=false;
The other solution is to add a global_name to the
gateway/hs:
HS_DB_NAME = <datasource>
HS_DB_DOMAIN = <DOMAIN>
But the HS_DB_NAME must not exceed 8 characters and
must not contain any extra characters. If this is not
possible, the globale naming can be disabled by setting
GLOBAL_NAMES = FALSE in the init.ora of the database
as well
ORA-12154:
SQL> select * from all_catalog@demo;
select * from all_catalog@demo
ERROR at line 1:
ORA-12154: TNS:could not resolve service name
Resolution:
The database link uses a SQL*Net alias not specified
in the TNSNAMES.ORA of the database server.
Query the data dictionary to figure out the 'HOST'
specified for the database link:
select db_link, host from user_db_links;
or
select db_link, host from dba_db_links;
The 'HOST' value is the alias of the SQL*Net.
Please make sure it exists in the TNSNAMES.ORA file
present at the Oracle database server.
ORA-28545:
SQL> select * from all_catalog@demo;
select * from all_catalog@demo
ERROR at line 1:
ORA-28545: error diagnosed by Net8 when connecting to an agent
NCRO: Failed to make RSLV connection
ORA-02063: preceding 2 lines from DEMO
Resolution:
There's something wrong with the SQL*Net connection:
- checking the SQL*Net -> Listener configuration with TNSPING:
tnsping <SQL*Net alias>
TNS-12545: Connect failed because target host or object
does not exist
The HOSTNAME specified in the TNSNAMES.ORA is invalid
Try with the OS ping to resolve the hostname / IP adddress
TNS-12541: TNS:no listener
The hostname specified in the listener.ora points to a
machine without an Oracle listener, the listener on that
machine is not running or the port number is wrong.
NO ERROR with TNSPING:
This might be caused by an invalid SID configuration.
Please make sure, that the SID in the listener refelects the
SID specified in the TNSNAMES.ORA. Make sure you don't mix
SID syntax with SERVICE_NAME syntax.
If everything is configured well, please make sure that
lsnrctl status shows at least one service handler for
hsodbc. Probably restart the listener AFTER changing
the listener.ora file.
Still no error found, then please enable listener tracing
(level support) and have a look at the listener.trace file
after retrying the same select statement again.
In the file you should see the connect from the Oracle
database to the listener. After a few lines you should see that
the listener tries to open 2 pipes. Does this work or does it
fail and again a few lines later you see a hex/ascii block that
conatins an error stack like:
ERR=12500, CODE=12500, EMFI=4, CODE=12560, EMFI=4?
Then please check again the listener.ora file; is the
ORACLE_HOME directory specified within the listener.ora file
correct? Or if you are using environment variables in the
listener.ora please replace them with absolute paths.
ORA-28546
CAUSE 1:
SQL> select * from all_catalog@demo;
ERROR at line 1:
ORA-28546: connection initialization failed, probable Net8 admin error
ORA-02068: following severe error from DEMO
ORA-03113: end-of-file on communication channel
Resolution:
This error might be caused by a misplaced 'HS=' or 'HS=OK' key
word in the tnsnames.ora.
Make sure HS= or HS=OK is present and that the SID Connect String
looks like:
(CONNECT_DATA =
(SID = tg4msql)) <= there are 2 closing brackets! The HS
(HS=)) <= key word is OUTSIDE of connect_data
CAUSE 2:
SQL> select * from all_catalog@test;
ora-28546: connection initialization failed, probable net8 admin error
ora-29511 lost rpc connection to heterogeneous remote agent SID ...
ora-02063 preceding 2 lines from test
Resolution:
This behaviour can be found in situations with a version missmatch.
For example the Oracle database is release 9.2.0.4 and the gateway
itself 9.2.0.1
=> The fix is to apply the same database patchset (gateway patches
are part of the database patchsets) to the gateway home as well;
or if the gateway 9.2.0.1 was installed into a 9.2.0.4 database
directory to reapply the database patchset.
ORA-28509:
Older gateways report this error instead of giving a
deltailed error description.
Resolution:
This error indicates the same as the errors described above.
They can be solved by checking the SQL*Net configuration
for the gateway / generic connectivity setup.
ORA-942:
SQL> select irgendwas from demo@demo;
select irgendwas from demo@demo
ERROR at line 1:
ORA-00942: table or view does not exist
...(the text here depends on the library/odbc...
ORA-02063: preceding 2 lines from DEMO
Resolution:
make sure the table exists in the foreign data store.
Pay attention that some foreign data stores are case
sensitive and thus the table_name must be surrounded
by double quotes.
ORA-904:
SQL> select irgendwas from "demo"@demo;
select irgendwas from demo@demo
ERROR at line 1:
ORA-00904: "IRGENDWAS": invalid identifier
Resolution:
Make sure the column name specified exists at the foreign
table and if it is case sensitive, surround it by double quotes.
ORA-28500:
CAUSE 1:
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned
this message:
[Generic Connectivity Using ODBC][H006] The init parameter
<HS_FDS_CONNECT_INFO> is not set. Please set it in init<orasid>.ora
file.
ORA-02063: preceding 2 lines from HSODBC
Resolution:
The connect information to the remote database or the ODBC DSN is not
found. Add the proper connect string required by the gateway or hs/
generic connectivity agent.
CAUSE 2:
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
ORA-28541: Error in HS init file on line 11.
ORA-02063: preceding 2 lines from HSODBC
Resolution:
The init.ora of the gateway / generic connectivity contains an
invalid parameter in line 11
CAUSE 3:
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Generic Connectivity Using ODBC]DRV_InitTdp: errors.h (2005): ;
[Microsoft][ODBC SQL Server Driver][SQL Server]Error authenticating user
'sa'. (SQL State: 00000; SQL Code: 18456)
ORA-02063: preceding 2 lines from HSODBC
Resolution:
The username password for the database link is wrong or no connect
information was specified.
Make sure that for case sensitive usernames/passwords the create
database link statement contains the double quotes for the
username/passwords.
Further make sure you specified a username and password. OS
Authentication is currently not supported by most of the
gateways of by generic connectivity.
CAUSE 4:
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned
this message:
[Generic Connectivity Using ODBC]DRV_InitTdp: errors.h (2005): ;
[Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]SQL Server does
not exist or access denied.[Microsoft][ODBC SQL Server Driver]
[TCP/IP Sockets]ConnectionOpen (Connect()).
(SQL State: 00000; SQL Code: 10061)
ORA-02063: preceding 2 lines from HSODBC
Resolution:
Make sure the foreign database is up and running on the configured
machine.
ORA-28528:
SQL> select * from DecimalType@hsodbc;
ERROR:
ORA-28528: Heterogeneous Services datatype
conversion error
Resolution:
The language of the foreign data store (remote database)
does not match with your Oracle database settings.
Starting with 9.2.0.l4 this error might occure for example '
if numeric values will be truncated.
Adapt in the Gateway/Generic Connectivity initialisation file
the parameter HS_LANGUAGE.
HS_LANGUAGE must be set to the LANGUAGE used in the FOREIGN
database.
as a play with 2 settings and check out which one works:
1. Try:
HS_LANGUAGE=AMERICAN_AMERICA.WE8ISO8859P1
Do you still get the error? Yes, proceed with the second try:
2. Try:
HS_LANGUAGE=GERMAN_GERMANY.WE8ISO8859P1
(or to any other territory that uses a komma as decimal separator)
ORA-24274:
SQL> select * from all_catalog@<db_link>;
select * from all_catalog@<db_link>
ERROR at line 1:
ORA-28522: error initializing heterogeneous capabilities
ORA-28522: error initializing heterogeneous capabilities
ORA-28559: FDS_CLASS_NAME is <GTW>9.2.0.5.0_128, FDS_INST_NAME is <link>
ORA-02063: preceding 3 lines from %s
ORA-00604: error occurred at recursive SQL level 1
ORA-24274: no row exists in the HS$_BASE_CAPS table for these parameters
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
ORA-06512: at "SYS.DBMS_HS_UTL", line 431
ORA-06512: at "SYS.DBMS_HS_CHK", line 51
ORA-06512: at "SYS.DBMS_HS_UTL", line 48
ORA-06512: at "SYS.DBMS_HS", line 38
ORA-06512: at line 1
Resolution:
This special combination of errors might occure after applying
the Oracle database and gateway patchset 9.2.0.5 WITHOUT
running catpatch (=the upgrade script of the database).
=> Please run catpatch. If it ran successfully but connectivity
still fails you may run
cathnohs.sql and caths.sql to recreate the HS data
dictionary tables. BUT BE CAREFUL: Running CATHNOHS drops ALL
gateway/generic connectivity related database links!
Hope this helps,
Mark. -
A question about transparent gateway,somebody help me plz!!
hi all:
i met a problem while trying the transparent gateway for ibm drda
1.i have the listner.ora configured like this:
=================================================================
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = felix)(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(PROGRAM = tg4drda)
(SID_NAME = TEST)
(ORACLE_HOME = E:\oracle\oradrda)
=================================================================
2.and the tnsnames.ora configured like this:
=================================================================
TEST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.18.10.11)(PORT = 1521))
(CONNECT_DATA =
(SID = TEST)
(SERVER = DEDICATED)
(HS = ok)
(HS = OK)
=================================================================
3.and the initTEST.ora configured like this:
=================================================================
set DRDA_CONNECT_PARM=localhost:446
DRDA_REMOTE_DB_NAME=test (database name of db2)
=================================================================
then i log on as user system and create a database link dblink1.But when i try the sql statment "select * from t1@dblink1"
such error came up:
# ORA-28545: error diagnosed by Net8 when connecting to an agent
NCRO: Failed to make RSLV connection
#ORA-02063:preceding 2 lines from dblink1
somebody help me plz,tell me how to deal with such a problem,thanks a lot!!!
Best regards!I strongly recommend you to read the following metalink note. Note:234517.1
ORA-28545:
SQL> select * from all_catalog@demo;
select * from all_catalog@demo *
ERROR at line 1:
ORA-28545: error diagnosed by Net8 when connecting to an agent
NCRO: Failed to make RSLV connection
ORA-02063: preceding 2 lines from DEMO
Resolution:
There's something wrong with the SQL*Net :
- checking the SQL*Net -> Listener configuration with TNSPING: tnsping <SQL*Net alias> -
Discoverer over transparent gateway
I would like to know if any one has deployed Discoverer over non Oracle db using transparent gateway, particularly on DB2 or Teradata?
Regards,
RockyHi,
I've been on sites where it has been done and seen it done. Unfortunately we aren't using it on our site here for me to give specific examples - but it works.
As soon as you can inter-link the RDBMS engines via SQL*Net and create your database link, your in business. Disco will natively pick up the remote objects and treat them as local. We have this piece of the puzzle working on-site.
You do however have to think about the performance of your remote and local RDBMS's, the network speed/loading and the volume of data your talking about.
Let me know if you have more specific questions - I have a very Senior Ex Oracle DBA sitting beside me. We were discussing this very topic yesterday - regarding a recent post "Can't create EUL in Oracle Discoverer" - where the poster was trying to hook-up Discoverer into a SQL*Server DB.
hope this helps,
Lance -
Error while connecting oracle11g to sql server through transparent gateway
Hello
i'm facing this errors when i try to connect oracle 11g to sql server through transparent gateway:
http://www.freeimagehosting.net/newuploads/d4454.jpg
the directory for my db is : C:\oracle\product\11.1.0\db1
and for the gateway: C:\oracle\product\11.1.0\dg4msql
the configurations i used:
gateway :
tnsnames.ora:
dg4msql =
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=Kinda-PC)(PORT=1522))
(CONNECT_DATA=(SID=dg4msql))
(HS=OK)
listener.ora:
GATELIST =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = Kinda-PC)(PORT = 1522))
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1522))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(PROGRAM = dg4msql)
(SID_NAME = dg4msql)
(ORACLE_HOME = C:\oracle\product\11.1.0\dg4msql)
and for the oracle database :
listener.ora
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = Kinda-PC)(PORT = 1521))
tnsnames.ora:
DB1 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = Kinda-PC)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = db1)
gateway =
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=Kinda-PC)(PORT=1522))
(CONNECT_DATA=(SID=dg4msql)
(HS=OK)
thanks :)
Edited by: 903043 on Dec 18, 2011 6:18 AMDid you go through the various steps in the doc?
There is a gateway specific forum below;
Heterogeneous Connectivity
Cheers
David -
Oracle 9i on LINUX Transparent Gateway for SQL Server
Does anybody know if there is a Transparent Gateway available for Oracle 9i on LINUX to connect to SQL Server? I have run the installer and cannot seem to find the install options for any Transparent Gateways. I am familiar with their location in the universal installer as I have installed the Oracle/SQL Server Transparent Gateway with Oracle in WinNT. Perhaps Transparent Gateways for Oracle/LINUX are not available?
Thanks in advance.I have the same issue - we want to upgrade our 9.2 to 10g Linux, and need to maintain connectivity to some legacy sqlserver databases. I can't find any mention of tg4msql for linux. What gives? Anyone know the answer to this? thanks, michael
-
Ora-12154 problem with database link and transparent gateway
Hello,
I’m trying to make a communication between oracle and SQL server 2005.
I use oracle 10g E.E Release 10.2.0.3.0 and the transparent gateway for SQL server 10201_gatway_win32.zip.
Install:
The oracle database is installed into a server named ss-serv. This server has two partition disk C and E. Oracle database is installed in E and the gateway in C. There is already a database (instance) running in the oracle home (in E).
I configured the gateway as described into: http://download.oracle.com/docs/cd/B...3/conf_sql.htm.
In sql server 2005, there is a database running named ClientTricks.
I created a user named Avogadro with a login.
In the partition C where the gateway is installed, the file inittg4msql.ora is like this:
HS_FDS_CONNECT_INFO= ss-serv. ClientTricks
The file sqlnet.ora where the gateway is installed is configured like this:
SQLNET.AUTHENTIFICATION_SERVICES=(NTS)
NAMES.DIRECTORY_PATH = (TNSNAMES, EZCONNECT)
I configured the listener that is in the C partition where the gateway is installed, and the tnsnames that is in the oracle database in E partition disk like this:
Listener :
LISTENER=
(ADDRESS=
(PROTOCOL=TCP)
(HOST=ss-serv)
(PORT=1521))
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=
(SID_NAME=tg4msql)
(ORACLE_HOME=C:\oracle\product\10.2.0\tg_1)
(PROGRAM=tg4msql)
tnsnames:
mytg4msql=
(DESCRIPTION=
(ADDRESS=
(PROTOCOL=TCP)
(HOST=ss-serv)
(PORT=1521)
(CONNECT_DATA=
(SID=tg4msql))
(HS=OK))
After edited the listener, I stop and start the listener for the transparent gateway from administrative tools in the services.
Then, connected in oracle (in a database named fakeclient) I created a database link in sqlplus.The the dblink were created, but when I tried to querry some data from ClientTricks by executing the following instructions:
select * from s_client@dblink
i got this fatal and terrible error :
ora-12154 TNS:could not resolve the connect identifier specified
I verified all my procedure and stapes, all seems to be good. I did a tnsping of mytg4msql
I got this error in the command prompt:TNS-03505 fail to resolve name
Could someone help me ?
Sorry for my English ,I’m French
best regardsHi Mkirtley,
i clarify you what i've done:
Pease have a look in the link in my first post. Then, i said that in oracle database home the listener is in port 1521
here is this listener:
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=
(SID_NAME=PLSExtproc)
(ORACLE_HOME=E:\oracle\production\10.2.0\db_1)
(PROGRAM=extproc)
LISTENER=
(DESCRIPTION_LIST=
(DESCRIPTION=
(ADDRESS= (PROTOCOL=TCP)(HOST=ss-serv)(PORT=1521))
(ADDRESS= (PROTOCOL=IPC)(KEY=EXTPROC0))
Here is the tnsnames.ora in oracle database home:
N.B in this ora file, there's already some descriptions for the database running, so i just add these lines under the description in ora file.Here is:
Jest=
(DESCRIPTION=
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=TCP)(HOST=ss-serv)(PORT=2000))
(CONNECT_DATA=
(SID=tg4msql)
(HS=OK)
for the listener of the gateway (installed in C partition):
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=
(SID_NAME=tg4msql)
(ORACLE_HOME=C:\oracle\production\10.2.0\tg_1)
(PROGRAM=tg4msql)
LISTENER=
(DESCRIPTION_LIST=
(DESCRIPTION=
(ADDRESS= (PROTOCOL=TCP)(HOST=ss-serv)(PORT=2000))
(ADDRESS= (PROTOCOL=IPC)(KEY=EXTPROC1))
here are all i did.
Best regards -
Is transparent gateway needed to connect to IS Cache database?
Hello,
I have been asked by one of our developers how to create a connection from his Oracle 11.2 database to SQL Server and also InterSystems Cache' databases without having to use Transparent Gateway?
Is this possible, and if so, how can it be done?
(thanks in advance)Hi,
You say - "I guess it means that Oracle Database Gateway is FREE (per se)" but to make the point again - only the Database Gateway for ODBC (DG4ODBC) is free. The other gateways need a license.
If you run on Windows then many of the Microsoft ODBC drivers are free or included as part of other products so you do not need to pay for them, and also many non-Oracle database providers include an ODCB driver as part of the product, so again you do not need to pay for anything else to use DG4ODBC, for example MySQL.
To interface with a Cache database you can use Dg4ODBC but you need to provide the ODBC driver. There is not a 'dedicated' database gateway for that product. That is why we provide the DG4ODBC which can interface with any non-Oracle database or datastore for which a compatible ODBC driver is available.
This note available on My Oracle Support has information about the install notes on various platforms -
Note.1083703.1 Master Note for Oracle Gateway Products
Regards,
Mike -
Invalid column name for Transparent Gateway for SQLServer
I have successfully set up a transparent gateway for an MS SQLServer database 'pubs' from Oracle 910. I am able to run the following statement successfully as it returns all results without a hitch:
select * from authors@pubs;
pubs is the database link for the transparent gateway.
But when I select any particular column in the select statement like:
select city from authors@pubs;
I get the following error:
select city from authors@pubs
ERROR at line 1:
ORA-00904: invalid column name
Can anyone help me with this?
ThanksSamarjit,
This should work. Are you using a certified configuration?
Check our certification matrix at http://otn.oracle.com/products/gateways/pdf/certmatrix2.pdf
Vira
Maybe you are looking for
-
I have a iPad and a iPod touch how do I sync both of them to iTunes without mixing the apps, my iPad apps shows up on my iPod which is not good because I only have 8G on the iPod, I would like to keep them separate
-
Creative cloud all cc 2014 can't be updated on iMac.....
It's actually a disaster....I bought the cc personal license and ran for almost a year, it was running fine until recently I just couldn't update all cc 2014 version with my iMac. I thought it may works if I remove all the download applications and r
-
Inbound email processing - Type error
Hi, I'm have been following this blog http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=%28J2EE3417700%29ID0815196650DB12407265201807148336End?blog=/pub/wlg/2487 . When i try to run it there are some errors. Anybody know what these types stand for be
-
Bridge Fehlermeldung " Camera RAW Entwicklung ist nicht Aktiviert "
Seit einiger Zeit kann ich keine RAW Datein mehr in Bridge direkt öffnen und mit Camera Raw bearbeiten. Es wird immer rüber zu Photoshop geschickt. Früher konnte ich einfach auf eine RAW klicken, auf "in Camera RAW öffnen" und es wurde innerhalb von
-
Ical won't sync unless I upgrade to ML?
OK, Mac Pro 2007, Snow Leopard. I can no longer sync ical and other things from mac to iphone. I relied on this every single day. I'm told I may not be able to upgrade to Mountain Lion with my machine. Graphics card was upgraded (ATI Radeon HD 5770)