Oracle10g DB connections are reset automatically

Hi All,
I am using Oracle 10g thin driver with Oracle 10g R1. I have made a customized db connection pool which I use as required to get a db connection. At times the connections in the conn pool remain idle for more than 1-2 hours. After this time, if I require an idle db connection object from the pool, it fails to work and I have to recreate a db object in the connection pool.
The exception I get is:
java.sql.SQLException: Eccezione IO: Connection reset by peer: JVM_recv in socket input stream read
     at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:111)
     at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:145)
     at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:254)
     at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatemen
At different forums its stated that the firewall could destroy the already created db connections OR Oracle might close idle connections. Is there any settings in Oracle 10g to stop closing idle connections if this is the case.
Regards,
Atiq

This is I had to do: on the database server, find the sqlnet.ora file. It’s usually in Oracle Home\Network\Admin. Update it by added the following line:
SQLNET.EXPIRE_TIME = 10
This value is in minutes. It will send s probe every 10 minutes to check each connection. If there is no response, then Oracle will kill the session on in the database. This will also keep the good sessions alive just by the activity thru the connections. So, if there is something (like a firewall) that is killing idle sessions, this should keep them alive.
This may help your situation, I’m not sure.

Similar Messages

  • Some of my newly saved contacts get deleted automatically... And specialised ringtones for my contacts are reset to default.. It happens quite often..

    Its been not even a month since i bought my new iPhone 5...
    Some of my newly saved contacts are automatically deleted..
    Contact photos that are saved automatically get deleted...
    Specialised ringtones for some of my contacts are reset to default sometimes without any warning...
    It happens quite often
    I find it irksome...
    Can anyone help me out

    Its been not even a month since i bought my new iPhone 5...
    Some of my newly saved contacts are automatically deleted..
    Contact photos that are saved automatically get deleted...
    Specialised ringtones for some of my contacts are reset to default sometimes without any warning...
    It happens quite often
    I find it irksome...
    Can anyone help me out

  • Why 9 connections are automatically created per one jms topic?

    Why 9 connections are automatically created per one jms topic?
    Is it possible for one topic to have one connection, rather nine connecions?
    If so, any drag concerning having one connection of one topic?
    Let me know asap, it would be really appreciated.
    <code>
    public void connectJMS() {
    try {
    if (RTConst.getInstance().getConnectMode() != RTConst.NOTCONNECT) {
    targetTCF = ServerDelegate.getTopicFactoryComm();
    targetT = ServerDelegate.getTopicNameComm();
    connection = targetTCF.createTopicConnection();
    session = connection.createTopicSession(false, Session.AUTO_ACKNOWLEDGE);
    topicSubscriber = session.createSubscriber(targetT);
    topicSubscriber.setMessageListener(this);
    connection.start();
    System.out.println("[CommJMSReceiver] Common Topic Connection successed");
    } catch (Exception ex) {
    System.out.println("[CommJMSReceiver] Common Topic Connection failed");
    ex.printStackTrace();
    </code>
    Message was edited by:
    PaulSheldonII_Screen

    Why 9 connections are automatically created per one jms topic?
    Is it possible for one topic to have one connection, rather nine connecions?
    If so, any drag concerning having one connection of one topic?
    Let me know asap, it would be really appreciated.
    <code>
    public void connectJMS() {
    try {
    if (RTConst.getInstance().getConnectMode() != RTConst.NOTCONNECT) {
    targetTCF = ServerDelegate.getTopicFactoryComm();
    targetT = ServerDelegate.getTopicNameComm();
    connection = targetTCF.createTopicConnection();
    session = connection.createTopicSession(false, Session.AUTO_ACKNOWLEDGE);
    topicSubscriber = session.createSubscriber(targetT);
    topicSubscriber.setMessageListener(this);
    connection.start();
    System.out.println("[CommJMSReceiver] Common Topic Connection successed");
    } catch (Exception ex) {
    System.out.println("[CommJMSReceiver] Common Topic Connection failed");
    ex.printStackTrace();
    </code>
    Message was edited by:
    PaulSheldonII_Screen

  • The connection was reset whilst the page was loading

    For the last 4 days i've been unable to connect to IGN ever since their server went down for about 5 minutes. I keep getting "The connection was reset whilst the page was loading."
    I've cleared my recent history, cookies and even rebooted my computer and modem. I don't know what else to do in order to get IGN to work again, I know it isn't down... just no way it would be down 4+ days even if it was currently down as of typing (which it isn't). What else can I do in order to get it working again? This also happens on all browsers, not just Firefox.
    Thanks

    The site is live.
    In Firefox '''Tools''' ('''Alt''' + '''T''') > '''Options''' > '''Advanced''' > '''Network''' > '''Settings''', please try selecting '''No Proxy''', if anything else is selected.
    Also, check if you can do a '''tracert ign.com''' in a command window (Windows key + '''R''', type '''cmd''' and '''OK'''). If there are errors the ISP may be blocking the site.
    Please also check your current IP address:
    http://ip-blacklist.e-dns.org/
    http://whatismyipaddress.com/blacklist-check
    (you may have automatically inherited a bad address inadvertently)

  • Hi, I am trying to update an iPhone 4 from iOS 4.3.3 to iOS 7.0.4, and every time I try to update it comes up with an error message saying that there was a problem because the network connection was reset. Is there any way I can get past this and update?

    The full message said:
    There was a problem downloading the software for the iPhone "Judy's iPhone 4". The network connection was reset.
    Make sure your network settings are correct and your network connection is active, or try again later.
    I am trying to update the iPhone for my grandmother, Judy, as I am leaving for Paris on Wednesday night and we want to have Facetime installed on her iPhone before then, so we can stay in contact with each other. It is the simplest way for this to happen but the program simply will not allow me to update her iPhone.
    Is there any way to get past this error and update her iPhone? Any help will be greatly appreciated.

    Dear Jody..jone5
    Good for you that can't update your iphone because I did it and my iphone dosen't work for example I can't download any app like Wecaht or Twitter..
    Goodluck
    Atousa

  • ITunes Store Error Message: "network connection was reset"

    I've been having trouble connecting to the iTunes Store since Dec. 25, 2006. The last time I was able to connect to the site was Jan. 2, 2007!
    The error message that I have been receiving is: "iTunes could not connect to the iTunes Store. The network connection was reset."
    Here are the troubleshooting issues that I have already performed.
    1) Ensured that my internet connection was active.
    2) Checked to make sure Windows XP Service Pack Updates were compatible. No problems with the firewall detected.
    3) Have the latest version (7.02.16) of iTunes.
    4) iPod software is up to date.
    5) Ran iTunes diagnostics which states:
    Windows Firewall is on.
    iTunes is enabled in Windows Firewall.
    Connection attempt to Apple web site was unsuccessful.
    The network connection was reset.
    Connection attempt to iTunes Store was unsuccessful.
    The network connection was reset.
    Secure connection attempt to iTunes Store was successful.
    Does anyone have this problem? Can anyone recommend a solution that worked for them?
    Sony   Windows XP  

    PS: I also went into Internet Explorer...
    Selected Tools, selected Internet options, then selected Advanced Tab
    Then I looked for the security section and made sure that SSL 2.0 was selected.
    I was still unable to access iTunes Store.

  • I have lost the ability to upload files to a website. I have to transfer files from my computer to a web site and I get an error message "connection was reset" and the file will not upload. I try to transfer pictures and I get the same message.

    I have to upload a scanned receipt to a website and I get the error message "connection was reset". I have uploaded these receipt for two years and last week I have had to use another browser to complete this operation. I connect to the website and do the report I must do, but I can no longer upload to this site.

    Are you using any additional software for the uploading?
    Try using Firefox in [[safe mode]] when you upload. There is no need to make changes when you see the option. Disable all plugins whilst in safe mode. Then try the uploads.
    You mention [/questions/921993 elsethread] that it is a work site. Have you contacted your IT department. One possibility is that the site is not recognising Firefox 10.
    (One temporary workaround and troubleshhooting test would be to install Firefox3.6.27 [http://portableapps.com/news/2012-02-01_-_firefox_portable_3.6.26_released portable] as an additional browser and try that.)

  • Experiencing near-constant the connection was reset error.

    For about the last 3 months, I've had two seemingly-related problems: 1] "The connection was reset/interrupted" error; and 2] web pages loading in a primitive, odd-looking form. Both used to occur every once in a while, but now they're near-constant, to the point that doing anything online is at best a struggle and at worst impossible. The error is especially bad: makes it extremely difficult to reach a web page, load it completely, or do anything should I ever get there (searches, clicking links, etc.). Might be even worse with some sites than others, but it's hard to tell-- seems pretty bad wherever I go on the web. As far as I can tell, this started when I was still using Waterfox, and updated to 32.0.3; I recently switched back to Firefox in hopes of escaping it, but found the same thing happening there. I've tried the suggestions given in the forums (like clearing the cache, removing cookies, pressing Shift while reloading, pressing Ctrl + F5 [for Windows], etc.), as well as uninstalling and re-installing Waterfox, but nothing works. Since my own computer skills are modest at best, I've pretty much run out of troubleshooting options at this point. What I'm looking for is a solution to this, rather than just ways of coping with it. Does anyone know what's wrong and how to fix it? Will it be solved by the next Firefox update? And is there another browser you can recommend as a replacement for Firefox? I'm really at the end of my rope here; please help!
    As of 02/26/15, still having the same problem. I've tried scanning for malware (didn't find any) and configuring Windows firewall for Firefox (made no difference). I've noticed that there's a more accurate description for what I'm experiencing than the one I originally posted: web pages can rarely finish loading anymore, unless they're very short (and often not even then)-- if I wait for them to do so, the error usually occurs. Some are usable if I stop the loading process before the error shows up, but many (most?) won't work that way (not enough ever makes it onscreen). Seems like this site is largely unaffected, but places like rogerebert.com or TV Tropes are pretty much inaccessible to me now. Is anybody still interested in helping me solve this? Because I'm about ready to give up on Firefox for good at this point. Please save me from resorting to Google Chrome or, god forbid, Internet Explorer!

    ''iamjayakumars [[#answer-685843|said]]''
    <blockquote>
    What security software (firewall, anti-virus) do you have? <br>
    It is possible that your security software (firewall, anti-virus) blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program. <br>
    Remove all rules for Firefox and the plugin-container from the permissions list in the firewall and let your firewall ask again for permission to get full, unrestricted, access to install for Firefox and the plugin-container process and the updater process. <br>
    See: <br>
    *https://support.mozilla.org/kb/Server+not+found
    *https://support.mozilla.org/kb/Firewalls
    *https://support.mozilla.org/kb/fix-problems-connecting-websites-after-updating
    </blockquote>
    Re: my security software: I use Windows Firewall and Microsoft Security Essentials (also Malwarebytes Anti-Malware, if that helps).
    I've now tried the above link's instructions for configuring Windows Firewall to allow Firefox access. It may have helped slightly with the error (which seems to be happening a bit less often); however, the primitive-looking-web-page problem is if anything worse, pages are INCREDIBLY slow to load, and the error remains frequent (can't tell if this possible respite is just temporary, or even mere wishful thinking on my part). In any case, though, my original problem hasn't been solved yet.

  • External and internal mikes are not automatically switching over either recording or on voice calls

    My laptop model name is HP Pavilion dv4-1100ea which is shipped with Vista Home premium 32 bits and has got service pack 1.
    Restored the laptop to factory setting since then I am having the following problems; I had the same problem when my laptop was brand new and whenever I reset the laptop to factory setting I get the following problems:
    1. External and internal mikes are not automatically switching over either in middle of the recording using sound recorder or while the call in progress on voice calls (skype):
       Using the sound recorder if I start recording the sound with external  mike  and in-between  recording if I  switchover from external mike to inbuilt mike and later on when I play back I can only hear the sound  up till where I used the external mike during recording, after the switchover to inbuilt mike I cant hear any sound.
       But if I start the recording with inbuilt mike and in between recording  if I plug in  the external mike and later on when I play back I can only hear the sound up till where I used the inbuilt mike during recording , after the switchover to external mike I cant hear any sound.
       So in brief both my external and internal mikes are working fine, only problem is that if I start recording (using sound recorder) or voice call with one specific mike, I have to continue with it till the end. I can’t switchover to another mike in between the conversation (voice call) or recording, if I do so, I have to select the mike manually in chat software but while recording I cant even select manually because in laptop, it takes the mike whichever is in current use as default mike in recording tab(sound window). The green tick automatically (in recording device tab) switches over according to the use of mike. Though the green tick in the recording tab is switching over automatically according to use of mikes, its not picking up the sound after switch over during recording.
    2. And also when I click on recording device tab in sound window and plug in external mike, though the green tick automatically switchovers from internal to external mike, while I speak both internal and external mikes volume meter respond to the sound inputs by rising and falling but if I take out external mike, green tick goes to internal mike and when I speak only internal mike volume meter respond to sound rising up and down not the external mike.
    To resolve the issue I have tried following steps with no luck:
    1.I have checked the mikes(internal and external) properties, the both mike shows to be enabled in general tab, in level tab the volume is set to 100 and in advanced tab , all options are selected.
    2. In device manager I have got only one audio driver named as “IDT High definition Audio CODEC”. I have uninstalled the audio driver and reinstalled it using scan for hardware option
    3. Uninstalled the audio driver in device manager and reinstalled the audio driver using recovery manager > advanced option> hardware driver re-installation.
    3. I have updated the BIOS(Insyde F.65, 12/02/2010).
    4. I tried to update the audio driver using below link but things went more worse so I did system restore (not factory setting though).
    http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=ob-67051-1&lc=en&dlc=en&cc=us&...

    Sounds like you need to upgrade to the iPhone 5s
    The 5s has Touch ID
    You can unlock your phone with your finger instead of typing in a key code
    No swiping to unlock either, just touch the home button
    You can enrol multiple fingers as well
    Here is a video of it in action
    http://www.apple.com/iphone-5s/videos/#video-touch
    Or wait and see what iPhone 6 has to offer
    That being said, as desiel vdub posted if the phone is up to your face, the proximity sensor should turn the screen off
    And when you lower the phone turn it back on again
    Not sure about the phone locking when your on a call doesn't sound right

  • Cannot connect to the iTunes store. The network connection was reset.

    My iTunes has been messed up since August 17th. I am getting the error message; "Cannot connect to the iTunes Store. The network connection was reset. Make sure your network connection is active and try again." I am having no issues connecting to the internet or even receiving my podcasts. It just won't download my TV shows or let me shop. I have contacted Hewlett Pack. about this and iTunes/apple. No one seems to have an answer for me. I have disabled my firewalls, norton, done msconfig, allowed iTunes, everything. I am very frustrated and so are others that seem to be having this same problem. We need a genius!! Please help!

    I suspect a location-driven problem here. I live in SHanghai, China - as does the poster above! I have this problem on three different computers using three different ISPs.
    Anybody got a suggestion? Tried firewalls, turning off virus production, reinstalling iTunes, putting phobos.apple.com and such in the permitted list, all sorts of stuff, to no avail. And Apple help support just bounces me around - I've interacted via email with three people, finally graduated to a real person, and they sent me back to email when the usual "reboot your machine and reinstall iTunes, then turn off virus protection" didn't work.
    Bill Parr
    [email protected]

  • ITunes store will not update my apps: "The network connection was reset."

    Why can't I update my apps as usual?  I suddenly keep getting the message "There was a problem downloading [name of application].  The network connection was reset." 

    De nada amigo.
    Thank You for extending the courtesy of awarding points to comments that are helpful or provide answers in the Apple Support Communities, as this is not mandatory, but it is much appreciated!

  • Network connection was reset store does not connect

    there was a change of dns server for my iTunes store and not go over the followingmessage: network connection was reset store does not connect, what can I do to fix it my pc is an xp professional.

    Do you have Norton AntiVirus? It could be that Norton is blocking iTunes from working because it considers iTunes a virus. If you think this is the problem, only uninstall Norton if you have your account information or if you are willing to buy a different AntiVirus program.

  • I cannot upload photos into a web site-no problems with previous versions of firefox or IE(get error message The connection was reset)

    I edit a web site set up by Joomla.
    I copy & paste text to it and upload photographs.
    I have been doing this successfully for months
    but starting yesterday adding text is OK but when I try to upload a photo there is a delay of 3-4 minutes and then an error message saying "The connection was reset"

    Your plugins list shows two Flash plugins and other outdated plugin(s) with known security and stability risks.
    # Shockwave Flash 10.0 r45
    # Shockwave Flash 10.1 r53
    # Adobe Shockwave for Director Netscape plug-in, version 11.0
    # Next Generation Java Plug-in 1.6.0_19 for Mozilla browsers
    Flash Player uninstall: http://www.adobe.com/go/tn_14157 (this will remove the Firefox Flash plugin and the ActiveX control for IE)
    Update the [[Flash]] and [[Shockwave|Shockwave for Director]] plugin to the latest version.
    *http://www.adobe.com/software/flash/about/
    *http://www.adobe.com/shockwave/welcome/
    *http://www.adobe.com/downloads/
    Update the [[Java]] plugin to the latest version.
    *http://java.sun.com/javase/downloads/index.jsp (Java Platform: Download JRE)
    Do a malware check with a few malware scan programs.<br />
    You need to use all programs because each detects different malware.<br />
    Make sure that you update each program to get the latest version of the database.
    *http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    *http://www.superantispyware.com/ - SuperAntispyware
    *http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    *http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
    *http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    See also "Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked and [[Searches are redirected to another site]]

  • Why do I get the error message saying "connection was reset"?

    I get this message every once in a while. I have to restart my computer to fix this issue, temporarily.
    I says "'''The connection was reset'' The connection to the server was reset while page was loading.
    I have no know ISP issues.

    Usually that is a sign that there is a problem with Firefox's cache. Here are some instructions for [[Error loading web sites#w_the-problem-only-happens-with-certain-websites|clearing Firefox's cookies and cache]].

  • Itunes says that my network connection was reset how do I fix it?

    So I can get Itunes to open but when I try and connect to the store it says your network connection was reset please make sure you're network connection is active and try again. But me r my brother can get it to work. what can we do?

    Hello courtneyfromcan,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at:
    Can't connect to the iTunes Store
    http://support.apple.com/kb/TS1368
    Troubleshoot issues in Windows
    If you haven't been able to connect to the iTunes Store for more than a day (and other customers on our discussion boards aren't experiencing similar issues) a software or Internet service provider (ISP) configuration issue may be blocking your access to the iTunes Store. Find out which ports and servers need to be allowed for iTunes Store access.
    Update iTunes to the latest version.
    If iTunes Store appears empty and only displays the message iTunes Store, follow these steps.
    Try the steps to troubleshoot iTunes Store connectivity in Windows.
    As with all firewalls not manufactured by Apple, you may need to configure Windows Firewall to allow iTunes to access the iTunes Store. Follow these steps for Windows XP, Windows Vista, and Windows 7.
    Try disabling any proxies built-in to Wndows. You should avoid proxies because they can cause issues.
    If you're receiving a specific error message, follow these steps.
    If the issue still persists, contact your Internet service provider and confirm that these ports and servers are enabled over your network.
    Best of luck,
    Mario

Maybe you are looking for