SQL Developer 3.x Disconnection Problem

We are running SQL Developer 3.1 on Windows 7 64 and connecting to a 11.2.0.3 database.
The user's can connect fine, then they can click through and see their tables. Once they click on the tables to see the columns or data, we immediately get disconnected.
We have 1 user still using SQL Developer 2.x and seems to have no problems. We were using 3.0 and couldn't get past connecting. We would click to see a list of the user's tables and would get disconnected then. Now by moving to 3.1 we at least can listing of the views, tables, etc but once we try to click deeper, we get the disconnect.
Has this happened to anyone else?

Hi Chris,
Thanks for the valuable feedback. You said...
What ultimately fixed it for us was switching the DB to DEDICATED from SHARED.A close read of the full thread I referenced above (both in John's comments and the comments of others) does point to the use of shared connections as a risk factor in triggering this low-level TCP bug. Actually even if the DB is configured for shared connections, a user relying on the SQL Developer connection type=TNS (as opposed to, say, Basic), could override the shared connection usage by specifying SERVER=DEDICATED in his tnsnames.ora file.
Some other comments...
1. Out of Band break support in JDBC began with the drivers shipped with Oracle 11g (ojdbc5.jar for 11.1.0.6, ojdbc6.jar for 11.2.0.2).
2. SQL Developer 2.1 ships with ojdbc5.jar, whereas the 3.x releases ship with ojdbc6.jar. These jars are used if no Oracle client is present.
3. If the Oracle client's ORACLE_HOME jdbc\lib contains both ojdbc5 and ojdbc6, a 3.x install may incorrectly use ojdbc5.
4. Out of Band break failures are more common on Windows platforms.
5. Out of Band break failures are more common, per the forum posts and bugs I have reviewed, when using ojdbc6.
Presumably there are timing issues when the ratio of connections to shared server processes is too high. If use of DEDICATED is not feasible, possibly lowering that ratio may help.
Regards,
Gary

Similar Messages

  • SQL Developer 1.5 having problems with JDK 6 Update 7

    I tried to open a table using SQL Developer 1.5 but connection timed out. when using SQL developer 1.2 i don't get any problems opening it.
    i have JDK 6 update 7 installed.
    the only problem with SQL Developer 1.2 is that i get a jdbc in the error log
    how do i get to fix the SQL Developer 1.5?

    --The sql developer is connected using tnsnames.ora, with read only access
    --i'm using windows XP SP3
    --I have jdk 6 update 7 installed
    --The tables that I can't View is listed under Other Users.
    --I thought it was just because i have no permission to view it, but when i used the old sql developer 1.2, it displayed it properly.
    --The reason i want to use SQL developer 1.5 is because i don't want to see any JDBC error on log messages, which happens on the sql developer 1.2
    --i dont get to see any errors, sql developer suddenly can't view and lost the connection. it says connection is currently busy. and suddenly stops responding, the only way i can get it working again is by using the taskbar, when it close the program it gets java is not responding..
    --also when i try running sqlcli.bat i get error with it.. is it because of my java?
    --What more details do you need?
    Edited by: user10285639 on Oct 15, 2008 4:47 PM
    Edited by: user10285639 on Oct 15, 2008 4:53 PM

  • Sql developer UTF-8 display problems

    Hi
    I use a development tool that is supposed to allow utf-8 encoding. If you enter text 'ABCDÉFGH' (É is ctrl alt E) through the software it is written to a VARCHAR2 value. When you look at the value using SQL Developer or (Congnos Impromptu) this value is displayed as ABCDÉFGH.
    Should Sql Developer convert É to É when displaying the value. Or is the problem with the development tool where it is not writing the value to the table correctly.
    linux/unix platform.
    The following NLS_DATABASE_PARAMETERS are.
    PARAMETER VALUE
    NLS_LANGUAGE ENGLISH
    NLS_TERRITORY UNITED KINGDOM
    NLS_CURRENCY #
    NLS_ISO_CURRENCY UNITED KINGDOM
    NLS_NUMERIC_CHARACTERS .,
    NLS_CHARACTERSET AL32UTF8
    NLS_CALENDAR GREGORIAN
    NLS_DATE_FORMAT DD-MON-RR
    NLS_DATE_LANGUAGE ENGLISH
    NLS_SORT BINARY
    NLS_TIME_FORMAT HH24.MI.SSXFF
    NLS_TIMESTAMP_FORMAT DD-MON-RR HH24.MI.SSXFF
    NLS_TIME_TZ_FORMAT HH24.MI.SSXFF TZR
    NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH24.MI.SSXFF TZR
    NLS_DUAL_CURRENCY ?
    NLS_COMP BINARY
    NLS_LENGTH_SEMANTICS BYTE
    NLS_NCHAR_CONV_EXCP FALSE
    NLS_NCHAR_CHARACTERSET UTF8
    NLS_RDBMS_VERSION 10.2.0.4.0
    thanks
    andy
    Edited by: user8646247 on 21-Jul-2009 06:39

    There is a forum dedicated to SQL Developer, which is monitored by members of the product dev team. You should consider posting your question there. [Link to forum|http://forums.oracle.com/forums/forum.jspa?forumID=260].
    Cheers, APC
    blog: http://radiofreetooting.blogspot.com

  • SQL Developer and Java GUI problems

    I am having a problem with all the java apps i use, including Oracle SQL Developer. When i load up SQL developer, the top of the "Connections" text is chopped off as well as all the table names in the list when I make a connection. Also the java buttons are rather large. Almost as if they have a carriage return in the text of the button.
    Its seems the gui configuration for java has been corrupted, but i cannot find where to modify those settings. I cant find anything on the internet on this. I have checked my video card settings and modified them to see if that is the issue, but it doesnt fix the problem.
    Since other java apps do the same thing, I know its a java issue, but Ive uninstalled all the JRE's and JDKs i have and reinstalled them, and I still have the problem.
    Im on an Windows XP box and running the JDK and JRE 1.5.0_09 versions. Any help would be appreciated. its very annoying to not be able to read some of the text in the java apps including sql developer due to the tops being cut off.
    I have an ATI RADEON 7000 on an DELL optiplex gx620.
    any help would be appreciated

    The first thing to try, if you haven't already, is to update your video driver.

  • SQL developer some minor anoying problems.

    Hello,
    can someone please explain to me why i have this problems in SQL developer.
    First problem is with search db objects.
    When i type in search string and i tick all objects all shemas it starts search ... finds nothing
    because search changes "search in all schemas" to "search only under connected user".
    Then i have to manually select all schemas and run search again and then it searches under all schemas.
    http://s29.postimg.org/p2vdaqxs7/shema_search.jpg
    Second problem is (i dont know if this is intended or not) that if i mix upercase letters in search string
    with lower case it wont find anything.
    http://s21.postimg.org/ke3k8icpz/found_nothing.jpg
    Third problem is when search finds something and i click on a table for example from found resoults
    it always opens up 2 tables (with same name) and again i have to manually close one of them.
    http://s12.postimg.org/s7fwmd1hp/two_tables.jpg
    4th problem is speed is there a way to really optimize SQL developer for speed. By that i mean
    that finding db objects forks really fast ... switching between tables and stuff like that?
    Is there a guide of settings that explains stuff like that?
    At each problem i have posted a screen shot for better understanding.
    I hope someone will try to help me solve those anoying problems.
    Thank you!
    PS my sql developer version is 4.1.0.17 problems like these started in 3.x version already.

    The first thing to try, if you haven't already, is to update your video driver.

  • SQL Developer 1.5 Connection Problems

    Unable to connect to my localhost installation of Oracle 11G in Windows XP environment
    SQLPLUS connections look just fine.
    I went out to the windows registry to verify the Oracle SID.
    The environment ORADLE_SID is set to 'orcl'
    I have tried logging in as HR and as SYS. Both work in SQLPLUS. Neither work in Sql Developer.
    The connection settings I am using are as follows:
    User Name: HR
    Password: HR
    Oracle Tab Settings:
    Role: default
    Connection type: basic
    OS Authentication: unchecked
    Proxy Connection: unchecked
    Hostname: localhost
    Port: 1521
    SID: orcl
    Really appreciate your assistance.
    Thanks,
    Kent

    Kent,
    Does Oracle monitor this? Yup - I am PM for SQL Developer and various team members, like Turloch, also monitor the forum.
    We use thin or thick JDBC drivers to connect to the Oracle Database from SQL Developer, Turloch was trying alternatives. You should be able to connect using the thin JDBC driver, not using tns. (Basic Connection)
    When you try the Basic connection, please can you ensure that the Preference (Tools -> Preferences -> Database- Advanced Parameters) "use OCI/Thick driver" is not selected.
    Instead of localhost, can you insert the IP address of your machine?
    I have one other question - when you installed SQl Developer 1.5, did you install it into a new empty directory?
    Finally, if you have a support contract for the Database, you can contact Metalink and open a SR. There you should be able to track your progress and they can help you get connected.
    Sue
    Oracle SQL Developer
    Product Manager

  • SQL Developer 2.1 font problem

    I have installed Inconsolata.otf (It is an open type font) in both by opensuse and XP boxes. In suse I am able to set Inconsolata font in sqldeveloper but in XP it is not even coming in the font options.
    Can anybody help me with the problem. Please let me know if I need to put some more information.
    Thanks.
    Edited by: user6398080 on ११ जनवरी, २०१० २:२९ अपराह्न

    I have installed Inconsolata.otf (It is an open type font) in both by opensuse and XP boxes. In suse I am able to set Inconsolata font in sqldeveloper but in XP it is not even coming in the font options.
    Can anybody help me with the problem. Please let me know if I need to put some more information.
    Thanks.
    Edited by: user6398080 on ११ जनवरी, २०१० २:२९ अपराह्न

  • SQL developer drop all my network connections

    Hi all,
    I have used different versions of SQL Developer and I have read many forum posts but I cannot find solution for my network problem.
    I can connect to my databases without any problem, but when my session goes to snipped state (due to idle_time setting) after some time ALL my network connections are dropped (e.g. my mail client give me message that cannot connect to the server, my ftp client session is dropped, my ssh session are dropped...). It is horrible because sometime I need connect to my PC remotely and due to this problem I cannot. It is not problem of my PC, I have used 2 different PCs and all is the same. If I don't start SQL Developer, I can have ssh session open for week without any problem.
    Last year I used to start keepalive extension, but is really annoying for every oracle session manualy enable keepalive.
    And when I open 10 db sessions and for one session I forgot click enable keepalive then all my network connections are dropped.
    Yesterday I have installed current version of SQL Developer hoping that the problem is solved but today morning I find all my network sessions dropped (e.g. I need 8 ssh sessions reconnect).
    Does anybody have any idea how to solve this?
    Thanks.
    Marian

    Hi Marian,
    I am not quite sure how using SQL Developer could make all client software accessing the network lose their connections. Do you use some kind of VPN (Virtual Private Network) software? Do you always try to use SQL Developer with the non-Oracle KeepAlive plug-in?
    Maybe local policy imposes some limit on the total number of simultaneous connections (active or inactive) you can have, and it gets exceeded only when you run SQL Developer. Are any other application clients used to access databases from your machine(s)?
    If the real network connection is stable, typically one need only worry about database session time-outs (idle limit reached) or VPN time-outs. I suggest asking for help from someone inside your organization responsible for networks. It seems like something is forcing a VPN disconnect.
    Regards,
    Gary
    SQL Developer Team

  • How to get all tables in oracle sql developer with MS SQLServer

    Hi All,
    I am using microsoft SQL server 2000. For displaying the tables and other stuff i am using oracle SQL developer tool. The problem is when i connect to sql developer with oracle database i can see all the tables in that database. But when i connect to MS SQL server database it is not showing all the tables in that database. I don't know why?.
    i tried doing the samething using another tool called Aqua Data Studio , there i can able to see all the tables in microsoft SQL server 2000.
    do you have any knowledge regarding this, why i am not getting all the tables in oracle sql developer when i connect to microsoft SQL server 2000.

    Same issue here. Haven't found the answer yet..

  • SQL Developer not fetching data tables while writting query

    HI , I have recently started using SQL developer 2.1, the problem i face is that SQL DEVELOPER is not showing the tables names while writting the query, we have more than 5000 tables and each table name cannot be remembered.
    Thanks
    Essa

    I'm using the Mac version of SQL Developer (Version 2.1.1.64 | Build MAIN-64.45) and I'm having similar problems. I'm currently using OS X Snow Leopard.
    The issue does not happen consistently: If I start writing an anonymous block in a new SQL window, the Completion Insight features works well. I can start typing a name of a package (of which there are many in our db) and I'm quickly provided a list matching what I've typed so far. This is also true of variables, functions and procedures within the packages after I type a period following the package name.
    However, if I open an existing package body and start editing, the Completion Insight feature becomes less reliable. If I move my cursor to the beginning of the main block of one of the package body's internal procedures, Completion Insight works. As I move down the package and try to insert new code, Completion Insight stops working. I should note that this package body I'm working with has no errors and compiles fine. I'm not sure what this indicates...whether it's an issue with the editors internal parser or some other issue.
    I'm not sure the best method for starting SQL Developer via the console window on the Mac. I found the following sh file which does launch it from terminal:
    /Applications/SQLDeveloper.app/Contents/MacOS/sqldeveloper.sh
    This does launch the application. As I navigate around and follow the instructions you had given (including ctrl-space) I see no output generated out to the console (errors or other messages).
    I'm happy to assist in further debugging. Having Completion Insight work consistently will certainly increase my productivity with the tool.
    Thanks in advance for any help you may provide.

  • SQL Developer - cannot query collections

    Hi,
    I have a problem with my SQL Developer that cannot query on objects with collections. I get the same error when trying to query these DB objects.
    Error starting at line 1 in command:
    select * from customers
    Error report:
    SQL Error: Fail to construct descriptor: Unable to resolve type "OE.CUST_ADDRESS_TYP"
    However when I am using PL/SQL Developer I have no problem to access the objects.
    I am using SQL Developer Version 2.1.1.64 with the letest jave SDK on windowns XP.
    Please let mw know how to fix it.
    Thanks in advance.

    I already posted my problem in the SQL Developer forum but I see that this forum is more active and many here probably use the SQL Developer so they might know the solution to my problem.

  • SQL Developer cannot read collections

    Hi,
    I have a problem with my SQL Developer that cannot query on objects with collections. I get the same error when trying to query these DB objects.
    Error starting at line 1 in command:
    select * from customers
    Error report:
    SQL Error: Fail to construct descriptor: Unable to resolve type "OE.CUST_ADDRESS_TYP"
    However when I am using PL/SQL Developer I have no problem to access the objects.
    I am using SQL Developer Version 2.1.1.64 with the letest jave SDK on windowns XP.
    Please let mw know how to fix it.
    Thanks in advance.

    I already posted my problem in the SQL Developer forum but I see that this forum is more active and many here probably use the SQL Developer so they might know the solution to my problem.

  • SQL Developer on Linux hangs when disconnecting after VPN reconnect

    Hello,
    I have a problem with using connections after general link failure (Cisco VPN disconnect in my case, lost of route to Oracle DB).
    When I reconnect to a VPN and I'll try to disconnect from a previously opened (before general link failure) connection, I need
    to wait more than 10 minutes to complete this process. SQL Developer is completely unusable during this time.
    Steps to reproduce:
    1. Connect to VPN
    2. Open connection in SQL Developer to host accessible only by this VPN
    3. Restart VPN
    4. Try to do anything with this connection (disconnect, execute sql in opened SQL Worksheet, view tables, etc.)
    This bug is not new in recent versions, I'm using SQL Developer from over 2 years and this bug was always with me. But if I remember correctly in earlier versions (<3.0) I couldn't reuse the connection to execute sql (hanging SQL Developer for more than 10 minutes) but disconnecting would succeed without a problem.
    Maybe SQL Developer should move connection management to separate thread to resolve this issue... or is there another solution?
    I'm using SQL Developer 3.1.07.42 @ Linux 3.0.4
    For VPN connectivity I use vpnc
    When I restart VPN connection I'm loosing TUN interface and all routes.
    I have tested this issue on a few versions of SQL Developer on Windows XP, including 3.1.07. There is no problem with disconnecting after vpn failure on Windows.
    Maybe I should fill some bug report? When I can do such thing? Metalink?
    Best regards,
    Irek Slonina

    Hi Irek,
    Possibly you can resolve this issue by altering the type of the connection that becomes non-responsive upon a VPN reconnect. What type are you currently using: Basic, TNS, etc?
    In this forum thread (for Windows, unfortunately, not Linux), although different from your case, the solution used Thick/OCI driver, not Thin/Basic:
    Windows 7 VPN
    I have no VPN client on Linux (much less vpnc), only Cisco AnyConnect on Win XP, so I cannot test your scenario.
    Regards,
    Gary
    SQL Developer Team

  • Oracle/ SQL Developer connection problem.

    I have installed Oracle 11 g and SQL Developer, When I open SQL Developer and try to make a new connection ( I name the connection, put a user name in, put my password in), I click on "Test" and I get this error:
    Status: Failure - Test failed: Listener refused the connection with the followong error:ORA-12505, TNS: listener does not currently know of SID given in connect descriptor The connection descroptor used by the client was:localhost:1521:ex
    Can anyone explain this to me and help me resolve this issue I am having?
    Thank you in advance for your help
    -steve
    p.s. I have also tried the user name: Scott and Password: Tiger

    Windows 7 Home ... will have challenges at some point, as Oracle may not be completely compatible with Windows 7.
    Aside from that, you may find firewall issues even if you are on the same machine, since the default connection from SQLDeveloper is to use the network (even loopback).
    First step is to verify that the database and listener are running and that the database is registered to the listener. TO do that, drop into command line and issue:
    1) Listener
    lsnrctl statuswhich will give one of two results, if properly installed. First - listener is down
    C:\temp>lsnrctl status
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 07-FEB-2010 20:48
    :13
    Copyright (c) 1991, 2005, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
      TNS-00511: No listener
       32-bit Windows Error: 2: No such file or directory
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=FCC003L)(PORT=1521)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
      TNS-00511: No listener
       32-bit Windows Error: 61: Unknown errorIf the above is displayed, check the Service applet (Control Panel -> Admin Tools > Service) to ensure serivce is up, or enter "lsnrctl start", in which case the status shoud show
    C:\temp>lsnrctl status
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 07-FEB-2010 20:46
    :40
    Copyright (c) 1991, 2005, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Produ
    ction
    Start Date                05-FEB-2010 14:42:10
    Uptime                    2 days 6 hr. 4 min. 30 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Default Service           XE
    Listener Parameter File   C:\oracle\app\oracle\product\10.2.0\server\network\adm
    in\listener.ora
    Listener Log File         C:\oracle\app\oracle\product\10.2.0\server\network\log
    \listener.log
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=FCC003L)(PORT=1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
      Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    C:\temp>2) After the service is verified up, make sure the database is up
    sqlplus / as sysdbawhich should respond with something like
    C:\temp>sqlplus / as sysdba
    SQL*Plus: Release 10.2.0.1.0 - Production on Sun Feb 7 20:43:12 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    SQL>if it gives something like
    C:\temp>sqlplus / as sysdba
    SQL*Plus: Release 10.2.0.1.0 - Production on Sun Feb 7 20:44:49 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    ERROR:
    ORA-12560: TNS:protocol adapter errorthe pull up the Control Panel, Admnistration Tools, Services and start the database. Then recheck the listener and it shoudl show some additional services such as
    Service "PLSExtProc" has 1 instance(s).
      Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "TEST" has 1 instance(s).
      Instance "xe", status READY, has 1 handler(s) for this service...
    Service "XEXDB" has 1 instance(s).
      Instance "xe", status READY, has 1 handler(s) for this service...
    Service "XE_XPT" has 1 instance(s).
      Instance "xe", status READY, has 1 handler(s) for this service...
    Service "xe" has 1 instance(s).
      Instance "xe", status READY, has 1 handler(s) for this service...
    The command completed successfullyIn the above, remember the "xe" from 'Service "xe" has 1 instance(s).'. I expect to see something about that in the TNSNAMES.ORA file in your ORACLE_HOME\network\admin directory. That file should have an entry like
    XE =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = FCC003L)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = XE)
      )and you will note the XE on the left side of the equal sign (which is a network alias), and one XE in the (SERVICE_NAME = XE) line. On YOUR system, the XE should be replaced by whatever you called your database (often 'orcl'). REMEMBER THIS ALIAS;-) and also make note of the host that your entry uses. If your host name changes because of DHCP, you're hooped (for a while).
    If the database is registered (shows up in the list), the next step is to make sure a userid is available. You could use 'system' (try to avoid using SYS since it is the master userid and if you mess that up, you mess up all your homework. In a production encvironment, every access to SYS will be audited.
    So, let's create a userid called me with (in 11g case sensitive) password 'myself'. Make sure that user is allow to log in (create session) and create a table.
    C:\temp>sqlplus system/oracle
    SQL*Plus: Release 10.2.0.1.0 - Production on Sun Feb 7 20:54:38 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    SQL> create user me identified by myself;
    User created.
    SQL> rem to show you how to change password ...
    SQL> alter user me identified by myself account unlock;
    User altered.
    SQL> grant create session, create table to me;
    Grant succeeded.
    SQL> exit
    Disconnected from Oracle Database 10g Express Edition Release 10.2.0.1.0 - Productionand now see whether we can log in using the same 'network' technique we will later use with SQLDeveloper.
    Do you remember the XE discussion above? Replace XE with the one on the left of the equal sign - the system looks that up to find which service it wants to access.
    C:\temp>sqlplus me/myself@XE
    SQL*Plus: Release 10.2.0.1.0 - Production on Sun Feb 7 20:58:26 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    SQL> select * from dual;
    D
    X
    SQL> exit
    Disconnected from Oracle Database 10g Express Edition Release 10.2.0.1.0 - ProductionIf the above worked, you should have no problem accessing the system using SQLDeveloper. You simply use the HOST, the PORT and the SID (alias) or service from the "lsnrctl status" output in the SQLDeveloper fields.
    If it did not work, try dropping the "@XE" to see whether you can get in (using the bequeath connection) which is useful for troubleshooting but will not help with the traditional SQLDeveloper connection. If you get in without the @XE (or whatever your alias is) but not with it, most likely either your listener is not up or your firewall is blocking the access to the listener.

  • Why does SQL Developer sometimes not allow me to "Disconnect"?

    Sometimes when I'm ready to close SQL Developer, I try to get out gracefully, but the "Disconnect" option for the only connection I have open is greyed out. Why? The only option I know then is to close SQL Developer by clicking the "x" in the upper, right corner.
    My version of SQL Developer is a bit old: I have SQL Developer 2.1.0.63. We have an Oracle11.1.0.7 database. I have a 64-bit Windows7 desktop. I think my Java version is also a bit old, but it seems to be compatible with the EBS R12.0.6 application that I need to support. I'm not a Java expert. If I go to a C:\ prompt, and type: "java -version", It returns: "1.4.2_04".

    Actually, I think the link Alessandro posted is helpful. I cannot reproduce the behavior on Win XP, but can on Linux (somewhat). That is, Properties gets greyed out at times, but not Disconnect or Apply Filter. Retrying the right-click resolves the problem, as he notes.
    So I assume my point (1) would be more nearly correct if restated as "Bug or timing issue".
    As for (3), I really cannot give a good example. If I open a Tool menu item like Monitor SQL or Monitor Sessions on, say, the SYSTEM user, the Disconnect option is not greyed out and if used will close all the open windows for that connection. If I run Debug on a package/procedure/function, Disconnect also remains enabled. Clicking on it produces a "Cannot Disconnect" dialog warning with this text: "The database connection cannot be closed while an active debugging session exists". Perhaps I'm mistaken entirely, or just confused after seeing that behavior on some older version of SQL Developer
    -Gary

Maybe you are looking for