Solved

oacle connection

Posted on 2008-10-21
2
320 Views
Last Modified: 2013-12-19
i am developing a web and desktop application which connects to the oracle database remotely. it connects ok. But gets disconnected very often with out error, both client and severs is windows 2003 currently.
0
Comment
Question by:EE_Navigator
2 Comments
 
LVL 6

Expert Comment

by:divyeshhdoshi
Comment Utility
increase connection timeout of connection object.

When u are executing query then check it is in open state
if Yes 1) Execute query
if No 2) Reopen connection and execute query.

0
 
LVL 2

Accepted Solution

by:
barfi earned 500 total points
Comment Utility
I found this at following link:(I hope it helps)

http://www.dba-oracle.com/t_connect_time_idle_expire_timeout.htmT

he sqlnet.ora inbound_connect_timeout parameter
The sqlnet.ora inbound_connect_timeout parameter is used to limit the time, set in seconds, for a client to connect with the database server and provide the required authentication information.

As we have all seen with recent worm and virus attacks, unauthorized access to a system service such as the Listener or database server can result in denial-of-service attacks. In a denial-of-service attack, an unauthorized client attempts to block the authorized users ability to access the system. Malicious clients or hackers may attempt to flood the Listener or database server with bogus connect requests solely to consume resources, such as connections, processes, or threads.

To minimize the effect of denial-of-service attacks, you should configure limits that constrain the time in which resources can be held prior to authentication. In this way, client attempts to exceed the configured limits will result in connection terminations and an audit trail containing the IP address of the client being logged.

To limit consumption of Oracle 10gs resources by unauthorized users and enable an audit trail, you should set time-limit values for the sqlnet.inbound_connect_timeout parameter described previously. (This parameter does not have default values.)

Bugs
Bug (2441734) which is port-specific to Windows where setting SQLNET.EXPIRE_TIME wastes stack memory reducing the total number of connections which can be achieved. It is fixed in Oracle10i and included in the 9.2.0.3 patchset release. The workaround is to set SQLNET.EXPIRE_TIME = 0 or remove it from sqlnet.ora

0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Note: this article covers simple compression. Oracle introduced in version 11g release 2 a new feature called Advanced Compression which is not covered here. General principle of Oracle compression Oracle compression is a way of reducing the d…
Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

743 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now