Stopping and/or resuming a Thread???

I have a thread which I need to run, then stop it and then later start it again and so on. Could someone explain (comprehensively) how I can do this safely.
Thread.stop() is not safe?
Thanks

Just don't use any of the deprecated methods in Thread.
Do something like this:
public class Task implements Runnable {
  private boolean running = true;
  private boolean alive = true;
  public void stopRunning() {
    running = false; // put to sleep
  public synchronized void resumeRunning() {
    running = true;
    notify(); // wake up
  public synchronized void kill() {
    running = false;
    alive = false;
    notify(); // or interrupt
  public void run() {
    while (alive) {
      while (running) {
      synchronized (this) {
        if (!running && alive) {
          try { wait(); }  // sleep
          catch (InterruptedException e) { /* ignore */ }
}

Similar Messages

  • HT204379 Any way to stop and then resume a screensaver?

    Any way to stop and then resume a screensaver?
    TIA

    Looks like you can.  Use Hot Corners:
    Ciao.

  • Is there a way to stop and then resume an ipod video conversion process?

    I am trying to convert videos to play on my new iPod Classic. The conversion process is painfully slow. I need to move the computer. Is there a way to stop the conversion process and then resume it later where you left off? The only way I have been able to figure it out is to put the laptop to sleep and then open it up later to resume. This is a problem too as I have an external USB drive hanging off the side. Any ideas?
    Thanks all in advance for your help.

    AFAIk you can just uninstall Thunderbird and reinstall. The profile will not be deleted. If you want to make sure, however, make a backup of your profile folder first.
    Read up on "backup", e.g. here : http://email.about.com/od/mozillathunderbirdtips/qt/et_backup_prof.htm
    (google is your friend :9 )
    P.S. _ Matter of fact you should regularly backup your data (e.g. your thunderbirdprofile) to some place different so as not to loose it all, if a thunderbird-bug/virus/windows-failure/Layer8-Problem corrupts your data.

  • Can I allow a user to stop and then resume a quiz while retaining previous results?

    Hi all,
    First post here! I have had a search of the forums and can't find an answer to a) whether I can do this and b) how to!
    I am using Captivate 5.5 with Moodle as my LMS.  I want to create a fairly large project where users work their way around a virtual 'assault course' (represented by images etc) answering questions at various stages. However, they will not complete the whole assault course (and hence the whole quiz) in one go - so I want them to be able to stop and come back to the quiz again several days later and be able to resume from where they left off - INCLUDING retaining the score they have achieved so far (so if they had got 5 points the first time they accessed the project, they would start at 5 points and add to that on their second attempt). I know it's easy to make them resume from the slide they finished on, but is it possible for their score to be resumed as well?
    Thanks for any advice - I don't want to get too deep into building it if I won't be able to use the scores the way I want!
    Cat

    Users sometimes experience issues with Captivate courses in LMS where Resume Data bookmarking is used.  Whether resuming works flawlessly or not seems to depend on the particular LMS to some extent.
    What has happened in some cases is that when the user tries to resume the course after initially closing it down, they get stuck on the loading screen. 
    I would recommend you build a quick prototype course with several interactions of different types and test the Resume functionality with your chosen LMS.  If everything works as expected, go for it.
    EDIT: One more thing, make sure you get several different users from your organisation to test it with any different types of web browser that might be used.  Especially things like IE7 to IE9 and Firefox.  Don't assume everyone will have the same experience you do.

  • While stop and resume movie have problem

    Hi everyone,
    I am created a movie player with JMF.
    While playing movies when i stop my movie and again resume playing then my movie starts from another point.
    Suppose i stop my movie after playing 5.30 minute and stop,
    When i resume playing then it starts from 5.32 minutes.
    So where is my 2 seconds movie gone.Please help me.
    This is my code.I am opening mpg files.
    public void openImage(URL videoPath)
    try
    ////code for opening my movie
    if (player != null)
    player.close();
    player = Manager.createPlayer(videoPath);
    player.addControllerListener(this);
    player.realize();
    catch(Exception e)
    System.out.println(e);
    public void play()
    player.start();
    public void stop()
    player.stop();
    ///my listener
    public void controllerUpdate(ControllerEvent c)
              if (player == null)
                   return;
              /////adding visualComponnt to jpanel
              if (c instanceof RealizeCompleteEvent)
                   if ((visualComponent = player.getVisualComponent()) != null)
                        player.prefetch();
                        updateUI();
                        add(visualComponent);
              ////stop code after end of movie
              if (c instanceof EndOfMediaEvent)
                   if (player != null)
                        player.stop();
                        player.deallocate();
                   setPlayButton(this);
         }

    Calling "stop" on the player isn't the same as the concept of pausing it. It takes the player and removes the syncronization of the media and the underlaying clock.
    If you want it to restart at exactly the same time it was when you stopped it, you have to reset the media time using setMediaTime to whatever time you want it to start up at.

  • Pause, Stop and Resume buttons

    Hi Everyone,
    I've got a fairly short little animation sequence that the folks here at my work would like to insert into one of our web pages on our site.  It's a demo on how to use one of our products, so I'd like to add a few buttons so the user can pause and then resume the entire movie.  There is absolutely no scripting applied to the FLA right now.
    Could someone please get me started with this?  I've been working on another project that involves scripting some buttons with AS3, so I have some knowledge, but am still having a lot of difficulty, so any help would be appreciated.
    Thanks.

    To stop/pause a movie you command it to : stop();
    To play/start a movie you command it to: play();
    That's really all you need to have your buttons do in their event handler functions.

  • Stop and Resume client deletion

    Hi all,
    I have a strange requirement here, I am planning to execute client deletion using parallel processing.  I will be executing the deletion during weekends Saturday & Sunday. In case, if the deletion still continue on Monday morining, I want to cancel the deletion ( Logically STOP) and resume in next weekend..
    Since, client deletion will resume from the point where it stopped, i would like to know the standard procedure of cancelling the deletion job. Does SCC5 or SCC3 provides any option to STOP the active jobs? If not, which is the correct way to stop the active deletion process?
    Please share your experience & thoughts on this line.
    regards,
    VInodh.

    Hi Vinodh,
    Set a background job for client deletion using transaction SCC5 and stop the active job when you want to....using SM37>Job>Cancel active job ....At this time the client is almost completely deleted. If you need to, you can restart the deletion. Because the users must have been deleted at this point, log on as user SAP* and use the initial password PASS and continue with client deletion.
    Award points accordingly,
    Regards,
    Raju.

  • Trying to watch Amazon Prime movies on iPad 2.  After about 4 minutes it stops and to continue I have to go back to Amazon, search for movie, and resume.

    When I try to watch an Amazon Prime movie on my iPad it stops the movie after about 4 minutes of viewing.  I am sent back to the iPad main screen.  To continue the movie I need to go back to Amazon, click Prime Movies, locate what I was watching and click resume.
    I don't have this problem wihen watching the movies on a TV or computer.
    What can I do to fix this? 

    You can plea your case here:
    http://www.apple.com/emea/support/itunes/contact.html

  • HT202159 How to resume interrupted downloads when it stops and starts during the download process?

    I have a 2011 25inch iMac desktop and it when I download a game app from the App store, it keeps on stoping and starting at certian points (these are random and do not stop in the same spot if I restart the download) Ive only gotten as far as 6.22GB out of 8:55GB before the download progress stops and goes back to the begining all by itself. I have plenty of space on my hard drive to install it so why is it constently doing this. Its taken me a week and a half to get to about 6.22GB and its still not letting me finished the instalation. Also why is the Calulating times keeps going up and down some times it says like 1 hour and 55 minutes when its progressing but then when it stops it goes all the way up to like 15 days, 14 hours and 60 minutes until it starts up again and then it goes back down to 1 hour and 54 minutes when it starts up the instalation progress again. The Game app is Trainz Railroad Simulator 2.

    Hi Mattew ..
    Disable anti virus softwrare if installed
    Make sure the firewall is turned off in System Preferences > Security & Privacy > Firewall
    Make sure Gatekeeper is enabled
    Open System Preferences > Security & Privacy then select the General tab.
    Make sure either Mac App Store or Mac App Store and identified developers is selected. If that area is grayed out, click the padlock icon to proceed.
    OS X: About Gatekeeper
    If nothing above helped, try contacting the Trainz Railroad Sim 2 app developer >  Trainz Portal - Powered by Kayako Fusion Help Desk Software
    If you do not hear back within three business days, contact Apple > Apple - Mac App Store - Contact Support

  • Wiki (Web) start issue - have to stop and start to work

    On my server, I reboot servers weekly.  In order to get web services working (to get to wiki pages) I have to stop, then start the services.  If I do not, then when going to any wiki pages i get the message "server is starting".  to be clear, all other colaboration services are working (ie chat, ical, and address book).  After stopping and re-starting the web services, everything is happy untill the next reboot (does seem to be related to rebooting only, not stopping and then starting the services while the machine is running)
    Log: apache2/error_log
    Fri Jan 27 09:05:05 2012] [notice] Graceful restart requested, doing restart
    [Fri Jan 27 09:05:06 2012] [notice] Apache/2.2.20 (Unix) mod_ssl/2.2.20 OpenSSL/0.9.8r DAV/2 PHP/5.3.6 configured -- resuming normal operations
    [Fri Jan 27 09:05:06 2012] [warn] long lost child came home! (pid 330)
    [Fri Jan 27 09:05:40 2012] [notice] caught SIGTERM, shutting down
    [Fri Jan 27 09:05:42 2012] [notice] Apache/2.2.20 (Unix) mod_ssl/2.2.20 OpenSSL/0.9.8r DAV/2 PHP/5.3.6 configured -- resuming normal operations
    [Fri Feb 03 17:12:31 2012] [notice] caught SIGTERM, shutting down
    [Fri Feb 03 17:13:43 2012] [notice] Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8r DAV/2 PHP/5.3.8 configured -- resuming normal operations
    [Fri Feb 10 17:30:33 2012] [notice] caught SIGTERM, shutting down
    [Fri Feb 10 17:31:43 2012] [notice] Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8r DAV/2 PHP/5.3.8 configured -- resuming normal operations
    [Fri Feb 17 17:06:22 2012] [notice] caught SIGTERM, shutting down
    [Fri Feb 17 17:07:14 2012] [notice] Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8r DAV/2 PHP/5.3.8 configured -- resuming normal operations
    [Fri Mar 09 17:22:36 2012] [notice] caught SIGTERM, shutting down
    [Fri Mar 09 17:23:43 2012] [notice] Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8r DAV/2 PHP/5.3.8 configured -- resuming normal operations
    [Tue Mar 13 11:28:42 2012] [notice] caught SIGTERM, shutting down
    [Tue Mar 13 11:28:43 2012] [notice] Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8r DAV/2 PHP/5.3.8 configured -- resuming normal operations
    [Fri Mar 23 17:02:27 2012] [notice] caught SIGTERM, shutting down
    [Fri Mar 23 17:03:39 2012] [notice] Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8r DAV/2 PHP/5.3.8 configured -- resuming normal operations
    [Fri Mar 30 17:21:34 2012] [notice] caught SIGTERM, shutting down
    [Fri Mar 30 17:22:51 2012] [notice] Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8r DAV/2 PHP/5.3.8 configured -- resuming normal operations
    [Fri Apr 06 17:15:52 2012] [notice] caught SIGTERM, shutting down
    [Fri Apr 06 17:16:51 2012] [notice] Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8r DAV/2 PHP/5.3.8 configured -- resuming normal operations
    [Fri Apr 13 17:03:41 2012] [notice] caught SIGTERM, shutting down
    [Fri Apr 13 17:04:39 2012] [notice] Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8r DAV/2 PHP/5.3.8 configured -- resuming normal operations
    [Tue Apr 24 03:15:09 2012] [notice] SIGHUP received.  Attempting to restart
    [Tue Apr 24 03:15:09 2012] [notice] Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8r DAV/2 PHP/5.3.8 configured -- resuming normal operations
    [Fri Apr 27 17:09:53 2012] [notice] caught SIGTERM, shutting down
    [Fri Apr 27 17:22:54 2012] [notice] Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8r DAV/2 PHP/5.3.8 configured -- resuming normal operations
    [Tue May 01 11:54:11 2012] [notice] caught SIGTERM, shutting down
    [Tue May 01 11:54:13 2012] [notice] Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8r DAV/2 PHP/5.3.8 configured -- resuming normal operations
    Log: /wikid/error.log
    2012-05-01 00:02:52-0400 [-] no groups
    2012-05-01 00:12:52-0400 [-] no groups
    2012-05-01 00:22:52-0400 [-] no groups
    2012-05-01 00:32:52-0400 [-] no groups
    2012-05-01 00:42:52-0400 [-] no groups
    2012-05-01 00:52:52-0400 [-] no groups
    2012-05-01 01:02:52-0400 [-] no groups
    2012-05-01 01:12:52-0400 [-] no groups
    2012-05-01 01:22:52-0400 [-] no groups
    2012-05-01 01:32:52-0400 [-] no groups
    2012-05-01 01:42:52-0400 [-] no groups
    2012-05-01 01:52:52-0400 [-] no groups
    2012-05-01 02:02:52-0400 [-] no groups
    2012-05-01 02:12:52-0400 [-] no groups
    2012-05-01 02:22:52-0400 [-] no groups
    2012-05-01 02:32:52-0400 [-] no groups
    2012-05-01 02:42:52-0400 [-] no groups
    2012-05-01 02:52:52-0400 [-] no groups
    2012-05-01 03:02:52-0400 [-] no groups
    2012-05-01 03:12:52-0400 [-] no groups
    2012-05-01 03:22:52-0400 [-] no groups
    2012-05-01 03:32:52-0400 [-] no groups
    2012-05-01 03:42:52-0400 [-] no groups
    2012-05-01 03:52:52-0400 [-] no groups
    2012-05-01 04:02:52-0400 [-] no groups
    2012-05-01 04:12:52-0400 [-] no groups
    2012-05-01 04:22:52-0400 [-] no groups
    2012-05-01 04:32:52-0400 [-] no groups
    2012-05-01 04:42:52-0400 [-] no groups
    2012-05-01 04:52:52-0400 [-] no groups
    2012-05-01 05:02:52-0400 [-] no groups
    2012-05-01 05:12:52-0400 [-] no groups
    2012-05-01 05:22:52-0400 [-] no groups
    2012-05-01 05:32:52-0400 [-] no groups
    2012-05-01 05:42:52-0400 [-] no groups
    2012-05-01 05:52:52-0400 [-] no groups
    2012-05-01 06:02:52-0400 [-] no groups
    2012-05-01 06:12:52-0400 [-] no groups
    2012-05-01 06:22:52-0400 [-] no groups
    2012-05-01 06:32:52-0400 [-] no groups
    2012-05-01 06:42:52-0400 [-] no groups
    2012-05-01 06:52:52-0400 [-] no groups
    2012-05-01 07:02:52-0400 [-] no groups
    2012-05-01 07:12:52-0400 [-] no groups
    2012-05-01 07:22:52-0400 [-] no groups
    2012-05-01 07:32:52-0400 [-] no groups
    2012-05-01 07:42:52-0400 [-] no groups
    2012-05-01 07:52:52-0400 [-] no groups
    2012-05-01 08:02:52-0400 [-] no groups
    2012-05-01 08:12:52-0400 [-] no groups
    2012-05-01 08:22:52-0400 [-] no groups
    2012-05-01 08:32:52-0400 [-] no groups
    2012-05-01 08:42:52-0400 [-] no groups
    2012-05-01 08:52:52-0400 [-] no groups
    2012-05-01 09:02:52-0400 [-] no groups
    2012-05-01 09:12:52-0400 [-] no groups
    2012-05-01 09:22:52-0400 [-] no groups
    2012-05-01 09:32:52-0400 [-] no groups
    2012-05-01 09:42:52-0400 [-] no groups
    2012-05-01 09:52:52-0400 [-] no groups
    2012-05-01 10:02:52-0400 [-] no groups
    2012-05-01 10:12:52-0400 [-] no groups
    2012-05-01 10:22:52-0400 [-] no groups
    2012-05-01 10:32:52-0400 [-] no groups
    2012-05-01 10:42:52-0400 [-] no groups
    2012-05-01 10:52:52-0400 [-] no groups
    2012-05-01 11:02:52-0400 [-] no groups
    2012-05-01 11:12:52-0400 [-] no groups
    2012-05-01 11:22:52-0400 [-] no groups
    2012-05-01 11:32:52-0400 [-] no groups
    2012-05-01 11:42:52-0400 [-] no groups
    2012-05-01 11:52:52-0400 [-] no groups
    2012-05-01 11:54:11-0400 [-] Received SIGTERM, shutting down.
    2012-05-01 11:54:11-0400 [-] Stopping
    2012-05-01 11:54:11-0400 [-] userPrefsFlushLooper stopped looping, doing final flush
    2012-05-01 11:54:11-0400 [-] mailingListFlushLooper stopped looping, doing final flush
    2012-05-01 11:54:11-0400 [-] no groups
    2012-05-01 11:54:11-0400 [-] Unhandled error in Deferred:
    2012-05-01 11:54:11-0400 [-] Unhandled Error
        Traceback (most recent call last):
          File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threadi ng.py", line 497, in __bootstrap
          File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threadi ng.py", line 522, in __bootstrap_inner
          File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threadi ng.py", line 477, in run
        --- <exception caught here> ---
          File "/usr/share/caldavd/lib/python/twisted/python/threadpool.py", line 210, in _worker
            result = context.call(ctx, function, *args, **kwargs)
          File "/usr/share/caldavd/lib/python/twisted/python/context.py", line 59, in callWithContext
            return self.currentContext().callWithContext(ctx, func, *args, **kw)
          File "/usr/share/caldavd/lib/python/twisted/python/context.py", line 37, in callWithContext
            return func(*args,**kw)
          File "/usr/share/wikid/lib/python/apple_utilities/service.py", line 112, in delayedStart
            RepositoryManager.ensureRepository()
          File "/usr/share/wikid/lib/python/apple_utilities/RepositoryManager.py", line 55, in ensureRepository
            _ensureDirectoryWithReadWriteAccess(path)
          File "/usr/share/wikid/lib/python/apple_utilities/RepositoryManager.py", line 27, in _ensureDirectoryWithReadWriteAccess
            _ensureDirectory(inPath)
          File "/usr/share/wikid/lib/python/apple_utilities/RepositoryManager.py", line 24, in _ensureDirectory
            os.mkdir(inPath)
        exceptions.OSError: [Errno 2] No such file or directory: '/Volumes/Cota_Files/Library/Collaboration'
    2012-05-01 11:54:11-0400 [-] Main loop terminated.
    2012-05-01 11:54:11-0400 [-] Server Shut Down.
    2012-05-01 11:54:15-0400 [-] Log opened.
    2012-05-01 11:54:15-0400 [-] twistd 8.2.0 (/usr/bin/python 2.6.1) starting up.
    2012-05-01 11:54:15-0400 [-] reactor class: twisted.internet.selectreactor.SelectReactor.
    2012-05-01 11:54:15-0400 [-] Current log level is warn
    2012-05-01 11:54:15-0400 [-] twisted.web.server.Site starting on 8086
    2012-05-01 11:54:15-0400 [-] twisted.web2.channel.http.HTTPFactory starting on 8087
    2012-05-01 11:54:15-0400 [-] Starting
    2012-05-01 11:54:16-0400 [-] u"Couldn't load preferences for:traceyfarquharcotaoilcom at /Volumes/Cota_Files/Library/Collaboration/User Preferences/traceyfarquharcotaoilcom.plist"
    2012-05-01 11:54:17-0400 [-] in migration. repo version is: 23
    2012-05-01 11:54:17-0400 [-] Running
    2012-05-01 11:54:28-0400 [-] 127.0.0.1 - - [01/May/2012:15:54:27 +0000] "POST / HTTP/1.1" 200 130 "-" "Twisted/XMLRPClib"
    2012-05-01 11:54:28-0400 [HTTPChannel,1,127.0.0.1] 127.0.0.1 - - [01/May/2012:15:54:27 +0000] "POST / HTTP/1.1" 200 129 "http://aphrodite.cotaoil.net/groups/cotaedu/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:12.0) Gecko/20100101 Firefox/12.0"
    2012-05-01 11:54:28-0400 [-] 127.0.0.1 - - [01/May/2012:15:54:27 +0000] "POST / HTTP/1.1" 200 130 "-" "Twisted/XMLRPClib"
    2012-05-01 11:54:28-0400 [-] 127.0.0.1 - - [01/May/2012:15:54:27 +0000] "POST / HTTP/1.1" 200 57751 "http://aphrodite.cotaoil.net/groups/cotaedu/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:12.0) Gecko/20100101 Firefox/12.0"
    2012-05-01 11:54:29-0400 [HTTPChannel,3,127.0.0.1] 127.0.0.1 - - [01/May/2012:15:54:28 +0000] "POST / HTTP/1.1" 200 138 "http://aphrodite.cotaoil.net/groups/cotaedu/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:12.0) Gecko/20100101 Firefox/12.0"
    2012-05-01 11:54:29-0400 [-] 127.0.0.1 - - [01/May/2012:15:54:28 +0000] "POST / HTTP/1.1" 200 130 "-" "Twisted/XMLRPClib"
    2012-05-01 11:54:29-0400 [-] 127.0.0.1 - - [01/May/2012:15:54:28 +0000] "POST / HTTP/1.1" 200 130 "-" "Twisted/XMLRPClib"
    2012-05-01 12:44:29-0400 [-] 127.0.0.1 - - [01/May/2012:16:44:28 +0000] "POST / HTTP/1.1" 200 57751 "http://aphrodite.cotaoil.net/groups/cotaedu/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:12.0) Gecko/20100101 Firefox/12.0"
    Log: wikid/access.log - this just shows my attemtps to hit a bookmark to /groups/cotaedu/wiki/167af/Adding_a_new_account.html not sure its relevant
    a/5.0 (Macintosh; Intel Mac OS X 10.7; rv:12.0) Gecko/20100101 Firefox/12.0"
    aphrodite.cotaoil.net - unauthenticated [01/May/2012:11:50:10 -0400] "GET /groups/cotaedu/wiki/167af/Adding_a_new_account.html HTTP/1.1" 503 1428 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:12.0) Gecko/20100101 Firefox/12.0"
    aphrodite.cotaoil.net - unauthenticated [01/May/2012:11:50:16 -0400] "GET /groups/cotaedu/wiki/167af/Adding_a_new_account.html HTTP/1.1" 503 1428 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:12.0) Gecko/20100101 Firefox/12.0"
    Thanks for any and all help.

    Apple Mobile Device not Starting
    ·   Windows Vista or Windows 7
    In the Start SearchServices.
    In the Programs
    Select Apple Mobile DeviceStop the service
    After the service has stopped, click Start the service.
    After the Apple Mobile Device service has started again, open iTunes and connect the device.

  • Stop, Stop and return to menu

    Need some clarification and maybe a pointer to additional info on the following:
    Some assumptions about the DVD standard operation:
    Hit >stop=pause
    play=resume from pause position
    Hit >stop then stop again? takes the picture out to the DVD trademark logo. Hitting>play at this point then takes me right into playing the show from the top. Shouldn't this take me make to menu 1 which is designated as "first play"
    don't know how to figure this out
    thx
    DVDSP 4

    David:
    Probably this post helps you:
    http://discussions.apple.com/thread.jspa?messageID=2244424&#2244424
    You cannot trust what will happen when pressing stop remote button. My JVC DVD player stops comletly the playback (out!) and what happen if you press pay again depends on some internal settings.
    Posting twice doesn't mean more attention. If you want a previous old post (I mean older than some hours !!!) goes to the top of the list again, just add a new comment to it.
    Hope that helps !
      Alberto

  • Music skips and stops and starts

    Hello, we have just got a nano to replace a 3rd gen iPod.
    I have around 50 gigs of music on a lacie USB drive, and the music plays flawlessly from here in iTunes.
    However once imported into the nano, there is distortion, jumps and clicks in the music and sometimes the song will just stop and start from the beginning.
    Any ideas?

    Gary,
    You chould check out this thread we have going.
    http://discussions.apple.com/thread.jspa?threadID=356911&tstart=0
    Toshiba Satellite P25-609   Windows XP Pro   Media Center Edition iPod Nano 2G (as black as my cold, dead heart)

  • When uploading my formatted resume to my Apple Jobs profile, I am always presented with a c:\fakepath message and the resume does not upload. How can I rectify this?

    When uploading my formatted resume to my Apple Jobs profile, I am always presented with a c:\fakepath message and the resume does not upload. How can I rectify this?

    Add this one to the list of thinks that don't work on the Apple Job Board. It looks like Apple is using ADP's VE (Virtual Edge) technology to run this system, and I've been stupified by the number of features that are just broken, or so poorly thought out by ADP as to be unusable, (certainly for webkit and mozilla browsers at least: I didn't bother checking IE.)
    Here are a few highlights:
    "My Job List", list of jobs applied for, seems to max out at three. You can apply for more than that, but you can only see the first three.
    "Search Using Your Resume" feature yields few or no results, even when the pasted text contains only common, exactly matched words like 'Design' or 'Engineer'.
    The missing resume upload, described in this thread.
    "My Job Agent" seems to never flag anything, at least it hasn't ever for me despite pretty loose criteria.
    Agent's created using "My Job Agent" eventually just disappear, which is fine because they don't seem to work.
    When updating a profile, acknowledging the 'Terms' happens twice in a row. 
    Job seekers can only supply one cover letter despite being able apply for several jobs.
    Pagination for search results only appears at the top of the page, so it's necessary to scroll down through each page, then up to the top again to proceed to the next page.
    Well, I'm sure there are others, but you get the idea. I hope the Apple folks can fix this, (or twist ADP's arm to fix it,) so it better represents the quality of experience that Apple is so respected for consistently delivering.

  • Dispatcher stopped and Workprocessors are Ended State

    Hi Experts
    Suddenly my dispatcher stopped and all work processors are in Ended state in the ECC6.0 with Oracle database in windows 2003.  I have checked the Memory parameters and resetted the values but still getting the same problem here i am pasting the dev_disp and dev_w0 files.  Please help me need full
    Regards
    Chandra
    dev_disp::
    trc file: "dev_disp", trc level: 1, release: "700"
    sysno      00
    sid        CHE
    systemid   560 (PC with Windows NT)
    relno      7000
    patchlevel 0
    patchno    175
    intno      20050900
    make:      multithreaded, Unicode, optimized
    pid        1536
    Sun Dec 07 13:05:43 2008
    kernel runs with dp version 241000(ext=110000) (@(#) DPLIB-INT-VERSION-241000-UC)
    length of sys_adm_ext is 576 bytes
    SWITCH TRC-HIDE on ***
    ***LOG Q00=> DpSapEnvInit, DPStart (00 1536) [dpxxdisp.c   1261]
         shared lib "dw_xml.dll" version 175 successfully loaded
         shared lib "dw_xtc.dll" version 175 successfully loaded
         shared lib "dw_stl.dll" version 175 successfully loaded
         shared lib "dw_gui.dll" version 175 successfully loaded
         shared lib "dw_mdm.dll" version 175 successfully loaded
    rdisp/softcancel_sequence :  -> 0,5,-1
    use internal message server connection to port 3900
    Sun Dec 07 13:05:54 2008
    WARNING => DpNetCheck: NiHostToAddr(www.doesnotexist0081.qqq.nxst) took 11 seconds
    Sun Dec 07 13:05:59 2008
    WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 5 seconds
    ***LOG GZZ=> 2 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c  5418]
    MtxInit: 30000 0 0
    DpSysAdmExtInit: ABAP is active
    DpSysAdmExtInit: VMC (JAVA VM in WP) is not active
    DpIPCInit2: start server >I3LSERVSAP1_CHE_00                      <
    DpShMCreate: sizeof(wp_adm)          23856     (1704)
    DpShMCreate: sizeof(tm_adm)          4415616     (21968)
    DpShMCreate: sizeof(wp_ca_adm)          24064     (80)
    DpShMCreate: sizeof(appc_ca_adm)     8000     (80)
    DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528056/528064
    DpShMCreate: sizeof(comm_adm)          528064     (1048)
    DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
    DpShMCreate: sizeof(slock_adm)          0     (96)
    DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
    DpShMCreate: sizeof(file_adm)          0     (72)
    DpShMCreate: sizeof(vmc_adm)          0     (1544)
    DpShMCreate: sizeof(wall_adm)          (38456/34360/64/184)
    DpShMCreate: sizeof(gw_adm)     48
    DpShMCreate: SHM_DP_ADM_KEY          (addr: 06840040, size: 5081056)
    DpShMCreate: allocated sys_adm at 06840040
    DpShMCreate: allocated wp_adm at 06842118
    DpShMCreate: allocated tm_adm_list at 06847E48
    DpShMCreate: allocated tm_adm at 06847E78
    DpShMCreate: allocated wp_ca_adm at 06C7DEF8
    DpShMCreate: allocated appc_ca_adm at 06C83CF8
    DpShMCreate: allocated comm_adm at 06C85C38
    DpShMCreate: system runs without slock table
    DpShMCreate: system runs without file table
    DpShMCreate: allocated vmc_adm_list at 06D06AF8
    DpShMCreate: allocated gw_adm at 06D06B38
    DpShMCreate: system runs without vmc_adm
    DpShMCreate: allocated ca_info at 06D06B68
    DpShMCreate: allocated wall_adm at 06D06B70
    MBUF state OFF
    DpCommInitTable: init table for 500 entries
    rdisp/queue_size_check_value :  -> off
    ThTaskStatus: rdisp/reset_online_during_debug 0
    EmInit: MmSetImplementation( 2 ).
    MM global diagnostic options set: 0
    <ES> client 0 initializing ....
    <ES> InitFreeList
    <ES> block size is 1024 kByte.
    Using implementation view
    <EsNT> Using memory model view.
    <EsNT> Memory Reset disabled as NT default
    <ES> 4075 blocks reserved for free list.
    ES initialized.
    rdisp/http_min_wait_dia_wp : 1 -> 1
    ***LOG CPS=> DpLoopInit, ICU ( 3.0 3.0 4.0.1) [dpxxdisp.c   1668]
    ***LOG Q0K=> DpMsAttach, mscon ( I3LSERVSAP1) [dpxxdisp.c   12364]
    DpStartStopMsg: send start message (myname is >I3LSERVSAP1_CHE_00                      <)
    DpStartStopMsg: start msg sent
    CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
    CCMS: Initalizing shared memory of size 60000000 for monitoring segment.
    CCMS: Checking Downtime Configuration of Monitoring Segment.
    CCMS: start to initalize 3.X shared alert area (first segment).
    DpMsgAdmin: Set release to 7000, patchlevel 0
    MBUF state PREPARED
    MBUF component UP
    DpMBufHwIdSet: set Hardware-ID
    ***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c   1050]
    DpMsgAdmin: Set patchno for this platform to 175
    Release check o.K.
    Sun Dec 07 13:06:39 2008
    my types changed after wp death/restart 0xbf --> 0xbe
    my types changed after wp death/restart 0xbe --> 0xbc
    my types changed after wp death/restart 0xbc --> 0xb8
    my types changed after wp death/restart 0xb8 --> 0xb0
    my types changed after wp death/restart 0xb0 --> 0xa0
    my types changed after wp death/restart 0xa0 --> 0x80
    DP_FATAL_ERROR => DpWPCheck: no more work processes
    DISPATCHER EMERGENCY SHUTDOWN ***
    increase tracelevel of WPs
    NiWait: sleep (10000ms) ...
    NiISelect: timeout 10000ms
    NiISelect: maximum fd=1513
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Sun Dec 07 13:06:49 2008
    NiISelect: TIMEOUT occured (10000ms)
    dump system status
    Workprocess Table (long)               Sun Dec 07 07:36:49 2008
    ========================
    No Ty. Pid      Status  Cause Start Err Sem CPU    Time  Program          Cl  User         Action                    Table
    0 DIA     6120 Ended         no      1   0        0                                                                         
    1 DIA     2860 Ended         no      1   0        0                                                                         
    2 DIA     6020 Ended         no      1   0        0                                                                         
    3 DIA     5632 Ended         no      1   0        0                                                                         
    4 DIA      588 Ended         no      1   0        0                                                                         
    5 DIA     6016 Ended         no      1   0        0                                                                         
    6 UPD      484 Ended         no      1   0        0                                                                         
    7 ENQ     2268 Ended         no      1   0        0                                                                         
    8 BTC      584 Ended         no      1   0        0                                                                         
    9 BTC     6064 Ended         no      1   0        0                                                                         
    10 BTC     4228 Ended         no      1   0        0                                                                         
    11 BTC     5980 Ended         no      1   0        0                                                                         
    12 SPO     1984 Ended         no      1   0        0                                                                         
    13 UP2     5996 Ended         no      1   0        0                                                                         
    Dispatcher Queue Statistics               Sun Dec 07 07:36:49 2008
    ===========================
    --------++++--
    +
    Typ
    now
    high
    max
    writes
    reads
    --------++++--
    +
    NOWP
    0
    2
    2000
    6
    6
    --------++++--
    +
    DIA
    5
    5
    2000
    5
    0
    --------++++--
    +
    UPD
    0
    0
    2000
    0
    0
    --------++++--
    +
    ENQ
    0
    0
    2000
    0
    0
    --------++++--
    +
    BTC
    0
    0
    2000
    0
    0
    --------++++--
    +
    SPO
    0
    0
    2000
    0
    0
    --------++++--
    +
    UP2
    0
    0
    2000
    0
    0
    --------++++--
    +
    max_rq_id          12
    wake_evt_udp_now     0
    wake events           total     8,  udp     7 ( 87%),  shm     1 ( 12%)
    since last update     total     8,  udp     7 ( 87%),  shm     1 ( 12%)
    Dump of tm_adm structure:               Sun Dec 07 07:36:49 2008
    =========================
    Term    uid  man user    term   lastop  mod wp  ta   a/i (modes)
    Workprocess Comm. Area Blocks               Sun Dec 07 07:36:49 2008
    =============================
    Slots: 300, Used: 1, Max: 0
    --------++--
    +
    id
    owner
    pid
    eyecatcher
    --------++--
    +
    0
    DISPATCHER
    -1
    WPCAAD000
    NiWait: sleep (5000ms) ...
    NiISelect: timeout 5000ms
    NiISelect: maximum fd=1513
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Sun Dec 07 13:06:54 2008
    NiISelect: TIMEOUT occured (5000ms)
    DpHalt: shutdown server >I3LSERVSAP1_CHE_00                      < (normal)
    DpJ2eeDisableRestart
    DpModState: buffer in state MBUF_PREPARED
    NiBufSend starting
    NiIWrite: hdl 2 sent data (wrt=110,pac=1,MESG_IO)
    MsINiWrite: sent 110 bytes
    MsIModState: change state to SHUTDOWN
    DpModState: change server state from STARTING to SHUTDOWN
    Switch off Shared memory profiling
    ShmProtect( 57, 3 )
    ShmProtect(SHM_PROFILE, SHM_PROT_RW
    ShmProtect( 57, 1 )
    ShmProtect(SHM_PROFILE, SHM_PROT_RD
    DpWakeUpWps: wake up all wp's
    Stop work processes
    Stop gateway
    killing process (6084) (SOFT_KILL)
    Stop icman
    killing process (6128) (SOFT_KILL)
    Terminate gui connections
    wait for end of work processes
    wait for end of gateway
    [DpProcDied] Process lives  (PID:6084  HANDLE:1484)
    waiting for termination of gateway ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1513
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Sun Dec 07 13:06:55 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process died  (PID:6084  HANDLE:1484)
    wait for end of icman
    [DpProcDied] Process lives  (PID:6128  HANDLE:1488)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1513
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Sun Dec 07 13:06:56 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:6128  HANDLE:1488)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1513
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Sun Dec 07 13:06:57 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:6128  HANDLE:1488)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1513
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Sun Dec 07 13:06:58 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:6128  HANDLE:1488)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1513
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Sun Dec 07 13:06:59 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:6128  HANDLE:1488)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1513
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Sun Dec 07 13:07:00 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:6128  HANDLE:1488)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1513
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Sun Dec 07 13:07:01 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:6128  HANDLE:1488)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1513
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Sun Dec 07 13:07:02 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:6128  HANDLE:1488)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1513
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Sun Dec 07 13:07:03 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:6128  HANDLE:1488)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1513
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Sun Dec 07 13:07:04 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:6128  HANDLE:1488)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1513
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Sun Dec 07 13:07:05 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:6128  HANDLE:1488)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1513
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Sun Dec 07 13:07:06 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process died  (PID:6128  HANDLE:1488)
    DpStartStopMsg: send stop message (myname is >I3LSERVSAP1_CHE_00                      <)
    NiIMyHostName: hostname = 'I3LSERVSAP1'
    AdGetSelfIdentRecord: >                                                                           <
    AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
    AdCvtRecToExt: opcode 4 (AD_STARTSTOP), ser 0, ex 0, errno 0
    DpConvertRequest: net size = 189 bytes
    NiBufSend starting
    NiIWrite: hdl 2 sent data (wrt=562,pac=1,MESG_IO)
    MsINiWrite: sent 562 bytes
    send msg (len 110+452) to name                    -, type 4, key -
    DpStartStopMsg: stop msg sent
    NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=274
    NiBufIIn: packet complete for hdl 2
    NiBufReceive starting
    MsINiRead: received 274 bytes
    MSG received, len 110+164, flag 1, from MSG_SERVER          , typ 0, key -
    DpHalt: received 164 bytes from message server
    NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=274
    NiBufIIn: packet complete for hdl 2
    NiBufReceive starting
    MsINiRead: received 274 bytes
    MSG received, len 110+164, flag 1, from MSG_SERVER          , typ 0, key -
    DpHalt: received 164 bytes from message server
    NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=274
    NiBufIIn: packet complete for hdl 2
    NiBufReceive starting
    MsINiRead: received 274 bytes
    MSG received, len 110+164, flag 1, from MSG_SERVER          , typ 0, key -
    DpHalt: received 164 bytes from message server
    NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=274
    NiBufIIn: packet complete for hdl 2
    NiBufReceive starting
    MsINiRead: received 274 bytes
    MSG received, len 110+164, flag 1, from MSG_SERVER          , typ 0, key -
    DpHalt: received 164 bytes from message server
    NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=274
    NiBufIIn: packet complete for hdl 2
    NiBufReceive starting
    MsINiRead: received 274 bytes
    MSG received, len 110+164, flag 1, from MSG_SERVER          , typ 0, key -
    DpHalt: received 164 bytes from message server
    NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=274
    NiBufIIn: packet complete for hdl 2
    NiBufReceive starting
    MsINiRead: received 274 bytes
    MSG received, len 110+164, flag 1, from MSG_SERVER          , typ 0, key -
    DpHalt: received 164 bytes from message server
    NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=274
    NiBufIIn: packet complete for hdl 2
    NiBufReceive starting
    MsINiRead: received 274 bytes
    MSG received, len 110+164, flag 1, from MSG_SERVER          , typ 0, key -
    DpHalt: received 164 bytes from message server
    NiIRead: hdl 2 recv would block (errno=EAGAIN)
    NiIRead: read for hdl 2 timed out (0ms)
    DpHalt: no more messages from the message server
    DpHalt: send keepalive to synchronize with the message server
    NiBufSend starting
    NiIWrite: hdl 2 sent data (wrt=114,pac=1,MESG_IO)
    MsINiWrite: sent 114 bytes
    send msg (len 110+4) to name           MSG_SERVER, type 0, key -
    MsSndName: MS_NOOP ok
    Send 4 bytes to MSG_SERVER
    NiIRead: hdl 2 recv would block (errno=EAGAIN)
    NiIPeek: peek successful for hdl 2 (r)
    NiIRead: hdl 2 received data (rcd=114,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=114
    NiBufIIn: packet complete for hdl 2
    NiBufReceive starting
    MsINiRead: received 114 bytes
    MSG received, len 110+4, flag 3, from MSG_SERVER          , typ 0, key -
    Received 4 bytes from MSG_SERVER                             
    Received opcode MS_NOOP from msg_server, reply MSOP_OK
    MsOpReceive: ok
    MsSendKeepalive : keepalive sent to message server
    NiIRead: hdl 2 recv would block (errno=EAGAIN)
    Sun Dec 07 13:07:07 2008
    NiIPeek: peek for hdl 2 timed out (r; 1000ms)
    NiIRead: read for hdl 2 timed out (1000ms)
    DpHalt: no more messages from the message server
    DpHalt: sync with message server o.k.
    detach from message server
    ***LOG Q0M=> DpMsDetach, ms_detach () [dpxxdisp.c   12710]
    NiBufSend starting
    NiIWrite: hdl 2 sent data (wrt=110,pac=1,MESG_IO)
    MsINiWrite: sent 110 bytes
    MsIDetach: send logout to msg_server
    MsIDetach: call exit function
    DpMsShutdownHook called
    NiBufISelUpdate: new MODE -- (r-) for hdl 2 in set0
    SiSelNSet: set events of sock 1420 to: ---
    NiBufISelRemove: remove hdl 2 from set0
    SiSelNRemove: removed sock 1420 (pos=2)
    SiSelNRemove: removed sock 1420
    NiSelIRemove: removed hdl 2
    MBUF state OFF
    AdGetSelfIdentRecord: >                                                                           <
    AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
    AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
    AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
    blks_in_queue/wp_ca_blk_no/wp_max_no = 1/300/14
    LOCK WP ca_blk 1
    make DISP owner of wp_ca_blk 1
    DpRqPutIntoQueue: put request into queue (reqtype 1, prio LOW, rq_id 15)
    MBUF component DOWN
    NiICloseHandle: shutdown and close hdl 2 / sock 1420
    NiBufIClose: clear extension for hdl 2
    MsIDetach: detach MS-system
    cleanup EM
    EsCleanup ....
    EmCleanup() -> 0
    Es2Cleanup: Cleanup ES2
    ***LOG Q05=> DpHalt, DPStop ( 1536) [dpxxdisp.c   10908]
    Good Bye .....
    dev_w0::
    trc file: "dev_w0", trc level: 1, release: "700"
    ACTIVE TRACE LEVEL           1
    ACTIVE TRACE COMPONENTS      all, MJ

    B Sun Dec 07 13:05:59 2008
    B  create_con (con_name=R/3)
    B  Loading DB library 'F:\usr\sap\CHE\DVEBMGS00\exe\dboraslib.dll' ...
    B  Library 'F:\usr\sap\CHE\DVEBMGS00\exe\dboraslib.dll' loaded
    B  Version of 'F:\usr\sap\CHE\DVEBMGS00\exe\dboraslib.dll' is "700.08", patchlevel (0.167)
    B  New connection 0 created
    M sysno      00
    M sid        CHE
    M systemid   560 (PC with Windows NT)
    M relno      7000
    M patchlevel 0
    M patchno    175
    M intno      20050900
    M make:      multithreaded, Unicode, optimized
    M pid        6120
    M
    M  kernel runs with dp version 241000(ext=110000) (@(#) DPLIB-INT-VERSION-241000-UC)
    M  length of sys_adm_ext is 576 bytes
    M  ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 6120) [dpxxdisp.c   1323]
    I  MtxInit: 30000 0 0
    M  DpSysAdmExtCreate: ABAP is active
    M  DpSysAdmExtCreate: VMC (JAVA VM in WP) is not active
    M  DpShMCreate: sizeof(wp_adm)          23856     (1704)
    M  DpShMCreate: sizeof(tm_adm)          4415616     (21968)
    M  DpShMCreate: sizeof(wp_ca_adm)          24064     (80)
    M  DpShMCreate: sizeof(appc_ca_adm)     8000     (80)
    M  DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528056/528064
    M  DpShMCreate: sizeof(comm_adm)          528064     (1048)
    M  DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
    M  DpShMCreate: sizeof(slock_adm)          0     (96)
    M  DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
    M  DpShMCreate: sizeof(file_adm)          0     (72)
    M  DpShMCreate: sizeof(vmc_adm)          0     (1544)
    M  DpShMCreate: sizeof(wall_adm)          (38456/34360/64/184)
    M  DpShMCreate: sizeof(gw_adm)     48
    M  DpShMCreate: SHM_DP_ADM_KEY          (addr: 06840040, size: 5081056)
    M  DpShMCreate: allocated sys_adm at 06840040
    M  DpShMCreate: allocated wp_adm at 06842118
    M  DpShMCreate: allocated tm_adm_list at 06847E48
    M  DpShMCreate: allocated tm_adm at 06847E78
    M  DpShMCreate: allocated wp_ca_adm at 06C7DEF8
    M  DpShMCreate: allocated appc_ca_adm at 06C83CF8
    M  DpShMCreate: allocated comm_adm at 06C85C38
    M  DpShMCreate: system runs without slock table
    M  DpShMCreate: system runs without file table
    M  DpShMCreate: allocated vmc_adm_list at 06D06AF8
    M  DpShMCreate: allocated gw_adm at 06D06B38
    M  DpShMCreate: system runs without vmc_adm
    M  DpShMCreate: allocated ca_info at 06D06B68
    M  DpShMCreate: allocated wall_adm at 06D06B70
    M  rdisp/queue_size_check_value :  -> off
    M  ThTaskStatus: rdisp/reset_online_during_debug 0
    X  EmInit: MmSetImplementation( 2 ).
    X  MM global diagnostic options set: 0
    X  <ES> client 0 initializing ....
    X  Using implementation view
    X  <EsNT> Using memory model view.
    M  <EsNT> Memory Reset disabled as NT default
    X  ES initialized.

    M Sun Dec 07 13:06:00 2008
    M  ThInit: running on host I3LSERVSAP1

    M Sun Dec 07 13:06:01 2008
    M  calling db_connect ...
    C  Prepending F:\usr\sap\CHE\DVEBMGS00\exe to Path.
    C  Oracle Client Version: '10.2.0.1.0'
    C  Client NLS settings: AMERICAN_AMERICA.UTF8
    C  Logon as OPS$-user to get SAPSR3's password
    C  Connecting as /@CHE on connection 0 (nls_hdl 0) ... (dbsl 700 030508)
    C  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
    C    0 UTF8                                                      1   0672A1A8   0672F744   0672EFCC
    C  Attaching to DB Server CHE (con_hdl=0,svchp=0672EF18,srvhp=06740B04)
    C  Starting user session (con_hdl=0,svchp=0672EF18,srvhp=06740B04,usrhp=06755878)
    C  Now '/@CHE' is connected: con_hdl=0, nls_hdl=0, session_id=85.
    C  Got SAPSR3's password from OPS$-user
    C  Disconnecting from connection 0 ...
    C  Closing user session (con_hdl=0,svchp=0672EF18,usrhp=06755878)
    C  Now I'm disconnected from ORACLE
    C  Connecting as SAPSR3/<pwd>@CHE on connection 0 (nls_hdl 0) ... (dbsl 700 030508)
    C  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
    C    0 UTF8                                                      1   0672A1A8   0672F744   0672EFCC
    C  Starting user session (con_hdl=0,svchp=0672EF18,srvhp=06740B04,usrhp=06755878)
    C  Now 'SAPSR3/<pwd>@CHE' is connected: con_hdl=0, nls_hdl=0, session_id=85.
    C  Database NLS settings: AMERICAN_AMERICA.UTF8
    C  DB instance CHE is running on I3LSERVSAP1 with ORACLE version 10.2.0.2.0 since DEC 07, 2008, 12:36:31
    B  Connection 0 opened (DBSL handle 0)
    B  Wp  Hdl ConName          ConId     ConState     TX  PRM RCT TIM MAX OPT Date     Time   DBHost         
    B  000 000 R/3              000000000 ACTIVE       NO  YES NO  000 255 255 20081207 130601 I3LSERVSAP1    
    C  build_stmt: reallocating stmt buffer: 256 -> 2000 characters
    M  db_connect o.k.
    M  ICT: exclude compression: .zip,.cs,.rar,.arj,.z,.gz,.tar,.lzh,.cab,.hqx,.ace,.jar,.ear,.war,.css,.pdf,.js,.gzip,.uue,.bz2,.iso,.sda,.sar,.gif
    I  MtxInit: 0 0 0
    M  SHM_PRES_BUF               (addr: 0B3A0040, size: 4400000)
    I  *** ERROR => [MapOsShm] Can't find free space for Shared Memory (Size=720000 KB)
                   [shmnt.c      2174]
    I  *** ERROR => [CreateOsShm] MapViewOfFile(Key=9,Handle=0x000004DC) failed with Err=0
                   [shmnt.c      2174]
    I  *** ERROR => ShmCreate: Create (9,737280000,3) failed [shmnt.c      506]
    Memory diagnostic                                 *
    Systeminformation
    Processor-Typ             : Intel Pentium Pro
    Processor-Count           : 8
    Operating System          : NT 5.2, Build 3790
    Service Pack              : Service Pack 2
    NT Pagefile Informations
    Config. minimum size      : 12570624 K
    Config. maximum size      : 12570624 K
    Avail.  maximum size      : 12570624 K
    Num
    Pagefile
    Min.Size
    Max.Size
    Avail.Max
    Curr.Size
    1
    c:\pagefile.sys
    4190208 K
    4190208 K
    4190208 K
    4190208 K
    2
    d:\pagefile.sys
    4190208 K
    4190208 K
    4190208 K
    4190208 K
    3
    f:\pagefile.sys
    4190208 K
    4190208 K
    4190208 K
    4190208 K
    NT Task Manager Informations
    Total Handles             :        0
    Total Threads             :        0
    Total Processes           :        0
    Commit Charge Total       :  6571584 K
    Commit Charge Limit       : 15822776 K
    Commit Charge Peak        :  7495116 K
    Phys.Memory Total         :       54 K
    Phys.Memory Available     : 93650276 K
    File Cache                : 17399116 K
    Kernel Memory Total       : 2084222616 K
    Kernel Memory Paged       :        0 K
    Kernel Memory Nonpaged    : 93650304 K
    Memory usage of current process
    Total virt.address space  :  2097024 K
    Avail.virt.address space  :   837328 K
    Private Pages             :        0 K
    Total heap size           :    14532 K
    Virtual memory regions    :        0 K
    Uncommitted heap memory   :     6440 K
    Allocated heap memory     :     6850 K
    Moveable heap memory      :        0 K
    DDE shared heap memory    :        0 K
    Memory usage of all processes
    PID
    Image
    Instance
    Work.Set
    WS Peak
    Priv.Pages
    PP Peak
    Pg Fault
    1940
    sapstartsrv.exe
    15956 K
    15956 K
    18656 K
    18700 K
    4
    5716
    msg_server.EXE
    [MS] CHE_00
    8508 K
    8508 K
    11000 K
    11000 K
    2
    1536
    disp+work.EXE
    [DP] CHE_00
    93256 K
    93256 K
    69540 K
    69540 K
    22
    5772
    igswd.EXE
    [**] CHE_00
    2796 K
    3048 K
    1436 K
    1724 K
    0
    1304
    igsmux.exe
    12012 K
    12012 K
    13032 K
    13032 K
    2
    5696
    igspw.exe
    2536 K
    2536 K
    2336 K
    2336 K
    0
    5688
    igspw.exe
    2536 K
    2536 K
    2336 K
    2336 K
    0
    6084
    gwrd.EXE
    [GW] CHE_00
    10164 K
    10164 K
    9996 K
    17924 K
    2
    6128
    icman.EXE
    [**] CHE_00
    86128 K
    86128 K
    88096 K
    88096 K
    21
    6120
    disp+work.EXE
    31808 K
    31904 K
    82200 K
    85356 K
    7
    2860
    disp+work.EXE
    [WP] CHE_00
    30604 K
    30604 K
    81656 K
    85356 K
    7
    6020
    disp+work.EXE
    [WP] CHE_00
    16080 K
    16080 K
    67372 K
    67372 K
    3
    5632
    disp+work.EXE
    [WP] CHE_00
    16104 K
    16104 K
    67372 K
    67372 K
    3
    588
    disp+work.EXE
    [WP] CHE_00
    28804 K
    28804 K
    80672 K
    85356 K
    7
    6016
    disp+work.EXE
    [WP] CHE_00
    16084 K
    16084 K
    67372 K
    67372 K
    3
    484
    disp+work.EXE
    [WP] CHE_00
    16084 K
    16084 K
    67372 K
    67372 K
    3
    2268
    disp+work.EXE
    [WP] CHE_00
    16080 K
    16080 K
    67372 K
    67372 K
    3
    584
    disp+work.EXE
    [WP] CHE_00
    19112 K
    19112 K
    85360 K
    85360 K
    4
    6064
    disp+work.EXE
    [WP] CHE_00
    30972 K
    30972 K
    81696 K
    85356 K
    7
    4228
    disp+work.EXE
    [WP] CHE_00
    30376 K
    30376 K
    81488 K
    85356 K
    7
    5980
    disp+work.EXE
    [WP] CHE_00
    16080 K
    16080 K
    67372 K
    67372 K
    3
    1984
    disp+work.EXE
    [WP] CHE_00
    16080 K
    16080 K
    67372 K
    67372 K
    3
    5996
    disp+work.EXE
    [WP] CHE_00
    16080 K
    16080 K
    67372 K
    67372 K
    3
    Sum
    534240 K
    1248476 K
    M  *** ERROR => ThShMCreate: ShmCreate SHM_ROLL_AREA_KEY failed [thxxhead.c   2598]
    M  *** ERROR => ThIPCInit: ThShMCreate [thxxhead.c   2095]
    M  ***LOG R19=> ThInit, ThIPCInit ( TSKH-IPC-000001) [thxxhead.c   1532]
    M  in_ThErrHandle: 1
    M  *** ERROR => ThInit: ThIPCInit (step 1, th_errno 17, action 3, level 1) [thxxhead.c   10534]

    M  Info for wp 0

    M    pid = 6120
    M    severity = 0
    M    status = 0
    M    stat = WP_RUN
    M    waiting_for = NO_WAITING
    M    reqtype = DP_RQ_DIAWP
    M    act_reqtype = NO_REQTYPE
    M    rq_info = 0
    M    tid = -1
    M    mode = 255
    M    len = -1
    M    rq_id = 65535
    M    rq_source =
    M    last_tid = 0
    M    last_mode = 0
    M    semaphore = 0
    M    act_cs_count = 0
    M    csTrack = 0
    M    csTrackRwExcl = 0
    M    csTrackRwShrd = 0
    M    mode_cleaned_counter = 0
    M    control_flag = 0
    M    int_checked_resource(RFC) = 0
    M    ext_checked_resource(RFC) = 0
    M    int_checked_resource(HTTP) = 0
    M    ext_checked_resource(HTTP) = 0
    M    report = >                                        <
    M    action = 0
    M    tab_name = >                              <
    M    attachedVm = no VM

    M  *****************************************************************************
    M  *
    M  *  LOCATION    SAP-Server I3LSERVSAP1_CHE_00 on host I3LSERVSAP1 (wp 0)
    M  *  ERROR       ThInit: ThIPCInit
    M  *
    M  *  TIME        Sun Dec 07 13:06:01 2008
    M  *  RELEASE     700
    M  *  COMPONENT   Taskhandler
    M  *  VERSION     1
    M  *  RC          17
    M  *  MODULE      thxxhead.c
    M  *  LINE        10754
    M  *  COUNTER     1
    M  *
    M  *****************************************************************************

    M  PfStatDisconnect: disconnect statistics
    M  Entering TH_CALLHOOKS
    M  ThCallHooks: call hook >BtcCallLgCl< for event BEFORE_DUMP
    M  ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
    M  *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c   723]
    M  *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c  261]
    M  Entering ThSetStatError
    M  ThIErrHandle: do not call ThrCoreInfo (no_core_info=0, in_dynp_env=0)
    M  Entering ThReadDetachMode
    M  call ThrShutDown (1)...
    M  ***LOG Q02=> wp_halt, WPStop (Workproc 0 6120) [dpnttool.c   333]

    Hi Chandra
    If you look at the DEV_w0 log you can see the work process are not comming you as they are not getting enough shared memory see this error message
    " Can't find free space for Shared Memory (Size=720000 KB) "
    Please review the parameter changes made by you in Instance profile before restart of instace. Check the values of these parameters and if you are not sure of the value changed by you  undo the parameter changes made before the instace restart
    Restart the instance again after these changes in instance profile. for now you can change the instace profile file from OS but don't forget to import this changed profile when instace is up
    if you did not changed any Profile parameters, check the physical memory available. chance could you some hardware memory issue. get your os team to check.
    Its a clear case of memory issue ..
    Rajeev

  • My program stops and i don't know why...

    I am not sure if i have a problem with my code or the VM but I'm assuming it's my code and hoping someone can help. I already searched through the forums and the bug database and I found some things I thought could maybe be my problem but after more testing the fixes and workarounds didn't work...
    It is a middleware between clients and database server all in java.
    The main thread invokes a thread that accepts socket connections and adds them to a connection queue (LinkedList). Various worker threads in a ThreadGroup wait and work with the connections as they come in. All this works correctly. Unfortunately my app is now displaying the unwanted characteristic of coming to an abrupt stop (not shutting down correctly) in an erratic manner. If no clients ever connect the app will sit and wait just fine (over 30 hours in 1 test until I stopped it) as soon as one connection is made however the app appears to be doomed. It will just stop anywhere between instantly and 10 minutes after the last connection is closed. Usually the span is between 2 and 3 minutes but it varies widely. It also will stay alive if another client connects, basically if the server is busy things are fine but when it is twiddling its thumbs waiting it just halts.
    Here is what the orginal code looks like...
    while(qOpen){
      Socket s = null;
      try{
        s = ss.accept();
      }catch(IOException clientConnectError){
        continue;     
      try{
        rq.addConnection(s);
      }catch(ConnectionQueueException closed){
        // if the queue is closed attempt to close the socket either way set our flag to closed so we exit the loop
        try{
          s.close();
        }catch(IOException clientCloseError){}     
        qOpen = false;          
    // the next line does not show up when the server stops
    System.out.println("Server Shutting down...");i thought maybe my code was doing something bad somewhere and I had an uncaught exception or error such as outofmemory. So I altered the code slightly to trap any errors or exceptions that were possibly coming down so I would know where to debug.
    Altered code
    while(qOpen){
      try{
      Socket s = null;
      try{
        s = ss.accept();
      }catch(IOException clientConnectError){
        continue;     
      try{
        rq.addConnection(s);
      }catch(ConnectionQueueException closed){
        // if the queue is closed attempt to close the socket either way set our flag to closed so we exit the loop
        try{
          s.close();
        }catch(IOException clientCloseError){}     
        qOpen = false;          
      }catch(Throwable thrown){thrown.printStackTrace();}
    // the next line does not show up when the server stops
    System.out.println("Server Shutting down...");The server stops and prints out nothing.
    Finally I thought maybe something bad is happening to the thread group. So I added another thread that loops and prints out some information about the ThreadGroup....
    Thread Group Information
    Active Count : 8
    Is Daemon : false
    This prints out like this exactly the same each time including the iteration just before everything comes to a halt.
    So I am stuck, (1)the app is not shutting down properly, (2)I cannot find (or trap) an error that is causing it to stop and (3) nothing wierd seems to be happening to my group of workers. What else can I do to find this error. Is this possibly a vm bug or is it more likely a code problem. I am not asking for anyone to solve my code if that is the problem but I have no more ideas about how to find out what the problem is. In case it helps here is the output from java -version
    java version "1.3.1_01"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_01)
    Java HotSpot(TM) Client VM (build 1.3.1_01, mixed mode)

    case? If so, I suggest that -- if you haven't already
    done so -- that you build a prototype of your project
    consisting only of the socket code that you're having
    problems with. This will obviate the possibility that
    something else in some seemingly unrelated piece of
    code is causing the problem. If you get that to work,
    then add pieces to your prototype until it converges
    with what you have now. That will allow you to
    isolate the piece causing the problem.This is not my first work with sockets in java but I think I may have to do the speration you mention to isolate the problem.
    Secondly, I'm writing this because I have I had a
    similar problem with sockets in C when I was first
    playing with them, and I know that deep down in the
    OS, sockets are sockets, pretty much the same as they
    ever were, and so my advice might carry to JAVA.
    First of all, you need to find out if the connections
    you are creating are blocking or non-blocking,
    including the server socket. If they are blocking,
    which I believe used to be the default, that means
    that your code will stop there and appear to hang
    when what is really happening is that it is just
    waiting for the next piece of data (or next
    connection, for a queue socket). If you've already
    got all that worked out, I recall that C sockets
    would cause an error condition on the port which, if
    not caught and handled, would really gunk things up
    because the port would show up as readable (using the
    tools for handling non-blocking sockets) but there
    would never be any data on it, which originally
    caused my software to hang while trying to read the
    nonexistent data. Go check those things and come
    back.Yes there are blockng calls... s = ss.accept() is a blocking call. Here is the code with more comments as I understand what is happening.
    Socket s = null;
    try{
      // this next line is a blocking call. This thread (only the one) will be waiting until a connection attempt is made
      s = ss.accept();
    }catch(IOException clientConnectError){
      // the accept method may throw an IOException this is
    an error to trap in the client debugging stage and otherwise I don't care so ignore it and jump to the next iteration of the loop.
      continue;
    try{
      // here the whole socket is added to a queue of sockets. 
      rq.addConnection(s);here is my code for the ConnectionQueue of sockets...
    public class ConnectionQueue{
      private LinkedList lElements;
      private boolean bOpen;
      public ConnectionQueue(){
        lElements = new LinkedList();
        bOpen = true;
    /** Adds the socket to the end of the queue.
    @param s The socket to add to queue.
    @exception ConnectionQueueException If this queue has been closed.*/
      public synchronized void addConnection(Socket s)throws ConnectionQueueException{
        if(!bOpen){
          throw new ConnectionQueueException("Request Queue closed.");     
        lElements.addLast(s);
        notify();
    /**Returns the socket at the beginning of the queue.     
    @exception ConnectionQueueException If the queue is closed and empty.*/
      public synchronized final Socket getConnection()throws InterruptedException,ConnectionQueueException{
        if((!bOpen)&&(lElements.size()<=0)){
          throw new ConnectionQueueException("Request Queue Closed");
        while(lElements.size()<=0){
          wait();
          if((!bOpen)&&(lElements.size()<=0)){
            throw new ConnectionQueueException("Request Queue closed.");
        try{
          return (Socket) lElements.removeFirst(); 
        }catch(ClassCastException bad){
          throw new ConnectionQueueException(bad.getMessage());
    /** Closes the queue. A closed ConnnectionQueue will not accept any additional sockets through addConnecion(Socket s). Sockets will still be returned by getConnection() for a closed ConnectionQueue while there are still queued sockets.*/     
      public synchronized void close(){
        bOpen = false;
        notifyAll();
         Well all this code works as it is supposed to. Also the app only dies (and when I mean dies/stops it is dead no more process, no more vm, nothing) when nothing is happening as opposed to if it is really busy in which case it is fine.

Maybe you are looking for