error with DG4ODBC implementing connectivity to oracle for IBM iSeries AS400 version V7R1
Hello
I have linux Enterprise 64-bit database hosting Oracle 11 GR 2 64-bit (11.2.0.1). I have access to IBM iSeries AS400 version V7R1. I'm trying to connect to IBM iSeries of Oracle database with ODBC connectivity using the database link. Here's what I did.
Host (Linux) database installed iSeriesAccess - 7.1.0 - 1.0.x86_64.rpm provided by IBM.
My odbcinst.ini file has the following entries:
[PostgreSQL]
Description = ODBC for PostgreSQL
Driver = /usr/lib/libodbcpsql.so
Setup = /usr/lib/libodbcpsqlS.so
FileUsage = 1
[iSeries Access ODBC Driver]
Description = iSeries Access for Linux ODBC Driver
Driver = /opt/ibm/iSeriesAccess/lib64/libcwbodbc.so
Setup = /opt/ibm/iSeriesAccess/lib64/libcwbodbcs.so
Note 1 = if you use unixODBC-2.2.11 or later and you want ODBC 32 and 64-bit DSN, pilots to share
Note 2 = the following Driver64/Setup64 keywords provide which support.
Driver64 = /opt/ibm/iSeriesAccess/lib64/libcwbodbc.so
Setup64 = /opt/ibm/iSeriesAccess/lib64/libcwbodbcs.so
Thread = 2
DontDLClose = 1
UsageCount = 1
[iSeries Access ODBC Driver 64-bit]
Description = iSeries Access for Linux 64 - bit ODBC Driver
Driver = /opt/ibm/iSeriesAccess/lib64/libcwbodbc.so
Setup = /opt/ibm/iSeriesAccess/lib64/libcwbodbcs.so
Thread = 2
DontDLClose = 1
UsageCount = 1
The odbc.ini contains the following entries:
[ODBC data sources]
dg4odbc = connection to db2
[dg4odbc]
Driver = /opt/ibm/iSeriesAccess/lib64/libcwbodbc.so
Description = iSeries Access for Linux ODBC Driver
LogonID =
Password =
Address = (IBM host, IP address)
location = Vm520
noprompt = true
System = (IBM host, IP address)
UNICODE = UTF-8
Naming = 0
ConnectionType = 0
CommitMode = 2
ExtendedDynamic = 0
AllowDataCompression = 1
LibraryView = 0
AllowUnsupportedChar = 0
ForceTranslation = 0
Trace = 0
made sure I was able to connect via ODBC and DSN using the following command:
isql dg4odbc oracle oracle1 - v
+---------------------------------------+
| Connected! |
| |
| SQL query |
| help [tablename] |
| quit |
| |
+---------------------------------------+
SQL >
SQLRowCount Returns-1
600 lines read
SQL >
could query the table in a library on AS400.
The $ORACLE_HOME/hs/admin/initdg4odbc.ora includes the following:
# This is an example of initialization file of the agent that contains the HS settings
# necessary for the database to ODBC gateway
#
# HS init parameters
#
HS_FDS_CONNECT_INFO = dg4odbc
HS_FDS_TRACE_LEVEL = off
HS_FDS_SHAREABLE_NAME=/etc/newlib/libodbc.so
HS_FDS_TRACE_LEVEL = 255
HS_FDS_SUPPORT_STATISTICS = FALSE
#
# ODBC specific environment variables
#
Set ODBCINI=/etc/odbc.ini
#
# Required for the non-Oracle system environment variables
#
The listener entries are as follows:
(SID_DESC =
(SID_NAME = dg4odbc)
(ORACLE_HOME = opt/oracle/dbs/product/11.2.0/dbhome_1)
(PROGRAM = dg4odbc)
)
Stopped and started the listener.
The TNS entry is as follows:
armcdb2 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = vmw - dev - rmsdb.xxx.vmc)(PORT = 1521))
(CONNECT_DATA =
(SID = dg4odbc)
)
(HS = OK)
)
Pourriez tnsping:
Tnsping armcdb2 Oracle@rmsdev[/opt/Oracle/DBs/product/11.2.0/dbhome_1/network/admin]$
AMT Ping utility for Linux: Version 11.2.0.1.0 - Production on July 11, 2013 16:01:23
Copyright (c) 1997, 2009, Oracle. All rights reserved.
Use settings files:
/opt/Oracle/DBs/product/11.2.0/dbhome_1/network/admin/SQLNET.ora
TNSNAMES adapter used to resolve the alias
Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = vmw - dev - rmsdb.xxx.vmc)(PORT = 1521)) (CONNECT_DATA = (SID = dg4odbc)) (HS = OK))
OK (0 msec)
create a link from public database as follows:
SQL > create database link samplink connect to 'oracle' identified by 'oracle1' with 'armcdb2 ';
Database link created.
When I run a select query I get as follows:
SQL > select * from mdiaz. AREMAIL@SampLink;
Select * from mdiaz. AREMAIL@SampLink
*
ERROR on line 1:
ORA-28500: connection between ORACLE and a non-Oracle system has sent this message:
408
Here is a sample track of dg4odbc:
Oracle Corporation - Thursday 11 July 2013 16:06:03.627
Heterogeneous Agent release
11.2.0.1.0
Oracle Corporation - Thursday 11 July 2013 16:06:03.627
Version 11.2.0.1.0
Hgogprd entries
HOSGIP to 'HS_FDS_TRACE_LEVEL' returned '255 '.
Hgosdip entries
default assignment of 50 HS_OPEN_CURSORS
setting HS_FDS_RECOVERY_ACCOUNT or 'RECOVER '.
HS_FDS_RECOVERY_PWD layout to the default
default HS_FDS_TRANSACTION_LOG of HS_TRANSACTION_LOG layout
HS_IDLE_TIMEOUT layout to the default 0 value
layout by default HS_FDS_TRANSACTION_ISOLATION of "READ_COMMITTED".
layout by default «AL32UTF8» HS_NLS_NCHAR
layout HS_FDS_TIMESTAMP_MAPPING default 'DATE '.
layout HS_FDS_DATE_MAPPING default 'DATE '.
layout HS_RPC_FETCH_REBLOCKING failure to 'ON '.
HS_FDS_FETCH_ROWS layout without '100 '.
parameter HS_FDS_RESULTSET_SUPPORT default 'FALSE '.
parameter HS_FDS_RSET_RETURN_ROWCOUNT default 'FALSE '.
parameter HS_FDS_PROC_IS_FUNC default 'FALSE '.
parameter HS_FDS_CHARACTER_SEMANTICS default 'FALSE '.
parameter HS_FDS_MAP_NCHAR if there is no 'TRUE '.
setting HS_NLS_DATE_FORMAT or 'YYYY-MM-DD HH24:MI:SS ".
parameter HS_FDS_REPORT_REAL_AS_DOUBLE default 'FALSE '.
HS_LONG_PIECE_TRANSFER_SIZE layout without "65536".
parameter HS_SQL_HANDLE_STMT_REUSE default 'FALSE '.
parameter HS_FDS_QUERY_DRIVER if there is no 'TRUE '.
HOSGIP returned the value 'FALSE' to HS_FDS_SUPPORT_STATISTICS
The HS_FDS_QUOTE_IDENTIFIER parameter is not defined
setting in HS_KEEP_REMOTE_COLUMN_SIZE if 'OFF '.
parameter HS_FDS_GRAPHIC_TO_MBCS default 'FALSE '.
parameter HS_FDS_MBCS_TO_GRAPHIC default 'FALSE '.
Default value of 64 assumed for HS_FDS_SQLLEN_INTERPRETATION
HS_CALL_NAME_ISP layout "gtw$: SQLTables; GTW$: SQLColumns. GTW$: SQLPrimaryKeys. GTW$: SQLForeignKeys. GTW$: SQLProcedures. GTW$: SQLStatistics; "gtw$: SQLGetInfo.
parameter HS_FDS_DELAYED_OPEN if there is no 'TRUE '.
HS_FDS_WORKAROUNDS layout by default "0".
Release of hgosdip, rc = 0
ORACLE_SID is "dg4odbc.
Product information:
Port RLS / Upd:1 / 0 PrdStat:0
Agent: Oracle Database Gateway for ODBC
: Installation
Class: ODBC, ClassVsn:11.2.0.1.0_0008, Instance: dg4odbc
Release of hgogprd, rc = 0
hostmstr: 0: HOA after hoagprd
hostmstr: 0: HOA before hoainit
Hgoinit entries
HOCXU_COMP_CSET = 1
HOCXU_DRV_CSET = 871
HOCXU_DRV_NCHAR = 873
HOCXU_DB_CSET = 871
HOCXU_SEM_VER = 112000
Entry hgolofn to 2013/07/11-16: 06:03
HOSGIP to 'HS_FDS_SHAREABLE_NAME' returned ' / etc/newlib/libodbc.so '.
Entry hgolofns to 2013/07/11-16: 06:03
LIBNAME=/etc/newlib/libodbc.so, funcname is SQLAllocHandle
symbol_peflctx = 0xaab7c2f0
hoaerr:0
Out of hgolofns to 2013/07/11-16: 06:03
Entry hgolofns to 2013/07/11-16: 06:03
LIBNAME=/etc/newlib/libodbc.so, funcname is SQLBindCol
symbol_peflctx = 0xaab7c9d0
hoaerr:0
Out of hgolofns to 2013/07/11-16: 06:03
Entry hgolofns to 2013/07/11-16: 06:03
LIBNAME=/etc/newlib/libodbc.so, funcname is SQLBindParameter
symbol_peflctx = 0xaab7cb6c
hoaerr:0
Out of hgolofns to 2013/07/11-16: 06:03
Entry hgolofns to 2013/07/11-16: 06:03
LIBNAME=/etc/newlib/libodbc.so, funcname is SQLCancel
symbol_peflctx = 0xaab7d416
hoaerr:0
Out of hgolofns to 2013/07/11-16: 06:03
Entry hgolofns to 2013/07/11-16: 06:03
LIBNAME=/etc/newlib/libodbc.so, funcname is SQLDescribeParam
symbol_peflctx = 0xaab7f7dc
hoaerr:0
Out of hgolofns to 2013/07/11-16: 06:03
Entry hgolofns to 2013/07/11-16: 06:03
LIBNAME=/etc/newlib/libodbc.so, funcname is SQLDisconnect
symbol_peflctx = 0xaab7f978
hoaerr:0
Out of hgolofns to 2013/07/11-16: 06:03
Entry hgolofns to 2013/07/11-16: 06:03
LIBNAME=/etc/newlib/libodbc.so, funcname is SQLEndTran
symbol_peflctx = 0xaab7fe42
hoaerr:0
Out of hgolofns to 2013/07/11-16: 06:03
Entry hgolofns to 2013/07/11-16: 06:03
LIBNAME=/etc/newlib/libodbc.so, funcname is SQLExecute
symbol_peflctx = 0xaab808ac
hoaerr:0
Out of hgolofns to 2013/07/11-16: 06:03
Entry hgolofns to 2013/07/11-16: 06:03
LIBNAME=/etc/newlib/libodbc.so, funcname is SQLFetch
symbol_peflctx = 0xaab80b5c
hoaerr:0
Out of hgolofns to 2013/07/11-16: 06:03
Entry hgolofns to 2013/07/11-16: 06:03
LIBNAME=/etc/newlib/libodbc.so, funcname is SQLFreeHandle
symbol_peflctx = 0xaab816aa
hoaerr:0
Out of hgolofns to 2013/07/11-16: 06:03
Entry hgolofns to 2013/07/11-16: 06:03
LIBNAME=/etc/newlib/libodbc.so, funcname is SQLFreeStmt
symbol_peflctx = 0xaab82144
hoaerr:0
Out of hgolofns to 2013/07/11-16: 06:03
Entry hgolofns to 2013/07/11-16: 06:03
LIBNAME=/etc/newlib/libodbc.so, funcname is SQLGetData
symbol_peflctx = 0xaab83ad8
hoaerr:0
Out of hgolofns to 2013/07/11-16: 06:03
Entry hgolofns to 2013/07/11-16: 06:03
LIBNAME=/etc/newlib/libodbc.so, funcname is SQLGetEnvAttr
symbol_peflctx = 0xaab84e42
hoaerr:0
Out of hgolofns to 2013/07/11-16: 06:03
Entry hgolofns to 2013/07/11-16: 06:03
LIBNAME=/etc/newlib/libodbc.so, funcname is SQLGetFunctions
symbol_peflctx = 0xaab84fce
hoaerr:0
Out of hgolofns to 2013/07/11-16: 06:03
Entry hgolofns to 2013/07/11-16: 06:03
LIBNAME=/etc/newlib/libodbc.so, funcname is SQLMoreResults
symbol_peflctx = 0xaab85a0a
hoaerr:0
Out of hgolofns to 2013/07/11-16: 06:03
Entry hgolofns to 2013/07/11-16: 06:03
LIBNAME=/etc/newlib/libodbc.so, funcname is SQLNumResultCols
symbol_peflctx = 0xaab85fba
hoaerr:0
Out of hgolofns to 2013/07/11-16: 06:03
Entry hgolofns to 2013/07/11-16: 06:03
LIBNAME=/etc/newlib/libodbc.so, funcname is SQLParamData
symbol_peflctx = 0xaab86102
hoaerr:0
Out of hgolofns to 2013/07/11-16: 06:03
Entry hgolofns to 2013/07/11-16: 06:03
LIBNAME=/etc/newlib/libodbc.so, funcname is SQLPutData
symbol_peflctx = 0xaab871fc
hoaerr:0
Out of hgolofns to 2013/07/11-16: 06:03
Entry hgolofns to 2013/07/11-16: 06:03
LIBNAME=/etc/newlib/libodbc.so, funcname is SQLRowCount
symbol_peflctx = 0xaab87364
hoaerr:0
Out of hgolofns to 2013/07/11-16: 06:03
Entry hgolofns to 2013/07/11-16: 06:03
LIBNAME=/etc/newlib/libodbc.so, funcname is SQLSetEnvAttr
symbol_peflctx = 0xaab89054
hoaerr:0
Out of hgolofns to 2013/07/11-16: 06:03
Entry hgolofns to 2013/07/11-16: 06:03
LIBNAME=/etc/newlib/libodbc.so, funcname is SQLSetDescRec
symbol_peflctx = 0xaab88e20
hoaerr:0
Out of hgolofns to 2013/07/11-16: 06:03
Entry hgolofns to 2013/07/11-16: 06:03
LIBNAME=/etc/newlib/libodbc.so, funcname is SQLColAttributeW
symbol_peflctx = 0xaab7d6ba
hoaerr:0
Out of hgolofns to 2013/07/11-16: 06:03
Entry hgolofns to 2013/07/11-16: 06:03
LIBNAME=/etc/newlib/libodbc.so, funcname is SQLColumnsW
symbol_peflctx = 0xaab7e264
hoaerr:0
Out of hgolofns to 2013/07/11-16: 06:03
Entry hgolofns to 2013/07/11-16: 06:03
LIBNAME=/etc/newlib/libodbc.so, funcname is SQLConnectW
symbol_peflctx = 0xaab7e6b4
hoaerr:0
Out of hgolofns to 2013/07/11-16: 06:03
Entry hgolofns to 2013/07/11-16: 06:03
LIBNAME=/etc/newlib/libodbc.so, funcname is SQLDescribeColW
symbol_peflctx = 0xaab7f39e
hoaerr:0
Out of hgolofns to 2013/07/11-16: 06:03
Entry hgolofns to 2013/07/11-16: 06:03
LIBNAME=/etc/newlib/libodbc.so, funcname is SQLDriverConnectW
symbol_peflctx = 0xaab7fa9a
hoaerr:0
Out of hgolofns to 2013/07/11-16: 06:03
Entry hgolofns to 2013/07/11-16: 06:03
LIBNAME=/etc/newlib/libodbc.so, funcname is SQLExecDirectW
symbol_peflctx = 0xaab805e6
hoaerr:0
Out of hgolofns to 2013/07/11-16: 06:03
Entry hgolofns to 2013/07/11-16: 06:03
LIBNAME=/etc/newlib/libodbc.so, funcname is SQLForeignKeysW
symbol_peflctx = 0xaab80de6
hoaerr:0
Out of hgolofns to 2013/07/11-16: 06:03
Entry hgolofns to 2013/07/11-16: 06:03
LIBNAME=/etc/newlib/libodbc.so, funcname is SQLGetConnectAttrW
symbol_peflctx = 0xaab82714
hoaerr:0
Out of hgolofns to 2013/07/11-16: 06:03
Entry hgolofns to 2013/07/11-16: 06:03
LIBNAME=/etc/newlib/libodbc.so, funcname is SQLGetDescFieldW
symbol_peflctx = 0xaab83c76
hoaerr:0
Out of hgolofns to 2013/07/11-16: 06:03
Entry hgolofns to 2013/07/11-16: 06:03
LIBNAME=/etc/newlib/libodbc.so, funcname is SQLGetDescRecW
symbol_peflctx = 0xaab83fbe
hoaerr:0
Out of hgolofns to 2013/07/11-16: 06:03
Entry hgolofns to 2013/07/11-16: 06:03
LIBNAME=/etc/newlib/libodbc.so, funcname is SQLGetDiagFieldW
symbol_peflctx = 0xaab8448a
hoaerr:0
Out of hgolofns to 2013/07/11-16: 06:03
Entry hgolofns to 2013/07/11-16: 06:03
LIBNAME=/etc/newlib/libodbc.so, funcname is SQLGetDiagRecW
symbol_peflctx = 0xaab84916
hoaerr:0
Out of hgolofns to 2013/07/11-16: 06:03
Entry hgolofns to 2013/07/11-16: 06:03
LIBNAME=/etc/newlib/libodbc.so, funcname is SQLGetInfoW
symbol_peflctx = 0xaab85136
hoaerr:0
Out of hgolofns to 2013/07/11-16: 06:03
Entry hgolofns to 2013/07/11-16: 06:03
LIBNAME=/etc/newlib/libodbc.so, funcname is SQLGetStmtAttrW
symbol_peflctx = 0xaab85456
hoaerr:0
Out of hgolofns to 2013/07/11-16: 06:03
Entry hgolofns to 2013/07/11-16: 06:03
LIBNAME=/etc/newlib/libodbc.so, funcname is SQLGetTypeInfoW
symbol_peflctx = 0xaab8576e
hoaerr:0
Out of hgolofns to 2013/07/11-16: 06:03
Entry hgolofns to 2013/07/11-16: 06:03
LIBNAME=/etc/newlib/libodbc.so, funcname is SQLPrepareW
symbol_peflctx = 0xaab863b0
hoaerr:0
Out of hgolofns to 2013/07/11-16: 06:03
Entry hgolofns to 2013/07/11-16: 06:03
LIBNAME=/etc/newlib/libodbc.so, funcname is SQLPrimaryKeysW
symbol_peflctx = 0xaab8667c
hoaerr:0
Out of hgolofns to 2013/07/11-16: 06:03
Entry hgolofns to 2013/07/11-16: 06:03
LIBNAME=/etc/newlib/libodbc.so, funcname is SQLProcedureColumnsW
symbol_peflctx = 0xaab86a14
hoaerr:0
Out of hgolofns to 2013/07/11-16: 06:03
Entry hgolofns to 2013/07/11-16: 06:03
LIBNAME=/etc/newlib/libodbc.so, funcname is SQLProceduresW
symbol_peflctx = 0xaab86e64
hoaerr:0
Out of hgolofns to 2013/07/11-16: 06:03
Entry hgolofns to 2013/07/11-16: 06:03
LIBNAME=/etc/newlib/libodbc.so, funcname is SQLSetConnectAttrW
symbol_peflctx = 0xaab874ac
hoaerr:0
Out of hgolofns to 2013/07/11-16: 06:03
Entry hgolofns to 2013/07/11-16: 06:03
LIBNAME=/etc/newlib/libodbc.so, funcname is SQLSetStmtAttrW
symbol_peflctx = 0xaab896c8
hoaerr:0
Out of hgolofns to 2013/07/11-16: 06:03
Entry hgolofns to 2013/07/11-16: 06:03
LIBNAME=/etc/newlib/libodbc.so, funcname is SQLSetDescFieldW
symbol_peflctx = 0xaab88b00
hoaerr:0
Out of hgolofns to 2013/07/11-16: 06:03
Entry hgolofns to 2013/07/11-16: 06:03
LIBNAME=/etc/newlib/libodbc.so, funcname is SQLStatisticsW
symbol_peflctx = 0xaab89e64
hoaerr:0
Out of hgolofns to 2013/07/11-16: 06:03
Entry hgolofns to 2013/07/11-16: 06:03
LIBNAME=/etc/newlib/libodbc.so, funcname is SQLTablesW
symbol_peflctx = 0xaab8a668
hoaerr:0
Out of hgolofns to 2013/07/11-16: 06:03
Release of hgolofn, rc = 0 to 2013/07/11-16: 06:03
HOSGIP to 'HS_OPEN_CURSORS' returned '50 '.
HOSGIP to 'HS_FDS_FETCH_ROWS' returned '100 '.
HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536".
HOSGIP to 'HS_NLS_NUMERIC_CHARACTER' returned '. "
HOSGIP to 'HS_KEEP_REMOTE_COLUMN_SIZE' returned 'OFF '.
HOSGIP for "HS_FDS_DELAYED_OPEN" returns 'TRUE '.
HOSGIP to 'HS_FDS_WORKAROUNDS' returned '0 '.
HOSGIP to 'HS_FDS_MBCS_TO_GRAPHIC' returned 'FALSE '.
HOSGIP to 'HS_FDS_GRAPHIC_TO_MBCS' returned 'FALSE '.
Invalid value of 64 for HS_FDS_SQLLEN_INTERPRETATION
treat_SQLLEN_as_compiled = 1
Release of hgoinit, rc = 0 to 2013/07/11-16: 06:03
hostmstr: 0: HOA after hoainit
hostmstr: 0: HOA before hoalgon
Entry hgolgon to 2013/07/11-16: 06:03
name: oracle, reco:0, tflag:0
Entry hgosuec to 2013/07/11-16: 06:03
Release of hgosuec, rc = 0 to 2013/07/11-16: 06:03
Entry hgopoer to 2013/07/11-16: 06:03
hgopoer, line 233: had native error 408 and sqlstate 410; message follows...
408
Release of hgopoer, rc = 0 to 2013/07/11-16: 06:03
hgolgon, line 193: calling SQLSetConnectAttr obtained sqlstate 410
Out of hgolgon, rc = 28500 to 2013/07/11-16: 06:03 with the ptr error FILE: hgolgon.c LINE: 193 FUNCTION: hgolgon() ID:Connection attribute: TRACE
hostmstr: 0: HOA after hoalgon
The RPC nscontrol (0), rc = 0
hostmstr: 0: CPP before release Agent
hostmstr: 0: HOA before hoaexit
Entry hgoexit to 2013/07/11-16: 06:03
Release of hgoexit, rc = 0
hostmstr: 0: HOA after hoaexit
hostmstr: 0: CPP after release Agent
I have looked up on the forums of Oracle errors and could not do any help anywhere.
Can someone kindly help where I'm wrong?
Thank you
RAM.
You have activated the gateway trace level 255 (HS_FDS_TRACE_LEVEL = 255) which includes also ODBC calls but there is no reference in your file odbc.ini to trace odbc library and it seems that the trace ODBC lib is not found in the ODBC driver manager lib directory.
Test without bridge tracing turned on (just remove the parameter HS_FDS_TRACE_LEVEL = 255).
In addition, I recommend to add to your gateway init file:
HS_FDS_FETCH_ROWS = 1 (as the iSeries ODBC is not supported in bulk pick)
and
HS_NLS_NCHAR = UCS2
-Klaus
Tags: Database
Similar Questions
-
BlackBerry smartphone error message whentrying to connect or sync for 8310
I have a 8310 with firmware v 4.2.2.170. I use the last office v. 4.6.0.12(may 22 2008). I was with my calendar synchronize Outlook and contacts on my Vista laptop with no problems until today. When I try to connect I get a message "unable to connect to the device. Please make sure that the device is properly connected and try again. I tried to uninstall and reinstall the desktop software, replacing the USB cable, using a different USB port, restarted my computer and using Bluetooth instead of USB cable, but had not had much luck. Technical support AT & T also was not helpful at all. They essentially got me through the same steps I already had. Any help will be greatly appreciated.
I have reset the 8310 by removing the battery and the problem went away. Strange, but I guess I should have done that first
-
All,
It was reported that when the upgrade of the Bluetooth with Enhanced Data rate software II for Windows 7 to version 6.4.0.1700 is originally a wipe on the OS main drive (usually C:\)
Version: 6.4.0.1700 Release date: 16/05/2011 Here are the units that uses this version of the driver.
Support models ThinkPad L420, L421 ThinkPad L520 ThinkPad T420, T420i, T420s, T420si ThinkPad T520, T520i Thinkpad W520 ThinkPad X1 ThinkPad X220, X220i, X220 Tablet, X220i Tablet ThinkPad Edge E220s ThinkPad Edge E420, E420s ThinkPad Edge E520
Has been raised to engineering and the team is currently working on this topic.
Please do not update the Bluetooth driver until further notice *.
We are in a process to pull the driver from the Support Site and ThinkVantage System Update
Main thread here
JMT
-
10.2.0.4 to Informix with dg4odbc Oracle connection error
We have Oracle 10.2.0.4 in RHEL 4 (x86_64). We have installed Oracle Gateway (11.1.0.6.0) in an another ORACLE_HOME to connect to databases via ODBC.
We have successfully installed and configured an ODBC connection to the SQL Server through Oracle Gateway with UnixODBC + FreeTDS. The dblinks works very well.
We are now trying to set up another connection to a server, Informix (32-bit), but we get this error:
-----
SQL > select * from tabla1@test_informix;
Select * from tabla1@test_informix
*
ERROR on line 1:
ORA-28500: connection between ORACLE and a non-Oracle system has sent this message:
[Informix] [Informix ODBC Driver] Driver is not capable.
ORA-02063: preceding 2 lines of TEST_INFORMIX
-----
However, we are able to connect with isql
-----
Oracle@host $ isql - v test_informix
---------------------------------------
| Connected!
| |
| SQL query |
| help [tablename] |
| quit smoking |
| |
---------------------------------------
SQL > select * from tabla1;
------------
| Cola |
------------
| 10.
| 11.
------------
SQLRowCount Returns-1
2 lines read
-----
We have set up the 3.50.FC4DE of the Informix CSDK for Linux with UnixODBC like this:
-----
odbcinst.ini
-----
[Informix]
Description = Informix ODBC Driver
Driver=/usr/share/Informix/lib/CLI/libifcli.so
APILevel = 1
ConnectFunctions = YYY
DriverODBCVer = 03.51
FileUsage = 0
SQLLevel = 1
smProcessPerConnect = Y
-----
-----
HS Oracle newspaper
-----
Oracle Corporation - Monday 10 August 2009 12:40:00.373
Heterogeneous Agent release
11.1.0.6.0
Oracle Corporation - Monday 10 August 2009 12:40:00.372
Version 11.1.0.6.0
Hgogprd entries
HOSGIP to 'HS_FDS_TRACE_LEVEL' returned '4 '.
Hgosdip entries
default assignment of 50 HS_OPEN_CURSORS
setting HS_FDS_RECOVERY_ACCOUNT or 'RECOVER '.
HS_FDS_RECOVERY_PWD layout to the default
layout HS_FDS_TRANSACTION_LOG or "HS_TRANSACTION_LOG".
layout by default HS_FDS_TRANSACTION_ISOLATION of "READ_COMMITTED".
layout by default «AL32UTF8» HS_NLS_NCHAR
parameter HS_FDS_TIMESTAMP_AS_DATE if there is no 'TRUE '.
layout HS_RPC_FETCH_REBLOCKING failure to 'ON '.
HS_FDS_FETCH_ROWS layout without '100 '.
parameter HS_FDS_RESULTSET_SUPPORT default 'FALSE '.
parameter HS_FDS_PROC_IS_FUNC default 'FALSE '.
parameter HS_FDS_CHARACTER_SEMANTICS default 'FALSE '.
parameter HS_FDS_MAP_NCHAR if there is no 'TRUE '.
setting HS_NLS_DATE_FORMAT or 'YYYY-MM-DD HH24:MI:SS ".
parameter HS_FDS_REPORT_REAL_AS_DOUBLE default 'FALSE '.
HS_LONG_PIECE_TRANSFER_SIZE layout without "65536".
parameter HS_SQL_HANDLE_STMT_REUSE default 'FALSE '.
parameter HS_FDS_QUERY_DRIVER if there is no 'TRUE '.
parameter HS_FDS_SUPPORT_STATISTICS default 'FALSE '.
HS_CALL_NAME_ISP layout "gtw$: SQLTables; GTW$: SQLColumns. GTW$: SQLPrimaryKeys. GTW$: SQLForeignKeys. GTW$: SQLProcedures. "gtw$: SQLStatistics.
Release of hgosdip, rc = 0
ORACLE_SID is 'test_informix '.
Product information:
Port RLS / Upd:6 / 0 PrdStat:0
Agent: Oracle Database Gateway for ODBC
: Installation
Class: ODBC, ClassVsn:11.1.0.6.0_0006, Instance: test_informix
Release of hgogprd, rc = 0
Hgoinit entries
HOCXU_COMP_CSET = 1
HOCXU_DRV_CSET = 31
HOCXU_DRV_NCHAR = 873
HOCXU_DB_CSET = 31
HOCXU_SEM_VER = 102000
Entry hgolofn to 2009/08/10-12:40:00
HOSGIP to 'HS_FDS_SHAREABLE_NAME' returned ' / usr/local/lib/libodbc.so '.
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLAllocHandle
symbol_peflctx = 0x9893b70d
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLBindCol
symbol_peflctx = 0x9893b873
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLBindParameter
symbol_peflctx = 0x9893c2e4
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLCancel
symbol_peflctx = 0x9893dc84
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLDescribeParam
symbol_peflctx = 0x98948f10
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLDisconnect
symbol_peflctx = 0x989495c8
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLEndTran
symbol_peflctx = 0x9894c4d4
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLExecute
symbol_peflctx = 0x9894e17c
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLFetch
symbol_peflctx = 0x9894ed04
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLFreeHandle
symbol_peflctx = 0x98950fc9
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLFreeStmt
symbol_peflctx = 0x98950fec
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLGetData
symbol_peflctx = 0x989531dc
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLGetEnvAttr
symbol_peflctx = 0x98956fa8
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLGetFunctions
symbol_peflctx = 0x989573c4
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLMoreResults
symbol_peflctx = 0x98959b28
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLNumResultCols
symbol_peflctx = 0x9895aad8
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLParamData
symbol_peflctx = 0x9895aedc
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLPutData
symbol_peflctx = 0x9895d908
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLRowCount
symbol_peflctx = 0x9895de78
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLSetEnvAttr
symbol_peflctx = 0 x 98960458
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLSetDescRec
symbol_peflctx = 0 x 98960230
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLColAttribute
symbol_peflctx = 0x9893e4ec
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLColumns
symbol_peflctx = 0x989406e4
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLConnect
symbol_peflctx = 0 x 98946014
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLDescribeCol
symbol_peflctx = 0x989484f0
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLDriverConnect
symbol_peflctx = 0x9894a337
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLExecDirect
symbol_peflctx = 0x9894d9e2
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLForeignKeys
symbol_peflctx = 0x9894fbdc
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLGetConnectAttr
symbol_peflctx = 0x989514ab
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLGetDiagField
symbol_peflctx = 0x989557f3
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLGetDiagRec
symbol_peflctx = 0x989566e5
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLGetInfo
symbol_peflctx = 0 x 98958083
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLGetStmtAttr
symbol_peflctx = 0x989583e3
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLGetTypeInfo
symbol_peflctx = 0 x 98959548
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLPrepare
symbol_peflctx = 0x9895b9c6
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLPrimaryKeys
symbol_peflctx = 0x9895c13e
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLProcedureColumns
symbol_peflctx = 0x9895c938
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLProcedures
symbol_peflctx = 0x9895d19a
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLSetConnectAttr
symbol_peflctx = 0x9895e1fc
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLSetStmtAttr
symbol_peflctx = 0x989624a8
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLSetDescField
symbol_peflctx = 0x9895fe5a
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLStatistics
symbol_peflctx = 0x98964ed6
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Entry hgolofns to 2009/08/10-12:40:00
LIBNAME=/usr/local/lib/libodbc.so, funcname is SQLTables
symbol_peflctx = 0 x 98966014
hoaerr:0
Out of hgolofns at 2009/08/10-12:40:00
Out of hgolofn, rc = 0 to 2009/08/10-12:40:00
HOSGIP to 'HS_OPEN_CURSORS' returned '50 '.
HOSGIP to 'HS_FDS_FETCH_ROWS' returned '100 '.
HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536".
HOSGIP to 'HS_NLS_NUMERIC_CHARACTER' returned '. "
Out of hgoinit, rc = 0 to 2009/08/10-12:40:00
Entry hgolgon to 2009/08/10-12:40:00
Reco:0, name: informix, tflag:0
Entry hgosuec to 2009/08/10-12:40:00
Out of hgosuec, rc = 0 to 2009/08/10-12:40:00
HOSGIP to 'HS_FDS_RECOVERY_ACCOUNT' returned 'RECOVER '.
HOSGIP to 'HS_FDS_TRANSACTION_LOG' returns ""HS_TRANSACTION_LOG"
HOSGIP for "HS_FDS_TIMESTAMP_AS_DATE" returns 'TRUE '.
HOSGIP to 'HS_FDS_CHARACTER_SEMANTICS' returned 'FALSE '.
HOSGIP for "HS_FDS_MAP_NCHAR" returns 'TRUE '.
HOSGIP to 'HS_FDS_RESULT_SET_SUPPORT' returned 'FALSE '.
HOSGIP to 'HS_FDS_PROC_IS_FUNC' returned 'FALSE '.
HOSGIP to 'HS_FDS_REPORT_REAL_AS_DOUBLE' returned 'FALSE '.
using informix as a default value to "HS_FDS_DEFAULT_OWNER".
HOSGIP to 'HS_SQL_HANDLE_STMT_REUSE' returned 'FALSE '.
Entry hgocont to 2009/08/10-12:40:00
HS_FDS_CONNECT_INFO = "test_informix".
RC =-1 of HOSGIP for 'HS_FDS_CONNECT_STRING '.
Entry hgogenconstr to 2009/08/10-12:40:00
DSN:test_informix, name: informix
OPTN:
# > (len = 42) connection settings < #.
# DSN = test_informix;
#! UID = informix;
#! PWD = *.
Out of hgogenconstr, rc = 0 to 2009/08/10-12:40:00
DriverName:iclis09b.so, DriverVer: 3.50.0000 3.50.U
DBMS name: Informix, DBMS Version: 07.31.0000 UD5
Out of hgocont, rc = 0 to 2009/08/10-12:40:00
SQLGetInfo Returns Y for SQL_CATALOG_NAME
SQLGetInfo returns 18 for SQL_MAX_CATALOG_NAME_LEN
Out of hgolgon, rc = 0 to 2009/08/10-12:40:00
Entry hgoulcp to 2009/08/10-12:40:00
Entry hgowlst to 2009/08/10-12:40:00
Out of hgowlst, rc = 0 to 2009/08/10-12:40:00
SQLGetInfo returns for SQL_IDENTIFIER_QUOTE_CHAR
SQLGetInfo returns N for SQL_COLUMN_ALIAS
Out of hgoulcp, rc = 0 to 2009/08/10-12:40:00
Entry hgouldt to 2009/08/10-12:40:00
Out of hgouldt, rc = 0 to 2009/08/10-12:40:00
Entry hgobegn to 2009/08/10-12:40:00
tflag:0, original: 1
Hoi:0xbfffe728, ttid (len 24) is...
00: 54534554 3135352E 36616133 31312E37 [TEST.5513aa67.11]
10: 2E35332E 38303131 [. 35.1108]
tbid (len 10) is...
0: 0023000B 00000454 0104 [.. #.] T.....]
Entry hgopoer to 2009/08/10-12:40:00
hgopoer, line 159: got error native-11092 and sqlstate HYC00; message follows...
[Informix] [Informix ODBC Driver] Driver is not capable.
Out of hgopoer, rc = 0 to 2009/08/10-12:40:00
hgobegn, line 176: calling SQLEndTran obtained sqlstate HYC00
Out of hgobegn, rc = 28500 to 2009/08/10-12:40:00 with error ptr FILE: hgobegn.c LINE: 176 FUNCTION: hgobegn() call ID:SqlEndTran
Entry hgolgof to 2009/08/10-12: 40:51
tflag:1
Out of hgolgof, rc = 0 to 2009/08/10-12: 40:51
Entry hgoexit to 2009/08/10-12: 40:51
Out of hgoexit, rc = 0 to 2009/08/10-12: 40:51
-----
Any ideas?
Thank you!DataDirect offered in the past a driver suitable for Informix 7.3. Maybe you should get in touch with their support on a driver.
Now for the problem of the Transaction:
DG4ODBC usually opens a transaction because it allows to the commit or rollback, a update/insert/delete. When the Informix database is nolog mode the open transaction fails. You can enable logging on the Informix database, but it might cause reduced performance on the Informix db.
Another approach is a patch generated for DG4IFMX (7417128), which can also be used for DG4ODBC well after the re-establishment of links then customer and the DG4ODBC:
genagtsh $ORACLE_HOME/lib/libagtsh.so 1.0
do idg4odbc $ORACLE_HOME/rdbms/lib/ins_rdbms.mk fCheck out Metalink if she is available for your platform and set the parameter as described in the readme file.
He has worked in the past with of Datadirect ODBC drivers. Unfortunately it failed for some Informix drivers.
Rather than buy the Datadirect ODBC driver, you may also think of the use of the DG4IFMX. He is certified with 7.31 Informix. -
Hi, I am creating the database link from a database of Oracle 11 g PostgreSQL with DG4ODBC and unixODBC
My configured for /etc/odbc.ini
[PostgreSQL]
Description = Test to Postgres
Driver = psqlodbc
Trace = Yes
Trace file = /tmp/sql.log
Database = danieldb
ServerName =
UserName = SA
Password = password
Port = 5432
Protocol = 6.4
ReadOnly = No
RowVersioning = No
ShowSystemTables = No
ShowOidColumn = No
FakeOidIndex = No
My configured for /etc/odbcinst.ini
[ODBC]
CommLog = 1
Debug = 1
FileUsage = 1
Layout common = No
Trace = 1
[psqlodbc]
Description = PostgreSQL ODBC driver
Driver=/usr/lib64/psqlodbcw.so
CommLog = 1
Debug = 0
FileUsage = 1
My configured for /u01/app/oracle/product/11.2.0/xe/hs/admin/initPostgreSQL.ora
HS_FDS_CONNECT_INFO = PostgreSQL
HS_FDS_TRACE_LEVEL = 0
HS_FDS_SHAREABLE_NAME = /usr/lib64/libodbcpsql.so
Set ODBCINI=/etc/odbc.ini
My configured for /u01/app/oracle/product/11.2.0/xe/network/admin/listener.ora
Listener =
(ADDRESS = (PROTOCOL = TCP) (HOST = oracle-poc)(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PostgreSQL)
(ORACLE_HOME=/u01/app/oracle/product/11.2.0/xe)
(PROGRAM = dg4odbc)
(ENVS="LD_LIBRARY_PATH=/usr/lib64:/u01/app/oracle/product/11.2.0/xe/lib')
)
)
My configured for /u01/app/oracle/product/11.2.0/xe/network/admin/tnsname.ora
PostgreSQL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = oracle-poc)(PORT = 1521))
(CONNECT_DATA =
(SID = PostgreSQL)
)
(HS = OK)
)
I'm trying to created public database link:
CREATE DATABASE LINK PUBLIC 'orapos' CONNECT to 'HIS' IDENTIFIED BY 'password' USING 'PostgreSQL ';
When I used tnsping
[root@oracle-poc admin] # tnsping PostgreSQL
AMT Ping utility for Linux: Version 11.2.0.2.0 - Production on May 16, 2013 20:34:19
Copyright (c) 1997, 2011, Oracle. All rights reserved.
Use settings files:
/U01/app/Oracle/product/11.2.0/XE/network/admin/SQLNET.ora
TNSNAMES adapter used to resolve the alias
Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = oracle-poc)(PORT = 1521)) (CONNECT_DATA = (SID = PostgreSQL)) (HS = OK))
OK (0 msec)
and finally, I try to use the database link:
"SQL > select * from tabel2"@orapos ".
2;
Select * from 'tabel2"@orapos '.
*
ERROR on line 1:
ORA-28500: connection between ORACLE and a non-Oracle system has sent this message:
ORA-02063: preceding the line of ORAPOS
What wrong with my setup?
Thank you and best regards,
Daniel
Daniel,
The problem is that you are using the ODBC Postgres driver for the HS_FDS_SHAREABLE_NAME parameter, but this must be an ODBC driver manager and not the driver ODBC Psotgres.
Go to the.Click the 'Download' and follow the instructions to download the 2.3.1 pilot and make libraries and programs.
Once this is done, then use the driver as parameter HS_FDS_SHAREABLE_NAME Manager, for example-
HS_FDS_SHAREABLE_NAME =/home/odbc64/unixODBC/2.3.1/lib/libodbc.so
Depending on where you install it.
Kind regards
Mike
-
I've implemented all the information for an email from the Charter and then when I click on get mail, it says there is a connection to the server error... Why?
Hello ChevyDriver10,
Thanks for your post. What email app do you use to receive your mail?
In the meantime, take a look at the Charter of General electronic installation instructions.
If you do not currently have an e-mail client, feel free to go on Windows Live Mail.
See you soon
-
Internal server error after refresh for you to connect to Oracle SSO
Users get internal server errors after updating to lgin by Oracle SSO (SSO, registered after that update is successful). Users can always through AppsLocalLogin.jsp. Please notify.don't you see certain values for fnd_user.user_guid?
-
Create a postgres with dg4odbc oracle dblink
Hello
I am creating a dblink from an Oracle (10.2.0.3) database to PostgreSQL (8.3.11) database with DG4ODBC (11.2.0.1.0).
I installed the 64-bit driver postgres:
I am the /oracle/.odbc.ini configuration:file /usr/lib64/psqlodbc.so /usr/lib64/psqlodbc.so: ELF 64-bit LSB shared object, AMD x86-64, version 1 (SYSV), stripped
I am setting up the /oracle/product/DG4ODBC/hs/admin/initrecord.ora like this:[record] Driver=/usr/lib64/psqlodbc.so Description = PostgreSQL ODBC Servername = cdxlan035 Port = 5435 Username = rec_lct Password = rec_lct Database = REC_TEST
I'm the /oracle/product/DG4ODBC/network/admin/listener.ora configuration# # HS init parameters # HS_FDS_CONNECT_INFO = record HS_FDS_TRACE_LEVEL = 4 HS_FDS_TRACE_FILE_NAME = /oracle/product/DG4ODBC/hs/log/hsodbc.trc HS_FDS_SHAREABLE_NAME = /usr/lib64/psqlodbc.so # # ODBC specific environment variables # set ODBCINI=/oracle/.odbc.ini
I update my /oracle/product/10.2.0/network/admin/tnsnames.ora:LISTENER_HS = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = cdxlan036.douane)(PORT = 1525)) ) ) ADR_BASE_LISTENER_HS = /oracle/product/DG4ODBC SID_LIST_LISTENER_HS = (SID_LIST = (SID_DESC = (PROGRAM = dg4odbc) (ORACLE_HOME = /oracle/product/DG4ODBC) (SID_NAME = record) (ENVS=LD_LIBRARY_PATH=/usr/lib64:/oracle/product/DG4ODBC/lib:/oracle/product/10.2.0/lib) ) )
Last I created the dblink:RECORD2 = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = cdxlan036)(PORT = 1525)) ) (CONNECT_DATA = (SID = record) ) (HS=OK) )
When I'm trying to choose my postgres database, it does not. Here's the /oracle/product/DG4ODBC/hs/log/record.log:CREATE DATABASE LINK "RECORD" CONNECT TO "rec_lct" IDENTIFIED BY "rec_lct" USING 'RECORD2';
What wrong with my setup?[oracle@cdxlan036 log]$ cat record_agt_30445.trc Oracle Corporation --- MONDAY FEB 27 2012 17:11:31.204 Heterogeneous Agent Release 11.2.0.1.0 Oracle Corporation --- MONDAY FEB 27 2012 17:11:31.204 Version 11.2.0.1.0 Entered hgogprd HOSGIP for "HS_FDS_TRACE_LEVEL" returned "4" 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 "record" 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:record Exiting hgogprd, rc=0 Entered hgoinit HOCXU_COMP_CSET=1 HOCXU_DRV_CSET=31 HOCXU_DRV_NCHAR=873 HOCXU_DB_CSET=31 HOCXU_SEM_VER=102000 Entered hgolofn at 2012/02/27-17:11:31 HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/usr/lib64/psqlodbc.so" Entered hgolofns at 2012/02/27-17:11:31 libname=/usr/lib64/psqlodbc.so, funcname=SQLAllocHandle peflerr=6521, libname=/usr/lib64/psqlodbc.so, funcname=SQLAllocHandle hoaerr:28500 Exiting hgolofns at 2012/02/27-17:11:31 Failed to load ODBC library symbol: /usr/lib64/psqlodbc.so(SQLAllocHandle) Exiting hgolofn, rc=28500 at 2012/02/27-17:11:31 Exiting hgoinit, rc=28500 with error ptr FILE:hgoinit.c LINE:337 FUNCTION:hgoinit() ID:Loading ODBC aray of function ptrs 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
Thanks for your help
Kind regards
MathieuYes, you need to have a (psqlodbc.so) ODBC driver and the ODBC Driver Manager (very common name is libodbc.so). If you are absent Manager ODBC drivers that you find for example the unixodbc.org and once you have it installed you need to fix HS_FDS_SHAREABLE_NAME to refer to the driver manager. The driver manager will check the file odbc.ini and according to the specified DSN, it will load your ODBC driver.
-
Connection to Oracle 11g with MySQL 5.1
Hey all,.
I have searched all over the web for this, and I can't find information that applies to my case. I have an Oracle 11 g DB on a Windows Server 2003 SP2 installer and installing the heterogeneous services ODBC driver. I want to connect it to a different Windows 2003 SP2 machine running MySQL Community.
On the side of the Oracle, I set up the systems to MySQL ODBC connection, and it connects successfully. I also configured tnsnames.ora as follows:
mysqlecommerce =
(DESCRIPTION =
(ADDRESS =
(PROTOCOL = TCP)
(HOST = dvlps11.cosine.com.cy)
(PORT = 1521)
)
(CONNECT_DATA =
(SID = mysql_gateway))
(HS=OK))
I have initmysql_gateway.ora with the following two lines:
HS_FDS_CONNECT_INFO = mysqlecommerce
HS_FDS_TRACE_LEVEL = ODBC
and I get the following in the listener.ora file:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = mysql_gateway)
(ORACLE_HOME=C:\Oracle11g\product\11.1.0\db_1)
(PROGRAM = dg4odbc)
)
)
I also created a dblink as follows:
create the 'MYSQLECOMMERCE' of the public database link
connect to MYSQLDB
identified by '< pwd >.
using 'mysqlecommerce ';
Now when I try to run a simple SQL selection such as:
Select 'id_category' ps_category"@mysqlecommerce «»
I get the following response:
ORA-28500: connection between ORACLE and a non-Oracle system has sent this message:
[MySQL] [ODBC 5.1 Driver] [mysqld - 5.1.36 - community-log] you have an error in your syntax SQL; consult the manual for your version of the MySQL server for the right syntax to use near '' id_category' FROM 'ps_category' A1' at line 1
ORA-02063: preceding 2 lines of DG4ODBC
Can someone please help me understand what is happening?
Thank you in advance!The syntax error is caused by your database MySQL does not not in ANSI mode. By default, DG4ODBC sends a code compliant ansi in the foreign database, which means for column sensitive to case and table names it surrounded by double-quotes. MySQL DB not working not in mode compatible ANSI rejects them and uses a back tick to preserve the case - so it reports a syntax error in the case of double qoutes.
To solve the problem please have a look to My Oracle Support note:
Problems of selection of data to Mysql using 11.1.0.6 DG4ODBC - error in your SQL syntax [ID 553030.1] -
ODBC connection throwing error 'Optional non implemented. "
Hello world
I tried to get my database adapter Active TIBCO (ADB) to connect properly to my Oracle XE database. I tried different drivers drivers (Oracle 10 g, 11g, and TIBCO/DataDirect 5.3). After some effort, it connects now, but when it works the necessary select query, it throws an error. What he has to do is read a record in the P_TIBCOSRC table and publish. But when he tries to read that it fails. It is the newspaper of the component:
*********************************************************
* Adapter for ActiveDatabase, 5.4.0.10 Agent TIBCO
* TIBCO Adapter SDK, 5.5.0.12
**
* Copyright TIBCO Software, Inc., 1999-2008.
* All rights reserved.
*********************************************************
Instance ID: ADBTest
Config name: ADBTest
Main thread (name: ADBTest)
**********************************************************
Application: ADBTest
RepoURL: D:\TIBCO\work\AT_adadb_20184.dat
ConfigURL: / tibco/private/adapt/ADBTest
Version: 5.4.0.10
Information: TIBCO adapter for Agent of ActiveDatabase
----------------------------------------------------------
Developed with adapter TIBCO SDK 5.5.0.12
Copyright TIBCO Software Inc., 1998-2005.
All rights reserved.
**********************************************************
+ 2008 Nov 14 10:18:41:375 GMT + 1 ADBTest.ADBTest Info [map] AEADB-700059 +.
+ From wire (name: ADBTest.COMM.INTERFACE.1, id: 5296) +.
+ +
+ 2008 Nov 14 10:18:42:375 GMT + 1 ADBTest.ADBTest Info [map] AEADB-700059 +.
+ From wire (name: ADBTest.DB.INTERFACE.1, id: 5256) +.
+ +
+ 2008 Nov 14 10:18:42:375 GMT + 1 ADBTest.ADBTest Info [map] AEADB-700059 +.
+ From wire (name: ADBTest.PUB.MANAGER.1, id: 5252) +.
+ +
+ 2008 Nov 14 10:18:42:375 GMT + 1 ADBTest.ADBTest Info [map] AEADB-700029 +.
+ Publication: (TIBCOSRC / P_TIBCOSRC / TIBCO_TEST_PUB / rv / aeRvMsg / certified / 1 / SURVEY).
+ +
+ 2008 Nov 14 10:18:42:843 GMT + 1 ADBTest.ADBTest [card] Info AEADB-700012 +.
+ Complete publication cold start. +
+ +
+ 2008 Nov 14 10:18:43:375 GMT + 1 ADBTest.ADBTest Info [map] AEADB-700029 +.
+ Agent settings: +.
+ ADB + 5.4.0.10
+ 5.5.0.12 + SDK
+ TIBRV 8.1.1 +
+ TIBRVCM + 8.1.1
+ Pilot DB: SQORA32. DLL, 11.01.0006 +
+ DSN: TIBCO +.
+ adb.verbose: it +.
+ adb.debug: 2 +.
+ adb. PollingInterval: 5000 +.
+ adb. PollingBatchSize: 0 +.
+ adb.batchPubStatusUpdates: off +.
+ adb.pubBatchConfirmSize: 0 +.
+ adb.pubBatchConfirmTimeout: 10000 +.
+ adb.publishChildData: it +.
+ adb.useExceptTable: it +.
+ adb.rvMaxQueueSize: 0 +.
+ adb.subBulkInsertSize: 1 +.
+ adb.subBatchCommitSize: 0 +.
+ adb.subBatchCommitTimeout: 10000 +.
+ adb.encoding: ASCII +.
+ adb.perfMon: off +.
+ adb. RetryTotal: 3 +.
+ adb.disconn.code: 3111 3112 3113; 3114 +.
+ adb. SleepBetweenRetries: 10000 +.
+ adb.setEmptyStringNullForRvMsg: off +.
+ adb.useSqlColumns: off +.
+ adb.terminateOnPubFail: off +.
+ adb.rvAdvisoryNoLog: off +.
+ adb.setClientInfo: it +.
+ +
+ 2008 Nov 14 10:18:47:843 GMT + 1 ADBTest.ADBTest Info [map] AEADB-700094 +.
+ Timer polling stations pulled. +
+ +
+ 2008 Nov 14 10:18:47:984 GMT + 1 ADBTest.ADBTest Info [map] AEADB-700001.
+ Publisher: SQL: SELECT * FROM P_TIBCOSRC WHERE ADB_L_DELIVERY_STATUS = ' no ORDER BY ADB_SEQUENCE +.
+ +
+ 2008 Nov 14 10:18:49:078 GMT + 1 ADBTest.ADBTest error [Database] AEADB-100004 +.
+ DBError: database driver code: HYC00 +.
+ Database server code: 3 +.
+ Driver database message: optional function [Oracle] [ODBC] [Ora] not implemented. +
+ +
+ 2008 14 Nov ADBTest.ADBTest error [Database] GMT + 1 10:18:49:078 AEADB-930002 +.
+ Publication error. Service publication ADBPublisher with the object of publication TIBCO_TEST_PUB has detected database error: +.
DBError: 5
Error code: HYC00
ServerCode: 3
+ Message: [Oracle] [ODBC] [Ora] optional feature not implemented. +
all trying to create publish the event with the P_TIBCOSRC schema. Database is TIBCO. The database is SELECT * FROM P_TIBCOSRC WHERE ADB_L_DELIVERY_STATUS = ' no ORDER BY ADB_SEQUENCE.
+ +
Stop ADBTest...
I created an ODBC trace for this and who wrote the following:
AT_adadb_20184 1 dec-21 c 4 ENTER SQLPrepare
+ HSTMT 011C 3268 +.
+ UCHAR * 0X0140FFA0-[3] "SELECT * FROM P_TIBCOSRC WHERE ADB_L_DELIVERY_STATUS = ' NO ORDER BY ADB_SEQUENCE\ 0 +.
+ SDWORD-3 +.
AT_adadb_20184 1 Dec - 21 c 4 OUTPUT SQLPrepare with return code 0 (SQL_SUCCESS)
+ HSTMT 011C 3268 +.
+ UCHAR * 0X0140FFA0-[3] "SELECT * FROM P_TIBCOSRC WHERE ADB_L_DELIVERY_STATUS = ' NO ORDER BY ADB_SEQUENCE\ 0 +.
+ SDWORD-3 +.
AT_adadb_20184 1 dec-21 c 4 ENTER SQLExecute
+ HSTMT 011C 3268 +.
AT_adadb_20184 1 Dec - 21 c 4 SQLExecute EXIT with return code - 1 (SQL_ERROR)
+ HSTMT 011C 3268 +.
+ DIAG [HYC00] [Oracle] [ODBC] [Ora] optional feature not implemented. (3) +
AT_adadb_20184 1 dec-21 c 4 ENTER SQLGetDiagRecW
+ SQLSMALLINT 3 +.
+ SQLHANDLE 011C 3268 +.
+ SQLSMALLINT 1 +.
+ SQLWCHAR * 0X09F8AF70 (NYI) +.
+ SQLINTEGER * 0X01B57CA0 +.
+ SQLWCHAR * 0X011C3758 (NYI) +.
+ SQLSMALLINT 1024 +.
+ SQLSMALLINT * 0X09F8AFBA +.
AT_adadb_20184 1 Dec - 21 c 4 SQLGetDiagRecW EXIT with return code 0 (SQL_SUCCESS)
+ SQLSMALLINT 3 +.
+ SQLHANDLE 011C 3268 +.
+ SQLSMALLINT 1 +.
+ SQLWCHAR * 0X09F8AF70 (NYI) +.
+ SQLINTEGER * 0X01B57CA0 (3) +.
+ SQLWCHAR * 0X011C3758 (NYI) +.
+ SQLSMALLINT 1024 +.
+ SQLSMALLINT * 0X09F8AFBA (52) +.
AT_adadb_20184 1 dec-21 c 4 ENTER SQLCancel
+ HSTMT 011C 3268 +.
AT_adadb_20184 1 Dec - 21 c 4 OUTPUT SQLCancel with return code 0 (SQL_SUCCESS)
+ HSTMT 011C 3268 +.
That's all using the 11g ODBC driver (but I have similar connects using the DataDirect driver).
I don't know what I can do. I tried the component with other ODBC connections (to MS Access) and it worked without problem, so I think it has something to do with the Oracle ODBC connection. Does anyone have an idea what could be the problem?
Published by: Deddiekoel on November 14, 2008 11:12Looks like you are using an ODBC Oracle driver to connect TIBCO to an Oracle database.
If this is true, you should post your question on the forum of ODBC:
ODBCThis forum deals with connections from an Oracle database in a foreign data store.
-
Problem with the connection from Oracle to MS Excel - 64 bit
Hello
I have problem connecting Excel to oracle 11.2 using DG4ODBC.
OS - Windows 7 64 bit
Database version: - Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64 bit
Created system using ODBC DSN:
Name of Data Source = test12
Oracle home path:-D:\app\11g64db\product\11.2.0\dbhome_1
Contents of the initdg4odbc.ora file:
# This is an example of initialization file of the agent that contains the HS settings
# necessary for the database to ODBC gateway
#
# HS init parameters
#
Test12 = HS_FDS_CONNECT_INFO
HS_FDS_TRACE_LEVEL = 255
#
# Required for the non-Oracle system environment variables
#
#set < varenv > = < value >
Content of listener.ora:
listener.ora # Network Configuration file: D:\app\11g64db\product\11.2.0\dbhome_1\NETWORK\ADMIN\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = live)
(ORACLE_HOME = D:\app\11g64db\product\11.2.0\dbhome_1)
(SID_NAME = live)
)
(SID_DESC =
(PROGRAM = dg4odbc)
(SID_NAME = dg4odbc)
(ORACLE_HOME = D:\app\11g64db\product\11.2.0\dbhome_1)
)
)
LISTENER =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))
)
ADR_BASE_LISTENER = D:\app\11g64db
Content of tnsnames.ora:
tnsnames.ora # Network Configuration file: D:\app\11g64db\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
excel_test =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = tcp)(HOST=localhost) (PORT = 1521))
(CONNECT_DATA = (SID = dg4odbc))
(HS = OK)
)
SCREW =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = live)
)
)
Status of the listener
LSNRCTL for 64-bit Windows: Version 11.2.0.4.0 - Production on August 29, 2014 13:56
: 11
Copyright (c) 1991, 2013, Oracle. All rights reserved.
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=localhost) (PORT = 1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
TNSLSNR for Windows 64-bit version: Version 11.2.0.4.0 - Prod
ction
Start date August 29, 2014 13:34:58
Uptime 0 days 0 h 21 min 12 sec
Draw level off
Security ON: OS Local Authentication
SNMP OFF
Listener parameter File D:\app\11g64db\product\11.2.0\dbhome_1\network\admin\l
istener.ora
Listener log file D:\app\11g64db\diag\tnslsnr\Est-Subramanya\listener\al
ert\log. XML
Summary of endpoints listening...
(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=127.0.0.1) (PORT = 1521)))
Summary of services...
Service "dg4odbc" has 1 instance (s).
"Dg4odbc" instance, status UNKNOWN, has 1 operation for this service...
Service 'live' has 2 occurrences.
Instance of "live" status UNKNOWN, has 1 operation for this service...
Instance of "live" READY State, has 1 operation for this service...
Service 'visXDB' has 1 instance (s).
Instance of "live" READY State, has 1 operation for this service...
The command completed successfully
DB Link:
CREATE DATABASE LINK PUBLIC TEST123 USING 'excel_test ';
error when querying of data:
Select * from test@test123;
ORA-28500: connection between ORACLE and a non-Oracle system has sent this message:
ORA-02063: preceding line TEST123
28500 00000 - "connection between ORACLE and a non-Oracle system has sent this message:
* Cause: The cause is explained in the forwarded message.
* Action: See documentation for the non-Oracle of the transmission system
Message.
Error on line: 1 column: 20
Appreciate the help in advance...
Thank you...
This problem is solved. It was because of the excel 12.0 version when creating data source in administrative tools.
Thank you.
-
Error with Oracle.ManagedDataAccess.dll
I have a desktop application (VB 2010 Expression Edition on Windows 7, connect to Oracle 11 g XE on my local machine) and it works fine if I use Oracle.DataAccess.Client, but he givens me the below error if I used ManagedDataAccess.
I followed the steps exactly as shown in the video managed ODP.NET driver Beta - Quick Start - YouTube
The initializer for type for 'OracleInternal.Network.AddressResolution' threw an exception.
System.TypeInitializationException was unhandled
Message = the initializer for type for 'OracleInternal.Network.AddressResolution' threw an exception.
Source = Oracle.ManagedDataAccess
TypeName = OracleInternal.Network.AddressResolution
StackTrace:
at OracleInternal.Network.AddressResolution.Resolve (String TNSAlias)
at OracleInternal.Network.OracleCommunication.Resolve (String tnsAlias)
to OracleInternal.ConnectionPool.PoolManager'3.Initialize (ConnectionString, cs)
to OracleInternal.ConnectionPool.OraclePoolManager.Initialize (ConnectionString, cs)
to OracleInternal.ConnectionPool.OracleConnectionDispenser'3.GetPM (ConnectionString cs, MP conPM, PMC ConnectionString, SecureString securedPassword securedProxyPassword SecureString, Boolean & bAuthenticated, Boolean & newPM)
to OracleInternal.ConnectionPool.OracleConnectionDispenser' 3. (ConnectionString cs, MP conPM, PMC ConnectionString, securedPassword, SecureString securedProxyPassword SecureString)
...
InnerException: System.TypeInitializationException
Message = the initializer for type for 'OracleInternal.Network.LDAP' threw an exception.
Source = Oracle.ManagedDataAccess
TypeName = OracleInternal.Network.LDAP
StackTrace:
at OracleInternal.Network.LDAP.ctor)
at OracleInternal.Network.AddressResolution.cctor)
InnerException: System.NullReferenceException
Message = object reference not set to an instance of an object.
Source = Oracle.ManagedDataAccess
StackTrace:
to OracleInternal.Network.LDAP._LDAP (Hashtable dsMap)
at OracleInternal.Network.LDAP.cctor)
InnerException:
Thank you.
Finally, the user has a solution. He said: "I have sqlnet.ora file which references ldap file.» Once, I renamed the file, the managed application works fine with ldap renamed file. When the Sqlnet.ora file exist, managed application must ldap.ora file but is not using the tnsnames.ora file from the location specified in the ldap file. »
Here are the Sqlnet.ora content:
sqlnet.ora # Network Configuration file: C:\oracle\product\10.2.0\client_1\network\admin\sqlnet.ora
# Generated by Oracle configuration tools.
# This file is actually generated by netca. But if customers can opt for
# install 'Software Only', this file does not exist and without the native
authentication #, they will not be able to connect to the database on NT.
SQLNET. AUTHENTICATION_SERVICES = (NTS)
NAMES. DIRECTORY_PATH = (LDAP, TNSNAMES)
NAMES. DEFAULT_DOMAIN = Server.Sample.com
In conclusion, we are moving. However, on the side of the Oracle, it might be interesting to try to avoid a NullReferenceException in OracleInternal.Network.LDAP._LDAP (Hashtable dsMap).
Once again, thank you for the continuous dialog box!
-
Connection to Oracle, Microsoft SqlServer with unixODBC and TDSodbc
Hello
I'm working on a requirement to connect from Oracle 11 g DB for Microsoft SQL Server 2008. After serching for the options available on the web I found the follwing link
Connectivity ODBC - http://www.dbapool.com/Articles/06280701.html using UNIX ODBC and FreeTDS
I have configured everying as stated in the article, but I'm stuck to test the connection.
After a few days work, I am able to do successful isql connection but my earpiece and tns behave odd.
I configured and started the listener called mstest but when I started it says it does not support all served
Here's my listener.ora
MSTEST =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST=xxxxx.xxx.xxxx.com) (PORT = 1523))
)
)
)
SID_LIST_MSTEST
(SID_LIST =
(SID_DESC =
(ORACLE_HOME = usr/oracle/product/11.2.0.2)
(SID_NAME = mstest)
(PROGRAM = dg4odbc)-> I changed to dg4odbc hsodbc program since in the 11.2.0.2
)
)
Summary of endpoints listening...
(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=xxxx.xxx.xxx.com) (PORT = 1523)))
The listener supports no services
The command completed successfully
any help is very appreciated.
Thank you
Steve.
Edited by: user8927749 January 6, 2012 06:54Steve,
The configuration files look all right, but can do you that there is at least a space at the beginning of each line except the first in each case.
They lost when you paste in the thread, but please check.
You can also view the listener log to see if this gives errors or messages about why he has no services?Kind regards
Mike -
Error with earpiece in Oracle 11.2
I start the listener with success, but could not connect to instantiate by Auditor: (I do not understand why this is happening, please help, it's urgent
[oracle@TEST01 admin] $ lsnrctl start TEST
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on April 12, 2011 02:03:10
Copyright (c) 1991, 2009, Oracle. All rights reserved.
From /u01/app/oracle/product/11.2.0/dbhome_1/bin/tnslsnr: Please wait...
TNSLSNR for Linux: Version 11.2.0.1.0 - Production
System settings file is /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
Log messages written to /u01/app/oracle/diag/tnslsnr/TEST01/test/alert/log.xml
Listen on: (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=TEST01) (PORT = 1521)))
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=TEST01) (PORT = 1521)))
STATUS of the LISTENER
------------------------
Alias TEST
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start date April 12, 2011 02:03:10
Uptime 0 days 0 h 0 min 0 sec
Draw level off
Security ON: OS Local Authentication
SNMP OFF
Parameter Listener of the /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora file
The listener log file /U01/app/Oracle/diag/tnslsnr/TEST01/test/alert/log.XML
Summary of endpoints listening...
(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=TEST01) (PORT = 1521)))
Summary of services...
Service 'TEST' has 1 instance (s).
Instance of 'TEST', status UNKNOWN, has 1 operation for this service...
The command completed successfully
-BUT:
[oracle@TEST01 admin] $ lsnrctl status TEST
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on April 12, 2011 02:03:20
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=TEST01) (PORT = 1521)))
AMT-12541: TNS:no listener
AMT-12560: TNS:protocol adapter error
AMT-00511: no listener
Linux error: 111: connection refused
[oracle@TEST01 admin] $ tnsping TEST
AMT Ping utility for Linux: Version 11.2.0.1.0 - Production on April 12, 2011 02:03:36
Copyright (c) 1997, 2009, Oracle. All rights reserved.
Use settings files:
/U01/app/Oracle/product/11.2.0/dbhome_1/network/admin/SQLNET.ora
TNSNAMES adapter used to resolve the alias
Try to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (HOST =)(PORT = 1521) TEST01)) (CONNECT_DATA = (SERVICE_NAME = TEST)))
AMT-12541: TNS:no listener
[oracle@TEST01 admin] $ sqlplus hr/hr@TEST
SQL * more: Production version 11.2.0.1.0 Tue Apr 12 02:08:11 2011
Copyright (c) 1982, 2009, Oracle. All rights reserved.
ERROR:
ORA-12541: TNS:no listener
Enter the user name:
I've stuck with this problem about 3 days, please help me!
ChuongnhAMT-00511: no listener
Linux error: 111: connection refusedindicates the wrong OS/networking configuration
Oeacle's victim, not guilty.fix must occur at the level of the BONE; external to Oracle.
-
error with ldap connection?
I am trying to connect to hyperion epm 11 to access Ldap data
While doing so iam entered these settings
com.sunopsis.ldap.jdbc.driver.SnpsLdapDriver
* jdbc:snps:ldap? ldap_url = ldap://localhost:28080 / & ldap_basedn = dc = css, dc = com & ldap_password = {CSS} 4N6lVcgiE / dGr8rFdvQLcA *.
IAM getting the error
java.sql.SQLException: a NamingException occurred by saying: ask: 1 cancelled with this explanation: ask: 1 cancelled and this name remaining: null
any suggestions why this error occurs or did I miss something in the url.
Thank youHello
I answered those questions in the past, take a look on for more details:- Re: connect to Oracle EPM Shared Services Open LDAP
You can also change the port to 28089, 28080 is the SSP port is running and not of openLdap.
See you soon
John
http://John-Goodwin.blogspot.com/
Maybe you are looking for
-
Apple music without a game?
Is it possible to have music Apple without him for my current iTunes library? I did the test about a year ago and it has messed up all my album art, live albums, etc. It was a nightmare, and still a lot of my album art is completely wrong... Basicall
-
My HP Pavilion was accidentally disconnected in mode 2 days 'sleep'. Now it won't power upward. He was not in a pot or abandoned. I tried the initial steps to remove the paste and the power code, draining the power, then hit the on switch for 30 s
-
How to stop and start a loop for
I got the code and a loop running in a while loop. What I need to do, is simply to suspend the processing of the loop until a condition is met, but retains its position of iteration throughout each pause time (not necessarily time, just paused until
-
Hello I am planning to move to our new home in the country next year where I won't have highspeed internet (15 MB / Sec) and the threshold of large data capacity (250 GB) (Comcast). Currently we will be able to get the wild blue Satellite service (1.
-
BlackBerry smartphone browser Hanging up-"BOLD"
Any bookmark, I enter the browser it starts to engage and crashes then and never passes loading of thoughts. I am a Rogers customer and have not experienced this before.