SQLException:Connection timed out- after upgrading from oracle9i to 10g

Hi,
Recently we upgraded from oracle 9i to 10g.
We are using Oracle JDBC Driver version - 10.1.0.5.0 .
In the application, when RMI server starts, the connectionpool (developed using stack) will be filled with 10 instances of fresh connections.
After keeping the RMI server idle for some time ( >24 hours ) , the first transaction sent to the Database (using the connection instance popped out from stack(connectionpool) ) terminates with following exception and from the second transaction onwards everything works normally.
Exception------
java.sql.SQLException: Io exception: Connection timed out
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:162)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:274)
at oracle.jdbc.driver.T4CStatement.execute_for_describe(T4CStatement.java:443)
at oracle.jdbc.driver.OracleStatement.execute_maybe_describe(OracleStatement.java:942)
at oracle.jdbc.driver.T4CStatement.execute_maybe_describe(T4CStatement.java:463)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1037)
at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1183)
at util.DatabaseManager.fetchData(DatabaseManager.java:255)
at util.TextRequestImpl.presentText(TextRequestImpl.java:105)
at util.TextRequestServer.presentText(TextRequestServer.java:146)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
at sun.rmi.transport.Transport$1.run(Transport.java:148)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.sql.SQLException: Io exception: Connection timed out
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:162)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:274)
at oracle.jdbc.driver.T4CStatement.execute_for_describe(T4CStatement.java:443)
at oracle.jdbc.driver.OracleStatement.execute_maybe_describe(OracleStatement.java:942)
at oracle.jdbc.driver.T4CStatement.execute_maybe_describe(T4CStatement.java:463)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1037)
at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1183)
at util.DatabaseManager.fetchData(DatabaseManager.java:255)
... 13 more
If am connecting to oracle9i(with Oracle JDBC Driver version - 9.0.2.0.0) ,everything works fine.
Can anyone help me out to solve this issue?

I attempted several upgrades and we decided it was better to implement the content under 10g fresh rather than attempt an upgrade.
After 3-5 attempts through patching non of them provided us with re-produceable steps and we had different errors each time - mind you this was a few months back after initial release of upgrade patches.

Similar Messages

  • My itunes is up to date on windows vista but my iphone 3gs wont download the new 4.3 sofeware saying that network connection timed out after downloading for 7 minutes. can anyone help?

    my itunes is up to date on windows vista but my iphone 3gs wont download the new 4.3 sofeware saying that network connection timed out after downloading for 7 minutes. can anyone help?

    I have manage to update. You need to disable windows firewall and
    You have any other anti virus (I have kaspersky) you need to disable that as well

  • Update to Muse CC 2014.3 still have problem upload to FTP: Server not responding in time, FTP may not be supported on this server [Connection timed out after 15001 millseconds.] I have no problem with CC 2014. Can you suggest what do I have to do?

    Update to Muse CC 2014.3 still have problem upload to FTP: Server not responding in time, FTP may not be supported on this server [Connection timed out after 15001 millseconds.] I have no problem with CC 2014. Can you suggest what do I have to do?

    Hello.
    Today I got the opportunity to work with a Muse user with the same issue after performing the troubleshooting steps in the post above we decided to contact the host.
    Later i came to know that host took Muse user's IP and they were able to unblock it and muse started connecting to FTP host.
    I another scenario Host suggested Muse user to add :21 to the FTP address and then Muse was able to connect.
    Eg    ftp.domain.com:21
    Please try the 2 suggestion above and let me know if it works.
    Regards
    Vivek

  • "Local connection timed out after 120000"

    My Twitter and Facebook both won't refresh and i get a message saying "Local connection timed out after 120000"
    how do I fix this??

    i'm trying to figure this out myself at the moment.. its soo weird .. did u get it sorted by any chance

  • Re: 907 Invalid COD Local connection timed out after ~ 120000

    I tried to download facebook, it just said “907 Invalid COD
    Local connection timed out after ~ 120000”
    I really need it with all of my heart, can anyone pls help me out?????

    its a network issue most likely.
    feel free to press the like button on the right side to thank the user that helped you.
    please mark posts as solved if you found a solution.
    @SimonHain on twitter

  • Sorting issue after upgrade from 9i to 10g

    Dear all,
    It is found that the sorting behavior is different after upgrade from 9i to 10g.
    In 9i, even if the SQL statement does not specify the ORDER BY clause, the sorting order is consistent for a particular SQL statement and most likely the sequence follows the searched key fields' order.
    After upgrade to 10g, the query output could vary as long as the SQL statement does not specify the ORDER BY clause.
    Is it due to the Reverse Docid Sorting issue? How can I troubleshoot this issue?
    Thanks for your help,
    M.T.

    903714 wrote:
    Dear all,
    It is found that the sorting behavior is different after upgrade from 9i to 10g.
    In 9i, even if the SQL statement does not specify the ORDER BY clause, the sorting order is consistent for a particular SQL statement and most likely the sequence follows the searched key fields' order.
    After upgrade to 10g, the query output could vary as long as the SQL statement does not specify the ORDER BY clause.
    Is it due to the Reverse Docid Sorting issue? How can I troubleshoot this issue?
    Thanks for your help,
    M.T. This is expected behavior in 10g. Oracle will not order the dataset for you unless and until you explicitly specify it.
    So without using order by clause in 10g, oracle doesn't guarantee that rows will be ordered.
    To go back to old behavior like 9i, you can set a workaround by
    alter session set "_newsort_enabled"=false;
    Also see MOS - Order Of Data Retrieval Differs after upgrading 9i To 10g [ID 456707.1]

  • Network Connection Timed Out when downloading from...

    I have only had BT broadband for a few months but am regretting it due to the huge number of dropouts I have - lose connection many times daily which is a big pain as I rely on this for my work.
    One specific problem that has reared its head recently is if I try to download latest iphone upgrade from Itunes then after about 30 seconds it fails with "Network Connection Timed Out' and the connection breaks. This happens every time I try.
    Also sometimes when I access sites I get TCP Network Error.
    I know these problems are to do with the BTHub Router because if I switch to using my old Netgear Router which is still running on another line in the house (I need the backup as BT fails so often) then all works fine.
    Can anybody help - or should I just throw it all away and try another provider?

    Hi can youplease do the following
    1 Bt quiet line test dial 17070 option 2 you should hear no noise any thing heard should be reported to Bt faults on 151 but do not mention broadband when you call once any noise is removed broadband should improve
    2 run a Bt speed test speedtester.bt.com andpost back here the results in full
    3 obtain your full hub stats byentering 192.168.1.254 into to your browser address bar and navigating to connection and post the full details back here then someone will be able to offer more help about your connection
    If you want to say thanks for a helpful answer,please click on the Ratings star on the left-hand side If the reply answers your question then please mark as ’Mark as Accepted Solution’

  • Remote Desktop Connection stop working after upgrade from 10.5.8 to 10.6.1

    I too could not connect to a W2K3 server with RDC 2.0.1 after upgrading from Mac OS X, 10.5.8 to 10.6/10.6.1. I have another Mac which is on 10.5.8 and connect fine with the same version of RDC 2.0.1 as well as other PC with Terminal Service Clients.
    There is no change on the server side. I have uninstalled and reinstalled RDC 2.0.1 several time and it did not resolve the issue. To rule out firewall/network, I tested with another remote desktop application called CoRD (for Mac) on the same laptop running SL 10.6.1 and it connected to the same W2K3 server fine.
    One thing that is worth mentioning (in my case), when it does not connect, RDC totally quit (not running anymore. Not minimize, no cannot connect error message, no little dot on the Dock for RDC, nothing) right after I put in the credential in. When looking at the log entries that are related to RDC in the Console application, I see the following
    machine 10.6.1. with RDC 2.0.1 (non-working)
    9/22/09 1:17:16 PM [0x0-0x3a03a].com.microsoft.rdc[468] objc[468]: Class NLAssertionHandler is implemented in both /Applications/Remote Desktop Connection.app/Contents/MacOS/../Frameworks/Netlib.framework/Versions/12/Netlib and /Applications/Remote Desktop Connection.app/Contents/MacOS/../Frameworks/RDCPAL.framework/Versions/12/RDCPAL . One of the two will be used. Which one is undefined.
    On the 10.5.8 machine with RDC 2.0.1 (working), I see the following entries
    9/22/09 1:13:23 PM [0x0-0x24f24f].com.microsoft.rdc[5502] objc[5502]: Class NLAssertionHandler is implemented in both /Applications/Remote Desktop Connection.app/Contents/MacOS/../Frameworks/Netlib.framework/Versions/12/Netlib and /Applications/Remote Desktop Connection.app/Contents/MacOS/../Frameworks/RDCPAL.framework/Versions/12/RDCPAL . Using implementation from /Applications/Remote Desktop Connection.app/Contents/MacOS/../Frameworks/RDCPAL.framework/Versions/12/RDCPAL .
    9/22/09 1:13:39 PM Remote Desktop Connection[5502] * _NSAutoreleaseNoPool(): Object 0x16a25c20 of class NSCFArray autoreleased with no pool in place - just leaking
    Stack: (0x9277af4f 0x92687432 0x93062bf5 0x926ce0fb 0x9723dff5 0x9268d52c 0x92fd447a 0x92fd4753 0x92fd4a48 0x930375da 0x530bac 0x4831a2 0x483750 0x483c0b 0x47a811 0x4796ac 0x485dad 0x47d475 0x5099dc 0x574c70 0x4ade03 0x4ae65d 0x4ae6f7 0x4ac8dd 0x53260c 0x534187 0x4ae76a 0x4ae7d0 0x4ae88e 0x493925 0x4ae13d 0x533b1a 0x53da6c 0x94a48057 0x934b3155 0x934b3012)
    Any help would be appreciated

    Doing some more troubleshooting after my post above as I saw a couple of entries referencing Stop Light keep popping up in the log of the Console. I removed Stoplight and Cocoa Gesture (for good meausre) and RDC 2.0.1 started working. I think it is Stop Light which causes RDC stop working, but I don't have to time right now to put Cocoa Gesture back to confirm that. I might if I have the time or post here if you have Stop Light installed as well and removing it resolved the RDC issue for you.

  • HP Media Center PC m1050e - Can't connect to internet after upgrade from XP to Windows 7

    My desktop PC with Windows 7 will not connect to the internet after upgrading from XP to Windows 7 Home Premium.  This upgrade actually required saving files and a fresh install of Windows 7.  When getting Router support help to load a new driver, I keep getting a an error message "Realtek Network Contoller Was Not Found".  They say it's an issue that HP will need to help resolve.  Can anyone help?
    This question was solved.
    View Solution.

    Thank you very much for your help.  I will look into the two options you gave me.

  • The optimizer changed after upgrade from 8i to 10g

    I have upgraded my Oracle database from 8i (8.1.7.3) to 10g (10.2.0.3). After upgraded, there's some SQLs are with performance issue that the response time is very slow. The SQL can run very fast (around 1 seconde) in the pre-upgrade environment. Also, after generating the execution plan, there's different from the original enivronment (8i) which the query using some full table scan instead of index scan originally used in 8i.
    The optimizer_mode of 8i is RULE and it's CHOOSE when upgraded.
    My questions are:
    1. Do I have any init.ora parameters setting in 10g environment which differ from 8i?
    2. What method of analyzing tables is appropriate to use in 10g? Will this affect the performance like my case?
    Thanks,
    Wai

    Please have a look to following threads:
    Re: Optimizer Statistics collection after upgrade from 8i to 10R2
    Re: DB upgrade from oracle 8.1.7 to oracle 10.2.0.2

  • Tag not being created after upgrade from 9i to 10g

    We're upgrading from 9i to 10g - about time - and we've hit some "unexpected behaviour".
    If I run
        SELECT  xmlelement("TestMsg",
                        XMLFOREST(m.tx_id   "MsgNum",
                                  m.tx_type "MsgTyp"
                                  ) MESSAGE -- this is the alias for the XMLFOREST item
                        ) ut_xml
        FROM (select 1 tx_id, 'test' tx_type from dual) mon my 9.2.0.4 database I get
    <TestMsg>
      <MESSAGE>
        <MsgNum>1</MsgNum>
        <MsgTyp>test</MsgTyp>
      </MESSAGE>
    </TestMsg>- an extra tag is created based on the alias of the XMLFOREST item.
    on my 10.2.0.4 database I get
    <TestMsg>
      <MsgNum>1</MsgNum>
      <MsgTyp>test</MsgTyp>
    </TestMsg>no MESSAGE tag.
    Some of the XML parsing we have is taking account of this MESSAGE tag and hence is now breaking.
    I guess my question is whether we've messed up the install of XMLDB or whether the 9i behaviour was incorrect and we should amend the parsing to the 10g behaviour.

    Behavior change...?
    SELECT  xmlelement("TestMsg",
                        xmlelement("MESSAGE",
                        XMLFOREST(m.tx_id   "MsgNum",
                                  m.tx_type "MsgTyp"
                        )) ut_xml
    FROM (select 1 tx_id, 'test' tx_type from dual) m
    will give output in 10.2.0.4.0 EE
    UT_XML
    <TestMsg>
       <MESSAGE>
          <MsgNum>1</MsgNum>
          <MsgTyp>test</MsgTyp>
       </MESSAGE>
    </TestMsg>Edited by: Marco Gralike on Mar 29, 2011 1:07 PM

  • Network connection timed out when upgrading to iTunes Plus

    Seems I unknowingly fell into the same limbo as other users, after upgrading 214 songs to iTunes Plus, when trying to download them, I only get "network timed out" messages trying to download those "upgraded" songs.
    Then I did my research to find out that it's affecting a lot of people.
    It's not my network I can assure you, I flushed the DNS, I tried directly from modem to cpu (removed the router from the line) checked all my network settings and security's, checked all my system32/host files, checked my packet transmission settings, disabled firewalls, virus scanners, re-installed itunes.
    So then I went another step to install Itunes 10.1 on my work cpu (different network) and my ex-wife's cpu (different network) and all had the same issue after I authorized their cpu's for my account use.
    The 214 songs show up ready for download, but same message (networked timed out)
    Seems to me that the Apple network is probably trying to send all the songs at the same time as a single packet, which of course is going to be too huge for anybody's network. (Since I'm hearing that people requesting for their que's to be reduced to smaller numbers 30-50 songs at a time and getting success I might have to do the same)
    Is there any other thing I might be forgetting?
    I guess if I dont get this resolved soon™, my only resolution will be to call visa and dispute the charges which I'd rather not. Im hoping for a more logical resolution.

    This problem is related to having your computer, Apple device, etc
    (from your current physical location) being unable to resolve/connect to
    the following site/domain names and their related IP address(s).
    The following table is presented to help explain/clarify this issue:
    Site/Domain name | IP Address
    phobos.apple.com | 17.250.237.43
    deimos3.apple.com | 206.169.246.144
    albert.apple.com | 17.149.240.64
    gs.apple.com | 17.151.36.30
    itunes.apple.com | 206.169.246.171
    ax.itunes.apple.com | 206.169.246.139
    If ANY of these sites/IP address are unresolvable (via PING for example)
    then the ability/usability of Apple's iTunes (and the Store) will suffer.
    To have yourself verify that (if) you can connect to these sites, you'll
    need to open up a MSDOS/Command prompt window
    and then type "ping" (without the quotes) and one of the (above) listed sites.
    For example you would type the following at your command prompt:
    ping phobos.apple.com (then press the return/enter key)
    which (should) give you results like this:
    pinging phobos.apple.com.akadns.net http://17.250.237.43 with 32 bytes of data:
    Note: Anyt response other than "reply" (like Request timed out)
    indicates a problem resolving the site's name to an IP address
    and (generally) has NOTHING to do with your (normally functioning) computer
    as this is dependent on the ISP (Internet Service Provider) that you are
    using to connect to the Internet (like Sprint, Insightbb, etc) with.
    The 'key' here is that it's the ISP's responsibility to (properly) resolve
    the site's name to (one or more of) Apple's sites.
    If (however) Apple (itself) is (currently) experiencing a DDOS attack
    (Distributed Denial Of Service) upon one (or more) of it's sites, then THAT
    would explain a possible cause of the problem.
    However I stress THAT is NOT the problem since I can connect from my Insightbb
    (ISP provider) at home but (currently) can not connect at work via their ISP.
    This is (also) WHY the "tag" of the FQDNSN (Fully-Qualified DNS Name)
    is listed as http://akadns.net since that is the ISP/Router resolving the DNS name!
    I hope that this has helped shed some light as to WHo's problem this REALLY is,
    and will help to stop the Apple-User 'finger-pointing' game in it's tracks!
    Your's The Lan_Man!
    William Cull
    Technology Specialist
    University of Louisville

  • Cannot connect to internet after upgrade from 10.7.4 to 10.7.5

    I have a new iMac and connect to internet with a data card (modem) Huawei E303.
    It worked fine until after the upgrade from 10.7.4 to 10.7.5.
    Now I can connect but there is no measurable signal. Other computers work using the same data card.

    Hi, this has worked for a few...
    Make a New Location, Using network locations in Mac OS X ...
    http://support.apple.com/kb/HT2712
    10.7 & 10.8…
    System Preferences>Network, top of window>Locations>Edit Locations, little plus icon, give it a name.
    10.5.x/10.6.x/10.7.x instructions...
    System Preferences>Network, click on the little gear at the bottom next to the + & - icons, (unlock lock first if locked), choose Set Service Order.
    The interface that connects to the Internet should be dragged to the top of the list.
    For 10.5/10.6/10.7, System Preferences>Network, unlock the lock if need be, highlight the Interface you use to connect to Internet, click on the advanced button, click on the DNS tab, click on the little plus icon, then add these numbers...
    208.67.222.222
    208.67.220.220
    Click OK.

  • Frequent Rebuild Requires After Upgrade from 9i to 10g

    Hi Friends,
    Recently we have upgraded our production database from 9i to 10g and after that the performance of certain queries degraded drastically. when we did a workaround of rebuilding the table and associated indexes for these queries, it performs as fast as 9i.
    Can anybody clarify why the same query which was working very fine without rebuild in 9i requires a rebuild in 10g?
    Please note that the tables involved in this query are very huge and a frequent rebuild is not a permanent solution for us :-)
    Regards,
    Savad

    Pl identify which "10g" - there are two flavors. Pl also see these MOS Docs
    10g Upgrade Companion (Doc ID 466181.1)
    https://supporthtml.oracle.com/ep/faces/secure/km/DocumentDisplay.jspx?id=466181.1&h=Y
    TESTING SQL PERFORMANCE IMPACT OF AN ORACLE 9i TO ORACLE DATABASE 10g RELEASE 2 UPGRADE WITH SQL PERFORMANCE ANALYZER (Doc ID 562899.1)
    https://supporthtml.oracle.com/ep/faces/secure/km/DocumentDisplay.jspx?id=562899.1&h=Y
    PERFORMANCE TUNING USING 10g ADVISORS AND MANAGEABILITY FEATURES (Doc ID 276103.1)
    https://supporthtml.oracle.com/ep/faces/secure/km/DocumentDisplay.jspx?id=276103.1&h=Y
    HTH
    Srini

  • What next after upgrade from 9i to 10g

    Hi I have successfuly upgraded my test db from 9i to 10g. what next now.
    how do i go about uninstalling 9i binaries???
    khurana

    Khurana wrote:
    Hi Satish
    OS ie OEL 4 and i manually upgraded my db on 9i to 10g.Just get rid of the 9i home (assuming you don't have anything running from that home) and clean up the entries in oratab that refer to the 9i home.
    On a side note, you might want to make a backup before you delete old 9i home.
    Refer this link for more information.
    http://www.oracle-base.com/articles/misc/ManualOracleUninstall.php#UNIX

Maybe you are looking for