Touch ID registration scans going over 10 times and if it is done dosen't work after some time

Hi,
i have an iPhone 5s (Gold GSM 16 GB) which was bought last december.Touch Id was working great in the first few months but now its not that efficient.It dosent recognize my finger for long hours at sometimes and then magically works in the morning and then back to the same.I have seen many youtube videos where during registration of the fingerprint it takes around maybe exact 10 scans.But my iphone most of the time during registration takes more scans like 20-35
and most of the time eventually ends up with an error, "Try another finger".I have seen two youtube videos where one guy shows to scan it during registration properly by moving it from center-left-right and repeating it while in the other a guy talks of static electricity affecting the touch id.I tried it both and but the problem i faced was during registration where it takes more scans and after the finger lines gets filled it slightly becomes unfilled again.After two times it worked.Then it worked every single time but something made me make another registration of the same finger where the sides were more scanned then the first registration.Eventually i deleted them(biggest mistake!) and it is not registering again and also if it does it happens after 20 faliures saying try another finger.
Any help would be appreciated!

Hello there, omsmac.
The following Knowledge Base article provides a great place to start with some good information that can apply to keyboard issues as well as trackpad:
Trackpad or Magic Trackpad is jumpy or erratic
http://support.apple.com/kb/TS1449
Aside from the usage recommendations, this recommended step is very practical:
If none of the above resolve the issue, try to rule-out software not created by Apple as a cause. To do so, start in Safe Mode.
There are some good steps for testing the keyboard as well found here:
One or more keys on the keyboard do not respond
http://support.apple.com/kb/TS1381
If the issue persists after attempting Safe Mode, then you may want to try an SMC (System Management Controller) reset. The steps on how to accomplish that are found here:
Intel-based Macs: Resetting the System Management Controller (SMC)
http://support.apple.com/kb/ht3964
Thanks for reaching out to Apple Support Communities.
Cheers,
Pedro.

Similar Messages

  • GPRS services suddenly stop working after some time abt 4 hrs.Airplane on off solves it

    I am using a factory unlocked iPhone 4 GSM in India. Iam currently using it on airtel network 2G services i.e GPRS services. Now the problem I have noticed is that the GPRS services suddenly stop working after some time say about 4 hours. Then what i do is to turn airplane mode on and then off or restart the phone and GPRS starts working. Agan after some time I have to repeat this exercise. Please help soon. This is happening since the time i bought this phone i.e from past 20 days. I have tried allpossible network settings and resetting network but nothing helped. everything else is working perfect.

    Hi Syed,
    I have also started facing the exact same problem since the past few months with my docomo service.
    Earlier, EDGE / GPRS used to work just fine from my workplace where the network was good.
    But recently, I got my iphone replaced, due to a network problem, from an apple store in indianapolis, and also upgraded to ios 5.....so not sure now whether this intermittent EDGE / GPRS outage is due to the new hardware or the new OS.
    Did you upgrade to iOS 5 and did it help?
    PS: iOS 5.0.1 also doesn't seem to be helping, I still need to restart the phone to get EDGE / GPRSt to work.....will try out the airplane mode thing....at least that shouldn't take as much time as a full reboot.
    Regards,
    Hemant

  • Sound not working after some time

    I am using pavilion g6 laptop. Nowadays my laptop sound stops working after some time of use. I checked the drivers but everything seems to be ok. Please help what to do??

    Hi sushovanee,
    Welcome to the HP Forums!
    I would like to take a moment and thank you for using the forum, it is a great place to find answers. For you to have the best experience in the HP forum, I would like to direct your attention to the HP Forums Guide First Time Here? Learn How to Post and More.
    I grasp you have a G6 notebook and after a period of time you lose the sound.
    Have you done all your Windows updates?
    Have you ran The HP Support Assistant to aid with this difficulty.
    Has there been any recent changes to your system?
    To assist you I will need some more information.
    What exact model of G6 do you have?
    How Do I Find My Model Number or Product Number
    What Operating system are you running?
    Sparkles1
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom right to say “Thanks” for helping!

  • Error! Check Activation and Can't Delete Authorization, getting "Please try after some time"

    Hello,
    I am getting "Error! Check Activation" error message when I try to download epub from acsm file. I found that I should erase and re-authorize. When I try to erase authorization I get, "Please try after some time."
    I need a solution.
    Thanks.

    try this
    I can't de authorize my computer. It just keeps saying to try again later.

  • Multitouch Gestures Stop working after some time in Mountain Lion

    I have a problem with Multitouch Gestures on Macbook Pro, using Mountain Lion. After some time 3 thinger swipe to left/right stops working. The only thing that helps to solve this problem is making a restart. Are there any other ways to get rid of this problem?

    Me too. My iMac and MBP same here. Having graphics glitches when playing games neither in Mac or Bootcamp with Windows. Sometimes screen even slashed into half and freezed. Wake up from sleep also have graphics issues, like I need to use the crusor to oaint out the grey login screen, if not, it will stay white. Slowly moving the crusor will paint back the grey background.

  • Web Proxy sessions stop working after some time (ISA 2006)

    Hi guys,
    we have been using ISA 2006 with Web Publishing Rule to provide access for mobile phone to corporate Exchange via ActiveSync for years. The issue occurred roughly one month ago. 
    After some period of time (usually it happens once or twice daily) ISA stops to accept connections from the mobile phones. There are no errors on client devices (they don't get new mails). In Sessions tab I see that only SecureNAT sessions from phones remain,
    but no Web Proxy sessions any more. There are no errors in Event Viewer and I didn't find anything strange in diagnostic logs.
    I've created one more Web Publishing Rule with the same Web listener as for ActiveSync rule for OWA. The intersting thing that ISA still allows access to OWA when issue occurs. Looks like the problem with Web Proxy filter.
    After OS restart ISA starts working normally. 
    I have ISA 2006, sp1, version 5.0.5723.514 installed on VMWare VM with Windows 2003 SE sp2.  
    Do you have any ideas?

    Hi,
    Does this issue still exist? If so, you could try to collect logs from devices to find more information.
    http://support.microsoft.com/kb/2461792
    Best Regards,
    Joyce
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Replication DS6.2 - DS5.2 stops working after some time

    Hello!
    After weeks of unsuccessfully trying to solve a replication problem, I hope that someone of this forum can give me a hint.
    I have 2 masters DS5.2 and two masters DS6.2.
    Replication is working fine for some days. E.g. last time the replication was working until 29.11.
    But at some point the replication stops working and I get the following errors in the errors log:
    [28/Nov/2007:10:51:16 +0100] - WARNING<10288> - Repl. Transport - conn=-1 op=-1 msgId=-1 - Replay of an already seen operation csn 474d3d84000002bd0000, s
    equence number 1, ignoring it
    [28/Nov/2007:12:48:09 +0100] - WARNING<10288> - Repl. Transport - conn=-1 op=-1 msgId=-1 - Replay of an already seen operation csn 474d58e9000002bd0000, s
    equence number 1, ignoring it
    [28/Nov/2007:19:06:55 +0100] - INFO: 29398 entries in the directory database.
    [28/Nov/2007:19:06:55 +0100] - INFO: add:107, modify:0, modrdn:0, search:3651, delete:0, compare:0, bind:2763 since startup.
    [29/Nov/2007:13:18:38 +0100] - INFORMATION - NSMMReplicationPlugin - conn=-1 op=-1 msgId=-1 - csnplCommit: can't find csn 474eb18e00001a360000
    [29/Nov/2007:13:18:38 +0100] - INFORMATION - NSMMReplicationPlugin - conn=-1 op=-1 msgId=-1 - ruv_update_ruv: cannot commit csn 474eb18e00001a360000
    [29/Nov/2007:13:18:38 +0100] - INFORMATION - NSMMReplicationPlugin - conn=-1 op=-1 msgId=-1 - replica_update_ruv: unable to update RUV for replica dc=hvb,d
    c=de, csn = 474eb18e00001a360000
    [29/Nov/2007:13:18:38 +0100] - ERROR<8221> - Incremental Protocol - conn=-1 op=-1 msgId=-1 - Failed and requires administrator action [dsmmucqsu05.sys.hypo
    vereinsbank.de:636]
    [29/Nov/2007:13:18:38 +0100] - ERROR<8221> - Incremental Protocol - conn=-1 op=-1 msgId=-1 - Failed and requires administrator action [dsmmucqsu05.sys.hypo
    vereinsbank.de:636]
    [29/Nov/2007:13:34:05 +0100] - WARNING<20805> - Backend Database - conn=328186 op=1 msgId=2 - search is not indexed base='ou=people,dc=hvb,dc=de' filter='(
    objectClass=*)' scope='sub'
    [29/Nov/2007:13:58:10 +0100] - ERROR<8221> - Incremental Protocol - conn=-1 op=-1 msgId=-1 - Failed and requires administrator action [dsmmucqsu05.sys.hypo
    vereinsbank.de:636]
    [29/Nov/2007:13:58:10 +0100] - ERROR<8221> - Incremental Protocol - conn=-1 op=-1 msgId=-1 - Failed and requires administrator action [dsmmucqsu05.sys.hypo
    vereinsbank.de:636]
    [29/Nov/2007:15:45:46 +0100] - ERROR<8221> - Incremental Protocol - conn=-1 op=-1 msgId=-1 - Failed and requires administrator action [dsmmucqsu05.sys.hypo
    vereinsbank.de:636]
    [29/Nov/2007:15:46:03 +0100] - INFORMATION - NSMMReplicationPlugin - conn=-1 op=-1 msgId=-1 - csnplCommit: can't find csn 474ed41b00001a9a0000
    [29/Nov/2007:15:46:03 +0100] - INFORMATION - NSMMReplicationPlugin - conn=-1 op=-1 msgId=-1 - ruv_update_ruv: cannot commit csn 474ed41b00001a9a0000
    [29/Nov/2007:15:46:03 +0100] - INFORMATION - NSMMReplicationPlugin - conn=-1 op=-1 msgId=-1 - replica_update_ruv: unable to update RUV for replica dc=hvb,d
    c=de, csn = 474ed41b00001a9a0000
    [29/Nov/2007:15:46:03 +0100] - ERROR<8221> - Incremental Protocol - conn=-1 op=-1 msgId=-1 - Failed and requires administrator action [dsmmucqsu05.sys.hypo
    vereinsbank.de:636]
    Since the replication was not working I had to initialize the DS6 masters again:
    [29/Nov/2007:16:03:59 +0100] - import hvb: Index buffering enabled with bucket size 76
    [29/Nov/2007:16:03:59 +0100] - import hvb: Beginning import job...
    [29/Nov/2007:16:04:20 +0100] - import hvb: Processed 14166 entries -- average rate 674.3/sec, recent rate 674.2/sec, hit ratio 0%
    [29/Nov/2007:16:04:41 +0100] - import hvb: Processed 22598 entries -- average rate 525.5/sec, recent rate 525.5/sec, hit ratio 100%
    [29/Nov/2007:16:05:03 +0100] - import hvb: Processed 31591 entries -- average rate 493.6/sec, recent rate 405.4/sec, hit ratio 100%
    [29/Nov/2007:16:05:05 +0100] - import hvb: Workers finished; cleaning up...
    [29/Nov/2007:16:05:17 +0100] - INFORMATION - NSMMReplicationPlugin - conn=-1 op=-1 msgId=-1 - Replica (dc=hvb,dc=de) has been initialized by total protocol
    as full replica
    [29/Nov/2007:16:06:56 +0100] - WARNING<20805> - Backend Database - conn=334334 op=1 msgId=2 - search is not indexed base='ou=people,dc=hvb,dc=de' filter='(
    objectClass=*)' scope='sub'
    [29/Nov/2007:16:07:42 +0100] - INFORMATION - NSMMReplicationPlugin - conn=-1 op=-1 msgId=-1 - csnplCommit: can't find csn 474ed92e00001a360000
    [29/Nov/2007:16:07:42 +0100] - INFORMATION - NSMMReplicationPlugin - conn=-1 op=-1 msgId=-1 - ruv_update_ruv: cannot commit csn 474ed92e00001a360000
    [29/Nov/2007:16:07:42 +0100] - INFORMATION - NSMMReplicationPlugin - conn=-1 op=-1 msgId=-1 - replica_update_ruv: unable to update RUV for replica dc=hvb,d
    c=de, csn = 474ed92e00001a360000
    I tried to change a password. But the replication failed again and since than the replication is working again.
    [29/Nov/2007:16:07:42 +0100] - ERROR<8221> - Incremental Protocol - conn=-1 op=-1 msgId=-1 - Failed and requires administrator action [dsmmucqsu05.sys.hypo
    vereinsbank.de:636]
    [29/Nov/2007:16:07:42 +0100] - ERROR<8221> - Incremental Protocol - conn=-1 op=-1 msgId=-1 - Failed and requires administrator action [dsmmucqsu05.sys.hypo
    vereinsbank.de:636]
    But I'm sure that after some days there will be a problem again.
    Sometime there are also the errors:
    [29/Nov/2007:16:27:05 +0100] - ERROR<8264> - Replication - conn=-1 op=-1 msgId=-1 - Internal error Failed to position cursor in db at C
    SN 474ed8d5000002590000, DB error 5 - I/O error
    [29/Nov/2007:16:27:05 +0100] - WARNING<10258> - Incremental Protocol - conn=-1 op=-1 msgId=-1 - Changelog error A database error is encou
    ntered while servicing replication agreement "dsmmucqsu08.sys.hypovereinsbank.de:10636/dc=hvb,dc=de"
    [29/Nov/2007:16:27:05 +0100] - ERROR<8221> - Incremental Protocol - conn=-1 op=-1 msgId=-1 - Failed and requires administrator action [d
    smmucqsu08.sys.hypovereinsbank.de:10636]
    [29/Nov/2007:16:27:05 +0100] - ERROR<8221> - Incremental Protocol - conn=-1 op=-1 msgId=-1 - Failed and requires administrator action [d
    smmucqsu08.sys.hypovereinsbank.de:10636]
    [29/Nov/2007:16:27:06 +0100] - ERROR<8264> - Replication - conn=-1 op=-1 msgId=-1 - Internal error Failed to position cursor in db at C
    SN 474ed8d5000002590000, DB error 5 - I/O error
    [29/Nov/2007:16:27:06 +0100] - WARNING<10258> - Incremental Protocol - conn=-1 op=-1 msgId=-1 - Changelog error A database error is encou
    ntered while servicing replication agreement "dsmmucqsu08.sys.hypovereinsbank.de:10636/dc=hvb,dc=de"
    [29/Nov/2007:16:27:06 +0100] - ERROR<8221> - Incremental Protocol - conn=-1 op=-1 msgId=-1 - Failed and requires administrator action [d
    smmucqsu08.sys.hypovereinsbank.de:10636]
    I tried to reproduce the problem.
    At the moment everything works fine and I can do many changes.
    But I know that there is somewhere a problem and the replication will stop working again in the next days.
    Can you give any advise?
    Regards,
    Beate
    Edited by: 72716 on Nov 30, 2007 10:05 AM

    Here is an explanation of the failure:
    1. Prioritized replication was introduced with DS6.0;
    2. When a suffix at a DS6 instance is initialized from a DS5 instance, and then an operation is performed at the DS6 instance that uses prioritized replication, replication fails;
    3. By default, password policy uses prioritized replication to propagate auth-failure-lockout state updates (e.g., adding a pwdFailureTime attribute value on a failed bind attempt);
    A work-around:
    Disable DS6 supplying auth-failure lockout state using prioritized replication. In any password policy having auth-failure-lockout enabled, set
    pwdIsLockoutPrioritized:FALSE
    Note that DS6 enables prioritized lockout by default, in particular, it enables this feature when migrating a password policy received from a DS5 instance. Hence, for this workaround to be effective, the prioritized lockout feature must be disabled in any DS6 password policy that has auth-failure lockout enabled, which could include:
    1. The default password policy at any DS6 instance (cn=password policy,cn=config);
    2. Any password policy originating at a DS5 instance, including those in data imported into a DS6 instance, received via replication total update initialization, or added at the DS5 instance subsequent to the DS6 instance initialization;
    3. Any password policy added to a DS6 instance.
    Additionally, do not set any prioritized replication rules for other attributes.
    It is possible the bug can still be triggered in the case of a DS6-only topology that was initialized from DS5 data.
    Contact Sun support for the status of a fix for the bug. The CR is 6645742.

  • Hi, my name is Amit, my hot corners stop working after some time. Have to go to mission control to reset them, however they stop again after some time. This is annoying. Can someone please assist to solve this problem? Thanks Amit.

    Hi my name is Amit, after upgrading to OS X Maverick I often have problem of my Hot corners stop working after a short period of time. I have to go to mission control and have to reset them for them to start working again. However this is temparory and they stop working again and this is quite annoying. Can someone suggest a cure to this problem please. I will be grateful. Thanks Amit.

    Back up all data.
    Triple-click anywhere in the line below on this page to select it:
    ~/Library/Preferences/com.apple.dock.plist
    Right-click or control-click the line and select
    Services ▹ Reveal in Finder (or just Reveal)
    from the contextual menu.* A folder should open with an item selected. Move the selected item to the Desktop, leaving the window open. Log out or restart the computer and test. If there's no change, put the item you moved back where it was, overwriting the one that may have been created in its place. Log out again. Otherwise, delete the item you moved.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination  command-C. In the Finder, select
    Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.

  • Entity Beans stop working after some time

    hi,
    I am facing this strange problem. I am devloping a Learning Management System. Once I deploy the app it works profectly fine. It calls all the session and ejb beans perfectly.
    I am using the sun one 7 PE and J2EE 1.3. After the product has been deployed for a couple of hours, and i re run the application, it gives a null pointer exception. The session bean cannot connect to the entity bean.
    I am using mysql as db and have a pool defined.
    Is there a connection time-out problem or some problem with the entity bean, because the session beans work fine even days after deployment, but entity bean stop functioning in a couple of hours.
    Some help needed !

    Have you looked at the server.log to see if you have any other clues to the point of failure?

  • Internet stop working after some time on line ....?

    Hey all ....!!
    I have a bit of a problem, i live in South Africa, and have wireless internet, with a desktop modem connected to my iMac using a ethernet cable, and using the network settings in system preferences.
    I have been using this setup for some time now and have had no problems, till a few days a go i did a apple update, where there was a security update and i downloaded it and installed it and all is good then a few days after that i was on MSN chatting to a friend and the after maybe 30mins or so the net gave me a strange error saying that the remote computer as terminated the connection, after witch i reconnect with no problems, then maybe 30mins later it dose it again.......
    I then had a look at my settings and i found a option that you tick...... Disconnect if idle for 30 mins but it is not on... i turned if off long time ago ... then i thought maybe it was msn... so i quit msn and played on the net for some time it did it again and again and again.
    I am getting a little bit upset with it ...... i have phoned the company that host my internet but the is not problem with the service and if i tell the help desk there about the problem and tell them i have a iMac they think i am talking about a burger... sorry not a nice to say but not many people that work there know what a iMac is ...!!!!
    please please can someone help me in anyway at all.... please ....?
    thank you.
    iMac, 1.8Ghz Intel Core 2 Duo, 512mb, 160Gb   Mac OS X (10.4.10)  

    I have the exact same problem... please there must be
    someone there at Apple that knows something about
    this... what can we do??? Wait for Leopard... ?
    OK so I tried to fix the problem myself....... I unplugged the modem and retyped all me settings again..... plugged back in and then tried again it looks like i might have worked..... you should try that...... i also phoned the iStore, Someone told me that i must go to my disk utilities and do something there but that got me a bit worried..... I don’t know iMac's all that well yet and don’t want to play with something i know nothing about........ but if that dose not work then i will phone her again and post what she tells me to do ...!!!

  • On Windows 8, some widgets, such as the menu button near the upper right, stop working after some time, and functionality is restored by rebooting the PC.

    I use the latest releases of Firefox as they become available on a Windows 8 PC. Firefox works properly, usually for a few hours, before annoying problems manifest. The problem I'm addressing here is some widgets, including some Firefox widgets and isolated widgets (such as buttons and pull-down selectors) in some websites stop working. In Firefox, the Menu button (the three stacked dashes icon) stops working. And the Download arrow sometimes stops working also. Sometimes, sub-items such as Print stop working. For some pull-downs, the up and down arrow keys might still work even though I might now be able to select with the mouse. Closing and reopening Firefox usually restores some functionality. However, I usually have to reboot the PC to restore all functions which stopped working. Then I am good for usually a few hours again. Another annoyance, which others have addressed, is the eventual appearance of Chinese-looking characters on the tab labels bar across the top. Restarting Firefox gets rid of these for the time being. Thanks for investigating.

    hello, maybe that's an issue with hardware acceleration - please try [[Upgrade your graphics drivers to use hardware acceleration and WebGL|updating your graphics driver]], or in case this doesn't solve the issue or there is no new version available at the moment, disable hardware acceleration in the firefox ''menu ≡ > options > advanced > general'' (that setting will take a restart of the browser to take effect).
    the oriental characters are a displaying flaw caused by the mcafee site advisor extension - please try to disable or remove that in case you have it present until there is an update by mcafee that can fix the problem.
    http://service.mcafee.com/faqdocument.aspx?id=TS100162
    https://community.mcafee.com/thread/76071

  • I have hp3210xi and it just stared to turn itself off after some time, did I do somthing to

     hay body, I have hp3210xi all in one and it ws just fine and I had to install the printer on a computer and after I did this the printer just stared to turn itself off after it has ben on for awhile. my system is both win 7 and xp. thanks
    vhg.

    i already rebooted it but it still wont turn back on, it shows me the apple logo, then it fades and it gets bright again intermitently...

  • MBA 11 (2013) pinch zoom does not work after some time, how to fix it ?

    Recently I purchased MBA 11 (2013) model ( 4GB ram & 1.3 Ghz dual core). Although I use iPhone 5 & iPad 4 but never used mac. So when I found the track pad is capable of pinch zoom(along with other gesture) I was excited. But later I found after opening few apps (like safari, chrome etc) pinch zoom stop working . I need to restart in order to make it work again. Other gestures works fine just issue with the pinch zoom. Along with this issue I have some other questions as well
    1) How to fix this pinch zoom issue?
    2) I use eclipse for android development, but when I connect android phone/tablet - os crashes, no idea why?
    3) How to uninstall & update apps properly which was downloaded from web (like I installed x-code) ?
    4) I want to use mouse (i am comfortable) - I need to know whether right click, wheel, ling click & drag works perfectly.
    5) How to back up the os if something goes wrong I can retrieve from there ?

    Error 2, 4 (or -4), 6, 40, 1000, 9006
    Follow Troubleshooting security software. Often, uninstalling third-party security software will resolve these errors.
    There may be third-party software that modifies your default packet size in Windows by inserting a TcpWindowSize entry into your registry. Your default packet size being set incorrectly can cause these errors. Contact the manufacturer of the software that installed the packet size modification for assistance or follow this article by Microsoft: How to reset Internet Protocol (TCP/IP).
    Verify that access to ports 80 and 443 are allowed on your network.
    Verify that communication to albert.apple.com or photos.apple.com is not blocked by a firewall, or other Internet security setting.
    Discard the .ipsw file, open iTunes and attempt to download the update again. See the steps underAdvanced Steps > Rename, move, or delete the iOS software file (.ipsw) below for file locations.
    Restore your device while connected to a different network.
    Restore using a different computer.
    http://support.apple.com/kb/TS3694#error6

  • Why does ServerSocket stop working after some time?

    Hi to all.
    I have a following problem:
    I wrote a multithread application that uses sockets ( TCP ), and use it to transfer some objects between computers in VPN.
    It all works just fine, except that sometimes my server socket ( implemented as a separate Thread ) just stops working, and other computers cannot connect to it...?
    I didn't specify setSOTimeout(), and did all Exception catch-ing in the thread.
    Today, I had some >50000 connections in about 5 hours, and than it just stopped! My server socket stopped accepting any connections...
    I restarted my application, and everything worked again properly...
    Does anybody know why is this happening?
    Please, any suggestion is appreciated....
    Thank you.

    Hi, thank you all for answering me.
    @baftos:
    I didn't specify any backlog parameter value. 50 connections at a time seems more than enough for this application... ( Are you sure that 50 is the default value )
    I never have more than about 40 connections simultaneously opened, and yes - each one is a separate thread.
    @dannyyates:
    You're rights, I should have provided some code.
    Here it is:
    public class Server implements Runnable
    ServerSocket serversocket = null;
    Socket clientSocket = null;
    continueWorking boolean = true;
        public void run()
                startServer(); 
        public void startServer()
            try
                 serversocket = new ServerSocket(3344);
            catch (IOException e)
                 System.out.println(e.getMessage());  
         while ( continueWorking==true )
             try
                  clientSocket = serversocket.accept();
                  Worker Worker = new Worker(clientSocket);
                  new Thread(Worker).start();
             catch (IOException e)
                  System.out.println(e.getMessage());
            System.out.println("The server is shutting down...");
    class Worker implements Runnable
        ObjectInputStream obj;
        Socket clientSocket;
        public Worker(Socket clientSocket)
             this.clientSocket = clientSocket;
            try
              obj = new ObjectInputStream(clientSocket.getInputStream());
             catch (IOException e)
                  System.out.println(e.getMessage());
        public void run()
            Object object;
         try {
                          try
                               object=(Object)obj.readObject();
                                                   // do something with object....
                          catch (ClassNotFoundException e)
                               System.out.println(e.getMessage());
                        catch (Exception e)
                obj.close();
                clientSocket.close();
         catch (IOException e)
        catch (Exception e)
        }What I don't like here is the constructor of the Worker. Could this block the server?
    Edited by: Darko on Apr 7, 2009 11:24 PM

  • Expose keys stop working after some time

    Hi,
    I am experience some failure of my Exposé keys after a certain amount of time without rebooting the system. (~2 hours+). Usually you can show the Desktop by pressing F11, show all application windows with F10 and so on. After the system booted everything works like I would expect it, but then the keys doesn't react anymore.
    F11 seems to send the command to the foreground application, instead to the OS which causes fullscreen presentation for the firefox browser.
    I can fix the issue temporarily by restarting the dock, however after a hour the problem reappears. That is very annoying and frustrating.
    What can I do?

    Have you looked at the server.log to see if you have any other clues to the point of failure?

Maybe you are looking for

  • Including helper classes in java proxy jar file

    I must not be using the right header search criteria because I'm sure this question has been asked before. In a Web Service File (.jws) I've imported a couple of helper classes that function as data transfer objects. I did this to maintain consistenc

  • Editing Error - This Image cannot be rendered for editing...

    Editing Error - This Image cannot be rendered for editingbecause Aperture doesn't support the image format. Thats the message that appears when I'm exporting to Photoshop CS5 (I tried CS4 too), or even other Plug-ins such as Silver Efex Pro... That h

  • How to Export SSRS report into Excel format using query string

    Hello all, I am new to SSRS world. Last night i was trying to add a hyperlink  on the SSRS report (.rdl) file, by clicking which we can export the report into "Excel" format, but with no luck. Can anybody tell me how to form the hyperlink, so that we

  • TS4526 Apple TV 5.2.1

    I have updated to 5.2.1 and restarted Apple TV, but Movies still returns to the Home screen. Are any other fixes available?

  • Starting with JavaFX 2.0 - Any doubts

    I'm starting with JAvaFX 2.0. I need to make a application, but a have any doubts. - Whats the better, make layouts (Forms) in FXML or JAva Code ? Because, i read any developers prefers use Java Code, to make complex layouts (forms); - JavaFX has a D