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:
SamB

If 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.

Similar Messages

  • 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,
    Thomas

    Thomas,
    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

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

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

    You 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/

  • 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

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

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

    user8896122 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.

  • Oracle Transparent Gateway

    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

  • Dba_dml_lock hang the session?

    frequently, the user session occurs the lock wait.... to check, i run the dba_dml_lock, after executing my session will get hang... i run the catblock.sql again, still problem, my oracle binary 9.2.0.6 in hp itanium 11.23v. any suggestion

    please try the following queries
    select sw.username “Waiting User”,bu.ussername “Locking User”,
         dw.username “Locking User”, dw.lock_type, dw.mode_held, dw.mode_requested,
    from dba_Waiters dw, v$session sw, v$session bu
    where dw.waiting_session = sw.sid
         and dw.holding_Session = bu.sid
    select lpad(' ', decode(l.xidusn,0,3,0 )) || l.oracle_username,
    o.owner,o.object_name, o.object_type
    from v$locked_object l, dba_objects o
    where l.object_id = o.object_id
    order by o.object_id, 1 desc
    And if they also hang
    Best Regards
    Krystian Zieja / mob

  • Procedure call through InstantClient 10.1.0.4 (ODBC) hangs the session

    Hello,
    The application has been made by Visual Basic 6.0 sp5, it uses MDAC 2.5. RDBMS version is 9.2, server OS Aix 5.2, client OS XP Professional SP2.
    In other ways the application is working properly, but when a user tries to start a report which calls a procedure through ODBC the following happens:
    (1) The workstation processor starts working under a permanent load of 100%.
    (2) The ODBC trace stops here:
    {? = call XXXX_YYYY.ZZZ_AAAAAAAA
    ['BB_BBBB','200511','200511','CCC',null,null,'null','null'}
    (3) The database listener trace (admin, on the server) stops here (287 rows follow which are the result of trying to start a report):
    nsevwait: 1 newly-posted event(s)
    nsevfnt: cxd: 0x1057c390 stage 0: NT events set:
         CONNECTION REQUEST
    nsevfnt: cxd: 0x1057c390 stage 0: NS events set:
         INCOMING CALL
    nsevwait: event is 0x1, on 3
    nsevwait: 1 posted event(s)
    nsglhe: entry
    nsmal: 752 bytes at 0x11060b090
    nsmal: 2800 bytes at 0x110616030
    nsopen: opening transport...
    nttcon: entry
    nttcon: toc = 3
    nttcnp: entry
    ntvlin: entry
    ntvlin: exit
    nttcnp: Validnode Table IN use; err 0x0
    nttcnp: getting sockname
    nttcnp: exit
    nttcnr: entry
    nttcnr: waiting to accept a connection.
    nttcnr: getting sockname
    nttvlser: entry
    nttvlser: valid node check on incoming node xxx.yyy.z.50
    nttvlser: Accepted Entry: xxx.yyy.z.50
    nttcnr: exit
    nttcon: set TCP_NODELAY on 18
    nttcon: exit
    nsopen: transport is open
    nsnainit: answer
    nsnasvnainfo: NA disabled for this connection
    nainit: entry
    nagblini: entry
    nau_gin: entry
    nau_gparams: entry
    nam_gbp: Reading parameter "sqlnet.authentication_required" from parameter file
    nam_gbp: Parameter not found
    nau_gparams: Using default value "FALSE"
    nau_gslf: entry
    nam_gic: entry
    nam_gic: Counting # of items in "sqlnet.authentication_services" parameter
    nam_gic: Parameter not found
    nam_gic: Found 0 items
    nam_gic: exit
    nau_gslf: Using default value "all available adapters"
    nauss_set_state: entry
    nauss_set_state: exit
    nau_gslf: exit
    nau_gparams: exit
    nau_gin: exit
    nagblini: exit
    na_saveprot: entry
    na_saveprot: exit
    nacomin: entry
    nas_init: entry
    nas_init: exit
    nau_ini: entry
    naugcp_get_connect_parameters: entry
    nauss_set_state: entry
    nauss_set_state: exit
    naugcp_get_connect_parameters: exit
    nau_gettab: entry
    nau_tadv: entry
    nau_fad: entry
    nau_fad: exit
    nau_fad: entry
    nau_fad: exit
    nau_fad: entry
    nau_fad: exit
    nau_fad: entry
    nau_fad: exit
    nau_tadv: exit
    nau_gettab: exit
    nau_sini: entry
    nau_sini: exit
    nau_ini: exit
    naeeinit: entry
    nam_gbp: Reading parameter "SQLNET.FIPS_140" from parameter file
    nam_gbp: Parameter not found
    nam_gnsp: Reading parameter "SQLNET.ENCRYPTION_SERVER" from parameter file
    nam_gnsp: Parameter not found
    naequad: Using default value "ACCEPTED"
    nam_gic: entry
    nam_gic: Counting # of items in "SQLNET.ENCRYPTION_TYPES_SERVER" parameter
    nam_gic: Parameter not found
    nam_gic: exit
    naesno: Using default value "all available algorithms"
    naeshow: entry
    naeshow: exit
    naeeinit: exit
    naecinit: entry
    nam_gnsp: Reading parameter "SQLNET.CRYPTO_CHECKSUM_SERVER" from parameter file
    nam_gnsp: Parameter not found
    naequad: Using default value "ACCEPTED"
    nam_gic: entry
    nam_gic: Counting # of items in "SQLNET.CRYPTO_CHECKSUM_TYPES_SERVER" parameter
    nam_gic: Parameter not found
    nam_gic: exit
    naesno: Using default value "all available algorithms"
    naeshow: entry
    naeshow: exit
    naecinit: exit
    nadisc: entry
    nacomtm: entry
    nacompd: entry
    nacompd: exit
    nacompd: entry
    nacompd: exit
    nacomtm: exit
    nas_dis: entry
    nas_dis: exit
    nau_dis: entry
    nau_dis: exit
    naeetrm: entry
    naeetrm: exit
    naectrm: entry
    naectrm: exit
    nagbltrm: entry
    nau_gtm: entry
    nau_gtm: exit
    nagbltrm: exit
    nadisc: exit
    nainit: exit
    nsnainit: NS Connection version: 311
    nsnainit: inf->nsinfflg[0]: 0xd inf->nsinfflg[1]: 0xd
    nsnainit: "or" info flags: 0xd     Translations follow:
         native service(s) is (are) wanted
         NA disabled remotely for this connection
         NA services unavailable on both processes - negotiation not needed
    nsnainit: "or" info flags: 0xd     Translations follow:
         native service(s) is (are) wanted
         NA disabled remotely for this connection
         NA services unavailable on both processes - negotiation not needed
    "and" info flags: 0xd     Translations follow:
         native service(s) is (are) wanted
         NA disabled remotely for this connection
         NA services unavailable on both processes - negotiation not needed
    nsopen: global context check-in (to slot 11) complete
    nsopen: lcl[0]=0x7fe9ff, lcl[1]=0x12003, gbl[0]=0x7e3f, gbl[1]=0x2001, tdu=32767, sdu=8192
    nsdo: cid=11, opcode=65, bl=0, what=0, uflgs=0x0, cflgs=0x2
    nsdo: rank=64, nsctxrnk=0
    nsdo: nsctx: state=7, flg=0x4200, mvd=0
    nsdo: nsctxrnk=0
    nsanswer: deferring connect attempt; at stage 5
    nsevreg: begin registration process for 11
    nsevreg: sgt=0, evn=1, evt[2]=0x0
    nsevreg: begin notification process for 11
    nsevreg: rdm=0, sgt=0, evt[0]=0x20, [1]=0x20, [2]=0x0, nrg=0
    nsevreg: registering for 0x20
    nsglhe: exit
    nsevwait: 10 registered connection(s)
    nsevwait: 0 pre-posted event(s)
    nsevwait: waiting for transport event (1 thru 11)...
    nsevwait: 1 newly-posted event(s)
    nsevfnt: cxd: 0x10606bb0 stage 5: NT events set:
         READ
    nsevfnt: cxd: 0x10606bb0 stage 5: NS events set:
         OUTGOING CALL COMPLETE
    nsevdansw: at STAGE 5
    nsdo: cid=11, opcode=68, bl=2040, what=8, uflgs=0x0, cflgs=0x3
    nsdo: rank=64, nsctxrnk=0
    nsdo: nsctx: state=14, flg=0x4204, mvd=0
    nsdo: gtn=0, gtc=0, ptn=10, ptc=8163
    nscon: doing connect handshake...
    nscon: recving a packet
    nsprecv: reading from transport...
    nttrd: entry
    nttrd: socket 18 had bytes read=262
    nttrd: exit
    nsprecv: 262 bytes from transport
    nsprecv: tlen=262, plen=262, type=1
    nscon: got NSPTCN packet
    nsconneg: vsn=313, lov=300, opt=0x0, sdu=2048, tdu=32767, ntc=0x860e
    nsconneg: vsn=311, gbl=0x1, sdu=2048, tdu=32767
    nscon: got 204 bytes connect data
    nsdo: nsctxrnk=0
    nsevdansw: exit
    nttctl: entry
    nttctl: Clearing non-blocking mode
    nsevwait: event is 0x20, on 11
    nsevwait: 1 posted event(s)
    nsglhe: entry
    nsglfc: Assume establishing a connection: look for SID
    nsglfc: command = establish
    nttaddr2bnd: entry
    nttaddr2bnd: exit
    nlpcaini: entry
    nlpcaini: prg = /oracle9/app/product/9.2.0/bin/oracle
    nlpcaini: arg[0] = oracleaaaaa
    nlpcaini: arg[1] = (LOCAL=NO)
    nlpcaini: env[0] = _=/ddddddd/app/product/9.0.2/bin/lsnrctl
    nlpcaini: env[1] = TMPDIR=/lisatmp
    nlpcaini: env[2] = LANG=en_US
    nlpcaini: env[3] = LOGIN=ddddddd
    nlpcaini: env[4] = PATH=/ddddddd/app/product/9.0.2/dcm/bin:/ddddddd/app/product/9.0.2/opm/bin:/ddddddd/app/product/9.0.2/bin:/usr/local/bin:/usr/ccs/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/home/ddddddd/bin:/usr/bin/X11:/sbin:.
    nlpcaini: env[5] = NLS_LANG=American_America.we8iso8859P1
    nlpcaini: env[6] = ORACLE_BASE=/ddddddd/app/product
    nlpcaini: env[7] = LC__FASTMSG=true
    nlpcaini: env[8] = CGI_DIRECTORY=/var/docsearch/cgi-bin
    nlpcaini: env[9] = LOGNAME=ddddddd
    nlpcaini: env[10] = TMP=/lisatmp
    nlpcaini: env[11] = USER_NLS_LANG=Finnish_Finland.we8iso8859P1
    nlpcaini: env[12] = MAIL=/usr/spool/mail/ddddddd
    nlpcaini: env[13] = LOCPATH=/usr/lib/nls/loc
    nlpcaini: env[14] = PS1=$PWD[SID=$ORACLE_SID]>$
    nlpcaini: env[15] = LDR_CNTRL=MAXDATA=0x20000000
    nlpcaini: env[16] = DOCUMENT_SERVER_MACHINE_NAME=localhost
    nlpcaini: env[17] = USER=ddddd
    nlpcaini: env[18] = AUTHSTATE=files
    nlpcaini: env[19] = TNS_ADMIN=/ddddddd/app/product/9.0.2/network/admin
    nlpcaini: env[20] = DEFAULT_BROWSER=netscape
    nlpcaini: env[21] = DISPLAY=cccc:0.0
    nlpcaini: env[22] = SHELL=/usr/bin/ksh
    nlpcaini: env[23] = ODMDIR=/etc/objrepos
    nlpcaini: env[24] = DOCUMENT_SERVER_PORT=49213
    nlpcaini: env[25] = ORA_NLS33=/ddddddd/app/product/9.0.2/ocommon/nls/admin/data
    nlpcaini: env[26] = HOME=/home/ddddddd
    nlpcaini: env[27] = TERM=dumb
    nlpcaini: env[28] = MAILMSG=[YOU HAVE NEW MAIL]
    nlpcaini: env[29] = ORACLE_HOME=/oracle9/app/product/9.2.0
    nlpcaini: env[30] = ITECONFIGSRV=/etc/IMNSearch
    nlpcaini: env[31] = PWD=/home/ddddddd
    nlpcaini: env[32] = DOCUMENT_DIRECTORY=/usr/docsearch/html
    nlpcaini: env[33] = TZ=WET-2WET-3,M3.5.0/03:00:00,M10.5.0/04:00:00
    nlpcaini: env[34] = ITECONFIGCL=/etc/IMNSearch/clients
    nlpcaini: env[35] = ITE_DOC_SEARCH_INSTANCE=search
    nlpcaini: env[36] = A__z=! LOGNAME
    nlpcaini: env[37] = ORA_NET2_DESC=4,7
    nlpcaini: env[38] = LIBPATH=/ddddddd/app/product/9.0.2/lib32:/ddddddd/app/product/9.0.2/lib
    nlpcaini: env[39] = NLSPATH=/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N.cat
    nlpcaini: env[40] = ORACLE_SID=aaaaa
    nlpcaini: exit
    nsbeqaddr: connecting...
    ntpcon: entry
    ntpcon: toc = 1
    sntpcall: entry
    sntpcall: About to exec /oracle9/app/product/9.2.0/bin/oracle
    sntpcall: environ[41] = ""
    sntpcall: detaching from parent with additional fork
    sntpcall: result string is NTP0 33240
    sntpcall: hdl[IR]=23, hdl[IW]=22
    sntpcall: exit
    ntpcon: NT layer IPC connection has been established
    ntpcon: exit
    nttaddr2bnd: entry
    nttaddr2bnd: exit
    nsbeqaddr: doing connect handshake...
    nsbequeath: doing connect handshake...
    ntpwr: entry
    ntpwr: exit
    ntpwr: entry
    ntpwr: exit
    ntpwr: entry
    ntpwr: exit
    ntprd: entry
    ntprd: exit
    ntprd: entry
    ntprd: exit
    nsbequeath: NSE=0
    ntpdisc: entry
    ntpdisc: exit
    nsbeqaddr: connect handshake is complete
    nstimarmed: no timer allocated
    nsdo: cid=11, opcode=98, bl=0, what=0, uflgs=0x40, cflgs=0x2
    nsdo: rank=64, nsctxrnk=0
    nsdo: nsctx: state=2, flg=0x4200, mvd=0
    nsevunreg: cid=11, sgt=0, rdm=0
    nsevunreg: 9 registered connection(s)
    nsdo: nsctxrnk=0
    nsclose: closing transport
    nttdisc: entry
    nttdisc: Closed socket 18
    nttdisc: exit
    nsclose: global context check-out (from slot 11) complete
    nsmfr: 2800 bytes at 0x110616030
    nsmfr: 752 bytes at 0x11060b090
    nsglhe: exit
    nsevwait: 9 registered connection(s)
    nsevwait: 0 pre-posted event(s)
    nsevwait: waiting for transport event (1 thru 10)...
    The procedure call through ODBC is working when we use Oracle9i Client.
    So. All comments are much appreciated!
    Terho

    in addition:
    my main problem is that Oracle ODBC driver does not understand something like
    {call types.test_procedure (?, ?,,?)}
    to pass not all parameters (I whant to use default value for some of parameters)

  • Oracle Transparent Gaeway Query

    Hello Experts,
    I am looking for a help here for the Oracle Transparent Gateway :
    My objective is :
    I have an EBPP application running on Jboss with SQL Server 2005.
    Here are the details:
    JDK 1.4
    JBoss 3.2.5
    SQL Server 2005
    I would like to migrate it to Oracle 11g R2. I dont want to touch my application to make it compatible with Oracle. I would like to keep the SQL server drive and queries as it is. As far as i see, I have only one option.
    One Go fo Oracle Transparent Gateway Way -
    Migrate whole database of SQLserver 2005 to Oracle.
    Shutdown the SQL server and install Oracle transparent gateway
    Point the application to oracle transparent gateway.
    Application will talk to oracle database via oracle transparent.
    Upgrade application for oracle
    Going with this, i have to upgrade so many things like JDK, JBoss and whole application.
    Please advise, if you see a better approach to tacke this issue.
    Thanks
    Regards,
    Zeeshan Qureshi

    user1703057 wrote:
    I have an EBPP application running on Jboss with SQL Server 2005.
    Here are the details:
    JDK 1.4
    JBoss 3.2.5
    SQL Server 2005
    I would like to migrate it to Oracle 11g R2. I dont want to touch my application to make it compatible with Oracle. I would like to keep the SQL server drive and queries as it is. As far as i see, I have only one option.
    One Go fo Oracle Transparent Gateway Way -
    Incorrect. The Oracle Transparent Gateway is for the Oracle server to connect to the foreign server via a database link. This enables Oracle SQL and PL/SQL code to access a foreign database from the current Oracle database, by using a heterogeneous database link.
    Sybrand raised a critical issue. Oracle != SQL-Server.
    There are some fundamental and core differences between the two products. This means that a SQL-Server application will not be able to use Oracle optimally and scale accordingly - and that the application needs to be refactored.
    What about this so-called +"the database is a black box+" approach that allows the database layer to supposedly be swap in and out for different database products - without having to touch the application?
    A bunch of bull. For the black box approach to be used means developing the application to the very lowest common denominator that are supported by all RDBMS products. The lowest common denominator changes the RDBMS into a simplistic record-and-file architecture - using less than 5% of the actual capability of the RDBMS product. A total waste of technology and costs. One just as well could look at not using a RDBMS at all and simply roll the basic functionality in the app layer itself.
    Your basic problem in my view is a conceptual one.
    Applications are a dime a dozen. New code gets bashed out all the time. Applications are swapped in and out. Are upgraded. Are changed. There is a saying that if an application does not change, it is dead as it is no longer servicing business needs and growth and changes in the business and the market.
    What remains fairly consistent and stable and constitutes the core, is the data. Simple example. What is important? The spreadsheet software or the spreadsheet data? Whether the spreadsheet s/w is Excel or Open Office or whatever - that is not what is important for the sales guy doing his sales projections. The actual spreadsheet and data are critical.
    So it is about the data. Not about the application.
    So your task is to make sure that the data layer is robust and consistent. Is performant and scalable. Is reliable. Is secure. And then put the application on top of that data layer.
    It is not designing the application totally separate from the data layer and expect to simply swap one data layer for another and that the application will still fit and use that data layer correctly and optimally. (unless your an ISV doing a truly independent RDBMS s/w product, in which case you need to design and write a very large and very complex data access layer that can deal correctly with the specific data layer in use - and no, smelly stuff like Hibernate is not it)

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

    See 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.

  • 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=LIBSMSSP

    Gaetano,
    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

  • Query ON ORACLE AND OAS UPGRADE PLAN

    Currently we are running Oracle Server 7.3.4 Under Unix (SunOS5.7) with access to a Sybase 12.5.0.1 via Oracle-Sybase Transparent Gateway 4.1.1.0.0.
    For the web services, we use OAS 4.0.8.1. Our web applications are based on Javascript and Oracle PL/SQL to generate HTML.
    We plan to upgrade the Oracle Server from 7.3.4 to Oracle 9iAS version 9.2.0.1.
    Our quetions are :
    1) Is it necessary to upgrade OAS 4.0.8.1 to Oracle 9iAS?
    1a)If we have to upgrade then which version of 9iAS (9.0.2, 9.0.3, 9.0.4)is compatible?
    1b)what change, if any, do we have to make to our exisiting applications(Javascript, HTML and PL/SQL-generated HTML) (we understand that the application logic would not have to be change in any
    way. Is this so?)
    2) Are Oracle Server 9i and Oracle 9iAS Application Server compatible with the SunOS5.7 Unix or is an upgrade to a later version necessary?
    3) Do we need to upgrade the Oracle-Sybase Transparent Gateway if we upgrade the Oracle Server to Oracle9i and if so, to what version?
    Please confirm that Oracle9.2 has a Gateway to Sybase 12.5.0.1 that will support the features of 7.3.4 gateway (i.e it is downward compatible to 7.3.4
    gateway).

    Not real sure if this is doable or would help, but perhaps you can load the access table into an Oracle Global Temporary Table? See http://www.oracle-base.com/articles/8i/TemporaryTables.php (and google on it). I think I'm assuming your 11 hour query had something to do with shovelling a bucketload of data to the access side, perhaps if you could show us the plan on the Oracle side that access was generating to get the Oracle data there might be a different answer.
    Oftentimes cross-db tools won't use Oracle features like analytics, or do slow-by-slow row processing where a short procedure could do things within the Oracle sql engine and return data in larger arrays.
    Sometimes mass data cleansings benefit from using server side tools outside of the db. Do you have the data from before it was loaded to Oracle? What Oracle platform are you on?

Maybe you are looking for

  • Best Buy not fixing their glitches and errors

    I have been trying to deal with customer service regarding my name being fraudulantly changed on My Best Buy. I used my reward card to purchase an Ipad that I had delivered to my place of employment so that it would not sit unattended at my doorstep

  • SharePoint Online, Stop Workflow when Item Changed

    Hello, I have a workflow that sends an email to certain individuals upon creation and then sends a follow up reminder in 30 days if a specific field has not been changed.  I want to edit that workflow to only send the reminder if the list item has no

  • Unable to load attributes - in need of immediate help!!

    Hi, I have a problem that I hope you can help me with. I have a project structure which holds different amount of children, e.g Main Level Project Level Projcect Sub level project and Main Level Project Level Project I use two different rules for thi

  • Illustrator no longer displays the white channel of a placed DCS/.eps.

    I should have spoke up sooner because I thought this would get fixed pretty quickly but I just upgraded to CS6 and it's still broken. I use Photoshop to generate color separations for screen printing. We do simulated spot process which means we print

  • Http proxy for mission control?

    I tried to use "Install Plugins..." functionality to use in MC 4.0.1 but I get the following error: Network connection problems encountered during search. Unable to access "http://www.oracle.com/technology/software/products/jrockit/missioncontrol/upd