Figuring out location of tnsnames.ora and listener.ora file.
Hello.
Is there a way to figure out what my oracle instance is reading in terms of tnsnames.ora and/or listener.ora file? According to the 10g docs, they can be found in a few places:
1. $ORACLE_HOME/network/admin
2. $TNS_ADMIN
3. in a global configuration directory, on solaris it is /var/opt/oracle.
How would I know which one my instance/lsnrctl is reading, aside from checking out differences in behavior?
Plus, how would I change where to look for the file?
thanks.
On Solaris you can use 'truss' on the binary and grep for all the open() calls to see exactly which files are being used or tested for in order. I had an issue once where a tnsnames.ora was being used and it turned out to be $HOME/.tnsnames.ora (IIRC). There are similar calls under Linux (strace).
Similar Messages
-
Hi,
I was given an oracle remote database connection details like the below:
UMAC100 =
(DESCRIPTION=
(ADDRESS_LIST=
(ADDRESS=
(PROTOCOL=TCP)
(HOST=abcd.efgh.com)
(PORT=1521)
(CONNECT_DATA=
(SID=UMAC100)
I use SQL Developer, and figured out the necessary details like connection name, port, hostname, etc from the above deatils and am able to connect.
However when I try to connect to this remote database through sqlplus, it says TNS protocol adapter error.
Through sqlplus, it connects when i give sqlplus db_name/[email protected]':1521/UMAC100'
I was told to copy paste the above
(DESCRIPTION=
(ADDRESS_LIST=...........)) to my tns file.
I tried locating my TNSnames.ora file and found one in D:\app\Unameit\product\11.2.0\client_1\network\admin\sample location. I tried pasting it here, but still, I am unable to connect.
I googled, but am not able to figure out a solution.
Can someone tell me what needs to be done step by step so that I am able to connect through sqlplus typing just the USERNAME/PASSWORD?Hello
thanks for reply ...
but i think some thing is missing ... there are only few directories under oracle home ...i installed oracle under /opt/app/oracle...
is this correct... ? or
$ cd /opt/app/oracle
$ ls -ltr
total 301312
-rw-r--r-- 1 oracle oinstall 1996228 Jul 31 2009 ojdbc5.jar
-rw-r--r-- 1 oracle oinstall 2111220 Jul 31 2009 ojdbc6.jar
-rw-r--r-- 1 oracle oinstall 82983 Aug 2 2009 orai18n-mapping.jar
-rw-r--r-- 1 oracle oinstall 1656280 Aug 2 2009 orai18n.jar
-rw-r--r-- 1 oracle oinstall 37807 Aug 13 2009 xstreams.jar
-rw-r--r-- 1 oracle oinstall 1296216 Aug 25 2009 libsqlplus.so
-rwxr-xr-x 1 oracle oinstall 8904 Aug 25 2009 sqlplus
-rw-r--r-- 1 oracle oinstall 1503424 Aug 25 2009 libsqlplusic.so
-rw-r--r-- 1 oracle oinstall 7751832 Sep 4 2009 libnnz11.so
-rw-r--r-- 1 oracle oinstall 110576 Sep 28 2009 libocijdbc11.so
-rw-r--r-- 1 oracle oinstall 14072 Sep 28 2009 libheteroxa11.so
-rw-r--r-- 1 oracle oinstall 753808 Nov 2 2009 libsqora.so.11.1
-rw-r--r-- 1 oracle oinstall 45403016 Nov 2 2009 libclntsh.so.11.1
-rw-r--r-- 1 oracle oinstall 1477416 Nov 2 2009 libocci.so.11.1
-rw-r--r-- 1 oracle oinstall 89381056 Nov 2 2009 libociei.so
-rwxr-xr-x 1 oracle oinstall 425712 Nov 2 2009 wrc
-rwxr-xr-x 1 oracle oinstall 25680 Nov 2 2009 adrci
-rw-r----- 1 oracle oinstall 63 May 12 18:23 oraInst.loc
-rw-r--r-- 1 oracle oinstall 38 May 12 18:23 install.platform
drwxr-xr-x 3 oracle oinstall 512 May 12 18:23 odbc
drwxr-xr-x 2 oracle oinstall 512 May 12 18:23 light
drwxrwx--- 13 oracle oinstall 512 May 12 18:23 inventory
drwxrwx--- 5 oracle oinstall 512 May 12 18:23 oraInventory
drwxr-xr-x 3 oracle oinstall 512 May 12 18:23 install
drwxr-xr-x 3 oracle oinstall 512 May 12 18:28 cfgtoollogs
$ -
Location of tnsnames.ora for Tora and Oracle XE Client
I Googled far and wide and did not see a CLEAR answer to my question, hopefully this will help others.
I have installed the debian oracle-xe-client and tora packages (tora rebuilt for oracle) on Ubuntu 8.04.
However, I did not know where I was supposed to place the tnsnames.ora file for my databases. I have tried running Tora with the environment variable of TNS_ADMIN set to the file where I placed my tnsnames.ora, however that did not work as Tora did not 'see' the file or its entries apparently. I know this works because I copied it from a Debian Etch box with the client and server installed.
I had even added a 'network/admin' directory structure to the //usr/lib/oracle/xe/app/oracle/product/10.2.0/client (ORACLE_HOME) with the tnsnames.ora but also with no success.
Now for the solution:
Simply remember that TNS_ADMIN points to the directory where the tnsnames.ora is and it will work. :)
I do have a suggestion that both Tora and sqlplus use a config file to set these directory(s) in addition to the overriding ability of the environment variable, TNS_ADMIN as is usually the case with UNIX apps (and thus expected).
Thank you,
JasonThe ODBC Instant Client Readme that is included in the install also indicates that %ORACLE_HOME%/network/admin/tnsnames.ora is the correct default location. What about OCI?
-
1.2.0 reads TNSNAMES.ORA file multiple times and duplicates values in Alias
Since upgrading to 1.2.0.29.98 (clean install on Win XP SP 2), I have noticed that SQL Developer appears to be reading the TNSNAMES.ORA file multiple times. This results in the Network Alias pop-list on the TNS connection type to have duplicate values, although the number of duplicates for each entry varies widely - from four for the least that I saw and 252 for the most (assuming I counted that right :) ). We have approximately 270 entries in our TNSNAMES.ORA and the first entry in the file appears in the Network Alias list four times and the last entry in the file appears in the list 48 times.
To be honest, I switched to Basic JDBC connections with 1.1 and only noticed the problem because of some network performance issues - I thought that SQL Developer had hung and I switched on the debugging and could see that it was looping through the TNSNAMES.ORA file. Now that the network performance issues have been resolved, it still takes a little while to open the new connection window, but it is liveable, so I don't know whether the problem is 1.2 specific or not.Sue,
I assume from a bit of testing, that "each tns file on the system" means each file in the TNS_ADMIN location that starts with TNSNAMES.ORA.
I set my TNS_ADMIN to a local location and copied the current TNSNAMES.ORA from the network location (and chopped it down to a handful of entries). When I restarted SQL Developer I only had a single copy of each alias. If I copied TNSNAMES.ORA to "Copy of TNSNAMES.ORA" I still only had a single copy of each alias. If I copied TNSNAMES.ORA to TNSNAMES.ORA.TXT I then had two copies of each alias.
Unfortunately, I don't have any say in the maintenance of the network TNS_ADMIN location and it has almost 200 backup copies of the tns file, typically named TNSNAMES.ORA.YYYYMMDD.
My TNS_ADMIN setting is done as a Windows environment variable. I do not have any TNS_ADMIN setting in my registry. -
Tnsnames.ora file location in WIndows 7
I just installed Oracle XE 10g on my PC running windows 7. I was told that the tnsnames.ora file was located in C:\XEClient\Network\Admin, however i see no such folder in my XE CLient folder.
Any Ideas?As long as the oracle install has completed OK and set your environment, a cmd box tnsping should reveal the location the %ORACLE_HOME% is using for client setup
Hit Start/Run and type in cmd (does that work in Win7? Or is it the the PowerShell icon) to get to a command line prompt:
$ tnsping anyname
TNS Ping Utility ...
Used parameter files:
C:\oraclexe\...\network\admin\sqlnet.ora
...That network\admin folder is the location for the tnsnames.ora file for your install- -
Something was hidden in a download and now these double green underlined hyperlinks show up everywhere, and pop ups too whenever I click on ANYTHING. I can't figure out how to find it and get rid of it.
You installed the "DownLite" trojan, perhaps under a different name. Remove it as follows.
Malware is constantly changing to get around the defenses against it. The instructions in this comment are valid as of now, as far as I know. They won't necessarily be valid in the future. Anyone finding this comment a few days or more after it was posted should look for more recent discussions or start a new one.
Back up all data.
Triple-click anywhere in the line below on this page to select it:
/Library/LaunchAgents/com.vsearch.agent.plist
Right-click or control-click the line and select
Services ▹ Reveal in Finder (or just Reveal)
from the contextual menu.* A folder should open with an item named "VSearch" selected. Drag the selected item to the Trash. You may be prompted for your administrator login password.
Repeat with each of these lines:
/Library/LaunchDaemons/com.vsearch.daemon.plist
/Library/LaunchDaemons/com.vsearch.helper.plist
/Library/LaunchDaemons/Jack.plist
Restart the computer and empty the Trash. Then delete the following items in the same way:
/Library/Application Support/VSearch
/Library/PrivilegedHelperTools/Jack
/System/Library/Frameworks/VSearch.framework
Some of these items may be absent, in which case you'll get a message that the file can't be found. Skip that item and go on to the next one.
From the Safari menu bar, select
Safari ▹ Preferences... ▹ Extensions
Uninstall any extensions you don't know you need, including any that have the word "Spigot" in the description. If in doubt, uninstall all extensions. Do the equivalent for the Firefox and Chrome browsers, if you use either of those.
This trojan is distributed on illegal websites that traffic in pirated movies. If you, or anyone else who uses the computer, visit such sites and follow prompts to install software, you can expect much worse to happen in the future.
You may be wondering why you didn't get a warning from Gatekeeper about installing software from an unknown developer, as you should have. The reason is that the DownLite developer has a codesigning certificate issued by Apple, which causes Gatekeeper to give the installer a pass. Apple could revoke the certificate, but as of this writing, has not done so, even though it's aware of the problem. This failure of oversight is inexcusable and has compromised the value of Gatekeeper and the Developer ID program. You can't rely on Gatekeeper alone to protect you from harmful software.
*If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination command-C. In the Finder, select
Go ▹ Go to Folder...
from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return. -
How do I move a movie I have synced from iTunes into the "Movies" tab of the Video App? I need to access a slideshow I made in IMovies and may not have WiFi. I did it once, but can't figure out how to do it again! The file is an m4v. Thank you!
Im just guessing but it seems like you would have to get your movie into the correct folder on a computer then use iTunes to sync it to your iPad. If you've synced to a computer and have movies then on your computer should be a folder with the movie in it. You could export your iMovie to something like Dropbox then download from Dropbox to the folder you think it needs to be in the sync your iPad again. Again this is just a guess. Others may have a better answer.
-
I was on a a different Apple ID and I logged out because they didn't want me on there anymore so I figured out how to make one and now it's not letting me upgrade or download anything. I rebooted my iPhone 5, iOS 7.0.4 multiple times nothing fixed my problem.
I was on a a different Apple ID and I logged out because they didn't want me on there anymore so I figured out how to make one and now it's not letting me upgrade or download anything. I rebooted my iPhone 5, iOS 7.0.4 multiple times nothing fixed my problem.
-
SQL Dev 3.0.04 cannot locate TNSNAMES.ora file after Oracle11g XE Beta
Hello,
I had Oracle Developer Suite (Reports, Forms) installed on Windows 7 32 bit along with SQL Developer 3.0.04 (latest prod. build) and everything was working just fine.
Then, I installed Oracle 11g XE Beta database and now, all the existing Connections in SQL Developer give an error "Invalid connection information specified. Verify the URL format for the specified driver."
I thought since 11gXE was the latest Oracle software installed, the Path environment variable in Windows will have the Oracle 11gXE as the leading path string. So, I cut this leading string : C:\Oracle\Oracle11gXE\product\11.1.0\db_1\bin and appended it at the very end.
This means that the Path that existed prior to the 11gXE install is now the leading and hence SQL Developer should be reading the TNSNAMES.ora file from the very first Oracle Home encountered which is for the developer suite. But this does not seem to work.
Any ideas how to fix this? How does SQL Developer determine which tnsnames file to use?
Thanks,
ManishHi Manish,
One place to control this is Tools|Preferences|Database|Advanced|Tnsnames Directory.
Otherwise read the documentation in Help|Table of Contents|SQL Developer Concepts and Usage|Database Connections. The third paragraph contains a description of the various alternatives.
Regards,
Gary Graham
SQL Developer Team
Edited by: gggraham on Jul 18, 2011 2:52 PM -
Downloads - I want to open some PDFs/other file types from the internet but not have to save them. I can't figure out how to view them and close them without having to save them first. When I click on a file, the downloads box opens and depending on the setting, it auto saves the file or asks me where to save the file. What if I don't want to save it anywhere, I just want to view it and close it?
https://support.mozilla.com/en-US/kb/Using+the+Adobe+Reader+plugin+with+Firefox
https://support.mozilla.com/en-US/kb/Opening+PDF+files+within+Firefox -
I rented a movie and accidentally hit the menu button and now I can figure out how to go back and watch it . When I try to press rent again it says you have already downloaded this movie go to settings and check for downloads but I can find it download in settings.
I had the same issue with my apple tv 3rd generation. I rented Sinister and selected the "rent and watch now" option. Half way through the movie I accidentally pressed the menu button. When I looked for the rented movie on my apple tv I could not find it. Not even above the movie pannel where "purchased" and "top movies" comes up on the main menu. the apple tv suggests to go to settings>downloads but I don't have that option. I did go to settings> itunes store> check rentals but that didnt work either. It took too long to even check. Thank you because this SOLUTION worked great.
SOLUTION: How to reset apple tv 3 3rd generation to view rented movies:on the apple tv remote: press and hold "menu" to go to the main menu. Select SETTINGS> GENERAL >RESET >RESET ALL SETTINGS. After the apple tv resets, input all your information again and your rented movies should be visible when you cruise above the "movies" section. THANK YOU!!
Apple needs to solve this issue because honestly it took me 3 hours and a half to watch a movie that only lasted 2 BECAUSE I wast trying to solve the issue, reseting and all. blahh. -
Tnsnames.ora file does not seem to load in SQL Developer
I've really tried my best to figure this out on my own ... through the Help, this forum, and Internet in general. I apoligize in advance for having to ask this, since I'm sure this is a common issue. This particular form entry was really close:
Database Connections will not load tnsnames.ora
But, I just can seem to figure out why, or where entries from my tnsnames.ora file are loading into SQL Developer.
- I have the TNS_ADMIN system environment variable defined to the directory where tnsnames.ora is stored - C:\oracle\product\10.2.0\client_1\NETWORK\ADMIN.
- I do not see a TNS tab as the forum entry above indicates anywhere in SQL Developer - This may be my problem.
It seems that this issue could be cleared up with better directions on how to import tnsnames.ora entries into SQL Developer. Is there any specific direction on how to get your tnsnames.ora file setup correctly with SQL Developer running on Windows XP - Besides the Help which mentions the setup of TNS_ADMIN, but doesn't really tell you what the expected result is, or where the entries will be, or how to verify this is working?
Any help would be most appreciated.
Thanks,
Dave
Below is the export from the About box in SQL Developer:
About
Oracle SQL Developer 1.5.1
Version 1.5.1
Build MAIN-5440
Copyright © 2005,2008 Oracle. All Rights Reserved.
IDE Version: 11.1.1.0.22.49.42
Product ID: oracle.sqldeveloper
Product Version: 11.1.1.54.40
Version
Component Version
========= =======
CVS Version Internal to Oracle SQL Developer (client-only)
Java(TM) Platform 1.6.0_07
Oracle IDE 1.5.1.54.40
Versioning Support 1.5.1.54.40
Properties
Name Value
==== =====
apple.laf.useScreenMenuBar true
awt.toolkit sun.awt.windows.WToolkit
class.load.environment oracle.ide.boot.IdeClassLoadEnvironment
class.load.log.level CONFIG
class.transfer delegate
com.apple.macos.smallTabs true
com.apple.mrj.application.apple.menu.about.name "SQL_Developer"
com.apple.mrj.application.growbox.intrudes false
file.encoding Cp1252
file.encoding.pkg sun.io
file.separator \
http.agent Mozilla/5.0 (Java 1.6.0_07; Windows XP 5.1 x86; en_US) ICEbrowser/v6_1_3
ice.browser.forcegc false
ice.pilots.html4.ignoreNonGenericFonts true
ice.pilots.html4.tileOptThreshold 0
ide.AssertTracingDisabled true
ide.bootstrap.start 1628689279134099
ide.build MAIN-5440
ide.conf C:\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf
ide.config_pathname C:\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf
ide.debugbuild false
ide.devbuild false
ide.extension.search.path sqldeveloper/extensions:jdev/extensions:ide/extensions
ide.firstrun true
ide.java.minversion 1.5.0
ide.launcherProcessId 5580
ide.main.class oracle.ide.boot.IdeLauncher
ide.patches.dir ide/lib/patches
ide.pref.dir C:\Documents and Settings\X626730\Application Data\SQL Developer
ide.pref.dir.base C:\Documents and Settings\X626730\Application Data
ide.product oracle.sqldeveloper
ide.shell.enableFileTypeAssociation C:\sqldeveloper\sqldeveloper.exe
ide.splash.screen splash.gif
ide.startingArg0 C:\sqldeveloper\sqldeveloper.exe
ide.startingcwd C:\sqldeveloper\sqldeveloper\bin
ide.user.dir C:\Documents and Settings\X626730\Application Data\SQL Developer
ide.user.dir.var IDE_USER_DIR
ide.work.dir C:\Documents and Settings\X626730\My Documents\SQL Developer
ide.work.dir.base C:\Documents and Settings\X626730\My Documents
java.awt.graphicsenv sun.awt.Win32GraphicsEnvironment
java.awt.printerjob sun.awt.windows.WPrinterJob
java.class.path ..\..\ide\lib\ide-boot.jar
java.class.version 50.0
java.endorsed.dirs C:\Program Files\Java\jdk1.6.0_07\jre\lib\endorsed
java.ext.dirs C:\Program Files\Java\jdk1.6.0_07\jre\lib\ext;C:\WINDOWS\Sun\Java\lib\ext
java.home C:\Program Files\Java\jdk1.6.0_07\jre
java.io.tmpdir C:\DOCUME~1\X626730\LOCALS~1\Temp\
java.library.path C:\sqldeveloper;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\PROGRA~1\IBM\WEBSPH~2\BIN\DB2;C:\PROGRA~1\IBM\WEBSPH~2\BIN\MQClient;C:\PROGRA~1\IBM\WEBSPH~2\BIN;C:\IBM\WebSphere MQ Client\Java\lib;C:\Program Files\CA\SharedComponents\PEC\bin;C:\oracle\product\10.2.0\client_1\bin;C:\oracle\ora92\bin;C:\oracle\product\10.2.0\client_2\bin;C:\Perl\bin\;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\Program Files\CA\PEC\bin;C:\Reuters\Plus;C:\Reuters\Plus\COMLOGIN;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Compuware\Common;C:\Program Files\Common Files\Compuware;C:\Program Files\CA\AllFusion Harvest Change Manager;C:\Program Files\SecureCRT\;C:\PROGRA~1\F-Secure\Ssh;c:\Program Files\Microsoft SQL Server\90\Tools\binn\;c:\Program files\1E\SMSNomad\;C:\j2sdk1.4.2_06\jre\bin;C:\Program Files\IDM Computer Solutions\UltraEdit-32;C:\Program Files\IBM\Installation Manager\eclipse\lib;C:\Program Files\CA\Cryptography\;C:\Program Files\CA\R71\AllFusion Harvest Change Manager;C:\IBM\WebSphere MQ Client\bin;C:\IBM\WebSphere MQ Client\tools\c\samples\bin;C:\PROGRA~1\IBM\SQLLIB\BIN;C:\PROGRA~1\IBM\SQLLIB\FUNCTION;C:\PROGRA~1\IBM\SQLLIB\SAMPLES\REPL
java.naming.factory.initial oracle.javatools.jndi.LocalInitialContextFactory
java.runtime.name Java(TM) SE Runtime Environment
java.runtime.version 1.6.0_07-b06
java.specification.name Java Platform API Specification
java.specification.vendor Sun Microsystems Inc.
java.specification.version 1.6
java.util.logging.config.file logging.conf
java.vendor Sun Microsystems Inc.
java.vendor.url http://java.sun.com/
java.vendor.url.bug http://java.sun.com/cgi-bin/bugreport.cgi
java.version 1.6.0_07
java.vm.info mixed mode
java.vm.name Java HotSpot(TM) Client VM
java.vm.specification.name Java Virtual Machine Specification
java.vm.specification.vendor Sun Microsystems Inc.
java.vm.specification.version 1.0
java.vm.vendor Sun Microsystems Inc.
java.vm.version 10.0-b23
jdbc.driver.home /C:/oracle/product/10.2.0/client_1/
jdbc.library /C:/oracle/product/10.2.0/client_1/jdbc/lib/ojdbc14.jar
line.separator \r\n
oracle.home C:\sqldeveloper
oracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG true
oracle.translated.locales de,es,fr,it,ja,ko,pt_BR,zh_CN,zh_TW
oracle.xdkjava.compatibility.version 9.0.4
orai18n.library /C:/oracle/product/10.2.0/client_1/jlib/orai18n.jar
os.arch x86
os.name Windows XP
os.version 5.1
path.separator ;
reserved_filenames con,aux,prn,lpt1,lpt2,lpt3,lpt4,lpt5,lpt6,lpt7,lpt8,lpt9,com1,com2,com3,com4,com5,com6,com7,com8,com9,conin$,conout,conout$
sun.arch.data.model 32
sun.boot.class.path C:\Program Files\Java\jdk1.6.0_07\jre\lib\resources.jar;C:\Program Files\Java\jdk1.6.0_07\jre\lib\rt.jar;C:\Program Files\Java\jdk1.6.0_07\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.6.0_07\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.6.0_07\jre\lib\jce.jar;C:\Program Files\Java\jdk1.6.0_07\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.6.0_07\jre\classes
sun.boot.library.path C:\Program Files\Java\jdk1.6.0_07\jre\bin
sun.cpu.endian little
sun.cpu.isalist
sun.desktop windows
sun.io.unicode.encoding UnicodeLittle
sun.java2d.ddoffscreen false
sun.jnu.encoding Cp1252
sun.management.compiler HotSpot Client Compiler
sun.os.patch.level Service Pack 2
user.country US
user.dir C:\sqldeveloper\sqldeveloper\bin
user.home C:\Documents and Settings\X626730
user.language en
user.name a641421
user.timezone America/New_York
user.variant
windows.shell.font.languages
Extensions
Name Identifier Version Status
==== ========== ======= ======
Check For Updates oracle.ide.webupdate 11.1.1.0.22.49.42 Loaded
Code Editor oracle.ide.ceditor 11.1.1.0.22.49.42 Loaded
Database Connection Support oracle.jdeveloper.db.connection 11.1.1.0.22.49.42 Loaded
Database Object Explorers oracle.ide.db.explorer 11.1.1.0.22.49.42 Loaded
Database UI oracle.ide.db 11.1.1.0.22.49.42 Loaded
Diff/Merge oracle.ide.diffmerge 11.1.1.0.22.49.42 Loaded
Extended IDE Platform oracle.javacore 11.1.1.0.22.49.42 Loaded
External Tools oracle.ide.externaltools 11.1.1.0.22.49.42 Loaded
Feedback oracle.ide.feedback 11.1.1.0.22.49.42 Loaded
File Support oracle.ide.files 11.1.1.0.22.49.42 Loaded
File System Navigator oracle.sqldeveloper.filenavigator 11.1.1.54.40 Loaded
Help System oracle.ide.help 11.1.1.0.22.49.42 Loaded
History Support oracle.jdeveloper.history 11.1.1.0.22.49.42 Loaded
Import/Export Support oracle.ide.importexport 11.1.1.0.22.49.42 Loaded
Log Window oracle.ide.log 11.1.1.0.22.49.42 Loaded
Mac OS X Adapter oracle.ideimpl.apple 11.1.1.0.22.49.42 Loaded
Navigator oracle.ide.navigator 11.1.1.0.22.49.42 Loaded
Object Gallery oracle.ide.gallery 11.1.1.0.22.49.42 Loaded
Object Viewer oracle.sqldeveloper.oviewer 11.1.1.54.40 Loaded
Oracle IDE oracle.ide 11.1.1.0.22.49.42 Loaded
Oracle Microsoft Access Browser oracle.sqldeveloper.thirdparty.access 11.1.1.54.40 Loaded
Oracle Migration Workbench oracle.sqldeveloper.migration 11.1.1.54.40 Loaded
Oracle Migration Workbench - MS Access oracle.sqldeveloper.migration.msaccess 11.1.1.54.40 Loaded
Oracle Migration Workbench - MySQL oracle.sqldeveloper.migration.mysql5 11.1.1.54.40 Loaded
Oracle Migration Workbench - SQLServer oracle.sqldeveloper.migration.sqlserver2005 11.1.1.54.40 Loaded
Oracle Migration Workbench - Translation Core oracle.sqldeveloper.migration.translation.core 11.1.1.54.40 Loaded
Oracle Migration Workbench - Translation MS Access oracle.sqldeveloper.migration.translation.msaccess 11.1.1.54.40 Loaded
Oracle Migration Workbench - Translation MS SQL Server oracle.sqldeveloper.migration.translation.sqlserver 11.1.1.54.40 Loaded
Oracle Migration Workbench - Translation MySQL oracle.sqldeveloper.migration.translation.mysql 11.1.1.54.40 Loaded
Oracle Migration Workbench - Translation Sybase oracle.sqldeveloper.migration.translation.sybase 11.1.1.54.40 Loaded
Oracle Migration Workbench - Translation UI oracle.sqldeveloper.migration.translation.gui 11.1.1.54.40 Loaded
Oracle MySQL Browser oracle.sqldeveloper.thirdparty.mysql 11.1.1.54.40 Loaded
Oracle SQL Developer oracle.sqldeveloper 11.1.1.54.40 Loaded
Oracle SQL Developer Extras oracle.sqldeveloper.extras 11.1.1.54.40 Loaded
Oracle SQL Developer Reports oracle.sqldeveloper.report 11.1.1.54.40 Loaded
Oracle SQL Developer SearchBar oracle.sqldeveloper.searchbar 11.1.1.54.40 Loaded
Oracle SQL Developer TimesTen oracle.sqldeveloper.timesten 1.5.1.1.2 Loaded
Oracle SQL Server Browser oracle.sqldeveloper.thirdparty.sqlserver 11.1.1.54.40 Loaded
Oracle Sybase Browser oracle.sqldeveloper.thirdparty.sybase 1.2.1.54.40 Loaded
Oracle XML Schema Support oracle.sqldeveloper.xmlschema 11.1.1.54.40 Loaded
PROBE Debugger oracle.jdeveloper.db.debug.probe 11.1.1.0.22.49.42 Loaded
Peek oracle.ide.peek 1.0 Loaded
Replace With oracle.ide.replace 11.1.1.0.22.49.42 Loaded
Runner oracle.ide.runner 11.1.1.0.22.49.42 Loaded
SQL Worksheet Window oracle.sqldeveloper.sqlworksheet 11.1.1.54.40 Loaded
Search Bar oracle.ide.searchbar 11.1.1.0.0 Loaded
Snippet Window oracle.sqldeveloper.snippet 11.1.1.54.40 Loaded
Sybase 12 oracle.sqldeveloper.migration.sybase12 11.1.1.54.40 Loaded
Sybase 15 oracle.sqldeveloper.migration.sybase15 11.1.1.54.40 Loaded
Tuning oracle.sqldeveloper.tuning 11.1.1.54.40 Loaded
VHV oracle.ide.vhv 11.1.1.0.22.49.42 Loaded
Versioning Support oracle.jdeveloper.vcs 11.1.1.0.22.49.42 Loaded
Versioning Support for CVS oracle.jdeveloper.cvs 11.1.1.0.22.49.42 Loaded
Versioning Support for Subversion oracle.jdeveloper.subversion 11.1.1.0.22.49.42 Loaded
Web Browser and Proxy oracle.ide.webbrowser 11.1.1.0.22.49.42 Loaded
oracle.ide.dependency oracle.ide.dependency 11.1.1.0.22.49.42 Loaded
oracle.ide.indexing oracle.ide.indexing 11.1.1.0.22.49.42 LoadedUsing Windows XP/Vista...
After testing in our environment, it appears that SQL Developer 1.5.1 (5440) does in fact ignore the TNS_ADMIN environment variable and ONLY looks in the Oracle Home directory (network/admin). We define a central network location for our tnsnames file and have the tns_admin setup to point there instead of locally for our users.
When selecting to add a new connection (in 1.5.1, it works in previously releases... meaning 1.2.something) and selecting TNS, the drop-down remains empty. However, if I exit SQL Developer and then copy the tnsnames file to the local network/admin directory I can then re-launch SQL Developer and the drop-down is populated. Exiting SQL Developer again, deleting the local copy of tnsnames, and then launching SQL Developer yet again results in the drop-down being empty.
All other Oracle-related applications function as expected (as they have for years) using the TNS_ADMIN environment variable.
Any suggestions/ideas? -
Should dbassist create an entry in my tnsnames.ora file?
I just created an instance on Solaris with dbassist and the sample minimal.rsp response file (8.1.7). I was surprised to note that no entry was created in the tnsnames.ora file as I would expect (it does create an entry on Windows platforms). Is this typical behavior? I did not see any option in the response file to do this. Another thing I notice was that it created an entry in the oratab file with the auto start flag set to n. Is there a way to make dbassist set that flag to y during install or am I going to have to sed it afterwards?
Thanks,
John1. Do I have to use the external IP address in the LISTENER.ora
file if I want clients external
to the firewall to connect to my database?No, you should simple use the internal address - there's no need
to use the external address. The packets that reach the server
do not contain the external address by the time they get to the
server. The firewall performs NAT on the external address
translating it to the internal address on the way in and
translating the internal address to the external address on the
way out.
2. If I change the entries in the LISTENER.ora file from
<production> to <172.168.0.101>, then
clients cannot connect to the database. Is this a normal
thing? I remember that I could use
internal IP addresses in ORACLE7 and 8 in the LISTENER.ORA
file.There must be something wrong with your DNS. If you run the
command "ping production" what address do you get? The external
address? If you attempt to ping 172.168.0.101 from a client that
can not connect, what do you get? What if you run the
command "tracert production"? What path do the packets take to
the server.
There sounds like there is some network topology issues in that
the clients can't get directly to the internal address but are
instead going through the firewall to get to the database. I
would suggest using a sniffer on the database (with the
appropriate authorization) to see what's going on and get a
network admin involved.
Regards,
Aaron C. Newman
Co-author, Oracle Security Handbook
[email protected]
Application Security, Inc.
www.appsecinc.com
phone: 212-490-6022
-Protection Where It Counts- -
SQL developer cannot see connection info from tnsnames.ora file
Greetings All,
I have been using sql developer for a while. Currently on 3.0.04.34.
I have 16 database connections.
Everything was working fine until yesterday.
Today when I tried to connect to a database from the list of connections I am getting following error:
Invalid connection information specified. Verify url format for specified driver.
When I pull up the property for this connection -connection type is still TNS, Netwrok Alias is now greyed out and what was in Netwrok Alias has shifted to Connect Identifier.
When I try to create a new connection I do not see entry from tnsnames.ora file for the databse I am trying to connect to in the Network Alias drop down list.
I can connect to this database from sqlplus.
Has anyone seen this behavior? Does any one know the fix for this?
Thanks.Hi,
Maybe your preference settings got corrupted, or the Tnsnames.ora file got moved to somewhere SQL Developer can't find it.
Are you using either:
1. Tools|Preferences|Database|Advanced|Tnsnames Directory, or a
2. TNS_ADMIN environment variable
to point to your Tnsnames? Having one of those should enable the Network Alias drop-down list to get populated. Otherwise, if the values moved to Connection Identifier are correct, then you won't be to connect in that mode without also having an Oracle client installed with an 11.1 JDBC thick driver (ocijdbc11.dll).
If there is no issue with the Tnsnames. ora location, it might be a good idea to use Export Connections to make a backup of your connections. Then you can try deleting the connections from SQL Developer and re-importing them. Even if that doesn't fix the problem, you should be no worse off.
Regards,
Gary
SQL Developer Team -
SQL Developer is not able to identify the Tnsnames.ora file
Hi,
I have installed the following in the laptop having Win XP:
1) Oracle 10gR2 Client software in the D: drive of laptop. Tnsnames.ora is located in this clients Network\Admin path. This client is used to access the databases on the other servers.
2) Oracle 10gR2 Database software in the E: drive of laptop. Right now there is not Tnsnames.ora file in this softwares Network\Admin path. This db software has been installed to create local databases in the laptop.
3) Oracle SQL Developer Version 2.1.1.64 is also installed in C: drive of laptop.
The problem which now I'm facing is that the SQL Developer is not able to identify the Tnsnames.ora file mentioned in the above point-1 which contains entries of databases on the different servers. Could you please help me out in solving this problem?
Thanks in advance.
MAKI forget what version I was using at the time, but when I had an ORACLE_HOME defined for the environment and TNSNAMES file defined in SQL Developer (different one than was in ORACLE_HOME), that I would see results from both tns files. I don't know if that is still the case. I have since dropped my ORACLE_HOME environmental variable.
Maybe you are looking for
-
W7 ult. HP 6500APLUS Aio says it's online and still won't print from computer
The printer says it's connected to network with num. address and full bars. Still it refuses to print anything I send from the printer. It worked excellent with no trouble installation, or during the last 9 mos. and then it decided, for no appartent
-
LaserJet Pro 200 Color M251nw : Wifi turned off but still broadcasting
Hello there, First of all, forgive my English. I have a HP LaserJet Pro 200 color M251nw, so it has wifi capability. Since the printer is plugged with an ethernet cable to my router, I don't feel the need to use the wifi embedded in the printer. Thin
-
Perfromance impact if mulitple database share the same disk group.
Hi All, I need help in understanding what would be the performance impact if multiple databases share the same ASM disk group. Is there any documentation that explains the impact on performance if there is any in doing so. Your help is very much appr
-
Best Workflow for TIFF Sequences
Hi There, I have my ideas but I would like if anyone had an advice to give when working with TIFF Sequences 1) Which Sequence Preset should I use, or better yet which custom settings should I go with when creating the sequence for TIFF use... If anyo
-
Java List Node Error :(
hi, I am currently trying to make a list method that takes in random numbers and puts them in numeric order from smallest to largest. Smallest at the head. I can not figure out what my problem is, but I am hitting a memory error and I do not know why