SQL Azure sync service-- absurdly slow and fails after a few days

Hello. We have been trying to use Azure Data Sync to replicate an on-premise MSSQL database to an SQL Azure database for read-only access by a customer. This was working for a while, but stopped syncing after a couple months(12hr auto-sync schedule) with
no errors in the log. I had to re-create the sync group, but now it takes even longer than originally to try to sync, and never actually completes, as it gets interrupted by bi-weekly server restarts... It used to take a few hours to sync the new data in our
database(which is appended to daily)-- but this time it fails after 4+ days... It was unacceptably slow initially(IMO), but now it's clearly unusable.  The original initialization of the data when I first set it up was less than 2 days of syncing. 
It seems there is a throttle on the Azure sync service. Is this true?  Would it be best to clear the SQL Azure database now and re-sync? Is there a way to pre-load the SQL Azure database with MSSQL on-premise data via a SQL backup file or something?
Please advise. Thank you.

when you re-created the sync group, does the member databases/hub database have pre-existing data?
when synching a sync group for the first time, make sure databases don't contain the same set of data, otherwise, you will run into conflicts which will completely slow down your sync...
I deleted the initial sync group because it wasn't syncing(auto or on-demand), nor creating a log entry with an error indicating why.
So, I simply deleted the sync group and re-created it with the same exact databases and settings. I did not delete all data in the SQL Azure database-- I was under the assumption that the sync service, with the tracking tables were smart enough to not get
confused with pre-existing data, but apparently that's not how this works?
I obviously can't delete the data in the source database(MSSQL on-premise), but I could delete the tables in the SQL Azure database if that's supposed to fix the problem-- then we'll just have to wait multiple days for it to be completely re-initialized,
hopefully without error... Is there a way to seed the data in some way to prevent this extremely log first sync?
Thank you for your help.

Similar Messages

  • HT4623 I recently updated my iPhone 4 to iOS 6 and suddenly after a few days my App Store Kept telling me it couldn't connect to iTunes Store!

    I recently updated my iPhone 4 to iOS 6 and suddenly after a few days my App Store Kept telling me it couldn't connect to iTunes Store! How Can This Be Solved?

    If you would take a moment and looka t the other posts in the forums, you will see that this is being asked over and over and over and over again.
    Apparently there is an issue with itunes.
    Be patient.  Wait.  Try again later.

  • 10g RAC database: instances fail after a few days...

    Im afraid I'm new to Oracle, so assume total ignorance when replying!
    We have two servers, db1 and db2 running Oracle under Windows 2K3 web edition [SP1].
    Both have a shared Direct Attached Storage disk, over a Scsi fibre connection.
    The database is set up using instructions found online for RAC.
    Either instance will stop, and the other will take over, after a few days. The problem is, we aren't using the database yet. [There isn't a problem with it, the development people have checked that they can use the database.]
    The two errors [found using the EM console] which seem to be relevant are:
    'Metrics "Database Time Spent Waiting (%)" is at 100 for event class "other"'
    and 'Failed to connect to database instance ... TNS no listener'.
    [Which is obvioulsly the failure]
    I have scoured the web, and the rather dense reference books for Oracle I have access to, and to no avail.
    Another contributing factor is the 'WMI Performance Adaptor' stops and starts on both machines every thirty seconds.
    Any response/guidlines/advise would be greatly appreciated.
    Apologies if I have started this thread in the wrong place!
    James
    Spelling errors - Message was edited by: jmorse

    Tada, it failed at 4am last night.
    Below is the bottom half of the log file.
    2005-09-05 15:27:57.796: Attempting to start `ora.gandlake-db2.ASM2.asm` on member `gandlake-db2`
    2005-09-05 15:28:04.703: Start of `ora.gandlake-db2.ASM2.asm` on member `gandlake-db2` succeeded.
    2005-09-05 15:28:04.921: Attempting to start `ora.x200.x2002.inst` on member `gandlake-db2`
    2005-09-05 15:28:33.359: Start of `ora.x200.x2002.inst` on member `gandlake-db2` succeeded.
    2005-09-05 15:28:40.578: Start of `ora.x200.x2001.inst` on member `gandlake-db1` succeeded.
    2005-09-05 15:28:40.609: CRS Daemon Started.
    2005-09-05 15:28:41.140: Attempting to start >`ora.gandlake-db1.LISTENER_GANDLAKE-DB1.lsnr` on member `gandlake-db1`
    2005-09-05 15:30:06.078: Start of `ora.gandlake-db1.LISTENER_GANDLAKE-DB1.lsnr` on member `gandlake-db1` succeeded.
    `ora.gandlake-db1.vip` on `gandlake-db1` went OFFLINE unexpectedly
    2005-09-06 19:48:35.703: Attempting to stop `ora.gandlake-db1.vip` on member `gandlake-db1`
    2005-09-06 19:48:36.250: Stop of `ora.gandlake-db1.vip` on member `gandlake-db1` succeeded.
    Restarting `ora.gandlake-db1.vip` on `gandlake-db1`
    2005-09-06 19:48:36.312: Attempting to start `ora.gandlake-db1.vip` on member `gandlake-db1`
    2005-09-06 19:48:38.843: Start of `ora.gandlake-db1.vip` on member `gandlake-db1` succeeded.
    Successfully restarted `ora.gandlake-db1.vip` on `gandlake-db1`
    `ora.gandlake-db1.ons` on `gandlake-db1` went OFFLINE unexpectedly
    2005-09-06 22:59:36.875: Attempting to stop `ora.gandlake-db1.ons` on member `gandlake-db1`
    2005-09-06 22:59:38.218: Stop of `ora.gandlake-db1.ons` on member `gandlake-db1` succeeded.
    Restarting `ora.gandlake-db1.ons` on `gandlake-db1`
    2005-09-06 22:59:38.296: Attempting to start `ora.gandlake-db1.ons` on member `gandlake-db1`
    2005-09-06 22:59:40.109: Start of `ora.gandlake-db1.ons` on member `gandlake-db1` succeeded.
    Successfully restarted `ora.gandlake-db1.ons` on `gandlake-db1`
    `ora.gandlake-db1.vip` on `gandlake-db1` went OFFLINE unexpectedly
    2005-09-08 04:47:35.078: Attempting to stop `ora.gandlake-db1.vip` on member `gandlake-db1`
    2005-09-08 04:47:35.734: Stop of `ora.gandlake-db1.vip` on member `gandlake-db1` succeeded.
    `ora.gandlake-db1.vip` ran out of restarts on `gandlake-db1`
    `ora.gandlake-db1.vip` failed on `gandlake-db1`, relocating.
    2005-09-08 04:47:35.875: Attempting to stop `ora.gandlake-db1.LISTENER_GANDLAKE-DB1.lsnr` on member `gandlake-db1`
    2005-09-08 04:47:36.718: Stop of `ora.gandlake-db1.LISTENER_GANDLAKE-DB1.lsnr` on member `gandlake-db1` succeeded.
    2005-09-08 04:47:36.765: Attempting to stop `ora.gandlake-db1.ASM1.asm` on member `gandlake-db1`
    2005-09-08 04:47:37.390: [RUNNABLELISTENER:4648] state change aborted (locked): ora.x200.x2001.inst
    2005-09-08 04:47:44.578: Stop of `ora.gandlake-db1.ASM1.asm` on member `gandlake-db1` succeeded.
    2005-09-08 04:47:44.625: Attempting to stop `ora.x200.x2001.inst` on member `gandlake-db1`
    2005-09-08 04:47:46.531: Stop of `ora.x200.x2001.inst` on member `gandlake-db1` succeeded.
    2005-09-08 04:47:46.625: Attempting to start `ora.gandlake-db1.vip` on member `gandlake-db2`
    2005-09-08 04:47:50.203: Start of `ora.gandlake-db1.vip` on member `gandlake-db2` succeeded.x200 is the name of the database, there are two instances in total, db1 and db2. The company name is 'gandlake', and the machines are called 'gandlake-db1' and 'gandlake-db2'.
    Thanks again.

  • ITunes on new Macbook Air is slow and laggy after a few minutes. What could be causing this?

    I recently updated from PC to a 2013 Macbook Air i5 with an upgraded 8GB of memory and I copied over my iTunes library. However, when I've been using iTunes for a few minutes (specifically after editing the info of one of more songs), it gets very laggy and slow. I then have to quit iTunes and re-open it for it to run smoothly again. Anyone have any ideas what could be causing this?

    Ignore all other sounds except at time frame  3 to 5 seconds in this video http://www.youtube.com/watch?v=0edpFdRZyFo
    If your macbook is making that noise being woken from sleep mode, its normal and the noise of the laser tray. in the superdrive resetting, disk or no disk.  (ignore the fact the video says 2010 macbook, superdrive makes the same sound).
    Is that the noise you are hearing?
    Ah yes, heres  the SMS sensor sound >  is that it? 
    http://www.youtube.com/watch?v=66xMoTEFH7Q
    Thats a protection sound of the HD heads parking themselves to protect the HD from damage.  Are you moving the Macbook at all when you hear the sound?
    <Edited by Host>

  • Lightroom mobile syncing is super slow and stop for no reason. cannot resume syncing. no idea with the progress of syncing. cannot sync the original file from mobile into desktop.

    lightroom mobile syncing is super slow and stop for no reason. cannot resume syncing. no idea with the progress of syncing. cannot sync the original file from mobile into desktop. stuck and cannot process any further.

    Hi. Did you trigger a delete data via LR preferences ->Lightroom mobile.
    I'm not seeing a catalog connected to your account.
    Did you import originals via the connection-kit?
    Thanks
    Guido

  • User Profile Services - Sync Connection disappearing after a few days - "Moss MA not found"

    Hi,
    This may sound like a common problem but i can't seem to find a solution.
    I recently installed a SharePoint 2010 farm. The farm is currently SP1, Aug12 CU.
    I created the user profile service application without any problems and created a connection, sync worked...everything was fine. Few days after, i noticed the connection disappeared! I tried recreating it but i got the above error. Tried deleting the SA
    and recreating it but still the same.
    I checked everything:
    - FIM services are started
    - User profile services (both) are started
    - It is not an AD connection timeout (error comes up in a second and containers populate just fine)
    - All permissions were given correctly (keep in mind this has worked before)
    - Tried updating to the Aug12 CU
    Then i remembered i installed the farm with the sql servers mapped with FQDN instead of NETBIOS or Alias.
    That led me to try to enable netbios on the SA via PowerShell but to no avail.
    So basically my question is...is there anything i can do or is re installing the farm the only solution?

    Hi All, 
    Trevor, L:ooks like your suggestion works I juts tried creating a UPS with the FQDN and then changed to using the NetBIOS name. But the caveat is I am not using the NetBIOS name as the default database, I am using another DB Servet
    Whatever we do at this point needs to be tested in DEV so we need DEV Server. I have never seen an environment successfully maintained using the FDQN  If it were mr I would have already rebuilt it only takes 90 minutes or so to stand a an environment
    up.
    Would It would be better to Build another farm next to the first one and remove the content dbs from the old farm and move them to the new one and attaché them to new WebApps.  I think it would take less time and be healthier in the long run
    to move away from using the FQDN for SQL Completely, I don't believe its supported anyway.. 
    This post from an MSDN Blog is titled NEVER, NEVER, AGAIN. Its just one example.
    http://blogs.msdn.com/b/momalek/archive/2010/10/29/never-again-never-use-a-fqdn-for-the-sharepoint-2010-sql-server-name.aspx
    I should have said this when I wrote the rename response, its really to attempt the rename or start over... Though Trevor is correct, if you specify the NetBIOS name of the instance when creating the UPS it will work.. Shame I didn't think of it,Trevor
    you rock..
    Trevor, I would like to get your thoughts as well??? To build another Farm or to continue using the one you have with an FQDN?
    -Ivan
    Ivan Sanders My LinkedIn Profile,
    My Blog,
    @iasanders, Business Intelligence in SharePoint 2013.

  • My Apple TV is slow and disconnects after the latest update (5.1). It seems to effect both home sharing and through the net. Is there a known problem?

    My Apple TV is slow and disconnects after the latest update (5.1). It seems to effect both home sharing and through the net. Is there a known problem?

    Hi Scott.
    There is a problem - but Apple have not acknowledged it. Many people on these forums are experiencing the same issue.
    To get something done, you should report it here. The more of us that tell Apple about it, the more likely they are to fix it. You could also send a short email headed 'Apple TV update problems' to
    <Email Edited by Host>

  • Have an original iPhone 3G. Can you still sync iTunes (10.6) and Contacts after Lion install?

    Have an original iPhone 3G. Can you still sync iTunes (10.6) and Contacts after Lion install?

    An older iTunes will not open the library once used by a newer version.
    iTunes 10.6.3 will work with iOS6 as long as the hardware doesn't post-date the release of 10.7  Use iTunes 10.6.3 on both machines.
    iTunes 10.6.3.25 - http://support.apple.com/kb/DL1575

  • TS1347 when syncing my iphone with my Outlook calendar, a few days appointments did not show on my iphone calendar while other days did. I have done this several times in the past, and this is the first time I've had any troulbe

    when syncing my iphone with my Outlook calendar, a few days appointments didn't show in my iphone calendar, but other days did.  The appointments show in my outlook calendar.  I have done this many times, and this is the first time I have had this kind of trouble.  Any idea what has caused these appointments to not show?

    Why start a new and very similar thread to your other one which you have not responded to (have you read the replies?)
    I suggest that no response is made to this duplicate thread. 

  • Ipad2 very slow and crashing after OS8 upgrade 8.1.1

    ipad2 very slow and crashing after OS8 upgrade 8.1.1. I have tried to restore, using the iCloud backup (twice) and it works well for a short while then slows and crashes again.  Genius bar help said older versions of OS8 never closed apps, so a restore should fix it, but it didn't, even with a repeat.

    Hello joey:
    Try resetting Safari
    Trash the preference file and restart (com.apple.safari.plist).
    Barry

  • Problem description: My Macbook air runs very slow since installed Yosemite a few days ago  EtreCheck version: 2.0.6 (91) Report generated October 24, 2014 at 12:07:13 GMT 3  Hardware Information: ️ MacBook Air (13-inch, Mid 2012) (Verified) MacBoo

    Problem description:
    My Macbook air runs very slow since installed Yosemite a few days ago
    EtreCheck version: 2.0.6 (91)
    Report generated October 24, 2014 at 12:07:13 GMT+3
    Hardware Information: ℹ️
      MacBook Air (13-inch, Mid 2012) (Verified)
      MacBook Air - model: MacBookAir5,2
      1 2 GHz Intel Core i7 CPU: 2-core
      8 GB RAM Not upgradeable
      BANK 0/DIMM0
      4 GB DDR3 1600 MHz ok
      BANK 1/DIMM0
      4 GB DDR3 1600 MHz ok
      Bluetooth: Good - Handoff/Airdrop2 supported
      Wireless:  en0: 802.11 a/b/g/n
    Video Information: ℹ️
      Intel HD Graphics 4000 -
      Color LCD 1440 x 900
    System Software: ℹ️
      OS X 10.10 (14A389) - Uptime: 0:15:57
    Disk Information: ℹ️
      APPLE SSD SM256E disk0 : (251 GB)
      S.M.A.R.T. Status: Verified
      EFI (disk0s1) <not mounted> : 210 MB
      Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
      Macintosh HD (disk1) /  [Startup]: 249.77 GB (28.85 GB free)
      Core Storage: disk0s2 250.14 GB Online
    USB Information: ℹ️
      Apple Inc. FaceTime HD Camera (Built-in)
      Apple Internal Memory Card Reader
      Apple Inc. Apple Internal Keyboard / Trackpad
      Apple Inc. BRCM20702 Hub
      Apple Inc. Bluetooth USB Host Controller
    Thunderbolt Information: ℹ️
      Apple Inc. thunderbolt_bus
    Gatekeeper: ℹ️
      Mac App Store and identified developers
    Kernel Extensions: ℹ️
      /Applications/Parallels Access.app
      [loaded] com.parallels.virtualsound (1.0.27 27 - SDK 10.6) Support
      /Applications/Parallels Desktop.app
      [not loaded] com.parallels.kext.hidhook (9.0 24251.1052177) Support
      [not loaded] com.parallels.kext.hypervisor (9.0 24251.1052177) Support
      [not loaded] com.parallels.kext.netbridge (9.0 24251.1052177) Support
      [not loaded] com.parallels.kext.usbconnect (9.0 24251.1052177) Support
      [not loaded] com.parallels.kext.vnic (9.0 24251.1052177) Support
      /Library/Extensions
      [not loaded] org.virtualbox.kext.VBoxDrv (4.2.4) Support
      [not loaded] org.virtualbox.kext.VBoxNetAdp (4.2.4) Support
      [not loaded] org.virtualbox.kext.VBoxNetFlt (4.2.4) Support
      [not loaded] org.virtualbox.kext.VBoxUSB (4.2.4) Support
    Startup Items: ℹ️
      VirtualBox: Path: /Library/StartupItems/VirtualBox
      Startup items are obsolete and will not work in future versions of OS X
    Launch Agents: ℹ️
      [invalid?] com.cisco.anyconnect.gui.plist Support
      [invalid?] com.oracle.java.Java-Updater.plist Support
      [running] com.parallels.mobile.prl_deskctl_agent.launchagent.plist Support
      [invalid?] com.teamviewer.teamviewer.plist Support
      [invalid?] com.teamviewer.teamviewer_desktop.plist Support
      [loaded] org.macosforge.xquartz.startx.plist Support
    Launch Daemons: ℹ️
      [loaded] com.adobe.fpsaud.plist Support
      [running] com.cisco.anyconnect.vpnagentd.plist Support
      [loaded] com.microsoft.office.licensing.helper.plist Support
      [invalid?] com.oracle.java.Helper-Tool.plist Support
      [running] com.parallels.mobile.dispatcher.launchdaemon.plist Support
      [loaded] com.parallels.mobile.kextloader.launchdaemon.plist Support
      [loaded] com.teamviewer.Helper.plist Support
      [invalid?] com.teamviewer.teamviewer_service.plist Support
      [loaded] org.macosforge.xquartz.privileged_startx.plist Support
    User Launch Agents: ℹ️
      [loaded] com.google.keystone.agent.plist Support
      [running] com.microsoft.LaunchAgent.SyncServicesAgent.plist Support
      [running] com.parallels.mobile.startgui.launchagent.plist Support
      [not loaded] org.virtualbox.vboxwebsrv.plist Support
    User Login Items: ℹ️
      iTunesHelper Application (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
      Moveslink2 Application (/Applications/Moveslink2.app)
      Quicksilver Application (/Applications/Quicksilver.app)
      Google Drive Application (/Applications/Google Drive.app)
      Google Chrome ApplicationHidden (/Applications/Google Chrome.app)
      Dropbox UNKNOWN (missing value)
      EvernoteHelper Application (/Applications/Evernote.app/Contents/Library/LoginItems/EvernoteHelper.app)
    Internet Plug-ins: ℹ️
      SharePointBrowserPlugin: Version: 14.1.3 - SDK 10.6 Support
      FlashPlayer-10.6: Version: 15.0.0.189 - SDK 10.6 Support
      Flash Player: Version: 15.0.0.189 - SDK 10.6 Support
      Flip4Mac WMV Plugin: Version: 3.0.0.126   - SDK 10.8 Support
      QuickTime Plugin: Version: 7.7.3
      Default Browser: Version: 600 - SDK 10.10
    User Internet Plug-ins: ℹ️
      Google Earth Web Plug-in: Version: 7.1 Support
    Safari Extensions: ℹ️
      AdBlock
      OpenIE
      Facebook Photo Zoom
      Translate
      1-ClickWeather
    3rd Party Preference Panes: ℹ️
      Flash Player  Support
      Flip4Mac WMV  Support
    Time Machine: ℹ️
      Time Machine not configured!
    Top Processes by CPU: ℹ️
          7% WindowServer
          1% fontd
          1% Google Drive
          0% Microsoft Database Daemon
          0% AppleSpell
    Top Processes by Memory: ℹ️
      180 MB Google Drive
      86 MB mds_stores
      86 MB SyncServicesAgent
      86 MB Google Chrome
      86 MB Finder
    Virtual Memory Information: ℹ️
      2.25 GB Free RAM
      2.84 GB Active RAM
      2.56 GB Inactive RAM
      936 MB Wired RAM
      3.88 GB Page-ins
      74 KB Page-outs

    You have nearly run out of disk space.  Either purchase a larger one or start cleaning out the one you have?

  • I downloaded CS6 and am having issues with my print driver. It is not compatible with the HP 2600n and have tried to download drivers given to me by adobe ( (Jupiter 3) but it is not working. after a few days. Its a temporary fix and is still looking for

    I downloaded CS6 and am having issues with my print driver. It is not compatible with the HP 2600n and have tried to download drivers given to me by adobe ( (Jupiter 3) but it is not working. after a few days. Its a temporary fix and is still looking for the HP driver when i boot up. It also will not save in any print or postscript format. Does anyone know how to fix?
    Currently use a Mac with the latest Mavericks 10.9.4

        Oh boy! Acting kind of weird seems to be an understatement, aquaequus!
    What type of troubleshooting were we able to do with you? I want to make sure that we can get some sort of resolution for this problem.
    It is quite possible the battery door may get your phone in working order again. I'm not sure if the store has it in stock, but it is available in our warehouse for $14.99 which can be ordered via customer service.
    Tamara H.
    Follow us on Twitter @VZWSupport

  • Hii all, I just bought an used iphone 5c from an user and only after a few weeks realised that it got activation locked. He might be unaware of that. Is it possible to get back to him and unlock the device for me as i have not contacts with him presently.

    Hii all, I just bought an used iphone 5c from an user and only after a few weeks realised that it got activation locked. He might be unaware of that. Is it possible to get back to him and unlock the device for me as i have not contacts with him presently.

    Well first you need to sync your iPhone 4 with your Mac/PC so that it will transfer all your music, apps, podcasts, etc. Then sync your iPod Touch and the media you selected during the sync should be there on your iPhone. If you have difficulty in transferring media from iPhone to your computer, try softwares like TransCopy. They will help in transferring data from your iphone to your computer. Dont forget to check that all the transferred data is in the iTunes media folder so that the iTunes can locate the files. Link to Transcopy software :
    http://www.copytrans.net/copytrans.php

  • Http get requests fail after a few weeks

    All,
    I have a get request to a servlet that works for a few weeks, then it will suddenly stop.
    I change the code once, works,then it will fail after a few weeks.
    I change the code again, works, then it will fail after a few weeks.
    Servlet works like: send one request, wait, then send a second.
    Here are the last 2 code iterations:
    try {
            // Construct data
            String data = URLEncoder.encode("key1", "UTF-8") + "=" + URLEncoder.encode("value1", "UTF-8");
            data += "&" + URLEncoder.encode("key2", "UTF-8") + "=" + URLEncoder.encode("value2", "UTF-8");
              //String data = "";
            // Send data
            //URL url = new URL("http://localhost:8080/stocks?action=1&date=20080310");
            URL url = new URL("http://localhost:8080/stocks/monitor?action=1&date="+stringDate);
            URLConnection conn = url.openConnection();
            conn.setDoOutput(true);
            OutputStreamWriter wr = new OutputStreamWriter(conn.getOutputStream());
            wr.write(data);
            wr.flush();
            // Get the response
            BufferedReader rd = new BufferedReader(new InputStreamReader(conn.getInputStream()));
            //System.out.println(rd.read());
            String line;
            int count =0;
            while ((line = rd.readLine()) != null) {
                // Process line...
                 System.out.println(count + line);
                 count++;
            wr.close();
            rd.close();
        } catch (Exception e) {
        try {
            // Construct data
            String data = URLEncoder.encode("key1", "UTF-8") + "=" + URLEncoder.encode("value1", "UTF-8");
            data += "&" + URLEncoder.encode("key2", "UTF-8") + "=" + URLEncoder.encode("value2", "UTF-8");
             //String data = "";
            // Send data
            URL url = new URL("http://localhost:8080/stocks/monitor?action=2");
            URLConnection conn = url.openConnection();
            conn.setDoOutput(true);
            OutputStreamWriter wr = new OutputStreamWriter(conn.getOutputStream());
            wr.write(data);
            wr.flush();
            // Get the response
            BufferedReader rd = new BufferedReader(new InputStreamReader(conn.getInputStream()));
            String line;
            int count =0;
            while ((line = rd.readLine()) != null) {
                // Process line...
                 System.out.println(count + line);
                 count++;
            wr.close();
            rd.close();
        } catch (Exception e) {
        }I send this request twice with different params
    public static String sendGetRequest(String endpoint, String requestParameters)
    String result = null;
    if (endpoint.startsWith("http://"))
    // Send a GET request to the servlet
    try
    // Construct data
    StringBuffer data = new StringBuffer();
    // Send data
    String urlStr = endpoint;
    if (requestParameters != null && requestParameters.length () > 0)
    urlStr += "?" + requestParameters;
    URL url = new URL(urlStr);
    URLConnection conn = url.openConnection ();
    // Get the response
    BufferedReader rd = new BufferedReader(new InputStreamReader(conn.getInputStream()));
    StringBuffer sb = new StringBuffer();
    String line;
    while ((line = rd.readLine()) != null)
    sb.append(line);
    rd.close();
    result = sb.toString();
    } catch (Exception e)
    e.printStackTrace();
    return result;
    }Any ideas?
    Edited by: iketurna on Mar 13, 2008 7:21 AM

    You appear to have empty catch blocks. Which means you don't get the error message that would tell you what is failing.
    Put in code that logs the exception and the stack trace of the exception. If you can't figure out the error message, post it here.
    You should be closing streams in finally statements. Otherwise they might not get closed when there is an error -> you leak descriptors -> you run out of descriptors -> every stream open will fail -> more errors -> more descriptors get leaked -> etc -> everything stops working. Always do it like this:
        WhateverStream out = null;
        try {
            out = ...;
            ...use out...;
        } finally {
            try {
                if (out != null) out.close();
           } catch (IOException e) { ...log it... }
        }

  • My MacBookPro is less than 3 months old and for the last few days, it has been  itslow to load anything, especially web pages.  I get the rainbow swirl when loading or reloading.  I guess I am spoiled.  Up until now it was lightening fast!

    My MacBookPro is less than 3 months old and, for the last few days, it has been loading so slowly, mainly with webpages.  I have gotten the swirling rainbow "thinking" icon more in the last days than I have since I bought it.  I know I'm spoiled and expect it to be faster than lightening (which it has been) but I am worried that I may have been compromised in some way, or, is there anything I can do as administrator to clear out some "junk"?

    Back up your documents and everything else important to you, not that there is any reason to believe your hard disk may be failing, but the symptoms you describe may presage an impending disk failure, and you should have backups anyway.
    Given that your MacBook Pro is so new, you should certainly contact AppleCare and take advantage of the free telephone support included in its purchase price.
    Until then, if you are motivated to investigate this yourself consider the following:
    Apple Support Communities contributor etresoft wrote a very useful app to quickly gather certain system information that may help point to a cause of this problem. Go to his website, download and run EtreCheck:
    http://www.etresoft.com/etrecheck
    Etrecheck will be in your Downloads folder. Open it from there. You may see the following dialog box:
    Click Open - etresoft contributes to this forum frequently and can be considered a trustworthy developer.
    It will take a moment to run as it collects its data.
    Copy and paste its output in a reply.
    Do not be concerned about anything that says "Problem" or "failed".
    EtreCheck was designed to remove any personal information (such as your computer's name and serial numbers) but if you see anything that looks like an email address or any other personal information that should not be divulged to others, please delete or obscure that information when you post the reply.
    When you are finished with EtreCheck, quit the program. It occupies very little space, and you can keep it or drag it to the Trash as you wish.

Maybe you are looking for

  • Macbook Air Random crashing

    Hi Folks I have been having some major issues with my Macbook Air (mid 2011, Yosemite 10.10.1, 1.6GHZ core i5, 2 GB 1333 MHz DDR3) It randomly crashes during use. Programs stop working and then the spinning beachball pops up for a few seconds before

  • Does Firefox Mobile on Android allow the user to be able to view a Java streamed Webcam?

    I tested the new Evo Shift at the Sprint store and brought up a webcam from the dog daycare center that would not appear on the phone. I was told that you couldn't do this on Android, I wanted to know if viewing the webcam is possible with Firefox Mo

  • Can a pdf be shared and password protected

    Hi. Using the current free service to share a pdf file. Can the file require a password so that only viewrs with the link AND a  password can access the uploaded pdf? Thanks.

  • Keyboard lockout after screen sharing

    I was doing some screen sharing from another Mac on my LAN. There's no "disconnect" feature to stop the remote control, so I simply quit the Screen Sharing "application," closed all windows, and logged out of the controlling Mac. Problem is, at the t

  • Could not  connect to Administration server Essbase in EAS console 11.1.2.2

    Hi All, I successfully installed and configured Essbase 11.1.2.2 version. When I tried to connect with administration server in eas console it throwing me error as, Could not connect to Administration server Essbase. Kindly guide me. Thanks and Regar