Skip to main content
This forum is closed to new posts and responses. New discussions are now taking place in the IBM Developer Answers forum.
 
developerWorks
AIX and UNIX
Information Mgmt
Lotus
New to Lotus
Products
How to buy
Downloads
Live demos
Technical library
Training
Support
Forums & community
Events
Rational
Tivoli
WebSphere
Java™ technology
Linux
Open source
SOA and Web services
Web development
XML
My developerWorks
About dW
Submit content
Feedback



developerWorks  >  Lotus  >  Forums & community  >  Enterprise Integration Forum

Enterprise Integration Forum

developerWorks

  

Sign in to participate PreviousPrevious NextNext

Follow on question - edit 3
Doug Finner 9.Nov.11 04:02 PM a Web browser
LC LSX LC LSX - All Releases Windows


I am going to do two experiments today:
1. Full up 64 bit client install (pretty sure that'll work)
2. 'Instant client' install. The intent is to understand what files are needed for Notes to talk to Oracle and how to manually set things up.

I have tried #2 and the oci file is loading when I do ndctest but then I can't log into my Oracle db. I'm guessing it has to do with ndctest not 'seeing' tnsnames.ora and/or sqlnet.ora. I'm going to keep playing but if you know the magic formula, that'd be great.

Below is what I did.
----------------------
Created a directory: C:\OracleOCI\Version1020
Copied oci.dll into this dir
Set this dir as part of the Path statement.
Ran ndctest - oci loads (yeah!) but can't log into Oracle (sad face).
Copied known good tnsnames.ora and sqlnet.ora files into the directory above.
Same outcome on ndctest.
Rebooted box
Same outcome on ndctest.
How to I point ndctest to the tnsnames file?

<edit 1>
Wait...on a whim, I copied all of the files for the instant installer into the new directory and tried ndctest again. This time it tried connecting to my db but failed with a tns name resolution error so I'm rebooting to see what happens.

<edit 2>
Nope, close but no cigar. Here's the output from the test:
Oracle Connection Verification

Copyright 2005 IBM Corporation
--------------------------------------------

This utility will verify connectivity from this machine to the
specified Oracle Service. At the prompts, please enter a valid
Oracle username, password and service name.

loaded library oci
Username: UserName
Password: XXXXXXXX
Service Name: MyDb

Initializing Environment...success
Attaching to Service MyDb...
ORA-12154: TNS:could not resolve the connect identifier specified
Freeing Environment...success
Failed to verify Oracle connectivity, see message above

So still some kind of 'where's the db' issue and I'm back to how do I get ndctest to see the tnsnames file?

<edit 3>
The full up install of the 11g client does work but did require a couple of tweaks.
The 11g installer puts the sqlnet.ora and tnsnames.ora into the ..\Network\Admin\ directory.
Reboot now. This is important. If you run ndctest now, it'll work find the oci.dll but can't connect to the server and lsxlc code won't work at all.

I'd still love to know how to set this up so it works with the 'instant client' files only so if you know how to maket that work, please post.

Doug




ndctest for Oracle 'Unable to load ... (Doug Finner 8.Nov.11)
. . RE: ndctest for Oracle 'Unable to l... (Daniel W Heiche... 9.Nov.11)
. . . . THANK YOU! (Doug Finner 9.Nov.11)
. . . . Follow on question - edit 3 (Doug Finner 9.Nov.11)
. . . . . . It can be done (Hallgrimur Eymu... 28.May.15)
. . . . Re your ODBC and DECS comment (Doug Finner 9.Nov.11)


Document Options






  Document options
Print this pagePrint this page

Search this forum

Forum views and search


  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Author
Category
Platform
Release
Advanced search

Sign In or Register

 Sign In or Register
Sign in
Forgot your password?
Forgot your user name?
Create new registration

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS
More Lotus RSS feeds

Resources

 Resources
Forum use and etiquette
Native Notes Access
Web site Feedback

Lotus Support

 Lotus Support
IBM Support Portal - Lotus software
Lotus Support documents
Lotus support by product
Lotus support downloads
Lotus support RSS feeds

Wikis

 Wikis
IBM Composite Applications
IBM Mashup Center
IBM Connections
IBM Connections Cloud Developers
IBM Docs
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud for Social Business
IBM Web Experience Factory
Lotus Domino
Lotus Domino Designer
Lotus Expeditor
Lotus Foundations
Lotus iNotes
Lotus Instructor Community Courseware
Lotus Notes
Lotus Notes & Domino Application Development
Lotus Notes Traveler
Lotus Protector
Lotus Quickr
Lotus Symphony
IBM Web Content Manager
WebSphere Portal

Lotus Forums


 Lotus Forums
Notes/Domino 9.0
Notes/Domino 8.5 + Traveler
Notes/Domino XPages development forum
Notes/Domino 8
Notes/Domino 6 and 7
IBM Connections
IBM Mobile Connect
IBM Sametime
IBM SmartCloud Notes
Lotus Enterprise Integration
Lotus Protector
Lotus Quickr
Lotus SmartSuite