473,761 Members | 2,455 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem with Information Integrator/Federated Datase - Oracle

Hi newsgroup,

I have an issue with the configuration of a DB2 federated database
(WebSphere Information Integrator) in conjunction with the relational
wrapper for Oracle on AIX. DB2 seems to not use the existing tnsnames.ora.

The Oracle client is installed and the connection to the Oracle database
using tnsping and sqlplus is possible (for the db2instance user). For
that I changed the environment for the db2instanceuser and added the
following to ~/.profile:
export ORACLE_HOME=/applications/oracle/CURRENT
export PATH=$ORACLE_HO ME/bin:$PATH
export PATH=/home/oracle/net/admin:$PATH
export DB2_DJ_INI=/home/db2instanceuser/sqllib/cfg/db2dj.ini
As mentioned in the manual the file db2dj.ini is filled with the correct
ORACLE_HOME and TNS_ADMIN (Optional, but to be on the save side) variable.
$ cat /home/db2instanceuser/sqllib/cfg
ORACLE_HOME=/applications/oracle/CURRENT
TNS_ADMIN=/home/oracle/net/admin
Im confident that this config file is used:
$ db2set -all
[e] DB2COMM=tcpip
[e] DB2_DJ_INI=/home/db2instanceuser/sqllib/cfg/db2dj.ini
[g] DB2_EEE_LICENSE _POLICY=xxx
[g] DB2SYSTEM=myful lyqualifiedhost namehere
[g] DB2ADMINSERVER= db2das00

The creation of the wrapper, server and user mapping works fine since
db2 don't yet speak to the oracle database.
db2 => CREATE WRAPPER oracle LIBRARY 'libdb2net8.a'
db2 => CREATE SERVER TEST TYPE ORACLE VERSION '9i' WRAPPER ORACLE
OPTIONS(ADD NODE 'REMOTEDB')
db2 => CREATE USER MAPPING FOR RUDOLPH SERVER TEST OPTIONS (ADD
REMOTE_AUTHID 'someuser', ADD REMOTE_PASSWORD 'somepass')

But once a connection to the remote database will be established (e.g.
create nickname or a passthru sql) DB2 seems to not use the existing
tnsnames.ora:

db2 => CREATE NICKNAME TEST.ACCOUNTS FOR REMOTEDB.TEST.A CCOUNTS
DB21034E The command was processed as an SQL statement because it
was not a valid Command Line Processor command. During SQL
processing it returned:
SQL1822N Unexpected error code "12154" received from data source
"ATLAS".Associa ted text and tokens are "ORA-12154: TNS:could not
resolve service name". SQLSTATE=560BD

It does not matter wether the "REMOTEDB" exists in tnsnames.ora or not,
the same errormessage appears.
db2diag.log is filled with the following statements when the above query
is executed:
------------------------------------------------------------------------
2006-02-08-10.57.31.278723 +060 E25888C656 LEVEL: Error (OS)
PID : 43186 TID : 1 PROC : db2fmp (54506) 0
INSTANCE: db2instance NODE : 000
FUNCTION: DB2 UDB, oper system services, sqloLoadModule, probe:130
CALLED : OS, -, dlopen OSERR: ENOENT (2)
RETCODE : ECF=0x9000001A=-1879048166=ECF_ FILE_DOESNT_EXI ST
File doesn't exist
MESSAGE : Attempt to load specified library failed.
DATA #1 : Library name or path, 9 bytes
db2dsproc
DATA #2 : shared library load flags, PD_TYPE_LOAD_FL AGS, 4 bytes
2
DATA #3 : String, 52 bytes
A file or directory in the path name does not exist.

2006-02-08-10.57.31.279102 +060 E26545C696 LEVEL: Error (OS)
PID : 43186 TID : 1 PROC : db2fmp (54506) 0
INSTANCE: db2instance NODE : 000
FUNCTION: DB2 UDB, oper system services, sqloLoadModule, probe:140
CALLED : OS, -, dlopen OSERR: ENOENT (2)
RETCODE : ECF=0x9000001A=-1879048166=ECF_ FILE_DOESNT_EXI ST
File doesn't exist
MESSAGE : Attempt to load specified library augmented with object name
failed.
DATA #1 : Library name or path, 16 bytes
db2dsproc(shr.o )
DATA #2 : shared library load flags, PD_TYPE_LOAD_FL AGS, 4 bytes
262146
DATA #3 : String, 52 bytes
A file or directory in the path name does not exist.
------------------------------------------------------------------------

Not sure what this means and what file is missing, but the path in the
db2dj.ini is correct and db2dsproc exists and its path is in $LIBPATH
If I try to create a wrapper using the graphical Command Center the
output in db2diag is different:
Directly after wrapper creation db2diag gives the same input as the
above diag-message except PID and timestamp.
Additionaly a popup appears where I can set the environment variables
ORACLE_HOME, TNS_ADMIN and so on, non of this parameters is filled in
the popup but they should already have values assigned through
db2dj.ini. If this settings will be set, nothing changes in the
following actions.

I also tried djxlinkand restarted the db2instance.

Versions used:
AIX 5.2 (oslevel -r: 5200-04)
DB2 8.2.0 ("DB2 v8.1.1.72", "s040914", "U498350", FixPak "7"), AFAIK no
APARs/Fixes installed
WII 8.2
Do you have any hint what is configured wrong?

With kind regards
Michael Rudolph
Feb 8 '06 #1
5 5392
Michael Rudolph wrote:
Hi newsgroup,

I have an issue with the configuration of a DB2 federated database
(WebSphere Information Integrator) in conjunction with the relational
wrapper for Oracle on AIX. DB2 seems to not use the existing tnsnames.ora.

The Oracle client is installed and the connection to the Oracle database
using tnsping and sqlplus is possible (for the db2instance user). For
that I changed the environment for the db2instanceuser and added the
following to ~/.profile:
export ORACLE_HOME=/applications/oracle/CURRENT
export PATH=$ORACLE_HO ME/bin:$PATH
export PATH=/home/oracle/net/admin:$PATH
export DB2_DJ_INI=/home/db2instanceuser/sqllib/cfg/db2dj.ini
As mentioned in the manual the file db2dj.ini is filled with the correct
ORACLE_HOME and TNS_ADMIN (Optional, but to be on the save side) variable.
$ cat /home/db2instanceuser/sqllib/cfg
ORACLE_HOME=/applications/oracle/CURRENT
TNS_ADMIN=/home/oracle/net/admin
Im confident that this config file is used:
$ db2set -all
[e] DB2COMM=tcpip
[e] DB2_DJ_INI=/home/db2instanceuser/sqllib/cfg/db2dj.ini
[g] DB2_EEE_LICENSE _POLICY=xxx
[g] DB2SYSTEM=myful lyqualifiedhost namehere
[g] DB2ADMINSERVER= db2das00

The creation of the wrapper, server and user mapping works fine since
db2 don't yet speak to the oracle database.
db2 => CREATE WRAPPER oracle LIBRARY 'libdb2net8.a'
db2 => CREATE SERVER TEST TYPE ORACLE VERSION '9i'
WRAPPER ORACLE OPTIONS(ADD NODE 'REMOTEDB')
db2 => CREATE USER MAPPING FOR RUDOLPH SERVER TEST OPTIONS (ADD
REMOTE_AUTHID 'someuser', ADD REMOTE_PASSWORD 'somepass')

But once a connection to the remote database will be established (e.g.
create nickname or a passthru sql) DB2 seems to not use the existing
tnsnames.ora:

db2 => CREATE NICKNAME TEST.ACCOUNTS FOR REMOTEDB.TEST.A CCOUNTS
DB21034E The command was processed as an SQL statement
because it was not a valid Command Line Processor command.
During SQL processing it returned:
SQL1822N Unexpected error code "12154" received from
data source "ATLAS".Associa ted text and tokens are
"ORA-12154: TNS:could not resolve service name".
SQLSTATE=560BD

It does not matter wether the "REMOTEDB" exists in tnsnames.ora or not,
the same errormessage appears.
db2diag.log is filled with the following statements when the above query
is executed:
------------------------------------------------------------------------
2006-02-08-10.57.31.278723 +060 E25888C656 LEVEL: Error (OS)
PID : 43186 TID : 1 PROC : db2fmp (54506) 0
INSTANCE: db2instance NODE : 000
FUNCTION: DB2 UDB, oper system services, sqloLoadModule, probe:130
CALLED : OS, -, dlopen OSERR: ENOENT (2)
RETCODE : ECF=0x9000001A=-1879048166=ECF_ FILE_DOESNT_EXI ST
File doesn't exist
MESSAGE : Attempt to load specified library failed.
DATA #1 : Library name or path, 9 bytes
db2dsproc
DATA #2 : shared library load flags, PD_TYPE_LOAD_FL AGS, 4 bytes
2
DATA #3 : String, 52 bytes
A file or directory in the path name does not exist.

2006-02-08-10.57.31.279102 +060 E26545C696 LEVEL: Error (OS)
PID : 43186 TID : 1 PROC : db2fmp (54506) 0
INSTANCE: db2instance NODE : 000
FUNCTION: DB2 UDB, oper system services, sqloLoadModule, probe:140
CALLED : OS, -, dlopen OSERR: ENOENT (2)
RETCODE : ECF=0x9000001A=-1879048166=ECF_ FILE_DOESNT_EXI ST
File doesn't exist
MESSAGE : Attempt to load specified library augmented with object name
failed.
DATA #1 : Library name or path, 16 bytes
db2dsproc(shr.o )
DATA #2 : shared library load flags, PD_TYPE_LOAD_FL AGS, 4 bytes
262146
DATA #3 : String, 52 bytes
A file or directory in the path name does not exist.
------------------------------------------------------------------------

Not sure what this means and what file is missing, but the path in the
db2dj.ini is correct and db2dsproc exists and its path is in $LIBPATH
If I try to create a wrapper using the graphical Command Center the
output in db2diag is different:
Directly after wrapper creation db2diag gives the same input as the
above diag-message except PID and timestamp.
Additionaly a popup appears where I can set the environment variables
ORACLE_HOME, TNS_ADMIN and so on, non of this parameters is filled in
the popup but they should already have values assigned through
db2dj.ini. If this settings will be set, nothing changes in the
following actions.

I also tried djxlinkand restarted the db2instance.

Versions used:
AIX 5.2 (oslevel -r: 5200-04)
DB2 8.2.0 ("DB2 v8.1.1.72", "s040914", "U498350", FixPak "7"), AFAIK no
APARs/Fixes installed
WII 8.2


Comments form the federated team:
What version of the Oracle client are you using? We've recently hit an
Oracle bug that produces that exact error on Oracle clients 9.2.0.5 and
up and Oracle
10.1.0.4 clients and up. Oracle has recently fixed the problem and has
started to release patches on the 9.2.0.7 and 10.2.0.1 levels of their
client. So far, they have published patches on the following OSs:

AIX5L based systems (64 bit)
HP-UX 64 bit
Linux x86/Linux x86 64 bit
Solaris SPARC 64 bit

You can download the patches by searching for 3807408 on the "Patches
and Updates" tab of Oracle's Metalink web pages (you will need to logon
first):
https://metalink.oracle.com/metalink...50820341868001

Cheers
Serge

--
Serge Rielau
DB2 Solutions Development
DB2 UDB for Linux, Unix, Windows
IBM Toronto Lab
Feb 8 '06 #2
Serge Rielau wrote:
Comments form the federated team:
What version of the Oracle client are you using? We've recently hit an
Oracle bug that produces that exact error on Oracle clients 9.2.0.5 and
up and Oracle
10.1.0.4 clients and up. Oracle has recently fixed the problem and has
started to release patches on the 9.2.0.7 and 10.2.0.1 levels of their
client. So far, they have published patches on the following OSs:

AIX5L based systems (64 bit)
HP-UX 64 bit
Linux x86/Linux x86 64 bit
Solaris SPARC 64 bit

You can download the patches by searching for 3807408 on the "Patches
and Updates" tab of Oracle's Metalink web pages (you will need to logon
first):
https://metalink.oracle.com/metalink...50820341868001

Cheers
Serge


Hi Serge,

Thanks for this hint, at the moment we are using Oracle Client 9.2.0.5.
I will get my account for Metalink tomorrow, I will try again and report.

Michael
Feb 9 '06 #3
Michael Rudolph wrote:
Serge Rielau wrote:
Comments form the federated team:
What version of the Oracle client are you using? We've recently hit
an Oracle bug that produces that exact error on Oracle clients 9.2.0.5
and up and Oracle
10.1.0.4 clients and up. Oracle has recently fixed the problem and
has started to release patches on the 9.2.0.7 and 10.2.0.1 levels of
their client. So far, they have published patches on the following OSs:

AIX5L based systems (64 bit)
HP-UX 64 bit
Linux x86/Linux x86 64 bit
Solaris SPARC 64 bit

You can download the patches by searching for 3807408 on the "Patches
and Updates" tab of Oracle's Metalink web pages (you will need to
logon first):
https://metalink.oracle.com/metalink...50820341868001

Cheers
Serge


Hi Serge,

Thanks for this hint, at the moment we are using Oracle Client 9.2.0.5.
I will get my account for Metalink tomorrow, I will try again and report.

Michael


Hi all,

I switched the client back to 9.2.0.3 and everything is working fine
now. So you seems to be right with your assumptions. Sadly I am using
AIX on 32 bit, Oracle does not offer this patch for this OS.
Additionally the patch and bug description does not fit very well to my
environment (only to "( and other characters in passwords and 64 bit
environments).
Perhaps I have to wait until a fixed version is out, the security crew
is not very amused with outdated software with security holes in a
productive environment.

Does a PMT make sense in this case? It seems to be a known bug but I
does not find something about it on IBM.com

Cheers
Michael
Feb 10 '06 #4
Michael Rudolph wrote:
Hi all,

I switched the client back to 9.2.0.3 and everything is working fine
now. So you seems to be right with your assumptions. Sadly I am using
AIX on 32 bit, Oracle does not offer this patch for this OS.
Additionally the patch and bug description does not fit very well to my
environment (only to "( and other characters in passwords and 64 bit
environments).
Perhaps I have to wait until a fixed version is out, the security crew
is not very amused with outdated software with security holes in a
productive environment.

Does a PMT make sense in this case? It seems to be a known bug but I
does not find something about it on IBM.com

Cheers
Michael


I got in contact with some IBMers. Oracle support replied to them, that
the patch for AIX 5L will patch both 32bit and 64bit libraries. So it
should be just fine once applying 9.2.0.7 fixpack and the special patch.
The write-up for the special patch is very general and they think they
must have fixed a few similar customer problems using the same patch.
The fix has been tested and verified.

Cheers
Michael
Feb 12 '06 #5
Michael Rudolph wrote:
Michael Rudolph wrote:
Hi all,

I switched the client back to 9.2.0.3 and everything is working fine
now. So you seems to be right with your assumptions. Sadly I am using
AIX on 32 bit, Oracle does not offer this patch for this OS.
Additionally the patch and bug description does not fit very well to
my environment (only to "( and other characters in passwords and 64
bit environments).
Perhaps I have to wait until a fixed version is out, the security crew
is not very amused with outdated software with security holes in a
productive environment.

Does a PMT make sense in this case? It seems to be a known bug but I
does not find something about it on IBM.com

Cheers
Michael


I got in contact with some IBMers. Oracle support replied to them, that
the patch for AIX 5L will patch both 32bit and 64bit libraries. So it
should be just fine once applying 9.2.0.7 fixpack and the special patch.
The write-up for the special patch is very general and they think they
must have fixed a few similar customer problems using the same patch.
The fix has been tested and verified.

Cheers
Michael

See the following technote:
http://www-1.ibm.com/support/docview...=utf-8&lang=en
Feb 23 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
1749
by: tomL | last post by:
hello all! has anyone tried connecting Info integrator to Informix 9.x? if so, here are my questions....how much of the server's resources does it use? does it matter if using Info integrator pointing to a replicated instance versus the production instance? We use HDR on Informix and want the Info integrator to point to the HDR instance, not the main production instance..
0
353
by: Ajay | last post by:
Hi , I have to check for Federated objects with Oracle & SQL server with UDB 8.2 but the release notes say that it require Information Integrator . Is it available anywere for testing purpose , am aware that one has to buy that . Thanks Ajay
5
1232
by: peteh | last post by:
Hello All; We are soon implementing Websphere II to "federate" multiple Oracle DBs to our data warehouse hub (DB2 PE v8.1.5 on AIX). I wonder if IBMers or experienced II/Oracle users could comment on a couple of design alternatives we'd like to explore: * Should we implement II with Oracle wrapper right on the data warehouse box or build out a dedicated II instance that federates out to Oracle sources and UDB targets on the data warehouse...
3
1421
by: aww91 | last post by:
Need product information on IBM's Integration Integrator (I.I) for conversion of SyBase calls to UDB calls. Production allows for conversion of modules one-by-one and then when all modules are converted the database (SyBase) can be converted and I.I removed. Last I heard the product was in beta. Any information would be appreciated...
3
1331
by: RdR | last post by:
Hello all, Any information on how to join the "Serrano" Beta for the Next Websphere Information Integrator? Also info on how to join also the "Hawk" Beta? Supposed to be betas for enhancing DB2 Federation and Data Movement support. Thanks, RdR
2
2546
by: stevenkblack | last post by:
I just installed Information Integrator on my machine Windows XP db2 8.2.1. I want to connect to Oracle 9i. The closest thing I saw when trying to create the wrapper was Oracle8. It says the Library name is db2net8.dll but the error that comes up when I try to create it is "The specified library "db2net8U.dll" could not be loaded. SQLSTATE=42724" I found the db2net8U.dll in the f:\ibm\sqllib\bin directory so there is no reason that it...
3
2069
by: peteh | last post by:
Hello All; Assuming a PMR is in order for this, but wanted to run by the group to see if anyone had similar experience. We just upgraded a DB2 V8 AIX (DPF) environment to FP10 from FP6 and have a problem with an information-integrator-generated nickname to an Oracle table: * Dropped nickname (which existed and had been used frequently pre-upgrade) * Tried to recreate with same name but pointing to a different remote (Oracle) server *...
14
4443
by: peteh | last post by:
Hi All; We have many production jobs that "load from cursor" to a UDB/AIX 8.2 (with dpf) data warehouse from source tables residing Oracle 9i. Since Oracle dates are (roughly) equivalent to DB2 timestamps, we frequently use the date() function to "convert" from the Oracle date datatype to the DB2 date datatype. We have used this technique on over 20 Oracle tables for several months with no problem. One table in particular fails with a...
0
2076
by: Lester Knutsen | last post by:
A two-day IBM Informix and DB2 User Group Technical Conference - Friday and Saturday, December 8-9, 2006 Location - Fairview Park Marriott, Falls Church, VA (near Washington D.C.) ************************************************************************************************** Web site at: http://www.iiug.org/waiug/present/Forum2006/Forum2006.html We are very please to announce our Keynote Speakers...
0
9522
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9336
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9948
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9765
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7327
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5215
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5364
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3866
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3446
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.