Does RMI protocol open a new TCP connection?

Hey,
I have an eclipse client that runs on computer A,
And JBoss as a server that run on machine B.
The client initials the initial context and work against a stateless session bean.
When I ran sniffer I noticed in a strange behavior- a lot of new TCP connection and wait for a 3 seconds for each connection.
It seems strange; does RMI need to open a new TCP connection for each call?

Not necessarily for each call: RMI tries to conserve connections as much as possible, but of course it does need to open connections, and more than one at a time if there are multiple client threads doing RMI calls simultaneously.
I think we're actually talking about RMI/IIOP here if this is JBoss.

Similar Messages

  • How can I make firefox give the focus (the cursor) to the address bar when I open a new window - as it does when I open a new tab (to about:blank)?

    When I open a new tab using CTRL-T, the address/awesome bar has the focus.
    When I open a new window using CTRL-N, it does not.
    Can the behaviours be made consistent via setting a configuration option or key?
    Thanks in advance for any help!

    Hello wodow, please check it in [https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode#firefox:linux:fx27 safe mode], do you have the same behaviour ? DO NOT reset, select "Start in Safe Mode".
    thank you

  • Sending text to Motion does nothing but open a new file

    I'm editing in FCP and created a text object, carefully placing it in exactly the right position. I right click on the text in the timeline and choose "Send to Motion" but all it does is open a new file. Seems to me it should have actually "sent the text" to Motion as it implies. Did they really not include this feature? Otherwise, its pretty darn meaningless.
    Now it seems like I have to re-typeset the text, and go back and forth until I get the placement right again. So much for simplified workflows!

    Your fundamental approach to this is wrong.
    Tom has already pointed out that Motion is a graphics and text animation tool (amongst other things).
    If your point of reference for positioning text is based on the content of the video track below it -send the video clip to Motion and apply the text there, where you can also apply any number of effects to it. Motion has access to exactly the same typefaces that FCP has and a few more in the form of "LiveFonts".
    If you wish to have the animated text as a separate element, you can simply delete the video from the background layer in Motion once the positioning and timing has been established. If it needs to be tweaked or changed completely, simply right click it on the FCP Timeline and choose Open in Editor. This will launch Motion with the text project loaded automatically.
    So consider it a suggestion for future versions of FCS. (If these posts filter up to the right people!)
    They don't. Apple Discussions participants are all users, just like you.

  • Why does firefox intermittantly open a new window when I click on an existing tab? This only happens when I have three or more tabs open.

    Several times now Firefox 4.0.1, when clicking on a tab (three or more tabs open) I immediately moves that tab to it's own window and closes the tab in the existing window.

    That is probably the "tear-off tabs" feature. A slight movement (usually downward) when clicking on an existing tab will cause that tab to "tear-off" and open in a new window. You can drag the tab back to the previous window. You can also install this add-on to stop the behavior: https://addons.mozilla.org/en-US/firefox/addon/bug489729-disable-detach-and-t/
    <br />
    <br />
    '''You need to update the following.''' The Plugin version(s) shown below was/were submitted with your question and is/are out of date. You should update to avoid known security issues with the version(s) you have installed. Click on "More system info..." to the right of your question to see what was included with your question.
    *Adobe Shockwave for Director Netscape plug-in, version 11.5.9.615
    *Next Generation Java Plug-in 1.6.0_20 for Mozilla browsers
    #'''''Check your plugin versions''''' on either of the following links':
    #*http://www.mozilla.com/en-US/plugincheck/
    #*https://www-trunk.stage.mozilla.com/en-US/plugincheck/
    #*'''Note: plugin check page does not have information on all plugin versions'''
    #*There are plugin specific testing links available from this page:
    #**http://kb.mozillazine.org/Testing_plugins
    #'''Update Shockwave for Director'''
    #*NOTE: this is not the same as Shockwave Flash; this installs the Shockwave Player.
    #*Use Firefox to download and SAVE the installer to your hard drive from the link in the article below (Desktop is a good place so you can find it).
    #*When the download is complete, exit Firefox (File > Exit)
    #*locate and double-click in the installer you just downloaded, let the install complete.
    #*Restart Firefox and check your plugins again.
    #*'''<u>Download link and more information</u>''': http://support.mozilla.com/en-US/kb/Using+the+Shockwave+plugin+with+Firefox
    #'''Update the [[Java]] plugin''' to the latest version.
    #*Download site: http://www.oracle.com/technetwork/java/javase/downloads/index.html (Java Platform: Download JRE)
    #**'''''Be sure to <u>un-check the Yahoo Toolbar</u> option during the install if you do not want it installed.
    #*Also see "Manual Update" in this article to update from the Java Control Panel in Windows Control Panel: http://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox#Updates
    #* Removing old versions (if needed): http://www.java.com/en/download/faq/remove_olderversions.xml
    #* Remove multiple Java Console extensions (if needed): http://kb.mozillazine.org/Firefox_:_FAQs_:_Install_Java#Multiple_Java_Console_extensions
    #*Java Test: http://www.java.com/en/download/help/testvm.xml

  • Why does Firefox sometimes open a new window when I navigate to an existing tab?

    I often have 7 or 8 tabs open in Firefox. Sometimes when I click on a tab, Firefox opens it in a new window instead of just going to that tab. I haven't figured out a pattern when it does this.

    A very slight movement (usually downward) will cause the tab to "tear off"/"tear away" into a new window. You can drag the tab back to the original window from the new window.
    You can install this Add-on to stop the "tear off"/"tear away" behavior:
    *https://addons.mozilla.org/en-US/firefox/addon/bug489729-disable-detach-and-t/
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You need to update some plug-ins:
    *Plug-in check: https://www-trunk.stage.mozilla.com/en-US/plugincheck/
    *Adobe Shockwave for Director Netscape plug-in: [https://support.mozilla.com/en-US/kb/Using%20the%20Shockwave%20plugin%20with%20Firefox#w_installing-shockwave Installing ('''''or Updating''''') the Shockwave plugin with Firefox]
    *Next Generation Java Plug-in for Mozilla browsers: [https://support.mozilla.com/en-US/kb/Using%20the%20Java%20plugin%20with%20Firefox#w_installing-or-updating-java Installing or Updating Java in Firefox]

  • Why does StreamSocket::ConnectAsync set up two TCP connections when proxy is configured in system?

    Hello, Dear all,
    Per my test, the proxy for HTTPS will be selected as the actual used one for the out-going packets if we do the following test in an corporate network environment. Two connections will be set up: one is with the proxy, the other one is with the target address.
    Some info about my env:
    1. the configured proxy could only be accessed in the corporate network;
    2. the target host has both private and public IPs;
    3. I don't check whether there is proxy configured in code.
    4. the issue could only occurr in the private network; If I do the test out of the corporate network, the behavior is correct because no proxy is configured. But I am not sure whether the issue would occur if there would be a usable proxy configured.
    The repro steps are:
    1. Create a Windows Store App project with VS2013. The testing code is pretty simple as the following:
    using namespace Windows::Networking::Sockets;
    StreamSocket^ streamSock = ref new StreamSocket();
    IAsyncAction ^sconn = streamSock->ConnectAsync(
    ref new Windows::Networking::HostName("10.1.2.3"), "56789",
    SocketProtectionLevel::PlainSocket);
    The target address and port (10.1.2.3:56789) could be any meaningful or bad one. We only need to observe the packet sent out from the client side in the following steps.
    2. Configure the proxy in Internet Options -> Connections -> LAN Settings -> Advanced -> Secure. Give a good proxy/port to it;
    2.1. Run the program and capturing the packet from Wireshark or other tools.
       ==> You will see that a HTTP request with header "CONNECT" is sent to the proxy. That's to say, the client will connect to the proxy.
       ==> You will also see that the client side also sent out a TCP SYN packet to the remote target address (10.1.2.3:56789).
    3. Disable or remove the proxy setting;
    3.1. Run the program and capturing the packet from Wireshark or other tools.
       ==> You will see that there would be no HTTP request sent out.
    I am using Win8.1/VS2013 and the system is up-to-date... I am not sure the behavior is designed as this, or it is a bug of the StreamSocket?
    BTW: I didn't use Windows::Networking::Connectivity::NetworkInformation::GetProxyConfigurationAsync on purpose.
    For the classical WinSock, we could only see the TCP SYN packet in step 2. That's to say, the behaviors between StreamSocket and WinSocket are different.
    Thank you all.

    A workaround to avoid proxy connection requests from being sent out is to use the
    ConnectAsync(Hostname, String, SocketProtectionLevel,
    NetworkAdapter) method with a specific adapter. The proxy-related logic is disabled when a specific network adapter is selected.
    You can retrieve the main active network adapter by calling GetInternetConnectionProfile() and then referencing the NetworkAdapter property of the returned information:
    ConnectionProfile^ connectionProfile = NetworkInformation::GetInternetConnectionProfile();
    NetworkAdapter^ adapter = connectionProfile->NetworkAdapter;
    You could also enumerate all possible adapters and try to connect on each of them, one by one:
    for each (HostName^ localHostInfo in NetworkInformation::GetHostNames())
    if (localHostInfo->IPInformation != nullptr)
    NetworkAdapter^ adapter = localHostInfo->IPInformation->NetworkAdapter;
    // Attempt to connect with this adapter.

  • Something blocks new tcp connection (Leopard)

    Hi all,
    I'm almost at a loss my issue..
    I'm using Xserve as a file server on the internet, running proftpd(http://www.proftpd.org/) with MacOSX 10.5.6 server.
    As of the proftpd with Tiger Server, everything worked well.
    Building up a new server with Leopard Server and proftpd, something seems to get wrong..
    From an ftp client, like Cyberduck, command line ftp, windows' one, every ftp clients resulted in the same, the data-connection will be blocked in a certain situation.
    For example, from a command line ftp client,
    - First attempt:
    login to the ftp server(Leopard with proftpd) and get the file list(issue "ls" command) on the active(PORT) mode.
    => success.
    - Second attempt:
    Soon after the successful file-listing, from another ftp client, login to the same ftp server with a different account and get the file list on the active mode.
    => fail. client seemed to be stalled for about 10 seconds, then ftp connection got disconnected forcedly(from the server).
    The above is always reproduced in my environment(from the internet, from the internal LAN, both).
    On the passive(PASV) mode, nothing wrong happen.
    Getting filelist is just for making a new ftp-data-connection, so it has to not be a filelist, but just uploading/downloading is the same.
    The problem is in the active(PORT) mode.
    The proftpd's log says "Failed binding to the IP address, port 20: Address already in use".
    Of course I'm not runnig any daemons using port 20, and this issue will appear in both standalone ftp daemon mode and launchd(inetd) mode.
    More wierd is,
    after waiting 30 seconds from the last successful filelist, the next filelisting(active mode) will success. And,
    Using same account(ftp user) for the first and the second attempt above, it will success too.
    Yes I had suspected built-in firewalls, I've had disabled all firewalls I can treat: ipfw -flush, kill emond, kill socketfilterfw, but nothing effected.(Of course, the firewall preferences at the Server Admin was already disabled)
    Wierd more is the issue doesn't seems to be IP address related, but user-account related.
    Guessing from these symptoms, I suspect something authenticating functions in Leopard.
    Proftpd uses PAM for its authentication to OSX.
    /var/log/system.log shows below at accepting clients:
    Mar 27 19:42:02 HOSTNAME org.proftpd.proftpd[94198]: launchproxy[94198]: /usr/local/sbin/proftpd: Connection from: XXX.XXX.XXX.XXX on port: 51108
    and /var/log/secure.log shows:
    Mar 27 19:42:03 HOSTNAME com.apple.SecurityServer[36]: checkpw() succeeded, creating credential for user USER_A
    Mar 27 19:42:03 HOSTNAME com.apple.SecurityServer[36]: checkpw() succeeded, creating shared credential for user USER_A
    Mar 27 19:42:03 HOSTNAME com.apple.SecurityServer[36]: Succeeded authorizing right system.login.tty by client /usr/local/sbin/proftpd for authorization created by /usr/local/sbin/proftpd.
    Does something block access to the system resources for 30 seconds..?
    Such a thing can be happen..?
    I've asked proftpd's forum, but they couldn't reproduce the issues.
    Sadly does this issue depend on only my environment?
    #well, I'm ignoring the basic discussion about using Xserve as an ftp server and using proftpd.
    #They say it has complex circumstances for it..(^^;;
    Very sorry for this long post with my poor English,
    Any information, any suspicious possibilityies are appreciate.
    Help me please...
    Kind regards,
    kura

    etresoft,
    thanks for the link. Seems to be very close to.
    The problem seems to be proftpd-related, using the latest version of it, the problem looks like gone.
    Sorry for wasting your time, and apologize for my lazy test.

  • Why does Firefox now open a new window "when I click on a link" while using? It's a new annoyance that only appeared when I downleaded or added an add-on or extension. Please help me! Thank you VERY much!

    A new window opens when I click on a link or go to a new site.

    Do you have that problem when running in the Firefox SafeMode? <br />
    [http://support.mozilla.com/en-US/kb/Safe+Mode] <br />
    ''Don't select anything right now, just use "Continue in SafeMode."''
    If not, see this: <br />
    [http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes]

  • Why does safari always open a new windows on start up?

    On startup safari opens one more window in addition to the previous session window, if i change settings safari boulbes previous session window.
    What I have to do to make safari open only one window on startup?

    Safari > Preferences > General
    Select: A new window from the Safari open with: pop up menu
    With Safari open, you can also access Safari Preferences with the Command ,  (comma) keyboard shortcut.

  • Random TCP connections created in Selector.open (in NIO)

    I'm currenlty running a production app which has several independently running application server classes going at any given time. Each of these uses one Selector to provide support for asynchronous I/O operations. Lately I noticed that when bouncing one of these servers I'd have problems bringing it back up because of sequential "ghost listeners" and "ghost connections" colliding with the ports I was interested in.
    So, I got out a local port-scanner and did some digging. To my chagrin I discovered that every time I made a call to Selector.open() a new TCP connection was made from my application to my application on an internal port. In Java 1.4.2_02 this occured on the "primary" network adapter. In Java 1.5 this occured on the loopback adapter. Unfortunately for me neither is acceptable because my app regularly binds and unbinds for listening on varying adapters including the wildcard adapter (0.0.0.0) and I can't have my own process colliding with itself trying to listen to ports.
    Okay, so then I did some forum searching with the help of a couple co-workers. It turns out these connections are "normal" and related to something called the "wakupPipe", or "wakup pipe". Also, this seems somewhat related to something we call the "runaway select event" in-house (where Selector.select(x) returns 0 before the timeout is up over and over again, which we've long since worked around to support Java 1.4.2_02).
    This problem occurs on windows 2000 and windows server 2003. I've attached a code-snippet below that will duplicate the problem (and flood a system with extraneous TCP connections if left running long enough).
    My questions are:
    1) Why in the world did this wakup pipe have to be implemented as a TCP connection (rather than in-memory)?
    2) Why is this not documented anywhere in the Java API's, or am I missing the documentation of it?
    3) Is there some way to control the behaviour of this "wakup pipe"? (ie: make it be in-memory only, a file, or specify port-range, IP etc...)
    4) Isn't it dangerous to create a library based on undocumented and randomly allocated TCP connections that can't be controlled via configuration?
    import java.nio.channels.Selector;
    import java.util.ArrayList;
    public class NIOSelectorOpenExample implements Runnable {
        protected boolean shouldRun = true;
        public void shutdown() { shouldRun = false; }
        public void run()
          try {
            ArrayList selectors = new ArrayList();
            while( shouldRun )
                selectors.add( Selector.open() );
                Thread.currentThread().sleep(500);
          } catch (Exception ex) {
              ex.printStackTrace();
    }Basically on #4 I want to know why/if running this code wouldn't be a major problem on any system that opens and closes ports for listening regularly. (And yes, aside from the fact that it doesn't explicitly clean up the selectors before exiting.)

    Hmmm ...
    We had an issue in production where one
    of the ServerSocketChannels failed to bind because it
    collided with the wakeup pipe range. Of course, this
    was on Java 1.4.2_02 which binds on the primary
    adapter for the system and not the loopback adapter.This seems back to front. By default Java binds to INADDR_ANY which is all the interfaces, which is why you got the collision on the loopback port which was already there. If it bound the socket to a specific non-loopback NIC there would be no collision with any loopback port, they are different number spaces.
    Are you able to create all the ServerSockets before any of the Selectors?
    or, if your hosts aren't multihomed, is it practical for the application to bind its ServerSockets to the primary NIC (i.e. the non-loopback)?
    Yes, we can repeatedly try to bind on a port and
    d perform other work-arounds, but why should we have
    to? How could we have expected this behavior? (It
    may be a Windows limitation that caused Sun to choose
    their implementation method, but non-Java TCP apps on
    windows don't have these problems...)Agreed, but then again non-Java TCP apps don't try to implement select() for arbitrary numbers of sockets to agree with *nix platforms, they can generally live with <= 64.
    Note: The problem appears exacerbated from having the
    listen ports of these wakeup pipe connections stay
    open for long periods of time (rather than closing as
    soon as the pipe is established). Would this help? There would still be the connected port with the same number & this might inhibit a new listening port with that number. Haven't tried this myself.
    Well, considering the behavior changed between
    1.4.2_02 and 1.5 it can't be all that inaccessible a
    fix. Perhaps using an extra TCP connection was
    necessary in some cases, but obviously binding to
    ("127.0.0.1", 0) isn't the only choice since it has
    changed recently and those values could easily be
    made configurable (given access to the code
    involved).It changed from binding to 0, i.e. INADDR_ANY, in 1.4 to binding to 127.0.0.1 in 1.5, probably in an effort to vacate the port space for the physical NICs.
    Given access to the code involved you can change anything. In the SCSL code it is sun.nio.ch.WIndowsSelectorImpl.java in src/windows/classes.
    Actually, I'm also wondering if a single
    (known-default/configurable) listen port wouldn't be
    adequate for all of these wakeup pipe TCP
    connections. Me too.
    Regards
    EJP

  • TCP connections used by RMI

    hello,
    I tried making a simple RMI application to check about the usage of TCP connections for the communication. The client and server are running on different hosts and my observations are:
    a) when the client is invoking a method on the server at an interval of about 1 sec, then the same connection is used everytime for the communication.
    b) when the client is invoking a method on the server at an interval of about 30 sec, then the a new TCP connection is made everytime for the communication !
    The java.rmi.dgc.leaseValue is set to 100 minutes in both cases. Does this not mean that the connection should be maintained for 100 minutes even if there is no communication between the client and server ??

    thanks, I could not find any parameter in the standard properties list, however in the SUN specific properties we do have sun.rmi.transport.proxy.connectTimeout which should control the connection life. I use IBM's JRE, so I will try to find an equivalent property.
    Another question ... what is the benefit of java.rmi.dgc.leaseValue if the TCP connection is closed itself ? Does the gc not happen if the TCP connection itself breaks ? Or does the RMI think about a logical connection which is independent of TCP connection's life ?

  • Jhs Lovs open new db connection

    We are using jheadstart 11.1.1.3.35. There is a need to minimise the database connections opened by the application. However we have noticed that all jhs LOVs in the application are opening a new database connection instead of using the db connection of the root application module. Is there any way to avoid this type of behaviour?
    Thanks

    Dear Steven,
    I use the default configuration. Does it have to do that the development platform is linux, I doubt about it. In 5 applications using jheadstart 1.1.1.3.35 and jdeveloper 11.1.1.4.0, we encounter the same behaviour:
    When we open a jhs lov for the first time a new connection spans. Then this connection is reused for any subsequent jhs lov calls.
    So for every root application module with jhs lovs we always have 2 db connections (when we query v$session) instead of 1, so 5 root ams with jhs lovs will span 10 db connections.
    I tried to change the transaction option to Always Use Existing Transaction but then a runtime exception is thrown:
    Caused by: oracle.adf.controller.activity.ActivityLogicException: ADFC-00006: Existing transaction is required when calling task flow '/WEB-INF/adfc-config-EmployeesLookupn.xml#EmployeesLookupnTaskFlow'.
         at oracle.adfinternal.controller.activity.TaskFlowCallActivityLogic.validateModel(TaskFlowCallActivityLogic.java:908)
    Also the "share data controls with calling task flow" option for the individual Lov is always checked by default. How can i change the data scope setting at the application level?
    I can send you a small test case i created to see for yourself.
    Thanks

  • Does Socket.keepAlive(true) method opens a new conenction ?

    In java Socket Programming we have a method Socket.keepAlive(true) method to check the end to end conenction.
    Does this method opens a new port for evert packet which it send?
    In my program i was checking with the tool netstat -an which was showing like as follows:
    tcp 0 3328 16.181.58.27.7278 2.141.3.37.3821 ESTABLISHED
    tcp 0 3328 16.181.58.27.7278 2.141.3.37.3789 ESTABLISHED
    tcp 0 3328 16.181.58.27.7278 2.141.3.37.3806 ESTABLISHED
    tcp 0 3328 16.181.58.27.7278 2.141.3.37.3844 ESTABLISHED
    Please let me knw what is the root cause of this kind of probelm and any resolution?

    Matthias,
    We had a similar problem about 6 months ago (see [Query Refresh goes to Saved View?|Query Refresh goes to Saved View?;). As you can tell from the title I gave this thread, our problem seemed to be caused by a saved view. However, we could never figure out how to delete this saved view from the workbook.
    Thought this might help (and maybe someone will finally figure this out)...
    Bob

  • Anyone else having an issue with TCP connections using iCloud for Windows?

    Hi,
    Before I asked this question, I did wait to see if any related questions came up, but none did, so I submit it now.
    On my admittedly older laptop running Windows 7 64b Home, I've run into difficulties with the iCloud for Windows app to the extent that I had to uninstall it.
    It would that, as my laptop was running, in the background, iCloudServices.exe would endlessly iterate TCP connections, which, while not actively sending or receiving any data, after some hours would number over 100 instances, taking up resources, and grinding my laptop's WiFi connection to a grindingly slow pace. I ended up, within the app, turning off everything, iCloud Drive and Photos, (I never used bookmarks), but still this would continue to occur.
    I contacted Apple Support, explaining what was going on, and they stated they only dealt with IOS and gave me a Microsoft Support number. When I called Microsoft support, I came more and more to the realization that the issue was specifically with the iCloud for Windows app, as that was the only software that was endlessly creating and not closing TCP connections as it was. How was Microsoft supposed to solve an issue with Apple code?
    So I called Apple back, whereupon they insisted it was a Microsoft issue. I explained other cloud services installed on the same computer were not having the same issue, it was unique to ICloudServices.exe. They stated they only dealt with IOS. I stated I purchased an iPad Air less than 7 months ago, and was trying to run iCloud in support of that.  They again stated they only dealt with IOS, and suggested I again try Microsoft. I asked them if it was reasonable to expect Microsoft to solve issues with Apple code? They said regardless, there was zero support offered for anything having to do with Windows, and all I could do was uninstall the app, which I did, though that did not feel very satisfactory to me. My thinking is, if Apple writes a Windows app in support of their hardware, they should offer support for it.
    Anyway, I was just wondering, is this an issue unique to me? or have others experienced a similar issue? I found this issue by opening the Windows Resource Monitor, looking under the Networking tab, and scrolling through the TCP Connections section to find 100+ concurrent iCloudServices.exe instances listed, whereas even Chrome, with multiple tabs and extensions, topped out at around 20.
    My one month old Desktop, DYI, sports a solid Asus 1150 MoBo, i7-4790k cpu, 16GB Ram, and an EVGA GTX 970 video card. I list some specs only to illustrate this computer has no hardware issues in comparison to my long in tooth laptop. On this desktop, running Win 8.1 Pro 64b,  at least as many, identifiably Apple, background service TCP connections are created even compared to Chrome, regardless of many tabs being open, many extensions, and even some related apps. Adobe does not even come close, though I run the full CC subscription. On this new computer, running Windows 8.1 Pro 64b, there are currently over 50 TCP connections and loopbacks that do not identify themselves, with just a - for the Image, and PID. With the experience on my laptop, I wonder how many of these are generated by Apple software, if not specifically iCloud software?
    The frustrating aspect of these connections is they seem in no way active, While the Chrome and Adobe connections can be seen to be transferring data, as long as I am not running iTunes, or so have my iPad actually plugged in, it seems 99% of the time these iCloudServices.exe connections are just taking up ports, neither sending nor receiving any data discernable to me under the Processes with Network Activity, or Network Activity lists, both displayed in the same window as the TCP Connections in the Windows Resource Monitor.
    Though I am fairly ignorant as regards coding, it seems as if there is no call to close a connection, very specifically, iCloudServices.exe, when it is no longer needed, and the next time a connection is needed, a new one is opened, rather than accessing the one previously opened. The only other reason I could imagine this might be occurring is if my Norton Internet Security software might mask and/or block the port after a certain time of inactivity.
    Anyone out there have any ideas or advice about this? Thanks in advance.

    Thanks jared,
    I'm still dealing with this issue through Apple. Some time after I posted this, I contacted Apple again. They did start a case up for me, as I was experiencing the same behavior on two different machines, with two different versions of Windows.
    So far it remains unsolved. I've logged iClouds for Windows on my desktop, which is brand new, then logged for awhile after completely uninstalling Norton Security Suite, depending on the Microsoft security for some time, and finally logged after I uninstalled iCloud for Windows, restarted, installed a clean download, and connected using a completely different test account, which Apple set up for me. None of this made any difference. Looking at the logs, it seems every 10 minutes, iCloudServices.exe creates a new TCP connection to confirm I'm using less than 5GB on iCloud, (which I am by a good margin, using less than 2GB), it seems this connection is not closed, and when the next iteration rolls around 10 minutes later, a new TCP connection is created. I come very close to having 6 TCP connections created per hour, until I restart my computer. This works out to... 6 x 24 = 144/day.
    Perhaps the article you posted will shed some further light on this. I'm thinking seeing the state of the connection through netstats, at the least, could help.
    For the last week, I've been putting a hold on further logging, as Apple wants me to create a new user account on one of my computers, install iCloud for Windows there, and log it running in the other account. This however basically means I cannot use my computer for a fair number of hours, and I've been busy enough with work the past week that I haven't the time or energy to afford to set this up and run it. I've had need of my computers too much for the past week.

  • SbRIO-9612 unable to close a TCP connection without causing TCP failure

    Hello,
    I'm working on a multi-server (sbRIO-9612's), multi-client (Windows PCs) application which uses the STM 2.0 libraries and LV2009 SP1.  The server listens on a UDP port for the client to send a message - once sent, the server opens the TCP connection to the client and all is well . . .
    . . . until I added a "hearbeat" message to monitor for down connections.  Once the TCP connection has been extablished, the client PC sends a TCP message (a request for the number of clients connected) to the server sbRIO-9612 every 5 seconds - both the client and server are coded to close the connection if a message is not received within 10 seconds.  The client-side app works fine - if the TCP message is not returned in 10 seconds, the connection is closed and a new UDP message is sent to re-establish it.
    The server-side is the problem - if no message is received in 10 seconds, the TCP connection is closed o.k. (no errors), but the server will no longer allow new TCP connections to be established unless it's rebooted.  It seems to work fine if I leave the non-communicating TCP connections open on the server-side, but I can see this leading to problems after several clients have disconnected without notifying the server properly.
    Interestingly, if the client closes the TCP connection properly (via TCP Close in LV), the server detects it fine and there is no problem.
    I'm allowing the operating system on both sides to select the TCP port to use.
    Any help is greatly appriciated - thank you!
    Al

    Hi Al,
    Thanks for the update -- I'm glad that you were able to find that the issue wasn't actually with the TCP VIs, and moreover that LabVIEW 2010 SP1 seems to have resolved the issue. I would still recommend combing through the code on the RT end to ensure that the LabVIEW 2010 SP1 upgrade really did 'fix' the underlying issue. It's somewhat strange that a version upgrade resolved TCP communication issues that you were having. I just want to be sure that the solution is a truly stable one.
    Sanjay C.
    Embedded Software Product Manager| National Instruments

Maybe you are looking for

  • MBP 13 + 10.6.2 - forbidden sign + no longer boots

    Hi, After updating to 10.6.2 my MBP 13 no longer boots it hangs in the startup gray screen with a forbidden sign instead of the Apple logo and the spinner spinning forever... Any ideas ? Jorge.

  • How to do disable the touchpad in windows 7?

    hi, i am using thinkpad edge 14, and i want to disable the touchpad, i think use mouse is enough for me. thanks. Glo.

  • How can I open a microsoft publisher file on my ipad

    I have a bunch of publisher files I need to port over and can't find a program to open them with. I have tried keynote, pages, documents to go and quickoffice. Please tell me there is something out there instead of having to redo them all.

  • FireWire 400 slowdown

    I was testing some notebook drives on the FW400 port of the MacBook pro. Average write speed = 32MB/s Then I tested all those same drives (in FW400/USB2 enclosures) on the USB 2.0 port. Average write speed = 20MB/s. I went back to test the drives aga

  • HT201210 Error when trying to update my ipad

    I got an error when trying to update my ipad saying it could not be updated and gave an error 6.  Has anyone else had this happen and how did you rectify it?