Any benefits of Oracle Transparent Gateway to connect to MSSQLServer ?
What are the benefits of Oracle 10G's Oracle Transparent Gateway to connect to MSSQL Server ?
Please be aware all gateways including the free component hsodbc up to release 10.2 have been desupported by 15th of Marcg 2008 and customers should use the follow up products.
The follow up product of TG4MSQL is Database gateway for MS SQl Server v11 and the follow up product of HSODBC is Database gateway for ODBC V11. The V11 gateway are certified with older Oracle database - but you might apply a gateway compatibility patch to the Oracle database release.
There are a lot of differences between DG4MSQL (TG4MSQL) and DG4ODBC (HSODBC):
- DG4MSQL supports many more functions it can directly map to SQl Server equivalents - DG4ODBC only suppors a few functions it can directly map to the equivalenst of a foreign database and all other functions are post processed. Post processing means ALL records from the remote table are fetched into the Oracle database and the result is then processed locally. Depending on the amount of data in the foreign table it might take a while
- DG4MSQL can call remote stored procedures
- DG4MSQL can participate in distributed transactions. This for example allows you to pass data changes in an Oracle table directly in the same transaction to the SQL Server side using triggers. Or you can also use STREAMS to replicate data between both databases.
...
Similar Messages
-
Oracle Transparent Gateway for MS SQL Server
Hello,
I successfully installed the Oracle transparent Gateway for MS SQL Server for Oracle 8i. Now I am doing the same for Oracle 9i.
Does anyone know how to 'create a new gateway service' on 9i???
This is how you would do that on 8i on the Windows box...
1) At the MS-DOS prompt, enter:
> set GTW_EXE=TG4MSQL.EXE
2) To create a new gateway service name, enter:
> GTWSRV73 sid -CREATE | MORE
-where sid is the gateway sid.
Does anyone know how to do those steps for 9i Oracle Transparent Gateway?
Thank you.Hi
I need oracle Tranparent Gateway for Microsoft Sqlserver (tg4msql) for oracle 10g on linux x86-64 bit. I have searched for it on otn.oracle.com and on edelivery.oracle.com. But couldn't find it.
Can any one help me in this regard.
Regards
Nadir. -
Oracle transparent gateway sql server ORA.28511
Hello,
I tried to install the gateway for ms sql server and failed, can anyone help me?
the 1. computer - database server is a hpux with oracle 8.1.7
the 2. computer - gateway computer is a win 2k with oracle transparent gateway 9.0.1
the 3. computer - Sql Server is a Computer with WinXP and SQL Server 2000 SP3
what i did:
-i created an entry in tnsnames.ora at the database server
-i cerated an entry in listener.ora at the gateway computer.
-i created the file inittg4nidb.ora (tg4nidb = SID)
-i created a database user at the sql server
-i created a database link in oracle
then i tried to select data from the sql server database and i got the following message:
SQL> select * from tab_ScriptCoordination@thomas1;
select * from tab_ScriptCoordination@thomas1
ERROR at line 1:
ORA-02068: following severe error from THOMAS1
ORA-28511: lost RPC connection to heterogeneous remote agent using
SID=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=mucsai18.muc.infineon.com)(PORT=1521)))(CONNECT_DATA=(SID=tg4nidb))
the listener seems to be ok (i get an new entry in listener.log when i execute a selectstatement in sql+), also i can see the program tg4msql in the taskmanager of the gatewaycomputer after executing a select.
there must be something wrong in the file inittg4nidb.ora
Here are the entries of this file:
HS_FDS_CONNECT_INFO=ricsa103netinst.SoftwareDistribution
HS_FDS_TRACE_LEVEL=ON
HS_FDS_RECOVERY_ACCOUNT=RECOVER
HS_FDS_RECOVERY_PWD=RECOVER
at the authentication on the SQL Server.
Here is the Trace of the gateway:
Oracle Corporation --- FRIDAY FEB 14 2003 14:53:25.284
Heterogeneous Agent Release
9.0.1.1.1
(0) [Transparent gateway for MSSQL] version: 2.0.4.0.0030
(0) connect string is:
(0) YEAR2000_POLICY=-1;CONSUMER_API=1;SESSION_BEHAVIOR_FLAGS=4;PARSER_DEPTH=2000;E-
(0) XEC_FLAGS =
(0) 131080;defTdpName=tg4nidb;binding=(tg4nidb,MSSQL,"ricsa103netinst.SoftwareDist-
(0) ribution");
(0) ORACLE SQL SERVER GATEWAY Log File Started at 14-Feb-03 14:53:25
Does anyone know this problem and how to solve it?
Regards,
ThomasThomas,
There is not enough information for me to figure out why you are getting this error. Basically the error indicates that the gateway has crashed.
Please set the HS_FDS_TRACE_LEVEL = DEBUG and take a look at the trace file.
Also send the tnsnames entry as well as the listener.ora -
Are the Oracle Transparent Gateways SAP approved
Gentlemen: Thanks in advance for your reply. I am new on this gateway world and I am trying to find the best solution for us.
Situation ... DB Migration of SAP 4.5B from MSSQL to Oracle8 in Sun Solaris (No problem with this).
We run a VB application that connects to SAP using SAPComm to read from SAP and update, asl well.
Problem: We will do the migration but the developer of the application in VB may not be open to change their coding, and we found the option of replicating db tables from Oracle to MSSQL, once we migrate, with the Oracle Gateway, which produce something transparent to the VB application.
Questions:
1. Does SAP approve this kind of accesses/replications to their DBs without us affecting our license agreement with them? I should ask this question to SAP, but if you know already, that will defenitely help?
2. I understand this tool (Oracle Transparent Gateway) is available as of Oracle9i. Our migrated SAP system will be running on Oracle8, but it is my understanding it does not matter the version of Oracle we are running our db, because what we procure is the Oracle9i to be installed separately to interact with both SAP (Oracle8) and MSSQL. Is that right? Could I build that scenario? If yes, how much is for the Oracle9i license. Should acquire it through SAP (I guess not)?
Thanks,
Juan-CarlosYou can use Oracle Streams to replicate from Oracle to SQL Server. This is a feature of Oracle 9.2.
This feature uses the Oracle Transparent Gateway for SQL Server to communicate between Oracle and SQL Server.
This is licensed separately from the database. Oracle 8 can communicate with Oracle 9i using DB links.
You can purchase a license for the each of these products at http://oraclestore.oracle.com/ -
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. -
Backup oracle transparent gateway
HI
I have a oracle transparent gateway for mssql server.
Which archives we must backup?
TIA
[email protected]I'm not sure that I follow the question. What archives are you talking about?
Are you talking about archived log files? If so, you back up whichever logs your backup & recovery plan calls for-- this would be completely independent of your use of the transparent gateways.
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC -
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. -
Using oracle procedural gateway to connect to mq series
Hi,
I am working on setting up my connection to export data from oracle database to db2 using mq-series.
MQ-Series client software and oracle procedural gateway v9 are installed on HP-UX .
initsid.ora & initsid.gtwboot file for the gateway are configured. listener.ora and tnsnames.ora are also configured and running.
I created a dblink and then tried to test my connection using the test scripts given by IBM.
I got the following error,
ORA-04052: error occurred when looking up remote object [email protected]
ORA-00604: error occurred at recursive SQL level 1
ORA-28509: unable to establish a connection to non-Oracle system
ORA-02063: preceding line from DCY3
I generated a trace and I got the following information from listener.trc
nsopen: opening transport...
nttcnp: Validnode Table IN use; err 0x0
nttcnp: getting sockname
nttcnr: waiting to accept a connection.
nttcnr: getting sockname
nttvlser: valid node check on incoming node 172.25.228.7
nttvlser: Accepted Entry: 172.25.228.7
nttcon: set TCP_NODELAY on 11
nsopen: transport is open
nsnainit: inf->nsinfflg[0]: 0xd inf->nsinfflg[1]: 0xd
nsopen: global context check-in (to slot 4) complete
nsanswer: deferring connect attempt; at stage 5
nscon: doing connect handshake...
nscon: got NSPTCN packet
nsevdansw: exit
nsbeqaddr: connecting...
sntpcall: About to exec /u46/oracle/app/oracle/product/bin/pg4mqc90drv
sntpcall: detaching from parent with additional fork
sntpcall: only 0 bytes read
sntpcall: Can't read from pipe; err[1] = 32
nserror: nsres: id=4, op=72, ns=12547, ns2=12560; nt[0]=517, nt[1]=32, nt[2]=0;
ora[0]=0, ora[1]=0, ora[2]=0
nscon: sending NSPTRF packet
nstimarmed: no timer allocated
nsclose: closing transport
nsclose: global context check-out (from slot 4) complete
nsglecmd: Deallocating cxd 0x40045ef0.
Listener.log gave me the following information,
12-JAN-2010 14:47:34 * (CONNECT_DATA=(SID=dcy3)) * (ADDRESS=(PROTOCOL=tcp)(HOST=
172.25.228.7)(PORT=59501)) * establish * dcy3 * 12500
TNS-12500: TNS:listener failed to start a dedicated server process
TNS-12547: TNS:lost contact
TNS-12560: TNS:protocol adapter error
TNS-00517: Lost contact
HPUX Error: 32: Broken pipe
I researched online and made sure that I have enough swap,memory on my OS.I increased the value for processes in init.ora file.
My log files have not exceeded the maximum limit.
The trace shows that my listener is loosing contact when it is trying to read the driver from /u46/oracle/app/oracle/product/bin/pg4mqc90drv.
I am not sure how to proceed from this point,though I have a thought of relinking my libraries in oracle.
Can anyone give any information on this.Hi,
listener.ora,
DCY3LSNR =
(ADDRESS_LIST =
(ADDRESS =
(PROTOCOL=IPC)
(KEY=ORAIPC)
(ADDRESS =
(PROTOCOL=TCP)
(HOST=fngtest)
(PORT=1414)
SID_LIST_DCY3LSNR =
(SID_LIST =
(SID_DESC =
(SID_NAME=DCY3)
(ORACLE_HOME=/u46/oracle/app/oracle/product)
(PROGRAM=pg4mqc90drv)
STARTUP_WAIT_TIME_DCY3LSNR=0
CONNECT_TIMEOUT_DCY3LSNR=1000
TRACE_LEVEL_DCY3LSNR=4
TRACE_DIRECTORY_DCY3LSNR=/u46/oracle/app/oracle/product/network/trace
TRACE_FILE_DCY3LSNR=listener
LOG_DIRECTORY_DCY3LSNR=/u46/oracle/app/oracle/product/network/log
LOG_FILE_DCY3LSNR=listener
$ cat initDCY3.ora
#===========================================================================
# GATEWAY INITIALIZATION FILE:
# Oracle Procedural Gateway for IBM MQSeries Client (pg4mqc90).
#===========================================================================
SET HS_DB_NAME=
SET HS_DB_DOMAIN=
SET LOG_DESTINATION=/u46/oracle/app/oracle/product/pg4mqseries/log/DCY3.log
SET QUEUE_MANAGER=DCY3
SET AUTHORIZATION_MODEL=RELAXED
SET TRANSACTION_MODEL=SINGLE_SITE
SET TRANSACTION_LOG_QUEUE=tx_queue_name
SET TRANSACTION_RECOVERY_USER=rec_user
SET TRANSACTION_RECOVERY_PASSWORD=rec_password
SET TRACE_LEVEL=0
$ cat initDCY3.gtwboot
#============================================================================
# GATEWAY BOOT FILE:
# Oracle Procedural Gateway for IBM MQSeries Client (pg4mqc90).
#============================================================================
GATEWAY_SID=DCY3
SERVER_PATH=/u46/oracle/app/oracle/product/bin/pg4mqc90
LOG_DESTINATION=/u46/oracle/app/oracle/product/pg4mqseries/log/DCY3boot.log
LD_LIBRARY_PATH=/usr/lib:/opt/mqm/lib:/u46/oracle/app/oracle/product/lib
MQSERVER=FNGTEST.DCY3/TCP/TCPIP03
#MQCCSID=850
#MODE=DEBUG
I have pasted my listener.ora and init files.
Can anyone pls give me more information on this. -
Which gateway product will allow me to connect oracle v7.3.2 to a SQL 2000 Server? Where can I download an evaluation copy?
I don't believe the transparent gateways are downloadable. I'd contact your sales rep. They may also be incluided in the CD packs. -Kevin
-
Using Oracle ODBC Gateway connecting to a remote Oracle database
Oracle 11gR2
RHEL 6.4
Has anyone use the Oracle ODBC Gateway to connect to another Oracle database? Any issues with that configuration? Where do I get the ODBC drivers for Linux?
(I know, "why not use a dblink?" -- well that would be against company security policies)Hi,
From the Oracle point of view we support using DG4ODBC for Oracle to Oracle connections. However, we have not actually tested it as DG4ODBC is primarily designed for access to non-Oracle databases.
How DG4ODBC will work between Oracle databases depends on the ODBC driver and what that supports. You will need an ODBC Oracle driver which you can get from various suppliers including Oracle but also vendors such as DataDirect, Easysoft etc. You could try a Google search.
You say you do not want to use database links but that is how DG4ODBC is used, You cannot do -
sqlplus user/password@dg4odbc_oracle
Once Dg4ODBC is setup and configured as in this note - if you are using Linux 64-bit -
How to Configure DG4ODBC on 64bit Unix OS (Linux, Solaris, AIX, HP-UX Itanium) to Connect to Non-Oracle Databases Post Install (Doc ID 561033.1)
then in the Oracle database you create a database link and select from tables in the other Oracle database -
select * from table@dg4odbc_db_link ;
Regards,
Mike -
Transparent gateway to Sybase: connection error
I have been trying with little success to set up a transparent gateway to a sybase server.
The gateway is an NT 4 workstation, with an oracle server 8.1.7 installed. The sybase server is an ASE 12.0 on a Solaris 8 box.
Are these versions of the products supported? In the gateway documentation only Sybase 11 is mentioned...
Moreover all the examples/schemas given refer to an installation of the gateway on the same machine as the sybase server, whereas in my case the gateway is installed on a separate machine (but it is also stated that this configuration is allowed, provided a sybase client is installed togheter with the gateway).
From what I can make of the error messages / trace files, the problem lies in the gateway not finding the sybase server. But from the sybase client installed on the gateway machine I can connect to the same remote sybase server without hassles, so the sybase client is configured correctly.
Thanks for help,
Gaetano Giunta
Here's the complete details about the situation:
Sybase client version:
Sybase ASE client, version 12.0
sybase environment variables:
SYBASE=e:\sybase
SYBASE_OCS=OCS-12_0
Sybase server:
Sybase ASE 12.0 on Solaris 8
The platform/OS on which the gateway and database reside:
Windows NT 4.0 + SP6a
Machine Name: fsiazi08
Oracle database server:
Oracle 8i enterprise edition, Version: 8.1.7
Oracle SID of the Oracle database server
SID: gate
Full pathname to directory where the Oracle database server is installed
ORACLE_HOME: e:\oracle\ora81
Versions of Net8 Server / client used by the gateway & database
Net8 Version: 8.1.7
Net8 Adapter used by the gateway: TCP/IP
Oracle Transparent Gateway for Sybase:
Version: 8.1.6
Full pathname to directory in which gateway resides:
Path: e:\oracle\ora81\tg4sybs
Listing of spool log if using SQL*Plus, or the SQL statement and error message received
SQL*Plus: Release 8.0.5.0.0 - Production on Mon Feb 18 10:27:51 2002
(c) Copyright 1998 Oracle Corporation. All rights reserved.
Connected to:
Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production
With the Partitioning option
JServer Release 8.1.7.0.0 - Production
SQL> select * from "bdvo"."arcofifo"@pollo
2 /
select * from "bdvo"."arcofifo"@pollo
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Transparent gateway for SYBASE]ct_connect(): directory service layer: internal directory control
layer error: Requested server name not found.
ORA-02063: preceding 2 lines from POLLO
SQL>
Listings of key files:
tg4sybs_agt_pid.trc log file gathered with HS_FDS_TRACE_LEVEL=on
(0) [Transparent gateway for SYBASE] version: 2.0.4.0.0009
(0) connect string is:
(0) YEAR2000_POLICY=-1;CONSUMER_API=1;SESSION_BEHAVIOR_FLAGS=4;PARSER_DEPTH=2000;E-
(0) XEC_FLAGS = 131080;defTdpName=tg4sybs;binding=(tg4sybs,SYBASE,"sqlbdvlin1");
(0) ORACLE SYBASE GATEWAY Log File Started at 15-Feb-02 16:54:43
(0) ct_connect(): directory service layer: internal directory control layer error:
(0) Requested server name not found.
(0) Unexpected error: Get Sybase Logon: app:TG4SYBS$2, user:, pass:,
(0) service:sqlbdvlin1.TG4SYBS$2, server:sqlbdvlin1
(0) Unexpected error: , connect
(0) ct_connect(): directory service layer: internal directory control layer error:
(0) Requested server name not found.
(0)
(0) Closing log file at FRI FEB 15 16:54:44 2002.
inittg4sybs.ora
# This is a sample agent init file that contains the HS parameters that are
# needed for an SYBASE gateway Agent.
# HS init parameters
#HS_FDS_CONNECT_INFO=sqlbdvlin1.master
#HS_FDS_TRACE_LEVEL=OFF
HS_FDS_CONNECT_INFO=sqlbdvlin1.procs
HS_FDS_TRACE_LEVEL=on
# Environment variables required for the non-Oracle system
set SYBASE=e:\sybase
set SYBASE_OCS=OCS-12_0
tnsnames.ora
# TNSNAMES.ORA Network Configuration File: E:\oracle\ora81\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
GATE =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = fsiazi08)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = gate)
INST1_HTTP =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = fsiazi08)(PORT = 1521))
(CONNECT_DATA =
(SERVER = SHARED)
(SERVICE_NAME = gate)
(PRESENTATION = http://admin)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
tg4sybs = (DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=fsiazi08)(PORT=1521))
(CONNECT_DATA=(SID=tg4sybs))
(HS=OK)
listener.ora
# LISTENER.ORA Network Configuration File: E:\oracle\ora81\network\admin\listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = fsiazi08)(PORT = 1521))
(DESCRIPTION =
(PROTOCOL_STACK =
(PRESENTATION = GIOP)
(SESSION = RAW)
(ADDRESS = (PROTOCOL = TCP)(HOST = fsiazi08)(PORT = 2481))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = E:\oracle\ora81)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = gate)
(ORACLE_HOME = E:\oracle\ora81)
(SID_NAME = gate)
(SID_DESC=
(SID_NAME=tg4sybs)
(ORACLE_HOME=E:\oracle\ora81)
(PROGRAM=tg4sybs)
CONNECT_TIMEOUT_LISTENER = 0
Sybase interfaces file (e:\sybase\ini\sql.ini)
;; Sybase Interfaces file
;; <link_type>=<network_driver>,<connection_info>
;; Examples:
;; [JUPITER]
;; QUERY=NLMSNMP,\\JUPITER\pipe\sybase\query
;; WIN3_QUERY=WNLNMP,\\JUPITER\pipe\sybase\query
[bdvlin1]
master=TCP,10.1.1.238,4000
query=TCP,10.1.1.238,4000
Sybase net-library configuration (e:\sybase\ocs-12_0\ini\libtcl.cfg)
; This is the sample Net-Library configuration file which
; shows how to specify the different types of drivers which
; will be used by Client-Library and Server-Library
; applications.
; This is the sample for NT platforms.
[DRIVERS]
NLWNSCK=TCP Sockets
NLWNSCK=TCP/IP Sockets
;[NT_DIRECTORY]
;REGISTRY=LIBDREG ditbase=SOFTWARE\SYBASE\SERVER
;[SECURITY]
;NTLM=LIBSMSSPGaetano,
The supported products that we list in the manual is only what we have tested at print time. However we update our certification matrix regularly.
Please refer to the certification matrix on Technet.com ( http://otn.oracle.com/products/gateways/pdf/certmatrix2.pdf) for the latest certified configurations.
It looks like you have installed the gateway in the same Oracle home as the database. With v8.1.6 of the gateway this is not possible. With v9.x onwards this is possible.
You can either reinstall the gateway in another Oracle home or upgrade to v9.x.
I recommend that you upgrade to v9.x, since v8.x will be desupported shortly.
As of v9.x the Sybase gateway is located on the database CD and you can install it by doing a custom install.
Vira -
Is Transparent Gateway (4.1.1.1) supported in Oracle 8i
Hi We are having some RDB databases running in conjunction with Oracle 8.0.6.0.0 databases. We have installed Oracle 8.1.7.0.0 recently, and I am wondering if this 8i version is supporting Oracle Transparent Gateway ???
I ran an export in the existing DB 8.0.6, and I get this error during the import to 8.1.7.0.0:
Export file created by EXPORT:V08.00.06 via direct path
import done in US7ASCII character set and US7ASCII NCHAR character set
. importing OPS$2PC61's objects into OPS$2PC61
IMP-00017: following statement failed with ORACLE error 4052:
"ALTER PACKAGE "PKG2PCACTIVITY_LETTER_TRIGGER" COMPILE TIMESTAMP '2001-01-15"
":16:22:44'"
IMP-00003: ORACLE error 4052 encountered
ORA-04052: error occurred when looking up remote object OPS$[email protected]
ORA-00604: error occurred at recursive SQL level 1
ORA-03106: fatal two-task communication protocol error
ORA-02063: preceding line from ICICMSR
This "GTW_SQL" is a object resides on serverside of the gateway and not in the databases (8i or RDB).
I am lost at this point. Any help would be of great use, and appreciated.
Sreedhar Palepu
[email protected]
215-761-7832
nullSee this thread Re: Getting LONG RAW from remote database for some useful ideas.
Regards Nigel -
Oracle access tables in SQLServer through Transparent Gateway
HI,
I want to access tables in SQLServer2000 through Oracle Transparent Gateway, but i could not get the resqult when I excute sql " select * from mytable@tg4msql".
everthing seems all right and when i use " *tnsping tg4msql* ", it also return OK:
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
+(HOST = 192.168.255.10)(PORT = 1521))) (CONNECT_DATA = (SID=tg4msql)) (HS= OK))+
OK (20 毫秒)
but when i excute sql like " select * from mytable@tg4msql ", it does't return anything, just keeps quering till I kill my plsql.
it seems oracle tries to connect to SQLServer through database link but fail.
And i check Transparent Gateway debug log : ORACLE_HOME\tg4msql\trace\tg4msql_agt_964.trc,
the log stops when it gets the logon name.
thanks for answers~
this is Transparent Gateway debug log:
Heterogeneous Agent Release
+10.2.0.1.0+
+(0) hoagprd (2): ; hoagprd Entered.+
+(0) HOACONN.C (244): ; [Transparent gateway for MSSQL] version: 4.6.1.0.0070+
+(0) HOACONN.C (295): ; Class version: 200+
+(0) hoagprd (2): ; hoagprd Exited with retcode = 0.+
+(0) hoainit (3): ; hoainit Entered.+
+(0) (0): ; connect string is: defTdpName=tg4msql;SYNTAX=(ORACLE8_HOA,+
+(0) BASED_ON=ORACLE8, IDENTIFIER_QUOTE_CHAR="",+
+(0) CASE_SENSITIVE=CASE_SENSITIVE_QUOTE);BINDING=<navobj><binding><datasources><da-+
+(0) tasource name='tg4msql' type='MSSQLODBC'+
+(0) connect='HSWINRUN2.tg4msql'><driverProperties/></datasource></datasour-+
+(0) ces><remoteMachines/><environment><optimizer noFlattener='true'/><misc+
+(0) year2000Policy='-1' consumerApi='1' sessionBehavior='4'/><queryProcessor+
+(0) parserDepth='2000' tokenSize='1000' noInsertParameterization='true'+
+(0) noThreadedReadAhead='true'/><debug+
+(0) generalTrace='true'/></environment></binding></navobj>+
+(0) ORACLE SQL SERVER GATEWAY Log File Started at 2010-10-20T19:55:42+
+(0) hoainit (3): ; hoainit Exited with retcode = 0.+
+(0) hoalgon (7): ; hoalgon Entered. name = myuser.+I checked the active sessions, and found a session was creating databse link, but it didn't stop until i kill it.
STATUS EVENT STATE
ACTIVE HS message to agent WAITING
I have installed the transparent gateway and SQLServer in the same computer.
maybe something wrong happened when transparent gateway connect to the SQLServer. But i don't know how to check it. -
Oracle 10g connectivity with sql server 2000 through oracle transpa gateway
dear gurus.
i am to connecto oracle 10g with sql server 2000 through oracle transparent gateway.
i have installed transparent gateway and proper configured. also link is created.
but when i execute query "select * from city@inventory" , so an error displayed.
ORA-12500: TNS:listener failed to start a dedicated server process.
kindly suggest me what could be the cause.
regards,if the listener fails to spawn a dedicated server process it is commonly indicating an issue with the listener. So posting the listener and also a listener trace including a description of the env where you installed the gateway into which directory would be helpfull. Please keep also in mind if you have for example a 10.2.0.3 database and you install into this directoty a 10.2.0.1 gateway you have to reapply the patchset again do get consistent file version.
So please describe more detailed your env. -
Installing Transparent Gateways
I have a question that I hope someone here can help me with.
We want to utilize the MSSQL Transparent Gateway to connect to a SQL Server DB. However, the gateway was not installed at the time of the Oracle Install.
Now we want to go back and install but we have patched to a higher version of Oracle and the universal installer won't let us install the product.
Surely there is a way to install without doing a completely new Oracle install.
Any suggestions would be appreciated.
Thank You
-AaronHow do you apply the patch? Don't you need to install a newer version of Oracle Install for that?
Maybe you are looking for
-
How to show 2 lines in report from 2 other servers scom 2012
hello i want to create 2 report in one report. ex availability report of 2 servers in one chart can i do this or it is impossible?
-
Converting a single space between sentences with two spaces.
Hi, I'd like to convert all single whitespaces after a sentence to two whitespaces, e.g. This is a sentence! The next sentence is separated by two spaces. This would result in the conventional style of two spaces between sentences, unlike html style.
-
Hello All, 1) Could you please suggest a report / tcode where we can find the list of Purchasing Documents along with THE USER who created it?? 2) Can we have PO qty more than the PR qty?? If yes, how can we restrict it?? 3) Is it possible to c
-
PAYEXT - Business Partner not Populating
Hi, We are generating PAYEXT IDoc's from F111. The Idocs are not populating the Business Partner number in the segment. Can some one tell me what the issue could be. Thanks in advance, Sneha Singh.
-
Why the SAX parser cannot support the special character like "¡"
I do not understand why the SAX parser cannot support the special character like ¡ but it can replace the " & < > to ", &, <, >, ,, but other characters will be replaced to empty charater. can somebody give me any suggestions or solutions. THX. Edi