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

Similar Messages

  • Sybase Connection Error - cannot establish database connection

    BO Data Services Tool -> Creation of new Data Store -> Sybase ASE
    When I tried to create a sybase datastore(New connection), I've got this error message. But I am able to connect to sybase database with client application with same connection parameter. I appreciate if someone come across same issue.
    ERROR MESSAGE
    *WARNING: Cannot establish database connecton.
    u2018Sybase connecton error: <Sybase ASE Server message number <1640> State <2> Severity <16> From Server <tstlS03>: Message Text is:
    Adaptve Server requires encrypton of the login password on the network.
    Sybase ASE Server message number <4002> State <1> Severity <14> From Server <tstlSO3>: Message Text is: Login failed.
    Sybase CS Library message number <6717S468> Severity <4>: Message Text is: ct_connectO: protocol specific layer: external error: The attempt to connect to the server failed.>.u2019 lODI- 1111341)

    I tried to create repositories for sybase, it failed.  But it succeeded when created datastore.  The procedures's as follow:
    1. Create ODBC for this sybase connection, and it should display "Connection successful" when you click "Test connection".
       (you need to specify several parameters like user id & password, server,database name and file, etc.)
    2. Create datastore by using ODBC connection.

  • 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

  • MDX Query consumption in NW Gateway model - RFC Connectivity error

    Hi Gurus,
    As per the blog( http://scn.sap.com/community/netweaver-gateway/blog/2012/12/08/transform-sap-bw-queries-into-odata-service-generation-and-activation ) I have created odata model in SEGW transaction. I am getting Rfc connection error -( 'SQL error 10760 when accessing tab) as described in the screenshot while generating runtime objects. Please help me.
    Ganesh.

    I am closing this question as the issue is resolved. The problem is with RFC Connection.

  • Sybase connection error

    I am getting following error when running my bpel process:
    file:/opt/oracle10g/product/10.1.0/oas_1/integration/orabpel/domains/default/tmp/.bpel_EBODProcess_1.0.jar/leasepak.wsdl [ leasepak_ptt::leasepakSelect_arg(leasepakSelect_arg_inparameters,RalCollection) ] - WSIF JCA Execute of operation 'leasepakSelect_arg' failed due to: Could not create/access the TopLink Session. This session is used to connect to the datastore. ; nested exception is: ORABPEL-11622 Could not create/access the TopLink Session. This session is used to connect to the datastore. See root exception for the specific exception. You may need to configure the connection settings in the j2ee/home/application-deployments/default/DbAdapter/oc4j-ra.xml and restart the server. Caused by Exception [TOPLINK-4003] (OracleAS TopLink - 10g (9.0.4.5) (Build 040930)): oracle.toplink.exceptions.DatabaseException Exception Description: Configuration error. Class [com.sybase.jdbc2.jdbc.SybDriver] not found..
    I do not have directory j2ee/home... but have the file oc4j-ra.xml in j2ee/application-deployments/default/DbAdapter/oc4j-ra.xml which i modiefied but am still getting the same error.
    Thanks.

    Hi there,
    you may need to add the Sybase driver to BPEL Server's (oc4j) classpath.
    You can check out the BPEL dev guide at otn.oracle.com/bpel. Specifically in Chapter 20 there is a section "Third-Party Database Support". I am copying from there:
    At run time, you must put the driver's JARs on the application server's classpath. You
    can do this in the following ways:
    &#9632; Edit the classpath in the following files:
    (standalone) Oracle_
    Home/integration/orabpel/system/appserver/oc4j/j2ee/home/config/application.xml
    (regular middle tier) Oracle_Home/j2ee/OC4J_BPEL/config/application.xml
    &#9632; Drop the JARs into the following directories:
    (standalone) Oracle_
    Home/integration/orabpel/system/appserver/oc4j/j2ee/home/applib
    (regular middle tier) Oracle_Home/j2ee/OC4J_BPEL/applib
    If you look at the application.xml you may notice this is how we include the jdbc drivers for olite, i.e.
    <library path="C:\OraBPELPM\integration\orabpel\lib\olite40.jar"/>
    Good luck!
    Steve

  • Sybase connection errors with SSDT

    Hello All,
    I need help.
    I'm designing datamodels in SQL Server Data Tools but am having trouble connecting to my Sybase DB (or anything other than MSSQL). The Sybase client is installed and I'm able to connect and browse to the DB via Sybase Central. However, in SSDT, I get the
    error message:
    Failed to connect to the server. Reason: The 'ASEOLEDB' provider is not registered on the local machine.
    What do I need to install/configure to make this work?
    SSDT: Visual Studio 2010 Shell ver 10.0.40219.1 SP1 Rel
    Windows Server 2008 R2 Enterprise x64bit
    Sybase Central ver 6.0.0.4787, Sybase IQ ver 15.3.0.110506
    Thanks,
    Carter

    Hi Carter,
    Base on my research, the error "The 'XXXX' provider is not registered on the local machine." was caused by that Visual Studio can only recognize 32bit providers for OLEDB providers, however, for .NET providers, both 32bit and 64 bit providers can be
    listed in VS. To avoid this issue, please install both 32bit and 64bit
    Sybase OLEDB provider and then reference the provider using ASEOLEDB in SSDT.
    Hope this helps.
    Regards,
    Charlie Liao
    TechNet Community Support

  • Why use Transparent gateway in stead of heterogenous Connectivity

    I am looking for a solution to update data in a AS400 environment through a oracle DB.
    I found information to do this. I can use transparent gateways or Generic Connectivity.
    Generic connectivity is free and for transparent gateways I have to pay.
    But what is the different between the two?
    What is the limitation of Generic connectivity?

    As you stated, Generic Connectivity is for free - from the Oracle license point of view.
    But it requires a 32bit ODBC driver from a 3rd party vendor which might require to purchase a license for the ODBC driver.
    The big difference is GC (=HSODBC) is NOT availbale for all platforms (only in 10g for Sun Sparc Solaris, AIX, HP-UX RISC, Linux 32bit and Windows) AND it is bundled with the Oracle database. This means you MUST have an Oracle database installed on the machine where you configure generic connectivity.
    The gateway (TG4DRDA) or TG4DB2400 is independant from an Oracle db.
    TG4DB2400 is installed on the AS400 machine and you can connect from any Oracle db on any platform to the gateway which then handles the connection.
    Similar for TG4DRDA; only the platform availibility is different.
    The next big difference/advantage of the gateways is the 2PC (2 phase commit) or distributed update control. You can insert something into the Oracle db and without commiting into the foreign db. Now commit your work and the gateway takes care that the transaction is only valid if BOTH inserts went well.

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

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

    Did you go through the various steps in the doc?
    There is a gateway specific forum below;
    Heterogeneous Connectivity
    Cheers
    David

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

    I am also getting this error while connecting to DB2. It works some time.

  • Error Opening a Sybase Connection

    Ok, this is the first time i have tried to establish a sybase connection before but this is what i did.
    I went to the sybase site and downloaded the new JConnect 5.5 and 4.5
    I installed it and it is setup in my classpath. jisql works properly so i am sure i have jConnect setup properly.
    So i use IBM visual age for java to program and i imported the jconn2.jar file so i could have the proper drivers, i am sure this imported properly becsaue one of the warnings on my class of not having the proper "com" installed have disapperead. When i try the connection for the DB the error message i am getting is as follows...."java.lang.ClassNotFoundException:com.sybase.jdbc2.jdbc.SybDriver"
    i am importing "import com.sybase.jdbcx.SybDriver;"
    and my code to create the connection is as follows.....
    url = "jdbc:sybase:Tds:testa:4100";
    try
    Class.forName("com.sybase.jdbc2.jdbc.SybDriver").newInstance();
    Connection con = DriverManager.getConnection(url,"sa", "sadummy");
    Statement command = con.createStatement();
    //the rest of the code...........yada yada
    I guess i dont understand what i an doing wrong to create a connection with the sybase server. Any suggestions would be great!
    Thanks
    Chris P.

    i have figured this out please ignor ethis message
    i did not ad the classpath into the run for the main() (when compiling)

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

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

    Hi 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

  • Help Configuring Transparent Gateway for Ms Sql Server

    I have Installed Oracle 9.2.0.1.0 with Transparent Gateway for Ms Sql Server.
    Followed the configuration furnished therein the Documents for Tnsnames.ora & Listener.ora.
    Connection to Sql Server 2000 is NOT SUCCESSFUL. Trace File contents from Tg4sql is furnished below :
    Oracle Corporation --- WEDNESDAY DEC 18 2002 22:32:50.625
    Heterogeneous Agent Release
    9.2.0.1.0
    HS Agent diagnosed error on initial communication,
    probable cause is an error in network administration
    Network error 2: NCR-00002: NCR: Invalid usage
    Note :- Sql Server & Oracle Server are on the same Machine running of Windows 2000 Server.
    Am i missing something !!!
    TIA

    Please guide me, would appreciate your suggestions to solve this heck....
    TIA

  • 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

Maybe you are looking for

  • 7510 Photosmart Cartridge issues

    Hi - We recently tried to replace the ink cartridges for our HP 7510 Photosmart.  We have always used 564 Cartridges but these don't seem to be available and 364 are the new replacements as per the HP compatibility charts. Unfortunately we keep getti

  • Mappings file reference sequence

    Does anyone tell me in which order iMS refers the mappings file "mapping table"? What I expect here is the sequence iMS refers on PORT_ACCESS, INTERNAL_IP, ORIG_MAIL_ACCESS, ORIG_SEND_ACCESS, SEND_ACCESS, etc.... I noticed it is not refer as in the o

  • Mac Powerbook vs. PC laptop cable to LCD projector

    My daughter has a Mac powerbook and will be showing a slideshow from her Mac for a wedding rehearsal dinner. We have borrowed an LCD projector to use. Are the cables the same for Mac lap as for PC lap to hook up to the LCD projector?  Thanks. 

  • How to  override XMLParser in WebLogic 10?

    I am trying to use a different XML parser than the one used by WebLogic server in my Application. I found some suggestions on how this can be done for WebLogic 9 but not for WebLogic 10. Can someone help me with this?

  • -Dfile.path -Djava.endorsed.dirs

    Hi, I am running a jar file from the command line in Windows. java -Dfile.path=C:\sandbox -Djava.endorsed.dirs=..\ -cp ..\xml-apis.jar; ..... What does -Dfile.path and -Djava.endorsed.dirs do? I ask because I want to run the run the jar from the embe