File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes General Computing and the fly likes TNS Name prob Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » General Computing
Bookmark "TNS Name prob" Watch "TNS Name prob" New topic
Author

TNS Name prob

Tuhin Ghosh
Ranch Hand

Joined: Oct 11, 2006
Posts: 33
hi i am trying to execute Java Stored Procedure . i like to where to look in the directories for my oracle TNS Name
Chris Hendy
Ranch Hand

Joined: Mar 04, 2006
Posts: 98
Windows

cd to your ORACLE_HOME directory (look in the registry for HKEY_LOCAL_MACHINE - SOFTWARE - ORACLE - HOMEn where n is a number 0 upwards since you can have multiple ORACLE_HOMES).

For Oracle8i its in the NET80\ADMIN subdirectory

For Oracle9i its in the network\admin subdirectory

UNIX

For 9i

cd to $ORACLE_HOME/network/admin

I haven't got an 8i DB to look at but I suspect it's

$ORACLE_HOME/net80/admin
 
wood burning stoves
 
subject: TNS Name prob
 
Similar Threads
Oracle9i DB with Oracle9i DS
what is a TNS name?
how can I know my TNS Names_Entry?
How to connect to Oracle db using TNS
jsp page give this error Database Log In Failed