SQL Developer database connection keeps closing

Posted on 2014-03-18
Last Modified: 2014-05-04
I use SQL Developer connected to my companies database over vpn.  It seems like a database connection must be reconnected if there is no activity in 30 minutes, it drives me crazy!  I can leave Toad for SQL Server connections open for hours without having to reconnect.

Are there any settings I can change in SQL Developer to extent the connection time?

Also I use connection type 'Basic' and do not have the Oracle Client installed on my desktop.

Question by:gantone1
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
  • +2
LVL 38

Expert Comment

by:Gerwin Jansen, EE MVE
ID: 39938236
You could turning DBMS output on and setting the polling frequency to once every minute or so.
LVL 29

Expert Comment

ID: 39938252
1) Check out if the database is using resource manager and "disconnecting" you.
2) Check out if listener is disconnecting you, check SQLNET.EXPIRE_TIME in the sqlnet.ora file at the server.
LVL 37

Expert Comment

by:Geert Gruwez
ID: 39939141
check if the firewall disconnects idle connections after 30 minutes
Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

LVL 12

Expert Comment

by:Praveen Kumar Chandrashekatr
ID: 39942331
As MikeOM mentioned check if you any resource manager configured in which ideal timeout as set which is logging you off or the Firewall is enabled.

Author Comment

ID: 39973558
Per our IT staff I have Windows Firewall turned off and we use Mcaffee VirusScan Enterprise + AntiSpyware Enterprise 8.8.

Is there a firewall within MCaffee and if so how is that configured?
LVL 12

Expert Comment

by:Praveen Kumar Chandrashekatr
ID: 39974688
I think McAfee may be blocking the port which you are trying to access or it would have set some timeout , can you check with your IT team the same.  

Also you can crosscheck the same by disabling the McAfee software and connecting to database.

Author Comment

ID: 39992358
I disabled MCaffee and am still getting database timeout.  Maybe this is within our VPN?
LVL 38

Accepted Solution

Gerwin Jansen, EE MVE earned 500 total points
ID: 39992799
@gantone1 - You've only replied to the firewall comments give, not the other ones. Did you try the other suggestions as well?

Author Closing Comment

ID: 40041189
Could not get it to work, switched to Toad and it does much better job re-connecting so I can live with disconnect.

Featured Post

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Function to return one result based on data in first query 11 60
oracle DR - data guard failover. 18 70
SQL Syntax Question 9 52
Oracle Join issue. 3 42
Working with Network Access Control Lists in Oracle 11g (part 2) Part 1: Previously, I introduced the basics of network ACL's including how to create, delete and modify entries to allow and deny access.  For many…
Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question