The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
November 2000



This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.



Posted by Anil on November 21, 2000 at 4:43 PM

the error is because of the junk name u have given as the service name. The oracle database Listener needs to resolve the service name before making a connection.
To start with we can use either of the Drivers. preferrably go with the Oracle ODBC Driver. all the 3 fields DSN,service name and the userid are a must. To find out what these are u have to check the files the LISTENER.ORA, TNSNAMES.ORA on the machine where Oracle is installed for the entry SID. And I believe u have the oracle database installed on ur local machine otherwise u need to install the oracle client software.


Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us