OID Firewall / Data Connection Timeouts

Hello
I have an OID cluster (11.1.0.5) setup within our environment and have a firewall installed between the OID servers and the database servers.  The defualt connection timeout for the DB connection was increased to three hours, but after three hours I keep getting the periodic failures of OID / enterprise manager.  I have set the idle connection timeout and retries in the OID configuration, but this still seems to occur even with the timeouts / retries configured.  Is there a max session length or some other way to tell OID to close db connections after a period of time so that the max session is not reached?
Also, if I am just querying OID with a script, it seems to work past the three hours but I think this is more of a cache thing whereby it is responding with cached entries.  When I go to enterprise manager and try to manage OID, I will get the failure after the timeout with a LDAP error code 49 error and need to submit a bunch of requests to OID to refresh the connection to the database.
Any help you can give would be appreciated.
Thanks
Nick

Alex,
Thanks for the prompt reply.
Not having Maximum times in ODP will make things complicated and a myriad of race conditions can occur.
There is an involved example of a Transaction Timeout Cancel that I could implements with a an application Maximum timer on page 5-27 of the Oracle Data Provider for .NET Developer's Guide and it is not easy to implement
However, it is not described anywhere on how to implement a Maximum Connection Timeout.
In the example below from the docs the application will block at the Open() call:
// Connect
string constr = "User Id=scott;Password=tiger;Data Source=oracle";
OracleConnection con = new OracleConnection(constr);
con.Open();
So do we do the following:
// Connect
string constr = "User Id=scott;Password=tiger;Data Source=oracle";
OracleConnection con = new OracleConnection(constr);
*//Set_Application Timer*
con.Open();
OnApplicationTimer()
con.Close()
//Do application timeout processing
What will the Close() do for us here? What will happen if the Connection open is still in progress when we try to close it?
Should we forget attempting to Close() and wait until Oracle decides to return in the first method as shown below?
OnApplicationTimer()
//Do application timeout processing but don't explicitly send Close()
// Connect
string constr = "User Id=scott;Password=tiger;Data Source=oracle";
OracleConnection con = new OracleConnection(constr);
*//Set_Application Timer*
con.Open();
//Eventually it will timeout. If succesful, clo0se immediatly since it is too lpate.
Nathan

Similar Messages

  • Handle WSDL data connection timeout during PDF generation

         I have created in LiveCycle Designer XDP template. In template i defined WSDL Data connection. For data loading i call xfa.connectionSet.WsDataConnection.execute(0).
         For PDF generation i created LiveCylce process and use generatePDFOutput component.
    If WebService works output service generates document with all data - OK.
    If i turn off webservice and run process ouputservice generates PDF document with empty fields. Is where any possibility to raise execption to calling process if WSDL connection timeouts or gives SOAP fault error in response? 
    I want catch web service errors in process and do not generate PDF if some webservice used in PDF template is not accesible during generation.

    Hi Martin,
    We are experiencing the same issue with SAP/Vertex. Can you let me know how you resolve this? Did you change the SAP gateway timeout parameter? If so, which one is it?
    Your help on this is greatly appreciated.
    Thanks much!
    Best regards,
    Cyanna

  • Network Connection Timeout when "Chkng for available downloads" from iTunes

    I have been struggling with this problem for weeks and have spent a significant amount of time trying to diagnose and fix without success.
    When I select “Check for Available Downloads” through iTunes, I receive a “Network Connection Timeout” message and iTunes fails to download any information. It does ask me to validate my access with a password before it fails.
    This problem initially occurred after I purchased the iTunes Plus updates for my music library. It backlogged about 70 updates that are now sitting in the queue to be downloaded to my local iTunes library. However, since I made that purchase, I have not successfully been able to do any downloads from the iTunes store. I suspect that the volume of items in the queue is related to the problem (as a trigger or the cause).
    I have also tried to buy a single song. Although the purchase is successful (it charges my card and adds the song to the download queue), it doesn’t successfully download the song. I cannot, at this time, even get to a point where I can display a list of the queue for download. It always fails when trying to access that available download queue.
    Podcast downloads still work fine through iTunes. I have never had problems with the store before and have done very large downloads (e.g. audio books) in the past. I have had no changes to my configuration leading up to this problem.
    I am running a relatively new computer with a clean install of Windows 7, plenty of memory and very fast processors. I’ve got high capacity DSL. The connection is wired from the router into my network card (not wireless).
    I have tried a number of things as noted below and the problem still occurs:
    1. Confirmed access to internet, and ability to download from other web sites without timeout
    2. Confirmed my ability to access the iTunes store, change my personal information, browse songs
    3. Confirmed ability to download podcasts
    4. Deactivated my windows firewall, antivirus and Net nanny content protection.
    5. Deactivated the router firewall, and placed my PC in the DMZ of the router (which means that it should be wide open to the external network).
    6. Swapped out the DSL modem for a different DSL modem and completely removed the router from the configuration.
    7. Checked my drivers on the network card and made sure they are up to date.
    8. Ran Windows 7 network diagnostics – no problems detected
    9. Ran iTunes network diagnostics – no problems detected
    10. Uninstalled all software related to iTunes and reinstalled most current versions (iTunes, Quicktime, Bonjur, etc.)
    Thoughts?

    have the same problem...still waiting
    http://waugh.cchem.berkeley.edu/licence/faq/13/map.html
    http://waugh.cchem.berkeley.edu/licence/faq/14/map.html
    http://waugh.cchem.berkeley.edu/licence/faq/15/map.html
    http://waugh.cchem.berkeley.edu/licence/faq/16/map.html
    http://waugh.cchem.berkeley.edu/licence/faq/17/map.html
    http://waugh.cchem.berkeley.edu/licence/faq/18/map.html
    http://waugh.cchem.berkeley.edu/licence/faq/13/index.html
    http://waugh.cchem.berkeley.edu/licence/faq/14/index.html
    http://waugh.cchem.berkeley.edu/licence/faq/15/index.html
    http://waugh.cchem.berkeley.edu/licence/faq/16/index.html
    http://waugh.cchem.berkeley.edu/licence/faq/17/index.html
    http://waugh.cchem.berkeley.edu/licence/faq/18/index.html

  • I'm trying to connect through the FTP client Filezilla. When I try to login with the wizard, it gives me a "503 Failure of Data Connection" reply; when I attempt to login myself, it gives me a "530 Login Authentication Failed." HELP!!!

    My current softward is: Mac OS X Lion 10.7.5 (11G63)
    When I attempt to use the Filezilla connection wizard I get the following message:
    Connecting to probe.filezilla-project.org
    Response: 220 FZ router and firewall tester ready
    USER FileZilla
    Response: 331 Give any password.
    PASS 3.7.1.1
    Response: 230 logged on.
    Checking for correct external IP address
    Retrieving external IP address from http://ip.filezilla-project.org/ip.php
    Checking for correct external IP address
    IP 27.0.19.56 ch-a-bj-fg
    Response: 200 OK
    PREP 52470
    Response: 200 Using port 52470, data token 1871898076
    PORT 27,0,19,56,204,246
    Response: 200 PORT command successful
    LIST
    Response: 150 opening data connection
    Response: 503 Failure of data connection.
    Server sent unexpected reply.
    Connection closed
    When I attempt to login Host/Username/Password myself I get the following message:
    Status:          Resolving address of amyhoney.com
    Status:          Connecting to 184.168.54.1:21...
    Status:          Connection established, waiting for welcome message...
    Response:          220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
    Response:          220-You are user number 12 of 500 allowed.
    Response:          220-Local time is now 04:05. Server port: 21.
    Response:          220-This is a private system - No anonymous login
    Response:          220 You will be disconnected after 3 minutes of inactivity.
    Command:          USER 5475****
    Response:          331 User 5475**** OK. Password required
    Command:          PASS ********************
    Response:          530 Login authentication failed
    Error:          Critical error
    Error:          Could not connect to server
    Now before anyone points out the obvious: my username and password are correct. I've already gone through changing them so I know they are.
    Additionally, I've pretty much tried EVERYTHING I've read online, from messing with "terminal" (and subsequently the FTP and STFP options) to changing the sharing options and turning on file sharing/remote management as well as just turning off my Firewall completely.
    Now I've used Filezilla before when I first published my site and everything worked fine. My site is published through Wordpress so most of my editing was done through simply logging into my "wp-login." I recently changed the theme and in order to change the header image in that theme I have to do it through my "wp-content" folder, which means I need to use Filezilla. I feel like a complete moron right now considering I've had my site for about a year and can't even doing something this simple.
    I've read that the newer version of Lion/Mountain Lion don't support automatice FTP anymore, which (as I mentioned prior) I attempted to fix through Terminal. However, nothing I do seem to do works.
    Can someone walk me through fixing this? And I do mean 'walk me through'. I'm not a tech-savvy nerd who knows all the lingo, I just know the basics so sorry if my ignorance offends you.
    HELP!!

    First be sure login and password are OK. Sometimes the address starts wit "http://..." and sometime starts with "ftp://...". Try both normal FTP access and Scure FTP access (SFTP). At the end, contact the site's provider.

  • Issue with Custom data parameter in Excel Data Connection

    Hello,
    We are querying a OLAP (SSAS 2008) cube using Excel 2007 by creating a data connection to SSAS server with an extended parameter “Custom Data”. We are using custom data parameter to apply our application’s user security to filter dimension
    members in Excel’s pivot table report. We have created a pivot table in Excel and the excel is including this custom data parameter along with each request that excel is submitting to SSAS.
    However, when the user selects “Show Properties in Report” option for a dimension which is selected in Row-axis of pivot table, Excel is not including custom data parameter . Why this “Custom Data” parameter is not being included in
    the request only for this specific case?
    1. The Request which sent from Excel to SSAS when user clicks on “Show Properties in Report” option
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><Session xmlns="urn:schemas-microsoft-com:xml-analysis" SessionId="AE6B294B-4983-4010-BC5F-E0896A49ECD9"/></soap:Header><soap:Body><Discover
    xmlns="urn:schemas-microsoft-com:xml-analysis"><RequestType>DISCOVER_LITERALS</RequestType><Restrictions/><Properties><PropertyList><Content>SchemaData</Content><Format>Tabular</Format></PropertyList></Properties></Discover></soap:Body></soap:Envelope>
    2. The sample Request which sent from Excel to SSAS for all other requests
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><Session xmlns="urn:schemas-microsoft-com:xml-analysis" SessionId="74165AD6-C240-4634-92A1-61A400A3FC97"/></soap:Header><soap:Body><Discover
    xmlns="urn:schemas-microsoft-com:xml-analysis"><RequestType>MDSCHEMA_CUBES</RequestType><Restrictions><RestrictionList><CUBE_NAME>RepCube</CUBE_NAME></RestrictionList></Restrictions><Properties><PropertyList><Catalog>QAV10_12thMay2010</Catalog><Timeout>5000</Timeout><SafetyOptions>2</SafetyOptions><MdxMissingMemberMode>Error</MdxMissingMemberMode><LocaleIdentifier>1033</LocaleIdentifier><DbpropMsmdMDXCompatibility>1</DbpropMsmdMDXCompatibility><CustomData>xxxxxx</CustomData></PropertyList></Properties></Discover></soap:Body></soap:Envelope>
    As the Custom Data parameter is missing in 1st request our application logic is throwing a custom exception to Excel and Excel is not able to understand the exception message. Excel is sending the same request repeatedly (going into infinite loop) and the excel
    window is freezed. Not able to work with excel until restarting the Excel.
    Can anyone help me to resolve the above? quick help is much appriciated!
    Thanks,
    Venkat

    Venkat,
    We have a very similar issue, but there is almost no material to help us. If this gets to you, please let me know if you progressed it or whether I need to go to Microsoft for a solution
    THanks
    David

  • Why do I keep getting a "connection timeout" error on my macbook pro?

    What seems to be on some kind of time schedule, my network connection times out.  The message "a connection timeout occured" is displayed, rendering my attempts at re-connection useless.  After hours of troubleshooting(my router included) and checking out other Mac forums, I have no solutions but to power cycle my router.  This pretty much makes my MB useless unless using a wired internet connection outside of my home network.  I've done tons of research online and have encountered hundreds of people with the same problem.  My machine is a late 2011 Macbook Pro.  PLEASE HELP

    Check the time and date, updates with apple' time servers
    https://discussions.apple.com/docs/DOC-3046

  • Connection timeout on hotel wifi - only with MacBook8.1 (810.9)  configd plug-in:8.1 (810.9)

    I'm having a "Connection Timeout" issue while trying to connect to my hotel's WIFI.
    I bought an ex-lease refurbished white MacBook (Build 12E55 - 2.4GHz, the last 2010 model I think) a couple of weeks ago. I bought it so I could use it while on vacation in Bali, Indonesia. I've got OS X 10..8.4 installed. 
    At home in Australia, this MacBook connected to my home WIFI with absolutely no issues at all.
    Now that I'm in Bali, I'm surprised to find that every time I try to connect to the WIFI at the hotel (where I'm staying for a whole month), I get a "Connection Timeout" error. I'm surprised because my iPhone connects to the hotel WIFI with no problem at all, as does our two iPads and the Android phones that belong to other family members. It's only my MacBook that struggles, even though I get even better signal strength indicated on my MacBook compared to my other devices.
    I can connect my MacBook to my iPhone hotspot fine, though I'd prefer to use the free hotel WIFI over my very small 3G data allowance.
    So the problem isn't that my MacBook can't connect to any WIFI, because it did at home and it still can to my iPhone hotspot.
    And the problem isn't with the router, because all other devices work flawlessly.
    I've trawled many forums and articles trying to find a solution. Here's everything I've tried already, that I can remember. (Not in this order and not all at once.)
    Rebooted MacBook (duh)
    Sitting directly under the WIFI router. (It's not a signal strength issue.)
    Set up new Network > Location. Deleted Ethernet and Bluetooth PAN so it's just WIFI in the list.
    Renewed DHCP Lease countless times.
    Tried manual TCP/IP variations. It doesn't help that I'm not sure what to put in the IPv4 Address field. I do know the Subnet Mask and Router IP from looking at my iPhone network info.
    Tried using my MAC address as the DHCP Client ID. Also tried just using "1" or leaving it blank.
    I don't know what an IPv6 is either.
    Tried BootP and completely Manual setups but not really sure of the correct settings to try.
    Tried using the DNS servers that I found on my iPhone network info for the hotel WIFI. (One of them is 8.8.8.8 which I think is Google's DNS thing?)
    Tried checking Auto Proxy Discovery and Use Passive FTP Mode, since it was suggested as part of a solution in a forum thread.
    Tried changing the MTU to a couple of other settings from an article I read. I think one was around 1453 and the other was 1494 or something close to that.
    Tried resetting PRAM
    Tried resetting SMC
    Tried a variation on resetting SMC that involved pressing down the normal keys plus one extra, for 10 secs, since it worked for someone who was told to do that by an Apple Care person. (He didn't know why it worked and other forum posters thought it was supposed to have been a SMC reset.)
    Checked the Network> Wi-Fi in System Information to see if the Channel is compatible. The router uses Channel 1 and my MacBook is capable of using Channel 1.
    Checked my country profile. It's X1. I have no idea if that's good. All I know is that I'm in Indonesia not Australia and I'm having WIFI issues with this hotel network.
    Checked the PHY Mode. Supported are 802.11 a/b/g/n. The hotel router uses 802.11n.
    Made sure I was using WPA2 Personal.
    Tried deleting all WIFI-related passwords in Keychain.
    Tried deleting all Network-related preference files.
    Tried removing all LaunchDaemons and LaunchAgents.
    It's not a "lost WIFI connection when waking from sleep" issue but I tried turning off sleep anyway.
    My husband even had the nerve to unplug the hotel router (small hotel, we're the only guests at the moment) for 10 minutes hoping it will reboot. But I don't know if that's the actual modem or just a WIFI repeater thing (sorry, can't remember the right terms). It didn't work anyway.
    I've run out of options, other than just sucking it up and getting a big 3G data allowance since I'm here for a month.
    If there is anything else I can try - perhaps working out how to set up my Network manually properly, please help me out. Here is everything in System Information that might help. I'll happily provide any other info.
    Software Versions:
      CoreWLAN:

    Sorry. The topic title got mucked up when I tried to paste in my System Information. And I can't paste it in using my iPhone without it going haywire. I can provide any details you need.

  • How do you configure the set of port to use for FTP passive data connection

    I was able to start the ftp server xml db and connect to it locally. When I tried to connect to it from home, I was able to log in but when i do a "get" command the sessions hangs. I also tried passive mode and do a "get" command and it gives me a connection refused error. I am using the default port 2100. I think this might be a firewall issue with the data connection port. I am not sure which range of ports to open for the passive ftp connection on the server side or where to go and set them for for the ftp server to use? Or this issue might not be firewall related??? Any thoughts. Thanks.

    This is a typical problem with VPN/Firewall software and FTP on ports other than 21.
    When you open the FTP data connection the FTP Server identifies which port the data will be sent on using the PORT command which is sent on the command port (typically 21 with a normal FTP server, 2100 by default with XDB). THe client then opens that PORT to accept the data (file, output of an ls etc).
    As I understand it most VPN/Firewall are configured to monitor 21 for 'PORT' requests. They then understand to allow connection on the PORT number passed on the command PORT. Hence with Port 21 firewall / VPN software is not a problem. However since the XDB command PORT is something other than 21 they do not see / honour the PORT commands from the server and hence the client cannot open the data connection on the specified PORT
    As to how to solve it, I wish I knew (After 5 years I still can't use XDB FTP from home to a machine in the office once the VPN tunnel is open :( ). I'm sure it's going to be firewall / VPN software specific and may need the VPN servers to be configured.
    The best bet would be to run the FTP server on 21...
    Add the following line to your listener.ora file
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = hostname) (PORT = 21))
    (PROTOCOL_STACK = (PRESENTATION = FTP) (SESSION = RAW)))
    and then restart the listener as root
    Start the listener as root.
    At the operating system prompt, enter tnslsnr with optional command line arguments. The usage is as follows:
    tnslsnr [listener_name] [-user user] [-group group]
    where:
    Table 4-3 tnslsnr Utility Options
    Option Description
    listener_name
    Specify the name of the listener. If omitted, the default name LISTENER will be used.
    -user user
    Specify the user whose privileges the listener will use when super user (root) privileges are not needed. After performing the privileged operations, the listener will give up root privileges irreversibly.
    -group group
    Specify the group whose privileges the listener will use when super user (root) group privileges are not needed. After performing the privileged operations, the listener will give up root group privileges irreversibly.
    The listener will temporarily switch to the provided user and group immediately after startup. All subsequent operations will be done with the specified user and group privileges, except the system calls necessary to listen on configured endpoints. The listener will revert to super user (root) for a short period of time to listen on reserved addresses, such as TCP ports less than 1024. After the listener starts listening on all of its endpoints configured in listener.ora, it will switch to the specified user and group irreversibly. Therefore, the listener will give up the root privilege that it initially had. In the current release, -user and -group command line arguments only accept user and group identifiers specified in numeric form.
    For example, to execute a root listener called mylsnr and have it use privileges of a user identified

  • Oracle 9.0.1 on Solaris/SPARC infinite connection timeouts

    Hello, All!
    I have the following system configuration:
    Solaris 5.9 Maintenance Update 4;
    Sun Ultra 10, 1 UltraSPARC IIi 440Mhz CPU, 1024M RAM;
    Oracle 9.0.1 (9i Release 1).
    The database was created with JServer option turned on (we're using the integrated CORBA functionality); archive log mode is OFF, database cache advice is ON.
    In a nutshell,
    ==============
    the problem is in really infinite connection timeouts of Oracle after a long time of inactivity (say, on Monday after two weekend days).
    Long description.
    =================
    Client-side symptoms.
    First, I tried to establish a connection to a published CORBA object, and received no response (I am already waiting for 1 hour 40 minutes).
    Then, I tried to connect to the database with SQLPlus, remotely:
    $ sqlplus /nolog
    SQL> CONNECT SYS/change_on_install@ORCL AS SYSDBA;
    All the same, I receive no reply. However, the listener is alive, I can establish a network connection to both ports 1521 and 2481. Client-side logs (specified via sqlnet.ora) say the following:
    =========== skipped ===========
    [09-&#1040;&#1042;&#1043;-2004 10:27:24:770] nioqsn: entry
    [09-&#1040;&#1042;&#1043;-2004 10:27:24:770] nioqsn: exit
    [09-&#1040;&#1042;&#1043;-2004 10:27:24:770] nioqrc: entry
    [09-&#1040;&#1042;&#1043;-2004 10:27:24:771] nsdo: cid=0, opcode=84, bl=0, what=1, uflgs=0x20, c
    [09-&#1040;&#1042;&#1043;-2004 10:27:24:771] nsdo: rank=64, nsctxrnk=0
    [09-&#1040;&#1042;&#1043;-2004 10:27:24:771] nsdo: nsctx: state=8, flg=0x400d, mvd=0
    [09-&#1040;&#1042;&#1043;-2004 10:27:24:771] nsdo: gtn=127, gtc=127, ptn=10, ptc=2011
    [09-&#1040;&#1042;&#1043;-2004 10:27:24:771] nsdofls: DATA flags: 0x0
    [09-&#1040;&#1042;&#1043;-2004 10:27:24:771] nsdofls: sending NSPTDA packet
    [09-&#1040;&#1042;&#1043;-2004 10:27:24:771] nspsend: plen=770, type=6
    [09-&#1040;&#1042;&#1043;-2004 10:27:24:771] nttwr: entry
    [09-&#1040;&#1042;&#1043;-2004 10:27:24:771] nttwr: socket 12 had bytes written=770
    [09-&#1040;&#1042;&#1043;-2004 10:27:24:771] nttwr: exit
    [09-&#1040;&#1042;&#1043;-2004 10:27:24:771] nspsend: 770 bytes to transport
    [09-&#1040;&#1042;&#1043;-2004 10:27:24:772] nsdo: nsctxrnk=0
    [09-&#1040;&#1042;&#1043;-2004 10:27:24:772] nsdo: cid=0, opcode=85, bl=0, what=0, uflgs=0x0, cf
    [09-&#1040;&#1042;&#1043;-2004 10:27:24:772] nsdo: rank=64, nsctxrnk=0
    [09-&#1040;&#1042;&#1043;-2004 10:27:24:772] nsdo: nsctx: state=8, flg=0x400d, mvd=0
    [09-&#1040;&#1042;&#1043;-2004 10:27:24:772] nsdo: gtn=127, gtc=127, ptn=10, ptc=2011
    [09-&#1040;&#1042;&#1043;-2004 10:27:24:772] nsdo: switching to application buffer
    [09-&#1040;&#1042;&#1043;-2004 10:27:24:772] nsrdr: recving a packet
    [09-&#1040;&#1042;&#1043;-2004 10:27:24:772] nsprecv: reading from transport...
    [09-&#1040;&#1042;&#1043;-2004 10:27:24:772] nttrd: entry
    If I try to connect to the database locally, I receive the same result:
    $ sqlplus /nolog
    SQL> CONNECT / AS SYSDBA;
    -- no reply.
    Server-side symptoms.
    Oracle logs in ${ORACLE_BASE}/admin/ORCL have no entries referring the last two days. Oracle server debug log (specified via sqlnet.ora) says the following:
    ========== skipped ===================
    nttrd: socket 20 had bytes read=181
    nttrd: exit
    nsprecv: 181 bytes from transport
    nsprecv: tlen=181, plen=181, type=6
    nsrdr: got NSPTDA packet
    nsrdr: NSPTDA flags: 0x0
    nsdo: what=1, bl=2009
    nsdo: nsctxrnk=0
    nioqrc: exit
    nioqsn: entry
    nioqrc: entry
    nsdo: cid=0, opcode=84, bl=0, what=1, uflgs=0x20, cflgs=0x3
    nsdo: rank=64, nsctxrnk=0
    nsdo: nsctx: state=8, flg=0x420c, mvd=0
    nsdo: gtn=156, gtc=156, ptn=10, ptc=2019
    nsdofls: DATA flags: 0x0
    nsdofls: sending NSPTDA packet
    nspsend: plen=93, type=6
    nttwr: entry
    nttwr: socket 20 had bytes written=93
    nttwr: exit
    nspsend: 93 bytes to transport
    nsdo: nsctxrnk=0
    nsdo: cid=0, opcode=85, bl=0, what=0, uflgs=0x0, cflgs=0x3
    nsdo: rank=64, nsctxrnk=0
    nsdo: nsctx: state=8, flg=0x420c, mvd=0
    nsdo: gtn=156, gtc=156, ptn=10, ptc=2019
    nsdo: switching to application buffer
    nsrdr: recving a packet
    nsprecv: reading from transport...
    nttrd: entry
    nttrd: socket 20 had bytes read=770
    nttrd: exit
    nsprecv: 770 bytes from transport
    nsprecv: tlen=770, plen=770, type=6
    nsrdr: got NSPTDA packet
    nsrdr: NSPTDA flags: 0x0
    nsdo: what=1, bl=2009
    nsdo: nsctxrnk=0
    nioqrc: exit
    Oracle local client debug log (oracle enterprise manager runs on the same machine) says:
    ...nsevwait: nsevwait: nsevwait: nsevwait: nsevwait:
    nsevwait: nsevwait: nsevwait: nsevwait: nsevwait:
    nsevwait: nsevwait: nsevwait: nsevwait: nsevwait: ...
    ps -e -o "user,pid,pcpu,pmem,rss,vsz,args" says there're several (3) processes running as oracle, with "args" oracle_ORCL, which eat up nearly all available memory (they have "pmem" values of 25, 25 and 17 per cent, respectively). One of these processes has "pcpu" value varying from 97% to 100%, moreover, this is a user, NOT system time (according to sdtperfmeter, disk/page/swap activity is extremely low; system load holds at value of 4). Here is a sample vmstat output:
         cpu
    cs us sy id
    287 99 1 0
    285 100 0 0
    280 100 0 0
    272 100 0 0
    298 98 2 0
    275 99 1 0
    267 100 0 0
    307 97 3 0
    282 100 0 0
    270 100 0 0
    307 98 2 0
    287 100 0 0
    Here cs is the number of cpu context switches per second;
    us is cpu user time;
    sy is cpu system time.
    The question is: what oracle may be doing and how can I fix the problem?
    Thanks in advance.

    Now, 3 hours later, the first two (of three) connections got established, but subsequent database queries are in the same nearly dead state.
    CPU usage remains about 100%, system load 4.
    I know that oracle restart (and/or system restart) will cure the problem -- but only until next weekend.
    Can this be oracle misconfiguration?

  • Best router for a macbook experiencing connection timeouts?

    Hi all,
    I know macbook wireless connection issues have been discussed to death already, but I have a slightly different question and with Black Friday looming, I was hoping to get some input from those who may have had success with finding a new router. I apologize for the incoming wall of text, it's been a long, arduous journey.
    My 2007ish Macbook ceased to be wireless over a year ago, at least at home.  I was on Snow Leopard at the time, and using the internet when it dropped suddenly but connected after a restart. It dropped several more times and each time would require more restarts. By the end of the day, it didn't see my router, nor the neighbors' forever unsecured linksys router (yet i've had to go to war defending our network from their 17 year old son) or any other nearby network. I'm no longer 100% certain, but I do believe there had recently been an update (wifi died around July 4th 2011 if anyone is an obssessive date keeper) In the next days I installed kismet and istumbler and took the macbook for a drive around the neighborhood, where it proceeded to detect all kinds of other networks that it had never seen before (like, ever because its out of range). At home, still nothing.
    Over the next few months, I furiously googled for hours upon hours and tried everything I came across.  And I do mean everything, even things I consciously knew would not have any affect. I did a clean install of Lion but no change. It's been to the apple store three times, where of course it detected their network and connected with no hesitation and diagnostics showed it maintaining better signal strength than I can ever remember seeing at home. They gave me various suggestions, from the predictable 'replace wireless card' to the ludicrous 'send it off and have the antennae replaced' which would be $800 dollars because they would need to open the screen part.  Yeah..no.  At least they replaced my swelling battery and top case for free.  Anyway, thenceforth I remained chained to my desk by ethernet. 
    Fast forward to now.  Still chained to the desk, but more determined than ever to do something about it. About a month ago I gave it another go and eventually after a few adjustments it started to actually detect the router and I can click to connect, enter the password, but of course, connection timeout. So the network name sits there in the dropdown menu, but bars all greyed out. Very frustrating. 
    So as a last ditch effort, I have decided to try replacing our router, a Linksys WRTP54G that is infuriatingly locked to Vonage, which we no longer have. There's a motorola surfboard modem connected to the router, and a switch between the router and macbook. The switch isn't the problem, it wasn't even there when the problem started. I've also tried a WRT54G which didn't work either. The Macbook works fine on a university network, but I don't have access to any of the specifics about the network. It also connects to a plethora of other home networks and routers, some of which I do believe are b/g routers.
    We're due for a more powerful, capable, and not-cursed-by-vonage router anyway as our devices have increased in number from 4 to nearly 13. I want one that can support NAS and if possible Open WRT.  I was also planning to move us behind a VPN very soon.  I know that's maybe getting a bit nitpicky, but I am definitely prepared to pay more if it means the Macbook is wireless and I can clear up the 20ft river of chords snaking not so subtly around our upstairs.
    So the question is, has anyone had any luck fixing the problem by replacing the router?  Even if it doesn't have tons of features, any input on what kinds of routers seem to make Macbooks with this problem fall in line would be so helpful!!

    Apple AirPort Extreme has served my mixed environment very well. You can buy a refurbished one from Apple and save some $.
    http://store.apple.com/1-800-MY-APPLE/WebObjects/AppleStore.woa/wa/RSLID?mco=AA9 C1548&nclm=CertifiedMac

  • MacBook Pro connection timeout message for personal hotspot but works on iPad. Any suggestions?, MacBook Pro connection timeout message for personal hotspot but works on iPad. Any suggestions?

    I am having issues with my personal hotspot. I can connect an iPAD to it but the MacBook Pro gives a connection timeout error. Sometimes it asks for a password but when I type in the correct one it doesn't recognise it. Any suggestions? My software is up to date and I have deleted the password in key chain but this doesn't seem to help. I am a bit technically challenged so simple language please. Thanks in advance for any suggestions.

    Fixed!
    Two things together have restored connectivity.
    1.  I changed the name under Settings > General > About > Name from My Name's iPad to iPad of My Name.  I read somewhere that iOS 7.0.1 or 7.0.2 (I forget which) sometimes had issues with apostrophes here.  Easy enough to test.
    2.  I then reset (again) the APN settings under Settings > Cellular Data > APN Settings > Personal Hotspot and reentered our provider's info (APN, Username, Password) there.
    I don't know WHY it worked, but the personal hotspot is now happily sharing (again) internet connectivity with my MacBook Pro.

  • MYSQL connection timeout?

    Hi all, ive been trying to update mysql databases on localhost and everything work perfect, but then im trying todo that in hosting (in this case phpnet.us). Im getting connection timeout error
    com.mysql.jdbc.CommunicationsException: Communications link failure due to under
    lying exception:
    ** BEGIN NESTED EXCEPTION **
    java.net.ConnectException
    MESSAGE: Connection timed out: connect
    STACKTRACE:
    java.net.ConnectException: Connection timed out: connect
            at java.net.PlainSocketImpl.socketConnect(Native Method)
            at java.net.PlainSocketImpl.doConnect(Unknown Source)
            at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
            at java.net.PlainSocketImpl.connect(Unknown Source)
            at java.net.SocksSocketImpl.connect(Unknown Source)
            at java.net.Socket.connect(Unknown Source)
            at java.net.Socket.connect(Unknown Source)
            at java.net.Socket.<init>(Unknown Source)
            at java.net.Socket.<init>(Unknown Source)
            at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.ja
    va:173)
            at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:267)
            at com.mysql.jdbc.Connection.createNewIO(Connection.java:2739)
            at com.mysql.jdbc.Connection.<init>(Connection.java:1553)
            at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java
    :266)
            at java.sql.DriverManager.getConnection(Unknown Source)
            at java.sql.DriverManager.getConnection(Unknown Source)
            at palidino76.rs2.util.SQLHandler.createConnection(SQLHandler.java:20)
            at palidino76.rs2.Engine.run(Engine.java:147)
            at java.lang.Thread.run(Unknown Source)
    ** END NESTED EXCEPTION **
    Last packet sent to the server was 31 ms ago.
            at com.mysql.jdbc.Connection.createNewIO(Connection.java:2814)
            at com.mysql.jdbc.Connection.<init>(Connection.java:1553)
            at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java
    :266)
            at java.sql.DriverManager.getConnection(Unknown Source)
            at java.sql.DriverManager.getConnection(Unknown Source)
            at palidino76.rs2.util.SQLHandler.createConnection(SQLHandler.java:20)
            at palidino76.rs2.Engine.run(Engine.java:147)
            at java.lang.Thread.run(Unknown Source)my connection looks like this
         public static void createConnection() {
              try {
                        System.out.println("Creating connection to mysql server.");
                   String serverName = "sql306.phpnet.us:3306";
                   String mydatabase = "pn_2815767_java";
                   String url = "jdbc:mysql://" + serverName + "/" + mydatabase;
                   Class.forName("com.mysql.jdbc.Driver").newInstance();
                   con = DriverManager.getConnection(url, "pn_2815767", "password");
                   stmt = con.createStatement();
              } catch (Exception e) {
                   e.printStackTrace();
         }I'm messed up, if you know the problem please help.

    Use a connection pool and it will automatically take care of this for you (as long as you retreive the connection from the pool everytime you need it, and not just once at the start of the app, and close it as soon as you finish using it, not just at the "end" of the app, closing a pool connection simply returns it to the pool, it does not actually close it).
    Edit: That is, if the DB is part of the hosting service. If you are having the problem by the actual connection attempt, and the DB is located someplace else, then it is probably a routing/firewall issue. I.E. the hosting service is not allowing you to connect to it.

  • Web Service connection timeout

    How to configure the web service connection timeout properties (eg. weblogic.wsee.transport.connection.timeout) in configuration files rather setting them at client's stub code?
    Help is appreciated.

    This might be due to following reasons.
    Please check whether firewall exist between Pi and external system. If so check with  network team weather port or connectivity is established between PI server and external system. This should be the main reason.  Also check the target URL and see whether you can able to consume the webservice directly from Soapui without PI.  If your workstation is within PI's landscape and you see the same timed out error, then the network connectivity is the issue.  Ask them to enable the port.

  • Tomcat 4.1:connection timeout error

    Hi. I got a HTML form that allows a user to enter freehand SQL statements and send them to an DB2 database via a SQL Java servlet. After the query executes, it returns an Excel file containing the resultset of my query. Unfortunately, I got a query that when executed, my browser returns "The page could not be found..." due to connection timeout. With another query with different set of criteria, it runs fine-so my Tomcat is running fine. I've executed the same exact query in Excel via JDBC-ODBC bridge Java application and it ran fine and also executed the same query in QMF for Windows, and it ran fine also. So this lends me to believe I need to configure my Tomcat somehow, I presume the connection timeout limit.
    Is there a way to remove or increase the connection timeout limit?
    Thanks in advance.

    Arrrggg!!! That didn't work. Here's the error message:
    "The page cannot be displayed There is a problem with the page you are trying to reach and it cannot be displayed.
    Please try the following:
    Click the Refresh <javascript:location.reload()> button, or try again later.
    Open the home page, and then look for links to the information you want.
    If you believe you should be able to view this directory or page, please contact the Web site administrator by using the e-mail address or phone number listed on the home page.
    10060 - Connection timeout
    Internet Security and Acceleration Server
    Technical Information (for support personnel)
    Background:
    The gateway could not receive a timely response from the Web site you are trying to access. This might indicate that the network is congested, or that the Web site is experiencing technical difficulties.
    ISA Server: MMPINF17
    Via:
    Time: 1/27/2003 1:04:11 PM GMT"
    Does this mean my company's firewall administrator has set a connection timeout limit? Or is it still my Tomcat's configuration?

  • 500 CONNECTION TIMEOUT ERROR

    Hi Experts,
    When try to test the url for c project I am getting this error.
    Is there any way to change the connection time out.
    500 Connection timed out
    Error: -5
    Version: 7000
    Component: ICM
    Date/Time: Tue Apr 29 14:19:08 2008
    Module: icxxthr.c
    Line: 2698
    Server: m576_IDS_00
    Error Tag: {-}
    Detail: Connection to partner timed out after 60s
    please guide me step step procedure  I am functional consultant .
    I found that it will be change in T CODE :RZ10
    BUT IN THAT what parameter I NEED TO CHANGE PLEASE GUIDE ME
    full points will be reward for help help full answer.
    thanks
    sunil jawalkar

    Hi Sunil,
    If you are using this particular cProjects URL for the first time, you should generate the screens using SGEN transaction. Select Web Dynpro for ABAP and give the cProjects application.
    Having done SGEN, the page wouldnt take long to open up.
    To increase the connection timeout, pl contact your basis guy.
    Regards,
    Reema.
    Edited by: Reema Shahbazkar on Apr 29, 2008 6:05 PM

Maybe you are looking for