Error connecting to DB2 via DRDA gateway for db2
Linux 2 node RAC system version 10.2.0.4. Installed DRDA for db2 LUW version 11.2 into a new home on the existing RAC nodes. Installed and configured and followed note 945879.1. Restarted listener and configured tnsnames.ora successfully on both nodes. TNSPING works for the dg4db2 'SID' created. Created a database link, and when I tested by getting a simple count, I received the following error:
select count(*) from schema.mydb2_table@db2_105
ERROR at line 1:
ORA-28545: error diagnosed by Net8 when connecting to an agent
Unable to retrieve text of NETWORK/NCR message 65535
ORA-02063: preceding 2 lines from DB2_105Here's my listener config:
SID_LIST_LISTENER_NODE1 =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /u01/app/oracle/product/10.2.0/db_1)
(PROGRAM = extproc)
(SID_NAME=dg4db2)
(ORACLE_HOME=/u01/app/oracle/gateway/11_2/)
(ENVS=LD_LIBRARY_PATH=/u01/app/oracle/gateway/11_2/dg4db2/driver/lib;/u01/app/oracle/product/10.2.0/db_1/lib)
(PROGRAM=dg4db2)
)Here's my tnsnames.ora:
dg4db2 =
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=vip-node1)(PORT=1521))
(CONNECT_DATA=(SID=dg4db2))
(HS=OK)
)Here's the initdg4db2.ora - ip address and obfuscated:
HS_FDS_CONNECT_INFO=[the ip address]:theport/ips,LUW
HS_FDS_TRACE_LEVEL=OFF
HS_FDS_RECOVERY_ACCOUNT=RECOVER
HS_FDS_RECOVERY_PWD=RECOVER
HS_TRANSACTION_MODEL=COMMIT_CONFIRM
HS_FDS_TRANSACTION_ISOLATION=READ_COMMITTED
HS_FDS_SUPPORT_STATISTICS=TRUE
HS_FDS_RESULTSET_SUPPORT=FALSE
HS_FDS_PACKAGE_COLLID=ORACLEGTW
HS_IDLE_TIMEOUT=0And my db link syntax - database name and password obfuscated:
CREATE DATABASE LINK db2_105
CONNECT TO THEDB2DB
IDENTIFIED BY somepassword
USING 'dg4db2'tnsping output:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION= (ADDRESS=(PROTOCOL=tcp)(HOST=vip-node1)(PORT=1521)) (CONNECT_DATA=(SID=dg4db2)) (HS=OK))
OK (0 msec)Listener log from first node:
08-FEB-2010 13:36:30 * (CONNECT_DATA=(SID=dg4db2)(CID=(PROGRAM=)(HOST=node1_hostname)(USER=oracle))) * (ADDRESS=(P
ROTOCOL=tcp)(HOST=vip-node1)(PORT=55214)) * establish * dg4db2 * 12505
TNS-12505: TNS:listener does not currently know of SID given in connect descriptorNot sure where to go from here troubleshooting-wise. I understand that with 11.2, there is no longer a need to bind packages? Any help is much appreciated.
Edited by: kellypw on Feb 8, 2010 12:06 PM
Edited by: kellypw on Feb 8, 2010 12:20 PM
your listener.ora contains an error in the SID section. you miss a closing bracket for the extproc SID and another SID_DESC for the dg4db2 SID:
SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /u01/app/oracle/product/10.2.0/db_1)
(PROGRAM = extproc)
) #closing bracket is missing
(SID_DESC = # SID desc is missing
(SID_NAME=dg4db2)
(ORACLE_HOME=/u01/app/oracle/gateway/11_2/)
(ENVS=LD_LIBRARY_PATH=/u01/app/oracle/gateway/11_2/dg4db2/driver/lib;/u01/app/oracle/product/10.2.0/db_1/lib)
(PROGRAM=dg4db2)
After changing the listener.ora, stop and start the listener.
Similar Messages
-
Error connecting to mysql via ODBC
Hi folks,
I set up Oracle Database Gateway for ODBC with mysql driver (I tried mysql-connector-odbc-5.1.11-1.x86_64.rpm (currently used and log output shown) and mysql-connector-odbc-5.2.2-1.x86_64.rpm). I am unable to create a connection to the mysql database.
Here are the parameters:
Oracle database: 11gR2, AL32UTF8 , Suse SLES11 64 Bit
Oracle Database Gateway for ODBC: installed on Suse SLES10, 64 Bit
ODBC DSN: ona_nb
initona_nb.ora in /opt/oracle/product/11.2.0/gtw_odbc/hs/admin:
# This is a sample agent init file that contains the HS parameters that are
# needed for the Database Gateway for ODBC
# HS init parameters
HS_FDS_CONNECT_INFO=ona_nb
HS_FDS_TRACE_LEVEL=255
HS_FDS_SHAREABLE_NAME =/usr/lib64/libmyodbc5.so
HS_LANGUAGE=AMERICAN_AMERICA.ISO8859P1
#HS_TRANSACTION_MODEL=READ_ONLY
#HS_FDS_SQLLEN_INTERPRETATION=32
# ODBC specific environment variables
set ODBCINI=/home/oracle/odbc/ona_nb-odbc.ini
set ODBCINSTINI=/home/oracle/odbc/ona_nb-odbc.ini
(I tried diffenet Language settings or no language setting at all, slightly different ..../hs/log trace files)
ODBC file:
ona_nb-odbc.ini :
[ODBC Data Sources]
ona_nb= MySQL ODBC Driver 5.2.2-1
[ona_nb]
Driver = /usr/lib64/libmyodbc5.so
DATABASE = ona_default
DESCRIPTION = MySQL Verbindung zur ona V11 Datenbank auf Christians Notebook
PORT = 3306
SERVER = cwolbert.gsi.de
UID = oreader
PWD = xxxxxx
[ODBC]
TRACEFILE = /tmp/mysql-odbc-ona_nb.trc
TRACE = Yes
ForceTrace = Yes
set LD_LIBRARY_PATH=/usr/lib64:/opt/oracle/product/11.2.0/gtw_odbc/
Listener.ora:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /opt/oracle/product/11.2.0/dbhome_3)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = gridrep.gsi.de)
(ORACLE_HOME = /opt/oracle/product/11.2.0/dbhome_3)
(SID_NAME = gridrep)
(SID_DESC=
(SID_NAME=ona_nb)
(ORACLE_HOME=/opt/oracle/product/11.2.0/gtw_odbc)
(PROGRAM=dg4odbc)
(ENVS=LD_LIBRARY_PATH=/usr/lib64:/opt/oracle/product/11.2.0/gtw_odbc/lib)
Trying
select * from locations@ona_nb
whre ona_nb is the dblink
CREATE DATABASE LINK "ONA_NB.GSI.DE"
CONNECT TO OREADER
IDENTIFIED BY <PWD>
USING 'ona_nb';
I get the error
ORA-28511: RPC-Verbindung zu heterogenem Remote Agent mit SID=ORA-28511: RPC-Verbindung zu heterogenem Remote Agent mit SID=(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=pcora11.gsi.de)(PORT=1521))(CONNECT_DATA=(SID=ona_nb))) abgebrochen abgebrochen
ORA-02063: vorherige line von ONA_NB
and here is the trace file from hs/log. I am unable to create any ODBC trace file, fiddling around with differnt settings
Oracle Corporation --- FRIDAY NOV 23 2012 15:37:21.114
Heterogeneous Agent Release
11.2.0.1.0
Oracle Corporation --- FRIDAY NOV 23 2012 15:37:21.113
Version 11.2.0.1.0
Entered hgogprd
HOSGIP for "HS_FDS_TRACE_LEVEL" returned "255"
Entered hgosdip
setting HS_OPEN_CURSORS to default of 50
setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
setting HS_FDS_RECOVERY_PWD to default value
setting HS_FDS_TRANSACTION_LOG to default of HS_TRANSACTION_LOG
setting HS_IDLE_TIMEOUT to default of 0
setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
setting HS_NLS_NCHAR to default of "AL32UTF8"
setting HS_FDS_TIMESTAMP_MAPPING to default of "DATE"
setting HS_FDS_DATE_MAPPING to default of "DATE"
setting HS_RPC_FETCH_REBLOCKING to default of "ON"
setting HS_FDS_FETCH_ROWS to default of "100"
setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
setting HS_FDS_RSET_RETURN_ROWCOUNT to default of "FALSE"
setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
setting HS_FDS_CHARACTER_SEMANTICS to default of "FALSE"
setting HS_FDS_MAP_NCHAR to default of "TRUE"
setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
setting HS_FDS_QUERY_DRIVER to default of "TRUE"
setting HS_FDS_SUPPORT_STATISTICS to default of "FALSE"
Parameter HS_FDS_QUOTE_IDENTIFIER is not set
setting HS_KEEP_REMOTE_COLUMN_SIZE to default of "OFF"
setting HS_FDS_GRAPHIC_TO_MBCS to default of "FALSE"
setting HS_FDS_MBCS_TO_GRAPHIC to default of "FALSE"
Default value of 64 assumed for HS_FDS_SQLLEN_INTERPRETATION
setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics;gtw$:SQLGetInfo"
setting HS_FDS_DELAYED_OPEN to default of "TRUE"
setting HS_FDS_WORKAROUNDS to default of "0"
Exiting hgosdip, rc=0
ORACLE_SID is "ona_nb"
Product-Info:
Port Rls/Upd:1/0 PrdStat:0
Agent:Oracle Database Gateway for ODBC
Facility:hsa
Class:ODBC, ClassVsn:11.2.0.1.0_0008, Instance:ona_nb
Exiting hgogprd, rc=0
hostmstr: 0: HOA After hoagprd
hostmstr: 0: HOA Before hoainit
Entered hgoinit
HOCXU_COMP_CSET=1
HOCXU_DRV_CSET=873
HOCXU_DRV_NCHAR=873
HOCXU_DB_CSET=873
HOCXU_SEM_VER=112000
Entered hgolofn at 2012/11/23-15:37:21
HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/usr/lib64/libmyodbc5.so"
Entered hgolofns at 2012/11/23-15:37:21
libname=/usr/lib64/libmyodbc5.so, funcname=SQLAllocHandle
symbol_peflctx=0xaab3f456
hoaerr:0
Exiting hgolofns at 2012/11/23-15:37:21
Entered hgolofns at 2012/11/23-15:37:21
libname=/usr/lib64/libmyodbc5.so, funcname=SQLBindCol
symbol_peflctx=0xaab44ce3
hoaerr:0
Exiting hgolofns at 2012/11/23-15:37:21
Entered hgolofns at 2012/11/23-15:37:21
libname=/usr/lib64/libmyodbc5.so, funcname=SQLBindParameter
symbol_peflctx=0xaab4342c
hoaerr:0
Exiting hgolofns at 2012/11/23-15:37:21
Entered hgolofns at 2012/11/23-15:37:21
libname=/usr/lib64/libmyodbc5.so, funcname=SQLCancel
symbol_peflctx=0xaab3e6e5
hoaerr:0
Exiting hgolofns at 2012/11/23-15:37:21
Entered hgolofns at 2012/11/23-15:37:21
libname=/usr/lib64/libmyodbc5.so, funcname=SQLDescribeParam
symbol_peflctx=0xaab4346b
.... many similar stuff
Exiting hgolofns at 2012/11/23-15:37:21
Entered hgolofns at 2012/11/23-15:37:21
libname=/usr/lib64/libmyodbc5.so, funcname=SQLStatisticsW
symbol_peflctx=0xaab477de
hoaerr:0
Exiting hgolofns at 2012/11/23-15:37:21
Entered hgolofns at 2012/11/23-15:37:21
libname=/usr/lib64/libmyodbc5.so, funcname=SQLTablesW
symbol_peflctx=0xaab47a16
hoaerr:0
Exiting hgolofns at 2012/11/23-15:37:21
Exiting hgolofn, rc=0 at 2012/11/23-15:37:21
HOSGIP for "HS_OPEN_CURSORS" returned "50"
HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
HOSGIP for "HS_KEEP_REMOTE_COLUMN_SIZE" returned "OFF"
HOSGIP for "HS_FDS_DELAYED_OPEN" returned "TRUE"
HOSGIP for "HS_FDS_WORKAROUNDS" returned "0"
HOSGIP for "HS_FDS_MBCS_TO_GRAPHIC" returned "FALSE"
HOSGIP for "HS_FDS_GRAPHIC_TO_MBCS" returned "FALSE"
Invalid value of 64 given for HS_FDS_SQLLEN_INTERPRETATION
treat_SQLLEN_as_compiled = 1
Exiting hgoinit, rc=0 at 2012/11/23-15:37:21
hostmstr: 0: HOA After hoainit
hostmstr: 0: HOA Before hoalgon
Entered hgolgon at 2012/11/23-15:37:21
reco:0, name:OREADER, tflag:0
Entered hgosuec at 2012/11/23-15:37:21
Exiting hgosuec, rc=0 at 2012/11/23-15:37:21
HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
HOSGIP for "HS_FDS_TRANSACTION_LOG" returned "HS_TRANSACTION_LOG"
HOSGIP for "HS_FDS_TIMESTAMP_MAPPING" returned "DATE"
HOSGIP for "HS_FDS_DATE_MAPPING" returned "DATE"
HOSGIP for "HS_FDS_CHARACTER_SEMANTICS" returned "FALSE"
HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
HOSGIP for "HS_FDS_RESULTSET_SUPPORT" returned "FALSE"
HOSGIP for "HS_FDS_RSET_RETURN_ROWCOUNT" returned "FALSE"
HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
using OREADER as default value for "HS_FDS_DEFAULT_OWNER"
HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
Entered hgocont at 2012/11/23-15:37:21
HS_FDS_CONNECT_INFO = "ona_nb"
RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
Entered hgogenconstr at 2012/11/23-15:37:21
dsn:ona_nb, name:OREADER
optn:
Entered hgocip at 2012/11/23-15:37:21
dsn:ona_nb
Exiting hgocip, rc=0 at 2012/11/23-15:37:21
##>Connect Parameters (len=33)<##
## DSN=ona_nb;
#! UID=OREADER;
#! PWD=*
Exiting hgogenconstr, rc=0 at 2012/11/23-15:37:21
Entered hgopoer at 2012/11/23-15:37:21
hgopoer, line 233: got native error 0 and sqlstate H; message follows...
Exiting hgopoer, rc=0 at 2012/11/23-15:37:21
hgocont, line 2752: calling SqlDriverConnect got sqlstate H
Using no HS_LANGUAGE or HS_LANGUAGE=AMERICAN_AMERICA.AL32UTF8
I still get the same error meassages and logs.
Can you help please?
Cheers MichaelHi Klaus,
I think the unixODBC driver manager is installed
I have:
oracle@pcora11:/opt/oracle/product/11.2.0/gtw_odbc/hs/log> odbcinst -j
unixODBC 2.2.11
DRIVERS............: /etc/unixODBC/odbcinst.ini
SYSTEM DATA SOURCES: /etc/unixODBC/odbc.ini
USER DATA SOURCES..: /home/oracle/.odbc.ini
and
cat /etc/unixODBC/odbcinst.ini
[MySQL ODBC 5.1 Driver]
Driver = /usr/lib64/libmyodbc5.so
UsageCount = 1
but the two file for SYSTEM and USER DSN are empty.
I tried now:
HS_FDS_SHAREABLE_NAME =/usr/lib64/libodbc.so
and
HS_LANGUAGE=AMERICAN_AMERICA.WE8ISO8859P1
and the result is still the same, what I posted in the prevoius answer to Mike,
ORA-28500: Verbindung von ORACLE zu Fremdsystem gab diese Nachricht zur³ck:
[unixODBC][MySQL][ODBC 5.1 Driver]Access denied for user
'OREADER'@'pcora11.gsi.de' (using password: YES) {HY000,NativeErr = 1045}
ORA-02063: vorherige 2 lines von ONA_NB
and in the trace file:
##>Connect Parameters (len=33)<##
## DSN=ona_nb;
#! UID=OREADER;
#! PWD=*
Exiting hgogenconstr, rc=0 at 2012/11/26-13:25:50
Entered hgopoer at 2012/11/26-13:25:50
hgopoer, line 233: got native error 1045 and sqlstate HY000; message follows...
[unixODBC][MySQL][ODBC 5.1 Driver]Access denied for user 'OREADER'@'pcora11.gsi.de' (using password: YES) {HY000,NativeErr = 1045}
Exiting hgopoer, rc=0 at 2012/11/26-13:25:50
hgocont, line 2752: calling SqlDriverConnect got sqlstate HY000
Exiting hgocont, rc=28500 at 2012/11/26-13:25:50 with error ptr FILE:hgocont.c LINE:2772 FUNCTION:hgocont() ID:Something other than invalid authorization
Exiting hgolgon, rc=28500 at 2012/11/26-13:25:50 with error ptr FILE:hgolgon.c LINE:781 FUNCTION:hgolgon() ID:Calling hgocont
hostmstr: 0: HOA After hoalgon
RPC Calling nscontrol(0), rc=0
hostmstr: 0: RPC Before Exit Agent
hostmstr: 0: HOA Before hoaexit
Entered hgoexit at 2012/11/26-13:25:50
Exiting hgoexit, rc=0
hostmstr: 0: HOA After hoaexit
hostmstr: 0: RPC After Exit Agent
Even if I copy the content of ona_nb-odbc.ini file to /etc/unixODBC/obc.ini
I still get the same error.
Any ideas?
Michael -
Errors connecting to Oracle via perl DBI
Hi List.
I've installed Oracle on my linux box (SuSE 10) and I've installed
DBD::Oracle.
I can run sqlplus as the oracle user however when I try and connect via
DBD::Oracle in a perl script I always get errors as follows:
connect string =
my $dbh = DBI->connect("dbi:Oracle:ORCL", 'oracle', 'oracle' );
error =
DBI connect('ORCL','oracle',...) failed: ORA-12541: TNS:no listener (DBD
ERROR: OCIServerAttach) at ora1.pl line 7
Connection Failed...
connect string =
my $dbh = DBI->connect("dbi:Oracle:HOST=linux.site;SID=ORCL;PORT=1522",
'oracle', 'oracle' );
error =
DBI connect('HOST=linux.site;SID=ORCL;PORT=1522','oracle',...) failed:
ORA-12541: TNS:no listener (DBD ERROR: OCIServerAttach) at ora1.pl line 7
Connection Failed...
Maybe I have the connect string wrong?
Below is a listing of my code, and my tnsnames.ora:
Thanks in advance for your help.
############ code listing ################ #!/usr/bin/perl
use DBI;
print "Started\n";
my $dbh = DBI->connect("dbi:Oracle:HOST=linux.site;SID=ORCL;PORT=1522",
'oracle', 'oracle' );
if ($dbh) {
print "Connected...\n";
else {
print "Connection Failed...\n";
exit;
my $qry = $dbh->prepare("select count(*) from dba_tables");
$qry->execute();
my @data = $qry->fetchrow_array();
print "[$data[0]] [$data[1]] [$data[2]]\n";
exit;
######### tnsnames.ora listing #####################
# Generated by Oracle configuration tools.
LISTENER_ORCL =
(ADDRESS = (PROTOCOL = TCP)(HOST = linux.site)(PORT = 1522))
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = linux.site)(PORT = 1522))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC2))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)'TNS: no listener' usually means that your listener hasn't been started. Try a lsnrctl status to find out whether your Listener is actually running.
-
Relogin Error connecting to ISA B2B Shop iView for SAP CRM 4.0
Hi
I am trying to access ISA B2B Shop iView (for SAP CRM 4.0) from EP 6.0 SP14. I am getting the below mentioned error
ERROR : "The session is invalid." "Please re-login."
Please find the portal version details:
Area Version
J2EE Engine 6.40 PatchLevel 98256.313
Portal 6.0.14.0.0
Please help me in solving this issue
Regards
SudhirHi,
I have the same error, could you help me ?
Thanks and regards.
Manuel .- -
Alternate way to connect apple tv via micro cord for maintanence
help
people repport that atv's don't always get along with hdmi switches
component support a max 1080i but not HDCP which is the encryptment drm protocol required to see netflix, and rent movies and......
some dvi versions dont even support HDCP -
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. -
URGENT : ransparent Gateway for RMS
Hi,
Where can i find the Transparent Gateway for RMS distrib. ?
Somewhere to download ?
Oracle 8.1.6 / OpenVMS (Compaq Alpha)
Thanks in advance
AlbanThanks but,
where is the transparent gateways section ???
i can't find it :-(
i have the db instalation cd (9.2.0.1) and i started a custom instal so i can chhose the component but there is no transparent gateway for db2/as400
there is for sybase and sqlserver but not for the db2/as400.
also the instalation of this gateway needs to be on the as400 os.
i feel realy stupid that i can't find that thing -
Error using Oracle Database Gateway for DRDA
Hello All,
We're encountering issues while trying to query a table using a db link to DB2 database.
We are running oracle 11g R1 on windows and we have DB2 installed on the box. We've installed database gateway for DRDA also on the same box. The gateway is running on a different home location within the same machine. But we get the following error while trying to query across the db link. Would be great if you can take a look and suggest appropriate changes.
ORA-28545: error diagnosed by Net8 when connecting to an agent
Unable to retrieve text of NETWORK/NCR message 65535
ORA-02063: preceding 2 lines from UDB
Here's how we configured the gateway:
Listener:
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=
(SID_NAME=DB2)
(ORACLE_HOME=E:\app\Oracle\product\11.1.0\db_1)
(PROGRAM=g4drsrv)
(SID_DESC=
(SID_NAME=PLSExtProc)
(ORACLE_HOME=E:\app\Oracle\product\11.1.0\db_1)
(PROGRAM=extproc)
Tns:
dg4drda.idc.oracle.com =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = xpone.idc.oracle.com)
(PORT = 1521))
(CONNECT_DATA =
(SID= DB2))
(HS=OK)
initDB2.ora
HS_COMMIT_POINT_STRENGTH=255
HS_NLS_DATE_FORMAT=YYYY-MM-DD
HS_LANGUAGE=AMERICAN_AMERICA.WE8ISO8859P1
HS_RPC_FETCH_REBLOCKING=off
HS_RPC_FETCH_SIZE=32767
HS_FDS_FETCH_ROWS=20
FDS_CLASS=DG4DRDA_DB2UDB
DRDA_CONNECT_PARM=xpone.idc.oracle.com:50000
DRDA_REMOTE_DB_NAME=SAMPLE
DRDA_PACKAGE_COLLID=ORA11
DRDA_PACKAGE_NAME=G2DRSQL
DRDA_PACKAGE_CONSTOKEN=A929B170D366FB00
DRDA_RECOVERY_USERID=ORADRDA
DRDA_RECOVERY_PASSWORD=ORADRDA
DRDA_ISOLATION_LEVEL=CS
DRDA_DISABLE_CALL=TRUE
DRDA_CODEPAGE_MAP=codepage.map
heres how we created the db link:
CREATE DATABASE LINK udb CONNECT TO ORACLE IDENTIFIED BY "welcome1" USING 'dg4drda.idc.oracle.com';
and this was the sql executed
select * from employee@udb;
Really appreciate your assistance.
Regards
KrishnaHello Mike,
Here's the entire listener entry (I've changed the SID to DB2. Consequently I have also changed the SID in tns and gateway init under folder "11.1.0\tg_1\dg4drda\admin"
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = XPONE)(PORT = 1521))
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=
(SID_NAME=DB2)
(ORACLE_HOME=E:\app\Oracle\product\11.1.0\db_1)
(PROGRAM=g4drsrv)
(SID_DESC=
(SID_NAME=PLSExtProc)
(ORACLE_HOME=E:\app\Oracle\product\11.1.0\db_1)
(PROGRAM=extproc)
I've also added the necessary IP entry to my host file.
Here's the listener log. I've grabbed it for 2 consecutive attempts to bind the package.
<msg time='2010-02-11T11:11:25.562-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>Trace information written to e:\app\oracle\diag\tnslsnr\xpone\listener\trace\ora_752_2136.trc
</txt>
</msg>
<msg time='2010-02-11T11:11:25.562-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>Trace level is currently 0
</txt>
</msg>
<msg time='2010-02-11T11:11:25.578-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>
</txt>
</msg>
<msg time='2010-02-11T11:11:25.578-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>Started with pid=752
</txt>
</msg>
<msg time='2010-02-11T11:11:25.593-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
</txt>
</msg>
<msg time='2010-02-11T11:11:25.609-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xpone)(PORT=1521)))
</txt>
</msg>
<msg time='2010-02-11T11:11:28.031-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>Listener completed notification to CRS on start
</txt>
</msg>
<msg time='2010-02-11T11:11:28.062-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>
TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
</txt>
</msg>
<msg time='2010-02-11T11:11:29.546-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xpone)(PORT=8080))(Presentation=HTTP)(Session=RAW))
</txt>
</msg>
<msg time='2010-02-11T11:11:29.578-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:11:29 * service_register * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:11:45.015-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:11:44 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)(CID=(PROGRAM=E:\app\Oracle\product\11.1.0\db_1\bin\sqlplus.exe)(HOST=XPONE)(USER=Oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.100)(PORT=1076)) * establish * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:11:47.500-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:11:47 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:11:49.890-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:11:49 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)(CID=(PROGRAM=E:\app\Oracle\product\11.1.0\db_1\bin\sqlplus.exe)(HOST=XPONE)(USER=Oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.100)(PORT=1077)) * establish * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:11:53.500-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:11:53 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:11:54.343-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:11:54 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)(CID=(PROGRAM=E:\app\Oracle\product\11.1.0\db_1\bin\sqlplus.exe)(HOST=XPONE)(USER=Oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.100)(PORT=1078)) * establish * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:11:56.515-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:11:56 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:12:02.531-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:12:02 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:12:11.546-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:12:11 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:12:13.140-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:12:13 * (CONNECT_DATA=(SID=DB2)(CID=(PROGRAM=)(HOST=MSHOME\XPONE)(USER=XPONE\Oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.100)(PORT=1080)) * establish * DB2 * 12518
</txt>
</msg>
<msg time='2010-02-11T11:12:13.156-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>TNS-12518: TNS:listener could not hand off client connection
TNS-12560: TNS:protocol adapter error
TNS-00530: Protocol adapter error
32-bit Windows Error: 2: No such file or directory
</txt>
</msg>
<msg time='2010-02-11T11:12:13.390-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:12:13 * (CONNECT_DATA=(SID=DB2)(CID=(PROGRAM=)(HOST=MSHOME\XPONE)(USER=XPONE\Oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.100)(PORT=1081)) * establish * DB2 * 12518
</txt>
</msg>
<msg time='2010-02-11T11:12:13.437-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>TNS-12518: TNS:listener could not hand off client connection
TNS-12560: TNS:protocol adapter error
TNS-00530: Protocol adapter error
32-bit Windows Error: 2: No such file or directory
</txt>
</msg>
<msg time='2010-02-11T11:12:35.578-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:12:35 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:13:41.718-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:13:41 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:14:11.765-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:14:11 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:14:14.781-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:14:14 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:14:23.796-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:14:23 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:15:53.843-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:15:53 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:16:11.875-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:16:11 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:16:26.890-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:16:26 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:17:35.921-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:17:35 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:17:37.546-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:17:37 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:17:42.203-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>No longer listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xpone)(PORT=8080))(Presentation=HTTP)(Session=RAW))
</txt>
</msg>
<msg time='2010-02-11T11:17:42.218-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:17:42 * service_died * orcl * 12537
</txt>
</msg>
<msg time='2010-02-11T11:17:54.265-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>System parameter file is E:\app\Oracle\product\11.1.0\db_1\network\admin\listener.ora
</txt>
</msg>
<msg time='2010-02-11T11:17:54.281-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>Log messages written to e:\app\oracle\diag\tnslsnr\xpone\listener\alert\log.xml
</txt>
</msg>
<msg time='2010-02-11T11:17:54.281-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>Trace information written to e:\app\oracle\diag\tnslsnr\xpone\listener\trace\ora_3060_3104.trc
</txt>
</msg>
<msg time='2010-02-11T11:17:54.281-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>Trace level is currently 0
</txt>
</msg>
<msg time='2010-02-11T11:17:54.296-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>
</txt>
</msg>
<msg time='2010-02-11T11:17:54.296-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>Started with pid=3060
</txt>
</msg>
<msg time='2010-02-11T11:17:54.296-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
</txt>
</msg>
<msg time='2010-02-11T11:17:54.328-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xpone)(PORT=1521)))
</txt>
</msg>
<msg time='2010-02-11T11:17:56.578-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>Listener completed notification to CRS on start
</txt>
</msg>
<msg time='2010-02-11T11:17:56.609-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>
TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
</txt>
</msg>
<msg time='2010-02-11T11:18:06.562-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:18:06 * service_register * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:18:09.578-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:18:09 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:18:12.609-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:18:12 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:18:18.625-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:18:18 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:18:39.625-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xpone)(PORT=8080))(Presentation=HTTP)(Session=RAW))
</txt>
</msg>
<msg time='2010-02-11T11:18:39.625-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:18:39 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:18:42.609-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:18:42 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:18:48.609-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:18:48 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:19:00.687-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:19:00 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)(CID=(PROGRAM=E:\app\Oracle\product\11.1.0\db_1\bin\sqlplus.exe)(HOST=XPONE)(USER=Oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.100)(PORT=1095)) * establish * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:19:03.625-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:19:03 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:19:17.140-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:19:17 * (CONNECT_DATA=(SID=DB2)(CID=(PROGRAM=)(HOST=MSHOME\XPONE)(USER=XPONE\Oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.100)(PORT=1096)) * establish * DB2 * 12518
</txt>
</msg>
<msg time='2010-02-11T11:19:17.171-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>TNS-12518: TNS:listener could not hand off client connection
TNS-12560: TNS:protocol adapter error
TNS-00530: Protocol adapter error
32-bit Windows Error: 2: No such file or directory
</txt>
</msg>
<msg time='2010-02-11T11:19:17.265-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:19:17 * (CONNECT_DATA=(SID=DB2)(CID=(PROGRAM=)(HOST=MSHOME\XPONE)(USER=XPONE\Oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.100)(PORT=1097)) * establish * DB2 * 12518
</txt>
</msg>
<msg time='2010-02-11T11:19:17.296-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>TNS-12518: TNS:listener could not hand off client connection
TNS-12560: TNS:protocol adapter error
TNS-00530: Protocol adapter error
32-bit Windows Error: 2: No such file or directory
</txt>
</msg>
<msg time='2010-02-11T11:19:20.578-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:19:20 * (CONNECT_DATA=(SID=DB2)(CID=(PROGRAM=)(HOST=MSHOME\XPONE)(USER=XPONE\Oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.100)(PORT=1098)) * establish * DB2 * 12518
</txt>
</msg>
<msg time='2010-02-11T11:19:20.609-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>TNS-12518: TNS:listener could not hand off client connection
TNS-12560: TNS:protocol adapter error
TNS-00530: Protocol adapter error
32-bit Windows Error: 2: No such file or directory
</txt>
</msg>
<msg time='2010-02-11T11:19:20.671-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:19:20 * (CONNECT_DATA=(SID=DB2)(CID=(PROGRAM=)(HOST=MSHOME\XPONE)(USER=XPONE\Oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.100)(PORT=1099)) * establish * DB2 * 12518
</txt>
</msg>
<msg time='2010-02-11T11:19:20.703-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>TNS-12518: TNS:listener could not hand off client connection
TNS-12560: TNS:protocol adapter error
TNS-00530: Protocol adapter error
32-bit Windows Error: 2: No such file or directory
</txt>
</msg>
<msg time='2010-02-11T11:19:21.640-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:19:21 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:19:23.015-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:19:22 * (CONNECT_DATA=(SID=DB2)(CID=(PROGRAM=)(HOST=MSHOME\XPONE)(USER=XPONE\Oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.100)(PORT=1100)) * establish * DB2 * 12518
</txt>
</msg>
<msg time='2010-02-11T11:19:23.046-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>TNS-12518: TNS:listener could not hand off client connection
TNS-12560: TNS:protocol adapter error
TNS-00530: Protocol adapter error
32-bit Windows Error: 2: No such file or directory
</txt>
</msg>
<msg time='2010-02-11T11:19:23.156-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:19:23 * (CONNECT_DATA=(SID=DB2)(CID=(PROGRAM=)(HOST=MSHOME\XPONE)(USER=XPONE\Oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.100)(PORT=1101)) * establish * DB2 * 12518
</txt>
</msg>
<msg time='2010-02-11T11:19:23.187-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>TNS-12518: TNS:listener could not hand off client connection
TNS-12560: TNS:protocol adapter error
TNS-00530: Protocol adapter error
32-bit Windows Error: 2: No such file or directory
</txt>
</msg>
And finally, the listener is starting from Oracle Home and I do not have any other Oracle products installed.
Thanks a billion for all your suggestions.
Regards
Krishna -
Error while installing NW7.3 ABAP for DB2 on z/OS Install DB CLI driver
Dear Experts,
i'm installing for the first time NW7.3 ABAP for DB2 on z/OS with AIX application server. Central Services was installed succesfull but next step Install Database on AIX stoped with error (establishConn.log):
db2radm (release: "720", patch level: "000", version: "Jan 14 2012") begin:28.02.2012 10:54:39
This is db2radm release: "720", patch level: "120", version: "Jan 14 2012".
This is db2radm setting up DB2 Connect.
Message file is /sapmnt/tmp/sapinst_instdir/NW73/INSTALL/NW73/DB2/HA/PI/DB/establishConn.log.
db2radm called as: /usr/sap/DW8/SYS/exe/uc/rs6000_64/db2radm -m db2i -P 456 -L DW8DDF -S DW88 -H s10d1 -u SAPADM -p ******** -W primary_only -l /sapmnt/tmp/sapinst_instdir/NW73/INSTALL/NW73/DB2/HA/PI/DB/establishConn.log
Adjusting environment
dbs_db2_ssid=DW88
SAPDBHOST=s10d1
dbs_db2_user=SAPADM
dbs_db2_schema=SAPADM
dbs_db2_schema8=1
dbs_db2_pw=********
Checking environment
DB host = s10d1
SSID = DW88
SAPSYSTEMNAME = DW8
DB2Trc: 000000 CLI_ALLOC_ENV 1
connect.ini file used: 'connect.ini.for.db2radm'
Fail over connection list of this application server:
NAME = DW88_on_s10d1
USER = SAPADM
PASSWORD = <***>
SCHEMA = SAPADM
PS = SAP0907U
LOCATION = DW8DDF
SSID = DW88
HOST = s10d1
PORT = 456
RETRY_CNT = 3
SLEEP_TIME = 0
DB2Trc: trace level of dbdb2cli set to 1
COLLECTION ID used is "SAP0907U"
DB2 Call 'SQLDriverConnectW' Warning: SQLCODE = 8007 : [IBM][CLI Driver][DB2] SQL8007W There are "90" day(s) left in the evaluation period for the product "DB2 Connect". For evaluation license terms and conditions, refer to the License Agreement document located in the license directory in the installation path of this product. If you have licensed this product, ensure the license key is properly registered. You can register the license via the License Center or db2licm command line utility. The license key can be obtained from your licensed product CD. SQL
use lib_dbsl for DB2 version V9.
Callback functions for dynamic profile parameter registered
DbSl library successfully loaded.
WARNING: schema with 8 bytes length allowed; shadow upgrate will not work
dbs/db2/use_accounting != 1 -> DB2 accounting is switched off
dbs/db2/use_drda_lob_handling != 1 -> SAP LOB handling is used
dbs/db2/chaining = 20 -> CLI CHAIN optimization is switched on
dbs/db2/opt2_hint = 1 -> implicit 'optimize for 1 rows' hint is switched off
SQL DRIVER VERSION is "09.07.0003"
DB2Connect driver identified as THIN CLIENT
Now I'm connected to DW88_on_s10d1
DB2 DBMS version 09.01.0005
DB2 LOCATION name DW8DDF
(HYB): Info: Using OLD dbsl support.
DB2 connect shared library loaded successfully.
09.07.0003DB2Connect driver identified as THIN CLIENT
WARNING: schema with 8 bytes length allowed; shadow upgrate will not work
dbs/db2/use_accounting != 1 -> DB2 accounting is switched off
dbs/db2/use_drda_lob_handling != 1 -> SAP LOB handling is used
dbs/db2/chaining = 20 -> CLI CHAIN optimization is switched on
dbs/db2/opt2_hint = 1 -> implicit 'optimize for 1 rows' hint is switched off
DBSLHA: Got Failover profile /usr/sap/DW8/SYS/global/connect.ini
DBSLHA: Using new Failover Support
DBSLHA: Using user( SAPADM) and password(<pwd>) from profile.
DBSLHA:
DBSLHA:Connection List
DBSLHA:
DBSLHA:NAME |HOST |SSID|COLLECTION |PLAN |PORT |SCHEMA |OWNER |LOCATION |RETRY|SLEEP|
DBSLHA:--|||||||||-|---|
DBSLHA:DW88_on_s1|s10d1 |DW88|SAP<DB2Conne| | |SAPADM |SAPADM |DW8DDF |00003|00000|
DBSLHA:--|||||||||-|---|
GetHaProfile: GetHaProfile: found 1 connections in connection profile.
GetHaProfile: found section DW88_on_s10d1, ssid DW88, port 456, location DW8DDF, host s10d1 in connection profile
connection profile /usr/sap/DW8/SYS/global/connect.ini opened.
>>>>>> dump of connection profile
ADDED 20120228 103331 by DB2RADM RELEASE 720 PATHLEVEL 000
[DEFAULT_GROUP]
CON1=DW88_on_s10d1
[DW88_on_s10d1]
SSID=DW88
HOST=s10d1
PORT=456
LOCATION=DW8DDF
<<<<<< end of dump of connection profile
ssid DW88 found in connection profile, section DW88_on_s10d1.
>>> analyse line: * ADDED 20120228 103331 by DB2RADM RELEASE 720 PATHLEVEL 000
>>> analyse line: [DEFAULT_GROUP]
>>> analyse line: CON1=DW88_on_s10d1
>>> analyse line:
>>> analyse line: [DW88_on_s10d1]
section DW88_on_s10d1 found.
>>> analyse line: SSID=DW88
>>> analyse line: HOST=s10d1
>>> analyse line: PORT=456
>>> analyse line: LOCATION=DW8DDF
>>> analyse line: section DW88_on_s10d1 found and data matches.
backup connection profile /usr/sap/DW8/SYS/global/connect.ini .
switch connection profile /usr/sap/DW8/SYS/global/connect.ini .
check for adapted connection profile.
WARNING: schema with 8 bytes length allowed; shadow upgrate will not work
dbs/db2/use_accounting != 1 -> DB2 accounting is switched off
dbs/db2/use_drda_lob_handling != 1 -> SAP LOB handling is used
dbs/db2/chaining = 20 -> CLI CHAIN optimization is switched on
dbs/db2/opt2_hint = 1 -> implicit 'optimize for 1 rows' hint is switched off
DBSLHA: Got Failover profile /usr/sap/DW8/SYS/global/connect.ini
DBSLHA: Using new Failover Support
DBSLHA: Using user( SAPADM) and password(<pwd>) from profile.
DBSLHA:
DBSLHA:Connection List
DBSLHA:
DBSLHA:NAME |HOST |SSID|COLLECTION |PLAN |PORT |SCHEMA |OWNER |LOCATION |RETRY|SLEEP|
DBSLHA:--|||||||||-|---|
DBSLHA:DW88_on_s1|s10d1 |DW88|SAP<DB2Conne| | |SAPADM |SAPADM |DW8DDF |00003|00000|
DBSLHA:--|||||||||-|---|
GetHaProfile: GetHaProfile: found 1 connections in connection profile.
GetHaProfile: found section DW88_on_s10d1, ssid DW88, port 456, location DW8DDF, host s10d1 in connection profile
ssid DW88 found in connection profile, section DW88_on_s10d1.
check for adapted connection profile passed.
WARNING: schema with 8 bytes length allowed; shadow upgrate will not work
dbs/db2/use_accounting != 1 -> DB2 accounting is switched off
dbs/db2/use_drda_lob_handling != 1 -> SAP LOB handling is used
dbs/db2/chaining = 20 -> CLI CHAIN optimization is switched on
dbs/db2/opt2_hint = 1 -> implicit 'optimize for 1 rows' hint is switched off
DBSLHA: Got Failover profile /usr/sap/DW8/SYS/global/connect.ini
DBSLHA: Using new Failover Support
DBSLHA: Using user( SAPADM) and password(<pwd>) from profile.
DBSLHA:
DBSLHA:Connection List
DBSLHA:
DBSLHA:NAME |HOST |SSID|COLLECTION |PLAN |PORT |SCHEMA |OWNER |LOCATION |RETRY|SLEEP|
DBSLHA:--|||||||||-|---|
DBSLHA:DW88_on_s1|s10d1 |DW88|SAP<DB2Conne| | |SAPADM |SAPADM |DW8DDF |00003|00000|
DBSLHA:--|||||||||-|---|
GetHaProfile: GetHaProfile: found 1 connections in connection profile.
GetHaProfile: found section DW88_on_s10d1, ssid DW88, port 456, location DW8DDF, host s10d1 in connection profile
WARNING: schema with 8 bytes length allowed; shadow upgrate will not work
dbs/db2/use_accounting != 1 -> DB2 accounting is switched off
dbs/db2/use_drda_lob_handling != 1 -> SAP LOB handling is used
dbs/db2/chaining = 20 -> CLI CHAIN optimization is switched on
dbs/db2/opt2_hint = 1 -> implicit 'optimize for 1 rows' hint is switched off
DBSLHA: Got Failover profile /usr/sap/DW8/SYS/global/connect.ini
DBSLHA: Using new Failover Support
DBSLHA: Using user( SAPADM) and password(<pwd>) from profile.
DBSLHA:
DBSLHA:Connection List
DBSLHA:
DBSLHA:NAME |HOST |SSID|COLLECTION |PLAN |PORT |SCHEMA |OWNER |LOCATION |RETRY|SLEEP|
DBSLHA:--|||||||||-|---|
DBSLHA:DW88_on_s1|s10d1 |DW88|SAP<DB2Conne| | |SAPADM |SAPADM |DW8DDF |00003|00000|
DBSLHA:--|||||||||-|---|
SQL DRIVER VERSION is "09.07.0003"
DB2Connect driver identified as THIN CLIENT
DB2Trc: 00 000000 cli_get_cli_driver_bld_level 1 s101006
SQL DRIVER NAME is "libdb2.a"
SQL DBMS NAME is "DB2"
SQL DBMS VERSION is "09.01.0005"
DATABASE NAME(DB2 Connect DCS database name) is "DW8DDF"
The bind is skipped since collection for ssid DW88 is already bound.
To force the bind, use option "-B force".
DB2TRC: 0000000000 00 000000 CLI_DISCONNECT
DB2TRC: 0000000000 00 000000 CLI_FREE_DBC 1
DB2TRC: 0000000000 00 000000 CLI_FREE_ENV 1
DB VERSION is 09.01.0005.
Starting Grants .
DB2Trc: 000000 CLI_ALLOC_ENV 1
COLLECTION ID used is "SAP0907U"
DB2 Call 'SQLDriverConnectW' Warning: SQLCODE = 8007 : [IBM][CLI Driver][DB2] SQL8007W There are "90" day(s) left in the evaluation period for the product "DB2 Connect". For evaluation license terms and conditions, refer to the License Agreement document located in the license directory in the installation path of this product. If you have licensed this product, ensure the license key is properly registered. You can register the license via the License Center or db2licm command line utility. The license key can be obtained from your licensed product CD. SQL
Connecting to <DW88_on_s10d1> on connection 0 ...
Now I'm connected to DB2 (09.01.5)
SQL DRIVER NAME is "libdb2.a"
SQL DBMS NAME is "DB2"
SQL DBMS VERSION is "09.01.0005"
DATABASE NAME(DB2 Connect DCS database name) is "DW8DDF"
New functions of DB2 V9 are switched on
Profile parameter dbs/db2/cli_trace_dir is not set
dbdb2dic.c 1709 INFO Profile: SDB2_DEBUG=<UNSET>
dbdb2dic.c 1733 INFO Envrmnt: sdb2_debug=<UNSET>
dbdb2dic.c 1733 INFO Envrmnt: SDB2_DEBUG=<UNSET>
DB2 Call 'CLI_EXECUTE' Error: sqlcode = -204 : [IBM][CLI Driver][DB2] SQL0204N "SAPADM.#LOBU" is an undefined name. SQLSTATE=42704
dbdb2dic.c 2251 INFO rc=103,sqlcode=-204: ExeRead
dbdb2dic.c 1709 INFO Profile: dbs/db2/max_retry=<UNSET>
dbdb2dic.c 1733 INFO Envrmnt: DB2_MAX_RETRY=<UNSET>
dbdb2dic.c 1709 INFO Profile: dbs/db2/retry_on_924=<UNSET>
dbdb2dic.c 1733 INFO Envrmnt: DB2_RETRY_ON_924=<UNSET>
dbdb2dic.c 1709 INFO Profile: dbs/db2/no_retry_on_10=<UNSET>
dbdb2dic.c 1733 INFO Envrmnt: dbs_db2_no_retry_on_10=<UNSET>
dbdb2dic.c 1733 INFO Envrmnt: DBS_DB2_NO_RETRY_ON_10=<UNSET>
DB2 Call 'SQLEndTran' Error: sqlstate = 08003 : [IBM][CLI Driver] CLI0106E Connection is closed. SQLSTATE=08003
[dbdb2dic.c 1873:rc=99: COMMIT WORK failed]
dbdb2dic.c 1873 ERROR rc=99: COMMIT WORK failed
[dbdb2dic.c 2019:rc=99,sqlcode=268435455: ExecDDL failed (DB error)]
dbdb2dic.c 2019 ERROR rc=99,sqlcode=268435455: ExecDDL failed (DB error)
DB2 Call 'SQLEndTran' Error: SQLCODE = -99999 : [IBM][CLI Driver] CLI0106E Connection is closed. SQLSTATE=08003
ROLLBACK failed with SQL error '-99999'
ERROR: couldn't connect to DB
rc = 99
error message returned by DbSl:
rc=99,sqlcode=268435455: ExecDDL failed (DB error)
DB2RADM EXITCODE: 12
db2radm finished (0012)
db2radm stop:28.02.2012 10:54:39
i've patched db2radm and sapinst to the latest version.
May be i should manually create "SAPADM.#LOBU"?
Please help to solve these issue.
Best regards,
Alexander VHi ,
Please check if Note 1581637 - Installing a System with DB2CODEPAGE other than the default is useful.
Award points if useful.
Thanks,
Ravi -
ODBC Gateway on Linux error - connects ok with Sybase SQL Anywhere
OS: CentOS 5.8 64-bit
DB: Oracle XE 11gR1 64-bit
Gateway: Oracle Gateway for ODBC 64-bit
Database and gateway reside on same Linux Server.
Connecting to remote Sybase SQL Anywhere 10 server on WindowsXP.
Using SQL Anywhere 11 odbc driver and unixODBC driver manager on Linux server.
isql tool connects without any problems.
One LISTENER, service for db and gateway on same port.
===================================
Via SQL*Plus, the following error occurs....
SQL> select * from dual@dblink;
select * from dual@dblink
ERROR at line 1:
ORA-28513: internal error in heterogeneous remote agent
ORA-02063: preceding line from dblink
===================================
sqlnet.ora
# sqlnet.ora Network Configuration File: /u01/app/oracle/product/11.2.0/xe/network/admin/sqlnet.ora
# Generated by Oracle configuration tools.
NAMES.DIRECTORY_PATH=(TNSNAMES)
ADR_BASE = /u01/app/oracle/product/11.2.0/xe
==================================
tnsnames.ora
# tnsnames.ora Network Configuration File:
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = mysystem)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
dblink =
(DESCRIPTION =
(ADDRESS =
(PROTOCOL = TCP)(HOST = mysystem)(PORT = 1521)
(CONNECT_DATA =
(SID = dblink))
(HS=OK))
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
=======================
listener.ora
# listener.ora Network Configuration File:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /u01/app/oracle/product/11.2.0/xe)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = dblink)
(ORACLE_HOME = /u01/app/oracle/product/11.2.0/gtw)
(PROGRAM = dg4odbc)
(ENVS=LD_LIBRARY_PATH=/opt/sqlanywhere11/lib64:/u01/app/oracle/product/11.2.0/gtw/lib)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(ADDRESS = (PROTOCOL = TCP)(HOST = mysystem)(PORT = 1521))
DEFAULT_SERVICE_LISTENER = (XE)
========================
initdblink.ora
# This is a sample agent init file that contains the HS parameters that are
# needed for the Database Gateway for ODBC
# HS init parameters
HS_FDS_CONNECT_INFO=dblink
HS_FDS_SHAREABLE_NAME=/usr/lib64/libodbc.so
HS_FDS_TRACE_LEVEL=255
HS_LANGUAGE=american_america.we8iso8859p1
HS_NLS_NCHAR=UTF-8
# ODBC specific environment variables
set ODBCINI=/etc/odbc.ini
========================
Oracle Corporation --- MONDAY OCT 15 2012 17:23:39.915
Heterogeneous Agent Release
11.2.0.1.0
Oracle Corporation --- MONDAY OCT 15 2012 17:23:39.914
Version 11.2.0.1.0
Entered hgogprd
HOSGIP for "HS_FDS_TRACE_LEVEL" returned "255"
Entered hgosdip
setting HS_OPEN_CURSORS to default of 50
setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
setting HS_FDS_RECOVERY_PWD to default value
setting HS_FDS_TRANSACTION_LOG to default of HS_TRANSACTION_LOG
setting HS_IDLE_TIMEOUT to default of 0
setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
HOSGIP returned value of "UTF-8" for HS_NLS_NCHAR
setting HS_FDS_TIMESTAMP_MAPPING to default of "DATE"
setting HS_FDS_DATE_MAPPING to default of "DATE"
setting HS_RPC_FETCH_REBLOCKING to default of "ON"
setting HS_FDS_FETCH_ROWS to default of "100"
setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
setting HS_FDS_RSET_RETURN_ROWCOUNT to default of "FALSE"
setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
setting HS_FDS_CHARACTER_SEMANTICS to default of "FALSE"
setting HS_FDS_MAP_NCHAR to default of "TRUE"
setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
setting HS_FDS_QUERY_DRIVER to default of "TRUE"
setting HS_FDS_SUPPORT_STATISTICS to default of "FALSE"
Parameter HS_FDS_QUOTE_IDENTIFIER is not set
setting HS_KEEP_REMOTE_COLUMN_SIZE to default of "OFF"
setting HS_FDS_GRAPHIC_TO_MBCS to default of "FALSE"
setting HS_FDS_MBCS_TO_GRAPHIC to default of "FALSE"
Default value of 64 assumed for HS_FDS_SQLLEN_INTERPRETATION
setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics;gtw$:SQLGetInfo"
setting HS_FDS_DELAYED_OPEN to default of "TRUE"
setting HS_FDS_WORKAROUNDS to default of "0"
Exiting hgosdip, rc=0
ORACLE_SID is "dblink"
Product-Info:
Port Rls/Upd:1/0 PrdStat:0
Agent:Oracle Database Gateway for ODBC
Facility:hsa
Class:ODBC, ClassVsn:11.2.0.1.0_0008, Instance:dblink
Exiting hgogprd, rc=0
hostmstr: 0: HOA After hoagprd
Invalid HS_NLS_NCHAR value UTF-8 specified
Setting HS_NLS_NCHAR to Server Default 2000
Invalid HS_NLS_NCHAR value UTF-8 specified
Setting HS_NLS_NCHAR to Server Default 2000
hostmstr: 0: HOA Before hoainit
Entered hgoinit
HOCXU_COMP_CSET=1
HOCXU_DRV_CSET=31
HOCXU_DRV_NCHAR=2000
HOCXU_DB_CSET=873
HOCXU_SEM_VER=112000
Exiting hgoinit, rc=28513
hostmstr: 0: HOA After hoainit
RPC Calling nscontrol(0), rc=0
hostmstr: 0: RPC Before Exit Agent
hostmstr: 0: HOA Before hoaexit
Entered hgoexit
HS Gateway: NULL connection context at exit
Exiting hgoexit, rc=0 with error ptr FILE:hgoexit.c LINE:108 FUNCTION:hgoexit() ID:Connection context
hostmstr: 0: HOA After hoaexit
hostmstr: 0: RPC After Exit Agent
=============================
Also, does anyone know how to determine the location (full path) of the unixODBC driver manager ?
Please assist if you can...thx.
Edited by: user601798 on Oct 15, 2012 3:37 PMLet me start with the unixODBC driver:
There's no generic location as it depends which package you've used to install the UnixODBC driver manager or how you compiled it from scratch. I commonly prefer to compile it from scratch as this offers me to install it to any location I like.
If you're not sure where it is located, you could perform a search on your machine looking for libodbc.so. Then cross check it with "file <location>/libodbc.so" to see the lib is a 64bit library.
So let's assume in the /usr/lib64 you found the libodbc.so library, then the setting
HS_FDS_SHAREABLE_NAME=/usr/lib64/libodbc.so
is correct. Else you need to adopt the parameter.
Next step is to check out which unixODBC version is installed. That's commonly done by calling "odbcinst -j".
Looking now ta the gateway init file there's a parameter HS_NLS_NCHAR set to UTF-8. UnixODBC is commonly compiled with UCS2 support, so please change it to HS_NLS_NCHAR=UCS2
Could you also please post the content of the odbc.ini file "more /etc/odbc.ini"?
Thanks,
Klaus -
Some errors after doing the system copy for DB2 database instance
HI,
Recently we have transferred the DB2 database instance from old host( db 9.1.7 under windows 2003 R2) to new host( DB2 9.7.9 under windows 2008 R2) using the system copy database depending methods.
Currently system is:
* ECC 6.0 under NW 7.0 SR3
* Kernel : 7.20
* Basis: 7.0 with support package level 17
*application instance connecting db instance via DB2 CLI
1) a) After log in system using the T-code: SM21 to read the system log, it will record the bellow error:
b) From the log taken from log fie: dev_w*, i also found the below error:
A ABAP Program SAPMSSY2 .
A Source RSBTCTRC Line 60.
A Error Code DBIF_RSQL_SQL_ERROR.
A Module $Id: //bas/720_REL/src/krn/runt/absapsql.c#28 $ SAP.
A Function ab_HandleRsqlErrors Line 716.
A ** RABAX: level LEV_RX_STDERR completed.
A ** RABAX: level LEV_RX_RFC_ERROR entered.
A ** RABAX: level LEV_RX_RFC_ERROR completed.
A ** RABAX: level LEV_RX_RFC_CLOSE entered.
A ** RABAX: level LEV_RX_RFC_CLOSE completed.
A ** RABAX: level LEV_RX_IMC_ERROR entered.
A ** RABAX: level LEV_RX_IMC_ERROR completed.
A ** RABAX: level LEV_RX_DATASET_CLOSE entered.
A ** RABAX: level LEV_RX_DATASET_CLOSE completed.
A ** RABAX: level LEV_RX_ERROR_SAVE entered.
A ** RABAX: level LEV_RX_ERROR_SAVE completed.
A ** RABAX: level LEV_RX_ERROR_TPDA entered.
A ** RABAX: level LEV_RX_ERROR_TPDA completed.
A ** RABAX: level LEV_RX_PXA_RELEASE_RUDI entered.
A ** RABAX: level LEV_RX_PXA_RELEASE_RUDI completed.
A ** RABAX: level LEV_RX_LIVE_CACHE_CLEANUP entered.
A ** RABAX: level LEV_RX_LIVE_CACHE_CLEANUP completed.
A ** RABAX: level LEV_RX_END entered.
A ** RABAX: level LEV_RX_END completed.
A ** RABAX: end no http/smtp
A ** RABAX: end RX_BTCHLOG|RX_VBLOG
A SQL error in the database when accessing a table..
c) any background job will be cancelled when it is running. I think the error is related to above mentioned issue.
2) If i go to T-code: DB13---Diagnostics----db2 logs, it will come out the below error:
Thanks.HI Manas,
Yes, this problem is with particular this table.
Refer to below error coming from db2diag.log when i access the table:BTCCTL:
2014-08-12-17.52.08.866000+480 I35784932F1196 LEVEL: Severe
PID : 3380 TID : 2676 PROC : db2syscs.exe
INSTANCE: DB2DV1 NODE : 000 DB : DV1
APPHDL : 0-127 APPID: *LOCAL.DB2DV1.140812095207
AUTHID : DB2DV1
EDUID : 2676 EDUNAME: db2agent (DV1) 0
FUNCTION: DB2 UDB, data management, sqldSetupIndexScan, probe:1873
MESSAGE : ZRC=0x82040001=-2113667071=SQLD_NONSEVERE_PRGERR
"non-severe dms programming error"
DIA8532C An internal processing error has occurred.
DATA #1 : String, 39 bytes
Specified index not found for scan open
DATA #2 : String, 12 bytes
sqldScanOpen
CALLSTCK:
[0] 0x000000018010E989 pdLog + 0x353
[1] 0x0000000003ABE3C2 sqlzSetAndLog901 + 0x192
[2] 0x0000000001E61F01 sqldSetupIndexScan + 0xF37
[3] 0x0000000001E5F5CC sqldScanOpen + 0xBEE
[4] 0x000000000334F460 sqlriopn + 0x316
[5] 0x00000000034AE788 sqlritaSimplePerm + 0x252
[6] 0x000000000336AC8B sqlriSectInvoke + 0x139
[7] 0x00000000030A6F0C sqlrr_process_fetch_request + 0x1A8
[8] 0x00000000030A2902 sqlrr_open + 0x534
[9] 0x000000000223FCCB sqljs_ddm_opnqry + 0x447
2014-08-12-17.52.08.866000+480 I35786130F533 LEVEL: Error
PID : 3380 TID : 2676 PROC : db2syscs.exe
INSTANCE: DB2DV1 NODE : 000 DB : DV1
APPHDL : 0-127 APPID: *LOCAL.DB2DV1.140812095207
AUTHID : DB2DV1
EDUID : 2676 EDUNAME: db2agent (DV1) 0
FUNCTION: DB2 UDB, data management, sqldSetupIndexScan, probe:1873
DATA #1 : unsigned integer, 4 bytes
10
DATA #2 : unsigned integer, 4 bytes
1704
DATA #3 : unsigned integer, 2 bytes -
Connection Pools for DB2 UDB 8.2 on a SUN AS 8.1
Hi,
has somebody experience or knows a place where I can get more information in setting up a connection pool to a DB2 UDB 8.2 database from a SUN AS 8.1 server?
I'm struggling now for some weeks to get this working, but it doesn't work. I've tried the JDBC JAR's delivered with DB2 but get configuration errors. When I use the JDBC JAR's mentioned in the SUN AS documentation, it seems that the SUN AS 8.1 opens a connection, which is refused on the DB2 side.
The setup of a connection pool to a Postgres DB worked directly. The connection pool is correctly setup in the SUN AS but the ping doesn't work.
Hope somebody can help.
RegardsHi Jagadish,
added the finest to connector and resource-adapter. Here is the output:
[#|2006-01-16T09:03:14.540+0100|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.core|_ThreadID=10;|Application server startup complete.|#]
[#|2006-01-16T09:05:38.556+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|ConnectorServiceImpl :: checkAndLoadResource resolved to load Db2Pool|#]
[#|2006-01-16T09:05:38.556+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|isReferenced in DASResourcesUtil:: Db2Pool|#]
[#|2006-01-16T09:05:38.556+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|getConnectionFromConnectorRuntime :: true|#]
[#|2006-01-16T09:05:38.556+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|isReferenced in DASResourcesUtil:: Db2Pool|#]
[#|2006-01-16T09:05:38.556+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|getConnectionFromConnectorRuntime :: true|#]
[#|2006-01-16T09:05:38.587+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|isReferenced in DASResourcesUtil:: Db2Pool|#]
[#|2006-01-16T09:05:38.587+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|getConnectionFromConnectorRuntime :: true|#]
[#|2006-01-16T09:05:38.587+0100|WARNING|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|RAR6017 : Failed to get connection pool object via JNDI lookup : Db2Pool|#]
[#|2006-01-16T09:05:38.587+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|
com.sun.enterprise.connectors.ConnectorRuntimeException: This pool is not bound in JNDI :
at com.sun.enterprise.connectors.ConnectorConnectionPoolAdminServiceImpl.obtainManagedConnectionFactory(ConnectorConnectionPoolAdminServiceImpl.java:949)
at com.sun.enterprise.connectors.ConnectorConnectionPoolAdminServiceImpl.getUnpooledConnection(ConnectorConnectionPoolAdminServiceImpl.java:1089)
at com.sun.enterprise.connectors.ConnectorConnectionPoolAdminServiceImpl.testConnectionPool(ConnectorConnectionPoolAdminServiceImpl.java:507)
at com.sun.enterprise.connectors.ConnectorRuntime.testConnectionPool(ConnectorRuntime.java:504)
at com.sun.enterprise.admin.mbeans.ResourcesMBean.pingConnectionPool(ResourcesMBean.java:1908)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:302)
at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:357)
at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:54)
at $Proxy1.invoke(Unknown Source)
at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:272)
at com.sun.enterprise.tools.admingui.util.MBeanUtil.invoke(MBeanUtil.java:148)
at com.sun.enterprise.tools.admingui.util.MBeanUtil.invoke(MBeanUtil.java:46)
at com.sun.enterprise.tools.admingui.handlers.CommonHandlers.invokeMBean(CommonHandlers.java:123)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.invokeHandler(DescriptorViewHelper.java:863)
at com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.invokeHandlers(DescriptorViewHelper.java:800)
at com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.dispatchEvent(DescriptorViewHelper.java:775)
at com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.execute(DescriptorViewHelper.java:291)
at com.sun.enterprise.tools.guiframework.view.DescriptorViewBeanBase.execute(DescriptorViewBeanBase.java:192)
at com.iplanet.jato.view.RequestHandlingViewBase.handleRequest(RequestHandlingViewBase.java:308)
at com.iplanet.jato.view.ViewBeanBase.dispatchInvocation(ViewBeanBase.java:802)
at com.iplanet.jato.view.ViewBeanBase.invokeRequestHandlerInternal(ViewBeanBase.java:740)
at com.iplanet.jato.view.ViewBeanBase.invokeRequestHandlerInternal(ViewBeanBase.java:760)
at com.iplanet.jato.view.ViewBeanBase.invokeRequestHandler(ViewBeanBase.java:571)
at com.iplanet.jato.ApplicationServletBase.dispatchRequest(ApplicationServletBase.java:957)
at com.iplanet.jato.ApplicationServletBase.processRequest(ApplicationServletBase.java:615)
at com.sun.enterprise.tools.guiframework.view.BaseServlet.processRequest(BaseServlet.java:186)
at com.iplanet.jato.ApplicationServletBase.doPost(ApplicationServletBase.java:473)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:767)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
at sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:185)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:653)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:534)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doTask(ProcessorTask.java:403)
at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:55)
Caused by: javax.naming.NameNotFoundException: Db2Pool not found
|#]
[#|2006-01-16T09:05:38.587+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|getUnpooledConnection :: obtainManagedConnectionFactory threw exception. SO doing checkAndLoadPoolResource|#]
[#|2006-01-16T09:05:38.603+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|returning/found the resource adapter from connector registry|#]
[#|2006-01-16T09:05:38.759+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|ResourceAdapterAdminServiceImpl :: createActiveRA __ds at D:\appserver\sun02\lib\install\applications\__ds|#]
[#|2006-01-16T09:05:38.759+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|returning/found the resource adapter from connector registry|#]
[#|2006-01-16T09:05:38.759+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|No classloader available with connector descriptor|#]
[#|2006-01-16T09:05:38.759+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|ResourceAdapterAdminServiceImpl :: createActiveRA __ds at D:\appserver\sun02\lib\install\applications\__ds loader :: null|#]
[#|2006-01-16T09:05:38.759+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|returning the connector registry|#]
[#|2006-01-16T09:05:38.759+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Returing the resourceadapter Config from registry.|#]
[#|2006-01-16T09:05:38.774+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|returning the connector registry|#]
[#|2006-01-16T09:05:38.774+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Returing the resourceadapter Config from registry.|#]
[#|2006-01-16T09:05:38.774+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|ResourceAdapterAdminServiceImpl :: createActiveRA __ds at D:\appserver\sun02\lib\install\applications\__ds ADDING to registry [email protected]0|#]
[#|2006-01-16T09:05:38.774+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Added the active resource adapter to connector registry|#]
[#|2006-01-16T09:05:38.774+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|ResourceAdapterAdminServiceImpl:: createActiveRA __ds at D:\appserver\sun02\lib\install\applications\__ds env =server ? true|#]
[#|2006-01-16T09:05:38.774+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|ResourceAdapterAdminServiceImpl :: createActiveRA __ds at D:\appserver\sun02\lib\install\applications\__ds publishing descriptor __SYSTEM/descriptors/__ds|#]
[#|2006-01-16T09:05:38.774+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|returning the connector registry|#]
[#|2006-01-16T09:05:38.774+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Returing the resourceadapter Config from registry.|#]
[#|2006-01-16T09:05:38.774+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|current RAConfig In Descriptor []|#]
[#|2006-01-16T09:05:38.790+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Found/returing Connector descriptor in connector registry.|#]
[#|2006-01-16T09:05:38.790+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|ResourcesUtil :: isEnabled|#]
[#|2006-01-16T09:05:38.790+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|ResourcesUtil :: isEnabled JdbcConnectionPool is pool/config - enabled :true|#]
[#|2006-01-16T09:05:38.790+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;| JdbcConnectionPoolDeployer - deployResource : JdbcConnectionPool calling actualDeploy|#]
[#|2006-01-16T09:05:38.790+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;| JdbcConnectionPoolDeployer - actualDeployResource : JdbcConnectionPool|#]
[#|2006-01-16T09:05:38.993+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|parseTransactionSupportString: passed in txSupport =>LocalTransaction|#]
[#|2006-01-16T09:05:39.009+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|returning/found the resource adapter from connector registry|#]
[#|2006-01-16T09:05:39.024+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Method public boolean com.sun.gjc.spi.DSManagedConnectionFactory.equals(java.lang.Object)matches with the right arg type|#]
[#|2006-01-16T09:05:39.024+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Method public javax.resource.spi.ManagedConnection com.sun.gjc.spi.DSManagedConnectionFactory.createManagedConnection(javax.security.auth.Subject,javax.resource.spi.ConnectionRequestInfo) throws javax.resource.ResourceExceptionmatches with the right arg type|#]
[#|2006-01-16T09:05:39.024+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Method public int com.sun.gjc.spi.ManagedConnectionFactory.hashCode()matches with the right arg type|#]
[#|2006-01-16T09:05:39.024+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Invokingpublic void com.sun.gjc.spi.ManagedConnectionFactory.setpassword(java.lang.String) on com.sun.gjc.spi.DSManagedConnectionFactorywith value [class java.lang.String , passwd ] |#]
[#|2006-01-16T09:05:39.024+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Method public boolean com.sun.gjc.spi.DSManagedConnectionFactory.equals(java.lang.Object)matches with the right arg type|#]
[#|2006-01-16T09:05:39.024+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Method public javax.resource.spi.ManagedConnection com.sun.gjc.spi.DSManagedConnectionFactory.createManagedConnection(javax.security.auth.Subject,javax.resource.spi.ConnectionRequestInfo) throws javax.resource.ResourceExceptionmatches with the right arg type|#]
[#|2006-01-16T09:05:39.024+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Method public int com.sun.gjc.spi.ManagedConnectionFactory.hashCode()matches with the right arg type|#]
[#|2006-01-16T09:05:39.024+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Invokingpublic void com.sun.gjc.spi.ManagedConnectionFactory.setdelimiter(java.lang.String) on com.sun.gjc.spi.DSManagedConnectionFactorywith value [class java.lang.String , # ] |#]
[#|2006-01-16T09:05:39.024+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Method public boolean com.sun.gjc.spi.DSManagedConnectionFactory.equals(java.lang.Object)matches with the right arg type|#]
[#|2006-01-16T09:05:39.024+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Method public javax.resource.spi.ManagedConnection com.sun.gjc.spi.DSManagedConnectionFactory.createManagedConnection(javax.security.auth.Subject,javax.resource.spi.ConnectionRequestInfo) throws javax.resource.ResourceExceptionmatches with the right arg type|#]
[#|2006-01-16T09:05:39.024+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Method public int com.sun.gjc.spi.ManagedConnectionFactory.hashCode()matches with the right arg type|#]
[#|2006-01-16T09:05:39.024+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Invokingpublic void com.sun.gjc.spi.ManagedConnectionFactory.setdriverProperties(java.lang.String) on com.sun.gjc.spi.DSManagedConnectionFactorywith value [class java.lang.String , setdriverType#2##setdeferPrepares#false## ] |#]
[#|2006-01-16T09:05:39.024+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Method public boolean com.sun.gjc.spi.DSManagedConnectionFactory.equals(java.lang.Object)matches with the right arg type|#]
[#|2006-01-16T09:05:39.024+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Method public javax.resource.spi.ManagedConnection com.sun.gjc.spi.DSManagedConnectionFactory.createManagedConnection(javax.security.auth.Subject,javax.resource.spi.ConnectionRequestInfo) throws javax.resource.ResourceExceptionmatches with the right arg type|#]
[#|2006-01-16T09:05:39.024+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Method public int com.sun.gjc.spi.ManagedConnectionFactory.hashCode()matches with the right arg type|#]
[#|2006-01-16T09:05:39.024+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Invokingpublic void com.sun.gjc.spi.ManagedConnectionFactory.setvalidationMethod(java.lang.String) on com.sun.gjc.spi.DSManagedConnectionFactorywith value [class java.lang.String , table ] |#]
[#|2006-01-16T09:05:39.024+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Method public boolean com.sun.gjc.spi.DSManagedConnectionFactory.equals(java.lang.Object)matches with the right arg type|#]
[#|2006-01-16T09:05:39.024+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Method public javax.resource.spi.ManagedConnection com.sun.gjc.spi.DSManagedConnectionFactory.createManagedConnection(javax.security.auth.Subject,javax.resource.spi.ConnectionRequestInfo) throws javax.resource.ResourceExceptionmatches with the right arg type|#]
[#|2006-01-16T09:05:39.024+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Method public int com.sun.gjc.spi.ManagedConnectionFactory.hashCode()matches with the right arg type|#]
[#|2006-01-16T09:05:39.024+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Invokingpublic void com.sun.gjc.spi.ManagedConnectionFactory.setdatabaseName(java.lang.String) on com.sun.gjc.spi.DSManagedConnectionFactorywith value [class java.lang.String , dataBaseName ] |#]
[#|2006-01-16T09:05:39.024+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Method public boolean com.sun.gjc.spi.DSManagedConnectionFactory.equals(java.lang.Object)matches with the right arg type|#]
[#|2006-01-16T09:05:39.024+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Method public javax.resource.spi.ManagedConnection com.sun.gjc.spi.DSManagedConnectionFactory.createManagedConnection(javax.security.auth.Subject,javax.resource.spi.ConnectionRequestInfo) throws javax.resource.ResourceExceptionmatches with the right arg type|#]
[#|2006-01-16T09:05:39.024+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Method public int com.sun.gjc.spi.ManagedConnectionFactory.hashCode()matches with the right arg type|#]
[#|2006-01-16T09:05:39.024+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Invokingpublic void com.sun.gjc.spi.ManagedConnectionFactory.setvalidationTableName(java.lang.String) on com.sun.gjc.spi.DSManagedConnectionFactorywith value [class java.lang.String , TABLE_ADDRESS ] |#]
[#|2006-01-16T09:05:39.024+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Method public boolean com.sun.gjc.spi.DSManagedConnectionFactory.equals(java.lang.Object)matches with the right arg type|#]
[#|2006-01-16T09:05:39.024+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Method public javax.resource.spi.ManagedConnection com.sun.gjc.spi.DSManagedConnectionFactory.createManagedConnection(javax.security.auth.Subject,javax.resource.spi.ConnectionRequestInfo) throws javax.resource.ResourceExceptionmatches with the right arg type|#]
[#|2006-01-16T09:05:39.024+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Method public int com.sun.gjc.spi.ManagedConnectionFactory.hashCode()matches with the right arg type|#]
[#|2006-01-16T09:05:39.024+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Invokingpublic void com.sun.gjc.spi.ManagedConnectionFactory.setconnectionValidationRequired(java.lang.String) on com.sun.gjc.spi.DSManagedConnectionFactorywith value [class java.lang.String , false ] |#]
[#|2006-01-16T09:05:39.024+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Method public boolean com.sun.gjc.spi.DSManagedConnectionFactory.equals(java.lang.Object)matches with the right arg type|#]
[#|2006-01-16T09:05:39.024+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Method public javax.resource.spi.ManagedConnection com.sun.gjc.spi.DSManagedConnectionFactory.createManagedConnection(javax.security.auth.Subject,javax.resource.spi.ConnectionRequestInfo) throws javax.resource.ResourceExceptionmatches with the right arg type|#]
[#|2006-01-16T09:05:39.024+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Method public int com.sun.gjc.spi.ManagedConnectionFactory.hashCode()matches with the right arg type|#]
[#|2006-01-16T09:05:39.040+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Invokingpublic void com.sun.gjc.spi.ManagedConnectionFactory.setguaranteeIsolationLevel(java.lang.String) on com.sun.gjc.spi.DSManagedConnectionFactorywith value [class java.lang.String , false ] |#]
[#|2006-01-16T09:05:39.040+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Method public boolean com.sun.gjc.spi.DSManagedConnectionFactory.equals(java.lang.Object)matches with the right arg type|#]
[#|2006-01-16T09:05:39.040+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Method public javax.resource.spi.ManagedConnection com.sun.gjc.spi.DSManagedConnectionFactory.createManagedConnection(javax.security.auth.Subject,javax.resource.spi.ConnectionRequestInfo) throws javax.resource.ResourceExceptionmatches with the right arg type|#]
[#|2006-01-16T09:05:39.040+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Method public int com.sun.gjc.spi.ManagedConnectionFactory.hashCode()matches with the right arg type|#]
[#|2006-01-16T09:05:39.040+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Invokingpublic void com.sun.gjc.spi.ManagedConnectionFactory.setuser(java.lang.String) on com.sun.gjc.spi.DSManagedConnectionFactorywith value [class java.lang.String , user ] |#]
[#|2006-01-16T09:05:39.040+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Method public boolean com.sun.gjc.spi.DSManagedConnectionFactory.equals(java.lang.Object)matches with the right arg type|#]
[#|2006-01-16T09:05:39.040+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Method public javax.resource.spi.ManagedConnection com.sun.gjc.spi.DSManagedConnectionFactory.createManagedConnection(javax.security.auth.Subject,javax.resource.spi.ConnectionRequestInfo) throws javax.resource.ResourceExceptionmatches with the right arg type|#]
[#|2006-01-16T09:05:39.040+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Method public int com.sun.gjc.spi.ManagedConnectionFactory.hashCode()matches with the right arg type|#]
[#|2006-01-16T09:05:39.040+0100|FINER|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Invokingpublic void com.sun.gjc.spi.ManagedConnectionFactory.setclassName(java.lang.String) on com.sun.gjc.spi.DSManagedConnectionFactorywith value [class java.lang.String , com.ibm.db2.jcc.DB2SimpleDataSource ] |#]
[#|2006-01-16T09:05:39.040+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Created MCF object : |#]
[#|2006-01-16T09:05:39.040+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|poolName : Db2Pool : txSupport : 1|#]
[#|2006-01-16T09:05:39.040+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Added MCF to connector registry.|#]
[#|2006-01-16T09:05:39.040+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|getUnpooledConnection:: checkAndLoadPoolResource is true|#]
[#|2006-01-16T09:05:39.040+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|getUnpooledConnection :: Now calling obtainManagedConnectionFactory again|#]
[#|2006-01-16T09:05:39.040+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|Returning the MCF from connector registry.|#]
[#|2006-01-16T09:05:39.040+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|getUnpooledConnection:: done obtainManagedConnectionFactory again|#]
[#|2006-01-16T09:05:39.071+0100|FINE|sun-appserver-pe8.1_02|javax.enterprise.resource.resourceadapter|_ThreadID=11;|using subject: Betreff:
Principal: user
Private Authentisierung: javax.resource.spi.security.PasswordCredential@26702a03
|#]
I think the exception is thrown because the pool was never allocated. So this exception should be okay.
Then comes a lot of reflection stuff (at least in my opinion) and finally there is a try to open the connection. What I don't understand is why there is
[#|2006-01-16T09:05:39.071+0100|FINE| ... |[b]using subject: Betreff:
'Betreff' is normally the start for a german mail???
But nevertheless I think I will realize your second suggestion and write a java client which opens a datasource. This make take some time (one or two days).
THX a lot for your help.
PS: There is some kind of syntax highlighting error within the exception code. So the rest of the text is also bold. Don't know how to reset that, but I hope it is readable. -
Error while creating data source in bi for uc connect
Hi Experts,
we have using ud connect to pull the data from ms sql server using jdbc,we have maintained all the settings in the j2ee engine and also we performed the smoke test which showed the tables content in the ms sql data base.
and also we have maintained the rfc connection between the j2ee and sap bi,and performed the test connection which excecuted great.
but while creating the data source in sap bi administration work bench(rsa1)>sourcesytem>udconnect>create
we have maintained the following parameters
rfc destination----
we have maintained the rfc destination,which we could see in sm59 for the sap bi client
logical system name----
we have mentioned a generic logical system name(here we are not sure)
type of connector----
jdbc
name of the connector------ sdk_jdbc
sourcesystemname----
it has taken the logical system name description when we enter the logical system name.
once after maintaining the setting.when we performed the check.
it showed us the error
check failed rfc connection:check destinationHi,
Check the gateway settings for
Gateway Host
Gateway service
Also check the UDC connection information.
Check these links:
1 - http://help.sap.com/saphelp_nw04/helpdata/en/78/ef1441a509064abee6ffd6f38278fd/content.htm
2 - http://help.sap.com/saphelp_srm40/helpdata/es/54/ddfb3ff778ed28e10000000a1550b0/content.htm
3 - https://encrypted.google.com/url?sa=t&source=web&cd=7&ved=0CCwQFjAG&url=http%3A%2F%2Fwww.bi-
expertonline.com%2Fdownloads%2FSchroeder0604.doc&rct=j&q=ud%20connection%20in%20sap%20bi&ei=WMDnTdm_E4ruvQOEzZWcDg&usg=AFQjCNGvqKuoTq9kypNMNGhis8WrZ-gFCg&cad=rja
Let us know in case the issue still persists.
Debanshu -
Error fetching data from a foxpro db using Oracle Gateway for ODBC
Hi.
I have an 10.2.0.1 database an a 11.2.0 Oracle Gateway for ODBC installed and configured.
The dblink test works fine, I can connect with the foxpro database because if I execute desc centros I can see the
columns of table centros.
The problem comes when I try to execute Select * from centros@fox1;
A syntax error is returned ([Microsoft][ODBC Visual FoxPro Driver]Syntax error. {42000,NativeErr = 200})
I paste down the output of the trace file with HS_FDS_TRACE_LEVEL=255
If I run select codcen from centros@fox1; another error is shown. Tell me if you want the other trace file.
select codcen from centros@fox1
ERROR en lÝnea 1:
ORA-00904: "CODCEN": identificador no vßlido
Oracle Corporation --- JUEVES MAY 31 2012 13:11:24.765
Heterogeneous Agent Release
11.2.0.1.0
Oracle Corporation --- JUEVES MAY 31 2012 13:11:24.750
Version 11.2.0.1.0
Entered hgogprd
HOSGIP for "HS_FDS_TRACE_LEVEL" returned "255"
Entered hgosdip
setting HS_OPEN_CURSORS to default of 50
setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
setting HS_FDS_RECOVERY_PWD to default value
setting HS_FDS_TRANSACTION_LOG to default of HS_TRANSACTION_LOG
setting HS_IDLE_TIMEOUT to default of 0
setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
setting HS_NLS_NCHAR to default of "UCS2"
setting HS_FDS_TIMESTAMP_MAPPING to default of "DATE"
setting HS_FDS_DATE_MAPPING to default of "DATE"
setting HS_RPC_FETCH_REBLOCKING to default of "ON"
setting HS_FDS_FETCH_ROWS to default of "100"
setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
setting HS_FDS_RSET_RETURN_ROWCOUNT to default of "FALSE"
setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
setting HS_FDS_CHARACTER_SEMANTICS to default of "FALSE"
setting HS_FDS_MAP_NCHAR to default of "TRUE"
setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
setting HS_FDS_QUERY_DRIVER to default of "TRUE"
setting HS_FDS_SUPPORT_STATISTICS to default of "FALSE"
Parameter HS_FDS_QUOTE_IDENTIFIER is not set
setting HS_KEEP_REMOTE_COLUMN_SIZE to default of "OFF"
setting HS_FDS_GRAPHIC_TO_MBCS to default of "FALSE"
setting HS_FDS_MBCS_TO_GRAPHIC to default of "FALSE"
Default value of 32 assumed for HS_FDS_SQLLEN_INTERPRETATION
setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics;gtw$:SQLGetInfo"
setting HS_FDS_DELAYED_OPEN to default of "TRUE"
setting HS_FDS_WORKAROUNDS to default of "0"
Exiting hgosdip, rc=0
ORACLE_SID is "DAVID"
Product-Info:
Port Rls/Upd:1/0 PrdStat:0
Agent:Oracle Database Gateway for ODBC
Facility:hsa
Class:ODBC, ClassVsn:11.2.0.1.0_0008, Instance:DAVID
Exiting hgogprd, rc=0
hostmstr: 2057416704: HOA After hoagprd
hostmstr: 2057416704: HOA Before hoainit
Entered hgoinit
HOCXU_COMP_CSET=1
HOCXU_DRV_CSET=178
HOCXU_DRV_NCHAR=1000
HOCXU_DB_CSET=178
HOCXU_SEM_VER=102000
Entered hgolofn at 2012/05/31-13:11:25
Exiting hgolofn, rc=0 at 2012/05/31-13:11:25
HOSGIP for "HS_OPEN_CURSORS" returned "50"
HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
HOSGIP for "HS_KEEP_REMOTE_COLUMN_SIZE" returned "OFF"
HOSGIP for "HS_FDS_DELAYED_OPEN" returned "TRUE"
HOSGIP for "HS_FDS_WORKAROUNDS" returned "0"
HOSGIP for "HS_FDS_MBCS_TO_GRAPHIC" returned "FALSE"
HOSGIP for "HS_FDS_GRAPHIC_TO_MBCS" returned "FALSE"
Invalid value of 32 given for HS_FDS_SQLLEN_INTERPRETATION
treat_SQLLEN_as_compiled = 1
Exiting hgoinit, rc=0 at 2012/05/31-13:11:25
hostmstr: 2057416704: HOA After hoainit
hostmstr: 2057416704: HOA Before hoalgon
Entered hgolgon at 2012/05/31-13:11:25
reco:0, name:SYSTEM, tflag:0
Entered hgosuec at 2012/05/31-13:11:25
Exiting hgosuec, rc=0 at 2012/05/31-13:11:25
HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
HOSGIP for "HS_FDS_TRANSACTION_LOG" returned "HS_TRANSACTION_LOG"
HOSGIP for "HS_FDS_TIMESTAMP_MAPPING" returned "DATE"
HOSGIP for "HS_FDS_DATE_MAPPING" returned "DATE"
HOSGIP for "HS_FDS_CHARACTER_SEMANTICS" returned "FALSE"
HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
HOSGIP for "HS_FDS_RESULTSET_SUPPORT" returned "FALSE"
HOSGIP for "HS_FDS_RSET_RETURN_ROWCOUNT" returned "FALSE"
HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
using SYSTEM as default value for "HS_FDS_DEFAULT_OWNER"
HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
Entered hgocont at 2012/05/31-13:11:25
HS_FDS_CONNECT_INFO = "Prueba_Foxpro"
RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
Entered hgogenconstr at 2012/05/31-13:11:25
dsn:Prueba_Foxpro, name:SYSTEM
optn:
Entered hgocip at 2012/05/31-13:11:25
dsn:Prueba_Foxpro
Exiting hgocip, rc=0 at 2012/05/31-13:11:25
##>Connect Parameters (len=39)<##
## DSN=Prueba_Foxpro;
#! UID=SYSTEM;
#! PWD=*
Exiting hgogenconstr, rc=0 at 2012/05/31-13:11:25
Entered hgopoer at 2012/05/31-13:11:26
hgopoer, line 233: got native error 0 and sqlstate 01000; message follows...
[*Microsoft][Administrador de controladores ODBC] El controlador no admite una versión de ODBC distinta de la que la necesita la aplicación (vea SQLSetEnvAttr)*. {01000}
Exiting hgopoer, rc=0 at 2012/05/31-13:11:26
hgocont, line 2686: calling SqlDriverConnect got sqlstate 01000
Entered hgolosf at 2012/05/31-13:11:26
ODBC Function-Available-Array 0xFFFE 0x00FF 0xFF00 0xAA7F 0x03B3 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0xEE00 0x395C
Exiting hgolosf, rc=0 at 2012/05/31-13:11:26
DriverName:VFPODBC.DLL, DriverVer:06.86.0001
DBMS Name:Visual FoxPro, DBMS Version:03.00.0000
Exiting hgocont, rc=0 at 2012/05/31-13:11:26 with error ptr FILE:hgocont.c LINE:2686 ID:SQLDriverConnect
Entered hgopoer at 2012/05/31-13:11:26
hgopoer, line 233: got native error 0 and sqlstate HYC00; message follows...
[Microsoft][ODBC Visual FoxPro Driver]Driver not capable {HYC00}
Exiting hgopoer, rc=0 at 2012/05/31-13:11:26
hgolgon, line 795: calling SQLGetInfo got sqlstate HYC00
SQLGetInfo returns N for SQL_CATALOG_NAME
Exiting hgolgon, rc=0 at 2012/05/31-13:11:26 with error ptr FILE:hgolgon.c LINE:795 ID:GetInfo: Support catalogs
hostmstr: 2036506624: HOA After hoalgon
RPC Calling nscontrol(0), rc=0
hostmstr: 2036506624: RPC Before Upload Caps
hostmstr: 2036506624: HOA Before hoaulcp
Entered hgoulcp at 2012/05/31-13:11:26
Entered hgowlst at 2012/05/31-13:11:26
Exiting hgowlst, rc=0 at 2012/05/31-13:11:26
SQLGetInfo returns 0x0 for SQL_OWNER_USAGE
TXN Capable:1, Isolation Option:0x2
SQLGetInfo returns 0 for SQL_MAX_SCHEMA_NAME_LEN
SQLGetInfo returns 128 for SQL_MAX_TABLE_NAME_LEN
SQLGetInfo returns 0 for SQL_MAX_PROCEDURE_NAME_LEN
SQLGetInfo returns ` (0x60) for SQL_IDENTIFIER_QUOTE_CHAR
SQLGetInfo returns Y for SQL_COLUMN_ALIAS
16 instance capabilities will be uploaded
capno:1964, context:0x00000000, add-info: 0
capno:1989, context:0x00000000, add-info: 0
capno:1991, context:0x0001ffff, add-info: 0
capno:1992, context:0x0001ffff, add-info: 1, translation:"`"
capno:3042, context:0x00000000, add-info: 0, translation:"42"
capno:3047, context:0x00000000, add-info: 0, translation:"57"
capno:3049, context:0x00000000, add-info: 0, translation:"59"
capno:3050, context:0x00000000, add-info: 0, translation:"60"
capno:3066, context:0x00000000, add-info: 0
capno:3067, context:0x00000000, add-info: 0
capno:3068, context:0x00000000, add-info: 0
capno:3069, context:0x00000000, add-info: 0
capno:3500, context:0x00000001, add-info: 91, translation:"42"
capno:3501, context:0x00000001, add-info: 93, translation:"57"
capno:3502, context:0x00000001, add-info: 107, translation:"59"
capno:3503, context:0x00000001, add-info: 110, translation:"60"
Exiting hgoulcp, rc=0 at 2012/05/31-13:11:26
hostmstr: 2036506624: HOA After hoaulcp
hostmstr: 2036506624: RPC After Upload Caps
hostmstr: 2036506624: RPC Before Upload DDTR
hostmstr: 2036506624: HOA Before hoauldt
Entered hgouldt at 2012/05/31-13:11:27
NO instance DD translations were uploaded
Exiting hgouldt, rc=0 at 2012/05/31-13:11:27
hostmstr: 2036506624: HOA After hoauldt
hostmstr: 2036506624: RPC After Upload DDTR
hostmstr: 2036506624: RPC Before Begin Trans
hostmstr: 2036506624: HOA Before hoabegn
Entered hgobegn at 2012/05/31-13:11:27
tflag:0 , initial:1
hoi:0x12f094, ttid (len 54) is ...
00: 54455354 2E524547 52455353 2E524442 [TEST.REGRESS.RDB]
10: 4D532E44 45562E55 532E4F52 41434C45 [MS.DEV.US.ORACLE]
20: 2E434F4D 2E663033 63383037 372E392E [.COM.f03c8077.9.]
30: 34342E37 3735 [44.775]
tbid (len 10) is ...
0: 09002C00 07030000 0104 [..,.......]
Exiting hgobegn, rc=0 at 2012/05/31-13:11:27
hostmstr: 2036506624: HOA After hoabegn
hostmstr: 2036506624: RPC After Begin Trans
hostmstr: 2036506624: RPC Before Describe Table
hostmstr: 2036506624: HOA Before hoadtab
Entered hgodtab at 2012/05/31-13:11:27
count:1
table: CENTROS
Entered hgopdsc at 2012/05/31-13:11:27
Describing procedure CENTROS
Output hoada
hgopdsc, line 1426: NO hoada to print
Exiting hgopdsc, rc=942 at 2012/05/31-13:11:27
The hoada for table CENTROS follows...
hgodtab, line 904: NO hoada to print
Exiting hgodtab, rc=0 at 2012/05/31-13:11:27
hostmstr: 2036506624: HOA After hoadtab
hostmstr: 2036506624: RPC After Describe Table
hostmstr: 2036506624: RPC Before SQL Bundling
hostmstr: 2036506624: HOA Before hoxpars
Entered hgopars, cursor id 1 at 2012/05/31-13:11:27
type:0
SQL text from hgopars, id=1, len=23 ...
00: 53454C45 4354202A 2046524F 4D202243 [SELECT * FROM "C]
10: 454E5452 4F5322 [ENTROS"]
Exiting hgopars, rc=0 at 2012/05/31-13:11:28
hostmstr: 2036506624: HOA After hoxpars
hostmstr: 2036506624: RPC After SQL Bundling
hostmstr: 2036506624: RPC Before SQL Bundling
hostmstr: 2036506624: HOA Before hoxopen
Entered hgoopen, cursor id 1 at 2012/05/31-13:11:28
hgoopen, line 87: NO hoada to print
Deferred open until first fetch.
Exiting hgoopen, rc=0 at 2012/05/31-13:11:28
hostmstr: 2036506624: HOA After hoxopen
hostmstr: 2036506624: HOA Before hoxdscr
Entered hgodscr, cursor id 1 at 2012/05/31-13:11:28
Allocate hoada @ 023E983C
Entered hgopoer at 2012/05/31-13:11:28
hgopoer, line 233: got native error 0 and sqlstate HY091; message follows...
[Microsoft][ODBC Visual FoxPro Driver]*Descriptor type out of range* {HY091}
Exiting hgopoer, rc=0 at 2012/05/31-13:11:28
hgodscr, line 615: calling SQLColAttribute got sqlstate HY091
Entered hgopcda at 2012/05/31-13:11:28
Column:1(codcen): dtype:1 (CHAR), prc/scl:8/0, nullbl:0, octet:8, sign:1, radix:0
Exiting hgopcda, rc=0 at 2012/05/31-13:11:28
Entered hgopoer at 2012/05/31-13:11:28
hgopoer, line 233: got native error 0 and sqlstate HY091; message follows...
[Microsoft][ODBC Visual FoxPro Driver]Descriptor type out of range {HY091}
Exiting hgopoer, rc=0 at 2012/05/31-13:11:28
hgodscr, line 615: calling SQLColAttribute got sqlstate HY091
Entered hgopcda at 2012/05/31-13:11:28
Column:2(litcen): dtype:1 (CHAR), prc/scl:45/0, nullbl:0, octet:45, sign:1, radix:0
Exiting hgopcda, rc=0 at 2012/05/31-13:11:28
Entered hgopoer at 2012/05/31-13:11:28
hgopoer, line 233: got native error 0 and sqlstate HY091; message follows...
[Microsoft][ODBC Visual FoxPro Driver]Descriptor type out of range {HY091}
Exiting hgopoer, rc=0 at 2012/05/31-13:11:28
hgodscr, line 615: calling SQLColAttribute got sqlstate HY091
Entered hgopcda at 2012/05/31-13:11:28
Column:3(codpos): dtype:1 (CHAR), prc/scl:5/0, nullbl:0, octet:5, sign:1, radix:0
Exiting hgopcda, rc=0 at 2012/05/31-13:11:28
Entered hgopoer at 2012/05/31-13:11:28
hgopoer, line 233: got native error 0 and sqlstate HY091; message follows...
[Microsoft][ODBC Visual FoxPro Driver]Descriptor type out of range {HY091}
Exiting hgopoer, rc=0 at 2012/05/31-13:11:28
hgodscr, line 615: calling SQLColAttribute got sqlstate HY091
Entered hgopcda at 2012/05/31-13:11:28
Column:4(codprov): dtype:1 (CHAR), prc/scl:2/0, nullbl:0, octet:2, sign:1, radix:0
Exiting hgopcda, rc=0 at 2012/05/31-13:11:28
Entered hgopoer at 2012/05/31-13:11:28
hgopoer, line 233: got native error 0 and sqlstate HY091; message follows...
[Microsoft][ODBC Visual FoxPro Driver]Descriptor type out of range {HY091}
Exiting hgopoer, rc=0 at 2012/05/31-13:11:28
hgodscr, line 615: calling SQLColAttribute got sqlstate HY091
Entered hgopcda at 2012/05/31-13:11:28
Column:5(codmun): dtype:1 (CHAR), prc/scl:3/0, nullbl:0, octet:3, sign:1, radix:0
Exiting hgopcda, rc=0 at 2012/05/31-13:11:28
Entered hgopoer at 2012/05/31-13:11:28
hgopoer, line 233: got native error 0 and sqlstate HY091; message follows...
[Microsoft][ODBC Visual FoxPro Driver]Descriptor type out of range {HY091}
Exiting hgopoer, rc=0 at 2012/05/31-13:11:28
hgodscr, line 615: calling SQLColAttribute got sqlstate HY091
Entered hgopcda at 2012/05/31-13:11:28
Column:6(codecol): dtype:1 (CHAR), prc/scl:2/0, nullbl:0, octet:2, sign:1, radix:0
Exiting hgopcda, rc=0 at 2012/05/31-13:11:28
Entered hgopoer at 2012/05/31-13:11:28
hgopoer, line 233: got native error 0 and sqlstate HY091; message follows...
[Microsoft][ODBC Visual FoxPro Driver]Descriptor type out of range {HY091}
Exiting hgopoer, rc=0 at 2012/05/31-13:11:28
hgodscr, line 615: calling SQLColAttribute got sqlstate HY091
Entered hgopcda at 2012/05/31-13:11:28
Column:7(codesin): dtype:1 (CHAR), prc/scl:2/0, nullbl:0, octet:2, sign:1, radix:0
Exiting hgopcda, rc=0 at 2012/05/31-13:11:28
Entered hgopoer at 2012/05/31-13:11:28
hgopoer, line 233: got native error 0 and sqlstate HY091; message follows...
[Microsoft][ODBC Visual FoxPro Driver]Descriptor type out of range {HY091}
Exiting hgopoer, rc=0 at 2012/05/31-13:11:28
hgodscr, line 615: calling SQLColAttribute got sqlstate HY091
Entered hgopcda at 2012/05/31-13:11:28
Column:8(cb): dtype:1 (CHAR), prc/scl:4/0, nullbl:0, octet:4, sign:1, radix:0
Exiting hgopcda, rc=0 at 2012/05/31-13:11:28
Entered hgopoer at 2012/05/31-13:11:28
hgopoer, line 233: got native error 0 and sqlstate HY091; message follows...
[Microsoft][ODBC Visual FoxPro Driver]Descriptor type out of range {HY091}
Exiting hgopoer, rc=0 at 2012/05/31-13:11:28
hgodscr, line 615: calling SQLColAttribute got sqlstate HY091
Entered hgopcda at 2012/05/31-13:11:28
Column:9(cs): dtype:1 (CHAR), prc/scl:4/0, nullbl:0, octet:4, sign:1, radix:0
Exiting hgopcda, rc=0 at 2012/05/31-13:11:28
Entered hgopoer at 2012/05/31-13:11:28
hgopoer, line 233: got native error 0 and sqlstate HY091; message follows...
[Microsoft][ODBC Visual FoxPro Driver]Descriptor type out of range {HY091}
Exiting hgopoer, rc=0 at 2012/05/31-13:11:28
hgodscr, line 615: calling SQLColAttribute got sqlstate HY091
Entered hgopcda at 2012/05/31-13:11:28
Column:10(digitocon): dtype:1 (CHAR), prc/scl:2/0, nullbl:0, octet:2, sign:1, radix:0
Exiting hgopcda, rc=0 at 2012/05/31-13:11:28
Entered hgopoer at 2012/05/31-13:11:28
hgopoer, line 233: got native error 0 and sqlstate HY091; message follows...
[Microsoft][ODBC Visual FoxPro Driver]Descriptor type out of range {HY091}
Exiting hgopoer, rc=0 at 2012/05/31-13:11:28
hgodscr, line 615: calling SQLColAttribute got sqlstate HY091
Entered hgopcda at 2012/05/31-13:11:28
Column:11(cuenta): dtype:1 (CHAR), prc/scl:10/0, nullbl:0, octet:10, sign:1, radix:0
Exiting hgopcda, rc=0 at 2012/05/31-13:11:28
Entered hgopcda at 2012/05/31-13:11:28
Column:12(solar): dtype:2 (NUMERIC), prc/scl:5/0, nullbl:0, octet:10, sign:1, radix:0
Exiting hgopcda, rc=0 at 2012/05/31-13:11:28
Entered hgopcda at 2012/05/31-13:11:28
Column:13(construido): dtype:2 (NUMERIC), prc/scl:5/0, nullbl:0, octet:10, sign:1, radix:0
Exiting hgopcda, rc=0 at 2012/05/31-13:11:28
Entered hgopoer at 2012/05/31-13:11:28
hgopoer, line 233: got native error 0 and sqlstate HY091; message follows...
[Microsoft][ODBC Visual FoxPro Driver]Descriptor type out of range {HY091}
Exiting hgopoer, rc=0 at 2012/05/31-13:11:28
hgodscr, line 615: calling SQLColAttribute got sqlstate HY091
Entered hgopcda at 2012/05/31-13:11:28
Column:14(domicen): dtype:1 (CHAR), prc/scl:40/0, nullbl:0, octet:40, sign:1, radix:0
Exiting hgopcda, rc=0 at 2012/05/31-13:11:28
Entered hgopoer at 2012/05/31-13:11:28
hgopoer, line 233: got native error 0 and sqlstate HY091; message follows...
[Microsoft][ODBC Visual FoxPro Driver]Descriptor type out of range {HY091}
Exiting hgopoer, rc=0 at 2012/05/31-13:11:28
hgodscr, line 615: calling SQLColAttribute got sqlstate HY091
Entered hgopcda at 2012/05/31-13:11:28
Column:15(telef): dtype:1 (CHAR), prc/scl:11/0, nullbl:0, octet:11, sign:1, radix:0
Exiting hgopcda, rc=0 at 2012/05/31-13:11:28
Entered hgopoer at 2012/05/31-13:11:28
hgopoer, line 233: got native error 0 and sqlstate HY091; message follows...
[Microsoft][ODBC Visual FoxPro Driver]Descriptor type out of range {HY091}
Exiting hgopoer, rc=0 at 2012/05/31-13:11:28
hgodscr, line 615: calling SQLColAttribute got sqlstate HY091
Entered hgopcda at 2012/05/31-13:11:28
Column:16(fax): dtype:1 (CHAR), prc/scl:11/0, nullbl:0, octet:11, sign:1, radix:0
Exiting hgopcda, rc=0 at 2012/05/31-13:11:28
Entered hgopoer at 2012/05/31-13:11:28
hgopoer, line 233: got native error 0 and sqlstate HY091; message follows...
[Microsoft][ODBC Visual FoxPro Driver]Descriptor type out of range {HY091}
Exiting hgopoer, rc=0 at 2012/05/31-13:11:28
hgodscr, line 615: calling SQLColAttribute got sqlstate HY091
Entered hgopcda at 2012/05/31-13:11:28
Column:17(cif): dtype:1 (CHAR), prc/scl:11/0, nullbl:0, octet:11, sign:1, radix:0
Exiting hgopcda, rc=0 at 2012/05/31-13:11:28
Entered hgopoer at 2012/05/31-13:11:28
hgopoer, line 233: got native error 0 and sqlstate HY091; message follows...
[Microsoft][ODBC Visual FoxPro Driver]Descriptor type out of range {HY091}
Exiting hgopoer, rc=0 at 2012/05/31-13:11:28
hgodscr, line 615: calling SQLColAttribute got sqlstate HY091
Entered hgopcda at 2012/05/31-13:11:28
Column:18(litloc): dtype:1 (CHAR), prc/scl:30/0, nullbl:0, octet:30, sign:1, radix:0
Exiting hgopcda, rc=0 at 2012/05/31-13:11:28
hgodscr, line 910: Printing hoada @ 023E983C
MAX:18, ACTUAL:18, BRC:100, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x200:TREAT_AS_CHAR)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
1 CHAR N 8 8 0/ 0 0 0 200 codcen
1 CHAR N 45 45 0/ 0 0 0 200 litcen
1 CHAR N 5 5 0/ 0 0 0 200 codpos
1 CHAR N 2 2 0/ 0 0 0 200 codprov
1 CHAR N 3 3 0/ 0 0 0 200 codmun
1 CHAR N 2 2 0/ 0 0 0 200 codecol
1 CHAR N 2 2 0/ 0 0 0 200 codesin
1 CHAR N 4 4 0/ 0 0 0 200 cb
1 CHAR N 4 4 0/ 0 0 0 200 cs
1 CHAR N 2 2 0/ 0 0 0 200 digitocon
1 CHAR N 10 10 0/ 0 0 0 200 cuenta
3 DECIMAL N 7 7 5/ 0 0 0 0 solar
3 DECIMAL N 7 7 5/ 0 0 0 0 construido
1 CHAR N 40 40 0/ 0 0 0 200 domicen
1 CHAR N 11 11 0/ 0 0 0 200 telef
1 CHAR N 11 11 0/ 0 0 0 200 fax
1 CHAR N 11 11 0/ 0 0 0 200 cif
1 CHAR N 30 30 0/ 0 0 0 200 litloc
Exiting hgodscr, rc=0 at 2012/05/31-13:11:28 with error ptr FILE:hgodscr.c LINE:615 ID:Transfer Octet Length
hostmstr: 2036506624: HOA After hoxdscr
hostmstr: 2036506624: RPC After SQL Bundling
hostmstr: 2036506624: RPC Before SQL Bundling
hostmstr: 2036506624: HOA Before hoxclse
Entered hgoclse, cursor id 1 at 2012/05/31-13:11:28
Exiting hgoclse, rc=0 at 2012/05/31-13:11:28
hostmstr: 2036506624: HOA After hoxclse
hostmstr: 2036506624: HOA Before hoadafr
Entered hgodafr, cursor id 1 at 2012/05/31-13:11:28
Free hoada @ 023E983C
Exiting hgodafr, rc=0 at 2012/05/31-13:11:28
hostmstr: 2036506624: HOA After hoadafr
hostmstr: 2036506624: HOA Before hoxpars
Entered hgopars, cursor id 1 at 2012/05/31-13:11:28
type:0
SQL text from hgopars, id=1, len=235 ...
00: 53454C45 43542041 312E2263 6F646365 [SELECT A1."codce]
10: 6E222C41 312E226C 69746365 6E222C41 [n",A1."litcen",A]
20: 312E2263 6F64706F 73222C41 312E2263 [1."codpos",A1."c]
30: 6F647072 6F76222C 41312E22 636F646D [odprov",A1."codm]
40: 756E222C 41312E22 636F6465 636F6C22 [un",A1."codecol"]
50: 2C41312E 22636F64 6573696E 222C4131 [,A1."codesin",A1]
60: 2E226362 222C4131 2E226373 222C4131 [."cb",A1."cs",A1]
70: 2E226469 6769746F 636F6E22 2C41312E [."digitocon",A1.]
80: 22637565 6E746122 2C41312E 22736F6C ["cuenta",A1."sol]
90: 6172222C 41312E22 636F6E73 74727569 [ar",A1."construi]
A0: 646F222C 41312E22 646F6D69 63656E22 [do",A1."domicen"]
B0: 2C41312E 2274656C 6566222C 41312E22 [,A1."telef",A1."]
C0: 66617822 2C41312E 22636966 222C4131 [fax",A1."cif",A1]
D0: 2E226C69 746C6F63 22204652 4F4D2022 [."litloc" FROM "]
E0: 43454E54 524F5322 204131 [CENTROS" A1]
Entered hgopoer at 2012/05/31-13:11:28
hgopoer, line 233: got native error 200 and sqlstate 42000; message follows...
[Microsoft][ODBC Visual FoxPro Driver]Syntax error. {42000,NativeErr = 200}
Exiting hgopoer, rc=0 at 2012/05/31-13:11:28
hgopars, line 457: calling SQLPrepare got sqlstate 42000
Exiting hgopars, rc=28500 at 2012/05/31-13:11:28 with error ptr FILE:hgopars.c LINE:487 ID:Prepare stmt
hostmstr: 2036506624: HOA After hoxpars
hostmstr: 2036506624: RPC After SQL BundlingThe first issue I see is that Oracle 10.2.0.1 was never certified with DG4ODBC 11. Only 10.2.0.4 or 10.2.0.5 can be used as the Oracle database HS kernel requires a gateway compatibility patch and this patch is included in 10.2.0.4 or 10.2.0.5 Oracle database patch set.
Then another error in the trace is that for each column description you have an error:
hgopoer, line 233: got native error 0 and sqlstate HY091; message follows...
[Microsoft][ODBC Visual FoxPro Driver]*Descriptor type out of range* {HY091}
Exiting hgopoer, rc=0 at 2012/05/31-13:11:28
hgodscr, line 615: calling SQLColAttribute got sqlstate HY091
It seems it is not critical as DG4ODBC continues, but a more detailed analysis would require an ODBC trace.
When looking at the table description it seems the column names are all in lower letters, for example: solar. So commonly Dg4ODBC needs to quote the names
00: 53454C45 43542041 312E2263 6F646365 [SELECT A1."codce]
10: 6E222C41 312E226C 69746365 6E222C41 [n",A1."litcen",A]
20: 312E2263 6F64706F 73222C41 312E2263 [1."codpos",A1."c]
30: 6F647072 6F76222C 41312E22 636F646D [odprov",A1."codm]
40: 756E222C 41312E22 636F6465 636F6C22 [un",A1."codecol"]
50: 2C41312E 22636F64 6573696E 222C4131 [,A1."codesin",A1]
60: 2E226362 222C4131 2E226373 222C4131 [."cb",A1."cs",A1]
70: 2E226469 6769746F 636F6E22 2C41312E [."digitocon",A1.]
80: 22637565 6E746122 2C41312E 22736F6C ["cuenta",A1."sol]
90: 6172222C 41312E22 636F6E73 74727569 [ar",A1."construi]
A0: 646F222C 41312E22 646F6D69 63656E22 [do",A1."domicen"]
B0: 2C41312E 2274656C 6566222C 41312E22 [,A1."telef",A1."]
C0: 66617822 2C41312E 22636966 222C4131 [fax",A1."cif",A1]
D0: 2E226C69 746C6F63 22204652 4F4D2022 [."litloc" FROM "]
E0: 43454E54 524F5322 204131 [CENTROS" A1]
and according to the trace the FoxPro ODBC driver doesn't like these quotes and reports a syntax error.
So this explains at least why select codcen from centros@fox1 will fail. In general the Oracle database is case insensitive and translates all object names to upper case and the select it will pass to the foreign database would be similar to:
select CODCEN from CENTROS => which will fail as FoxPro is case sensitive. So the error message ORA-00904 (missing column name) is correct and the statement you need to use is:
select "codcen" from centros@fox1;
But this might lead again to the Syntax error you got earlier => You need to check which sign (single quote, back tick, double quote) Foxpro uses to quote object names and then set the gateway parameter HS_FDS_QUOTE_IDENTIFIER accordingly.
To check which character can be used to quote column/table names you might use the Microsoft ODBc test utility which was distributed in the old MDAC 2.8:
http://www.microsoft.com/downloads/details.aspx?familyid=5067faf8-0db4-429a-b502-de4329c8c850&displaylang=en
Edited by: kgronau on Jun 1, 2012 7:27 AM
If you know where I can download the MS FoxPro ODBC driver, please let me know and I'll check. -
Gateway for informix: Unsupported Informix Server and other errors
I set up the Database Gateway for Informix on WinXP 32 to connect from an Oracel 10gR2 Database to an Informix Database (Infomix Online Dynamic Server V7.31UP1).
The basic connection seems to work (giving a wrong password in the database link results in an appropriate error message), but the test-statement "select * from DUAL@DLTEST" (and any other select) results in the following error message:
>>>>>>>>>>>>>>>>>
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Oracle][ODBC Informix Wire Protocol driver]Unsupported Informix Server
version.[Oracle][ODBC Informix Wire Protocol driver]Invalid attribute in
connection string: ArraySize.[Oracle][ODBC Informix Wire Protocol
driver]Invalid attribute in connection string: TruncateOversizedColumnValues.
ORA-02063: preceding 2 lines from DLTEST
<<<<<<<<<<<<<<<<<
Setting HS_FDS_TRACE_LEVEL=DEBUG gives the following trace-output in <oracle_home>\dg4ifmx\trace\dg4ifmx_agt_2716.trc:
>>>>>>>>>>>>>>>>>>>
Oracle Corporation --- MONTAG JUN 09 2008 13:59:13.671
Heterogeneous Agent Release
11.1.0.6.0
Oracle Corporation --- MONTAG JUN 09 2008 13:59:13.671
Version 11.1.0.6.0
Entered hgogprd
HOSGIP for "HS_FDS_TRACE_LEVEL" returned "DEBUG"
Entered hgosdip
setting HS_OPEN_CURSORS to default of 50
HOSGIP returned value of "straf" for HS_FDS_RECOVERY_ACCOUNT
HOSGIP returned a value for HS_FDS_RECOVERY_PWD
setting HS_FDS_TRANSACTION_LOG to default of "HS_TRANSACTION_LOG"
setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
setting HS_NLS_NCHAR to default of "AL16UTF16"
setting HS_FDS_TIMESTAMP_AS_DATE to default of "TRUE"
setting HS_RPC_FETCH_REBLOCKING to default of "ON"
setting HS_FDS_FETCH_ROWS to default of "100"
setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
setting HS_FDS_CHARACTER_SEMANTICS to default of "FALSE"
setting HS_FDS_MAP_NCHAR to default of "TRUE"
setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
setting HS_FDS_QUERY_DRIVER to default of "FALSE"
setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics"
Exiting hgosdip, rc=0
ORACLE_SID is "dg4ifmx"
Product-Info:
Port Rls/Upd:6/0 PrdStat:0
Agent:Oracle Database Gateway for INFORMIX
Facility:hsa
Class:IFMX, ClassVsn:11.1.0.6.0_0006, Instance:dg4ifmx
Exiting hgogprd, rc=0
Entered hgoinit
HOCXU_COMP_CSET=1
HOCXU_DRV_CSET=178
HOCXU_DRV_NCHAR=2000
HOCXU_DB_CSET=46
HOCXU_SEM_VER=100000
Entered hgolofn at 2008/06/09-13:59:14
RC=-1 from HOSGIP for "PATH"
PATH from environment is "D:\oracle_11g\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;D:\Programme\jdk1.4\bin;d:\programme\GTK\2.0\bin;"D:\Programme\Hummingbird\Connectivity\7.00\Accessories\";d:\Tools\GTK_2.0\bin;d:\tools\IsoBuster"
Exiting hgolofn, rc=0 at 2008/06/09-13:59:14
HOSGIP for "HS_OPEN_CURSORS" returned "50"
HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
Exiting hgoinit, rc=0 at 2008/06/09-13:59:14
Entered hgolgon at 2008/06/09-13:59:14
reco:0, name:straf, tflag:0
Entered hgosuec at 2008/06/09-13:59:14
uencoding=UTF16
Entered shgosuec at 2008/06/09-13:59:14
Exiting shgosuec, rc=0 at 2008/06/09-13:59:14
shgosuec() returned rc=0
Exiting hgosuec, rc=0 at 2008/06/09-13:59:14
HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "straf"
HOSGIP for "HS_FDS_TRANSACTION_LOG" returned ""HS_TRANSACTION_LOG""
HOSGIP for "HS_FDS_TIMESTAMP_AS_DATE" returned "TRUE"
HOSGIP for "HS_FDS_CHARACTER_SEMANTICS" returned "FALSE"
HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
HOSGIP for "HS_FDS_RESULT_SET_SUPPORT" returned "FALSE"
HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
using straf as default value for "HS_FDS_DEFAULT_OWNER"
HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
Entered hgocont at 2008/06/09-13:59:15
HS_FDS_CONNECT_INFO = "sijus10000:22231/si10000onl/kwadbstr"
RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
Entered hgogenconstr at 2008/06/09-13:59:15
dsn:sijus10000:22231/si10000onl/kwadbstr, name:straf
optn:
Entered shgogohn at 2008/06/09-13:59:15
ohn is 'OraGtw11g'
Exiting shgogohn, rc=0 at 2008/06/09-13:59:15
Entered hgocont_OracleCsidToIANA at 2008/06/09-13:59:15
Returning 2252
Exiting hgocont_OracleCsidToIANA at 2008/06/09-13:59:15
##>Connect Parameters (len=299)<##
## DRIVER=Oracle 11g dg4ifmx-OraGtw11g;
## HostName=sijus10000;
## PortNumber=22231;
## ServerName=si10000onl;
## Database=kwadbstr;
#! UID=straf;
#! PWD=*
## ApplicationUsingThreads=1;
## CancelDetectInterval=0;
## TrimBlankFromIndexName=1;
## IANAAppCodePage=2252;
## ArraySize=100;
## UseDelimitedIdentifier=1;
## TruncateOversizedColumnValues=0;
Exiting hgogenconstr, rc=0 at 2008/06/09-13:59:15
Entered hgopoer at 2008/06/09-13:59:15
hgopoer, line 159: got native error 0 and sqlstate HY000; message follows...
[Oracle][ODBC Informix Wire Protocol driver]Unsupported Informix Server version.[Oracle][ODBC Informix Wire Protocol driver]Invalid attribute in connection string: ArraySize.[Oracle][ODBC Informix Wire Protocol driver]Invalid attribute in connection string: TruncateOversizedColumnValues.
Exiting hgopoer, rc=0 at 2008/06/09-13:59:15
hgocont, line 1890: calling SqlDriverConnect got sqlstate HY000
Exiting hgocont, rc=28500 at 2008/06/09-13:59:15 with error ptr FILE:hgocont.c LINE:1910 ID:Something other than invalid authorization
Exiting hgolgon, rc=28500 at 2008/06/09-13:59:15 with error ptr FILE:hgolgon.c LINE:612 ID:Calling hgocont
Entered hgoexit at 2008/06/09-13:59:15
Exiting hgoexit, rc=0 at 2008/06/09-13:59:15
<<<<<<<<<<<<<<<<<<<<<<<<
What's going wrong ?
Regards KlausHello,
I downloaded the gateway package of Oracle version 11.1.0.6.0, and installed Informix gateway driver. I made the necessary settings, and i have exactly the same problem, as described above.
I receive error message "OracleODBC Informix Wire Protocol driverUnsupported Informix Server version.OracleODBC Informix Wire Protocol driverInvalid attribute in connection string: ArraySize.OracleODBC Informix Wire Protocol driverInvalid attribute in connection string: TruncateOversizedColumnValues." when trying to set up a connection from Oracle to Informix 7.3. I read here, that there is a patch of Informix gateway: fix 6799360, which is unfortunately not available for for download for Windows XP. I cannot search MetaLink for this problem, because I just would like to test this Oracle feature, I did not buy Oracle license.
Does anybody know about this patch? Can anybody help how could I make working this Informix gateway?
Thanks for help, Gyula
Maybe you are looking for
-
MSI MediaCenter Deluxe II problems
Hello, I have recently purchased an MSI FX 5900xt card, and to try its multimegia features I installed the mediacenter. I live in Hungary and use a Hungarian Windows XP. I theory mediacenter knows hungarian language. BUT At the top of the window, the
-
Severe: Exception while deploying the app [bes-war] Severe: Exception during lifecycle processing org.glassfish.deployment.common.DeploymentException: Exception [EclipseLink-28019] (Eclipse Persistence Services - 2.5.0.v20130507-3faac2b): org.ecl
-
Hi guys I have a dynamic PDF form, which is 3 pages long. At the top of each page are text fields for the first and last name, along with the date. I'm wondering how I can allow these fields to be filled out only once, and display correctly at the to
-
Category in Email-Notification
Hi, when a new service-desk-message is created the support-team gets an email-notification. Now, we woulld like to add the category in the email. Is it possible an what are the steps requiered? Regards, Bjoern
-
My mac mini is not burning CD's.
My mac mini is not burning CD's. It can read CD's but writing CD's doesn't work, but burning DVD's works fine. If I burn from iDVD it works fine but if I create a Burn Folder and drag Pictures from iPhoto to that folder it goes threw the process of b