SUSPEND and NOTIFY converted as remote hold and remote retrieval

The other side says that is sending SUSPEND and NOTIFY - SS7 messages which are converted as remote hold and remote retrieval on PRA.
It says those message are coming to my Cisco box (c5350-is-mz.123-18), but the IOS it is not able to interprete them correctly.
I am not seeing this messages in any debugs... Anyone have any idea about ?
Thanks
Robert
Attached is the debug i've got from the other side

What debugs are you getting on the access server? The remote side is trying to communicate with the access server but maybe the messages are getting dropped. Following link may help you
http://www.cisco.com/en/US/docs/routers/access/as5350/software/configuration/guide/54basic.html

Similar Messages

  • [SOLVED] Poweroff, suspend and hibernate don't work

    I installed Archlinux on my work desktop on Monday and can't get poweroff, suspend and hibernate to work. The command `systemctl poweroff` sort of works, except it doesn't actually turn off the computer. Suspend and hibernate don't work at all, the computer hangs on the terminal with a cursor on the top left corner of the screen. Here is the log from `journalctl`. There doesn't seem to be any error messages in it, as far as I can see.
    Apr 16 10:02:55 carolfs-ifusp sudo[1127]: carolfs : TTY=pts/0 ; PWD=/home/carolfs ; USER=root ; COMMAND=/usr/bin/systemctl poweroff
    Apr 16 10:02:55 carolfs-ifusp sudo[1127]: pam_unix(sudo:session): session opened for user root by carolfs(uid=0)
    Apr 16 10:02:55 carolfs-ifusp systemd[1]: Stopping Session c2 of user carolfs.
    Apr 16 10:02:55 carolfs-ifusp gnome-session[576]: Received signal:15->'Terminated'
    Apr 16 10:02:55 carolfs-ifusp org.gnome.evolution.dataserver.Sources3[591]: Received terminate signal.
    Apr 16 10:02:55 carolfs-ifusp colord[453]: Automatic remove of icc-9cb50954c1872204852075bef0599dec from xrandr-Goldstar Company Ltd-W2043-16843009
    Apr 16 10:02:55 carolfs-ifusp colord[453]: Profile removed: icc-9cb50954c1872204852075bef0599dec
    Apr 16 10:02:55 carolfs-ifusp colord[453]: device removed: xrandr-Goldstar Company Ltd-W2043-16843009
    Apr 16 10:02:55 carolfs-ifusp polkitd[358]: Unregistered Authentication Agent for unix-session:c2 (system bus name :1.37, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
    Apr 16 10:02:55 carolfs-ifusp ntpd[300]: ntpd exiting on signal 15
    Apr 16 10:02:55 carolfs-ifusp systemd[1]: Stopped Session c2 of user carolfs.
    Apr 16 10:02:55 carolfs-ifusp systemd[1]: Stopping Session c1 of user gdm.
    Apr 16 10:02:55 carolfs-ifusp systemd[1]: Stopped Session c1 of user gdm.
    Apr 16 10:02:55 carolfs-ifusp systemd[1]: Stopping Sound Card.
    Apr 16 10:02:55 carolfs-ifusp systemd[1]: Stopped target Sound Card.
    Apr 16 10:02:55 carolfs-ifusp systemd[1]: Stopping system-systemd\x2dfsck.slice.
    Apr 16 10:02:55 carolfs-ifusp systemd[1]: Removed slice system-systemd\x2dfsck.slice.
    Apr 16 10:02:55 carolfs-ifusp systemd[1]: Stopping system-getty.slice.
    Apr 16 10:02:55 carolfs-ifusp systemd[1]: Removed slice system-getty.slice.
    Apr 16 10:02:55 carolfs-ifusp systemd[1]: Stopping User Manager for UID 1000...
    Apr 16 10:02:55 carolfs-ifusp systemd[1]: Stopping Disk Manager...
    Apr 16 10:02:55 carolfs-ifusp systemd[1]: Stopping Login Service...
    Apr 16 10:02:55 carolfs-ifusp systemd[567]: Stopping Default.
    Apr 16 10:02:55 carolfs-ifusp systemd[386]: Stopping Default.
    Apr 16 10:02:55 carolfs-ifusp systemd[1]: Stopping Login Prompts.
    Apr 16 10:02:55 carolfs-ifusp systemd[567]: Stopped target Default.
    Apr 16 10:02:55 carolfs-ifusp systemd[386]: Stopped target Default.
    Apr 16 10:02:55 carolfs-ifusp systemd[1]: Stopped target Login Prompts.
    Apr 16 10:02:55 carolfs-ifusp systemd[567]: Stopping Basic System.
    Apr 16 10:02:55 carolfs-ifusp systemd[386]: Stopping Basic System.
    Apr 16 10:02:55 carolfs-ifusp systemd[1]: Stopping GNOME Display Manager...
    Apr 16 10:02:55 carolfs-ifusp systemd[567]: Stopped target Basic System.
    Apr 16 10:02:55 carolfs-ifusp systemd[386]: Stopped target Basic System.
    Apr 16 10:02:55 carolfs-ifusp systemd[1]: Starting Generate shutdown-ramfs...
    Apr 16 10:02:55 carolfs-ifusp systemd[567]: Stopping Paths.
    Apr 16 10:02:55 carolfs-ifusp systemd[386]: Stopping Paths.
    Apr 16 10:02:55 carolfs-ifusp systemd[567]: Stopped target Paths.
    Apr 16 10:02:55 carolfs-ifusp systemd[386]: Stopped target Paths.
    Apr 16 10:02:55 carolfs-ifusp systemd[567]: Stopping Timers.
    Apr 16 10:02:55 carolfs-ifusp systemd[386]: Stopping Timers.
    Apr 16 10:02:55 carolfs-ifusp systemd[567]: Stopped target Timers.
    Apr 16 10:02:55 carolfs-ifusp systemd[1]: Stopped RealtimeKit Scheduling Policy Service.
    Apr 16 10:02:55 carolfs-ifusp systemd[386]: Stopped target Timers.
    Apr 16 10:02:55 carolfs-ifusp systemd[567]: Stopping Sockets.
    Apr 16 10:02:55 carolfs-ifusp systemd[386]: Stopping Sockets.
    Apr 16 10:02:55 carolfs-ifusp systemd[1]: Stopped Locale Service.
    Apr 16 10:02:55 carolfs-ifusp systemd[567]: Stopped target Sockets.
    Apr 16 10:02:55 carolfs-ifusp systemd[386]: Stopped target Sockets.
    Apr 16 10:02:55 carolfs-ifusp systemd[567]: Starting Shutdown.
    Apr 16 10:02:55 carolfs-ifusp systemd[1]: Stopped Disk Manager.
    Apr 16 10:02:55 carolfs-ifusp systemd[386]: Starting Shutdown.
    Apr 16 10:02:55 carolfs-ifusp systemd[567]: Reached target Shutdown.
    Apr 16 10:02:55 carolfs-ifusp systemd[386]: Reached target Shutdown.
    Apr 16 10:02:55 carolfs-ifusp systemd[567]: Starting Exit the Session...
    Apr 16 10:02:55 carolfs-ifusp systemd[386]: Starting Exit the Session...
    Apr 16 10:02:55 carolfs-ifusp systemd[1]: Stopping Network.
    Apr 16 10:02:55 carolfs-ifusp systemd[1]: Stopped target Network.
    Apr 16 10:02:55 carolfs-ifusp systemd[1]: Stopping dhcpcd on all interfaces...
    Apr 16 10:02:55 carolfs-ifusp systemd[567]: Received SIGRTMIN+24 from PID 1159 (kill).
    Apr 16 10:02:55 carolfs-ifusp systemd[386]: Received SIGRTMIN+24 from PID 1160 (kill).
    Apr 16 10:02:55 carolfs-ifusp systemd[1]: Stopped User Manager for UID 120.
    Apr 16 10:02:55 carolfs-ifusp systemd[1]: Stopped User Manager for UID 1000.
    Apr 16 10:02:55 carolfs-ifusp systemd[1]: Stopping user-1000.slice.
    Apr 16 10:02:55 carolfs-ifusp systemd[1]: Removed slice user-1000.slice.
    Apr 16 10:02:55 carolfs-ifusp systemd[1]: Stopping user-120.slice.
    Apr 16 10:02:55 carolfs-ifusp systemd[1]: Removed slice user-120.slice.
    Apr 16 10:02:55 carolfs-ifusp dhcpcd[1161]: sending signal TERM to pid 264
    Apr 16 10:02:55 carolfs-ifusp dhcpcd[1161]: waiting for pid 264 to exit
    Apr 16 10:02:55 carolfs-ifusp dhcpcd[264]: received signal TERM from PID 1161, stopping
    Apr 16 10:02:55 carolfs-ifusp dhcpcd[264]: eno1: removing interface
    Apr 16 10:02:55 carolfs-ifusp systemd[387]: pam_unix(systemd-user:session): session closed for user gdm
    Apr 16 10:02:55 carolfs-ifusp systemd[568]: pam_unix(systemd-user:session): session closed for user carolfs
    Apr 16 10:02:55 carolfs-ifusp gnome-session[576]: Received signal:15->'Terminated'
    Apr 16 10:02:55 carolfs-ifusp gdm-session-worker[383]: <3>GLib: Source ID 71 was not found when attempting to remove it
    Apr 16 10:02:55 carolfs-ifusp gdm-Xorg-:0[336]: (II) evdev: AT Translated Set 2 keyboard: Close
    Apr 16 10:02:55 carolfs-ifusp gdm-Xorg-:0[336]: (II) UnloadModule: "evdev"
    Apr 16 10:02:55 carolfs-ifusp gdm-Xorg-:0[336]: (II) evdev: Microsoft Microsoft Basic Optical Mouse : Close
    Apr 16 10:02:55 carolfs-ifusp gdm-Xorg-:0[336]: (II) UnloadModule: "evdev"
    Apr 16 10:02:55 carolfs-ifusp gdm-Xorg-:0[336]: (II) evdev: Power Button: Close
    Apr 16 10:02:55 carolfs-ifusp gdm-Xorg-:0[336]: (II) UnloadModule: "evdev"
    Apr 16 10:02:55 carolfs-ifusp gdm-Xorg-:0[336]: (II) evdev: Power Button: Close
    Apr 16 10:02:55 carolfs-ifusp gdm-Xorg-:0[336]: (II) UnloadModule: "evdev"
    Apr 16 10:02:55 carolfs-ifusp org.freedesktop.Tracker1[591]: Received signal:15->'Terminated'
    Apr 16 10:02:55 carolfs-ifusp dhcpcd[1161]: dhcpcd[1161]: sending signal TERM to pid 264
    Apr 16 10:02:55 carolfs-ifusp dhcpcd[1161]: dhcpcd[1161]: waiting for pid 264 to exit
    Apr 16 10:02:55 carolfs-ifusp dhcpcd[264]: exited
    Apr 16 10:02:55 carolfs-ifusp systemd[1]: Stopped Login Service.
    Apr 16 10:02:55 carolfs-ifusp systemd[1]: dhcpcd.service: main process exited, code=exited, status=1/FAILURE
    Apr 16 10:02:55 carolfs-ifusp mkinitcpio[1145]: ==> Starting build: none
    Apr 16 10:02:56 carolfs-ifusp mkinitcpio[1145]: -> Running build hook: [sd-shutdown]
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Stopped dhcpcd on all interfaces.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Unit dhcpcd.service entered failed state.
    Apr 16 10:02:56 carolfs-ifusp gdm-Xorg-:0[336]: (II) NVIDIA(GPU-0): Deleting GPU-0
    Apr 16 10:02:56 carolfs-ifusp gdm-Xorg-:0[336]: (EE) Server terminated successfully (0). Closing log file.
    Apr 16 10:02:56 carolfs-ifusp gdm[295]: Freeing conversation 'gdm-password' with active job
    Apr 16 10:02:56 carolfs-ifusp gdm[295]: Freeing conversation 'gdm-launch-environment' with active job
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Stopped GNOME Display Manager.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Stopping Permit User Sessions...
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Stopped Permit User Sessions.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Stopping Basic System.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Stopped target Basic System.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Stopping Slices.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Stopped target Slices.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Stopping User and Session Slice.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Removed slice User and Session Slice.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Stopping Paths.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Stopped target Paths.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Stopping Forward Password Requests to Wall Directory Watch.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Stopped Forward Password Requests to Wall Directory Watch.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Stopping Dispatch Password Requests to Console Directory Watch.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Stopped Dispatch Password Requests to Console Directory Watch.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Stopping Timers.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Stopped target Timers.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Stopping Daily man-db cache update.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Stopped Daily man-db cache update.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Stopping Daily verification of password and group files.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Stopped Daily verification of password and group files.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Stopping Daily rotation of log files.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Stopped Daily rotation of log files.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Stopping Daily Cleanup of Temporary Directories.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Stopped Daily Cleanup of Temporary Directories.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Stopping Sockets.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Stopped target Sockets.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Stopping Device-mapper event daemon FIFOs.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Closed Device-mapper event daemon FIFOs.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Stopping LVM2 metadata daemon socket.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Closed LVM2 metadata daemon socket.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Stopping D-Bus System Message Bus Socket.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Closed D-Bus System Message Bus Socket.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Stopping System Initialization.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Stopped target System Initialization.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Stopping Apply Kernel Variables...
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Stopped Apply Kernel Variables.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Stopping Setup Virtual Console...
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Stopped Setup Virtual Console.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Stopping Encrypted Volumes.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Stopped target Encrypted Volumes.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Stopping Load/Save Random Seed...
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Stopping Update UTMP about System Boot/Shutdown...
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Stopping Swap.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Stopped target Swap.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Deactivating swap Swap Partition...
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Deactivating swap Swap Partition...
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Deactivating swap Swap Partition...
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Deactivating swap Swap Partition...
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Deactivating swap Swap Partition...
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Deactivating swap Swap Partition...
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Stopping Remote File Systems.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Stopped target Remote File Systems.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Stopped Load/Save Random Seed.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Stopped Update UTMP about System Boot/Shutdown.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Stopping Create Volatile Files and Directories...
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Stopped Create Volatile Files and Directories.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Stopping Local File Systems.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Stopped target Local File Systems.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Unmounting /run/user/1000/gvfs...
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Unmounting /run/user/120...
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Unmounting /boot...
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Unmounting /home...
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Unmounting Temporary Directory...
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Deactivated swap /dev/disk/by-partuuid/748828e6-d06b-4dc9-a1ee-94e2bf6e2d41.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Deactivated swap /dev/disk/by-partlabel/swap.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Deactivated swap /dev/disk/by-id/wwn-0x5000c500242cde85-part2.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Deactivated swap /dev/disk/by-id/ata-ST3500418AS_5VM96G8V-part2.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Deactivated swap /dev/disk/by-uuid/59c506eb-3a40-4eae-8048-317bcc3d00fb.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Deactivated swap Swap Partition.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Unmounted /run/user/1000/gvfs.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Unmounted Temporary Directory.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Unmounting /run/user/1000...
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Unmounted /run/user/120.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Unmounted /boot.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Stopping EFI System Partition Automount.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Unset automount EFI System Partition Automount.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Unmounted /run/user/1000.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Unmounted /home.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Starting Unmount All Filesystems.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Reached target Unmount All Filesystems.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Stopping Local File Systems (Pre).
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Stopped target Local File Systems (Pre).
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Stopping Remount Root and Kernel File Systems...
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Stopped Remount Root and Kernel File Systems.
    Apr 16 10:02:56 carolfs-ifusp mkinitcpio[1145]: ==> Build complete.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Started Generate shutdown-ramfs.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Starting Shutdown.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Reached target Shutdown.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Starting Final Step.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Reached target Final Step.
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Starting Power-Off...
    Apr 16 10:02:56 carolfs-ifusp systemd[1]: Shutting down.
    Apr 16 10:02:56 carolfs-ifusp systemd-shutdown[1]: Sending SIGTERM to remaining processes...
    Apr 16 10:02:56 carolfs-ifusp systemd-journal[166]: Journal stopped
    Last edited by CFS (2014-05-08 12:57:13)

    Thank you for your replies. Shutdown now doesn't turn the computer off either. About the type of system, I think it was custom built. This is a new install from Monday, so I didn't update the kernel. Poweroff, suspend and hibernate have never worked. The requested output:
    $ uname -a
    Linux carolfs-ifusp 3.14.1-1-ARCH #1 SMP PREEMPT Mon Apr 14 20:40:47 CEST 2014 x86_64 GNU/Linux
    $ pacman -Qi linux
    Name : linux
    Version : 3.14.1-1
    Description : The Linux kernel and modules
    Architecture : x86_64
    URL : http://www.kernel.org/
    Licenses : GPL2
    Groups : base
    Provides : kernel26=3.14.1
    Depends On : coreutils linux-firmware kmod mkinitcpio>=0.7
    Optional Deps : crda: to set the correct wireless channels of your country
    Required By : nvidia
    Optional For : None
    Conflicts With : kernel26
    Replaces : kernel26
    Installed Size : 71136.00 KiB
    Packager : Tobias Powalowski <[email protected]>
    Build Date : Mon 14 Apr 2014 03:42:52 PM BRT
    Install Date : Mon 14 Apr 2014 07:50:11 PM BRT
    Install Reason : Explicitly installed
    Install Script : Yes
    Validated By : Signature

  • Java Thread suspend and resume problem

    Hi,
    I am trying to write a program to implement thread suspend and resume using wait() and notify without using the deprecated methods like resume and suspend.
    I have written the following program which compiles but when I run it hangs without terminating. There seems to be some logic error but I am not able to catch it.
    Please help
    public class TestSuspendResume {
      public static void main(String[] args) {
        MyThread m1= new MyThread("--One-- ");
        MyThread m2= new MyThread("--Two-- ");
        m1.suspendMe();
        try {
          Thread.sleep(1500);
          m1.t.join();
          m2.t.join();
        } catch(InterruptedException e) {
          e.printStackTrace();
        m1.resumeMe();
        System.out.println("Now : end main thread");
    class MyThread implements Runnable {
      boolean suspend = false;
      Thread t;
      MyThread(String name) {
        t = new Thread(this,name);
        t.start();
      void resumeMe() {
        suspend = false;
        notify();
      void suspendMe() {
        suspend = true;
      public void run() {
        try {
          for(int i=0;i<20;i++) {
            System.out.println("Now : "+Thread.currentThread().getName()+i);
            Thread.sleep(200);
            synchronized(this) {
              while(suspend)
                wait();
        } catch(InterruptedException e) {
          e.printStackTrace();
    }

    Thanks for that response. I figured out that was the problem in the logic. I have modified the code to make it simpler but it is still hanging.
    public class TestSuspendResume {
      public static void main(String[] args) {
        MyThread m1= new MyThread("--One-- ");
        try {
          m1.suspendMe();
          Thread.sleep(1000);
        } catch(InterruptedException e) {
          e.printStackTrace();
        try {
          m1.resumeMe();
        } catch(Exception e) {
          System.out.println("ASASAS");
          e.printStackTrace();
        try {
          m1.t.join();
        } catch(InterruptedException e) {
          System.out.println("WOWOW");
          e.printStackTrace();
        System.out.println("Now : end main thread");
    class MyThread implements Runnable {
      boolean suspend = false;
      Thread t;
      MyThread(String name) {
        t = new Thread(this,name);
        t.start();
      void resumeMe() {
        if(suspend==true) {
          suspend = false;
          notify();
      void suspendMe() {
        suspend = true;
      public void run() {
        try {
          for(int i=0;i<20;i++) {
            System.out.println("Now : "+Thread.currentThread().getName()+i);
            Thread.sleep(200);
            synchronized(this) {
              while(suspend)
                wait();
        } catch(InterruptedException e) {
          System.out.println("-- E In run method -- "+e.getMessage());
    }

  • Thread.suspend and Thread.resume

    I'm trying to build a class to replace the use of Thread.suspend() and Thread.resume() deprecated methods.
    I tried to as recommended on sun web page but it doesn't work : illegate state monitor exception.
    Does anyone have a solution ?
    Note :
    Source code
    package com.utils;
    public class SuspendableThread extends Thread {
         private Object mutex = new Object() ;
         private volatile boolean suspended = false ;
         private Runnable runnable ;
         public SuspendableThread ( Runnable runnable )
              super(runnable) ;
              this.runnable = runnable ;
         * Suspend the current thread
         public void doSuspend()
              synchronized (mutex) {
                   suspended = true ;
                   while(suspended) {
                        try {
                             runnable.wait() ;
                        } catch (InterruptedException e) {
                             e.printStackTrace();
         * Resume the current thread if suspended
         public void doResume()
              synchronized (mutex) {
                   if (suspended) {
                        suspended = false ;
                        runnable.notify() ;
    Exception
    java.lang.IllegalMonitorStateException: current thread not owner
         at java.lang.Object.wait(Native Method)
         at java.lang.Object.wait(Unknown Source)
         at com.utils.SuspendableThread.doSuspend(SuspendableThread.java:39)

    If you're synchronizing on the mutex, you should wait() and notify() on the mutex.
    synchronized (mutex) {
        suspended = true ;
        while(suspended) {
            try {
                mutex.wait(); //wait on the mutex
            } catch (InterruptedException e) {
                e.printStackTrace();
    synchronized (mutex) {
        if (suspended) {
           suspended = false ;
            mutex.notify(); //notify threads waiting on the mutex
    //...

  • Thread: suspend() and resume()

    Hi,
    Both suspend() and resume() methods are deprecated, but I've used it anyway. I've realised my code can get into a deadlock.
    Is there anything I could use other than suspend and resume, but providing the same functionality?
    Many Thanks

    You should use wait and notify. There is a good
    discussion of this at the bottom of the deprecation
    notes on stop, suspend and resume.Yes, I just saw that. Before, I was looking at an old API.

  • Your Voucher has been suspended and can no longer be used !!?

    Hi guys,
    I have purshased 2 vouchers for 2 Java exams it's been a while, they have both expiration date at 31-AUG-2013 , lately when I tried to apply them for my exam at PearsonVue a message appears and tells me that "the voucher is SUSPENDED and can no longer be used"
    I don't understand what is going on and they dont even tell why it is suspended
    is there something I can do about it? thanks in advance
    - Kacem

    I'm pretty sure that for this situation, you'll need to contact Oracle Certification Support Oracle University - Support Form. If it is the issue that I suspect, Oracle Certification Support will need to assist. Please provide the voucher numbers when you contact Oracle, they will need to know the voucher numbers and any purchase info you have - where did you purchase, how did you pay, can you provide a receipt?
    Regards,
    Brandye Barrington
    Certification Forum Moderator

  • Bit locker encryption requests key unless I suspend and resume the encryption

    I am rolling out new computers with Windows 7 Enterprise OS on them.  I am installing bit locker encryption on them.  For some reason with this group of computers, and I recently rolled out a different batch of computers without this problem,
    after encrypting, I must suspend and resume bit locker or upon restart of shutdown and start the user is prompted for the bit locker encryption key.

    Hi,
    Could you please tell some more details about the issue? What do you want to achieve here? To enable bitlocker without the prompt of the startup key? If it is , then please take a check if we have  Require
    additional authentication at startup  policy enabled.
    Besides, could you please have a share for how do you enable bitlocker?
    And here is a guide for bitlocker in Windows 7, just for reference:
    BitLocker Drive Encryption Step-by-Step Guide for Windows 7
    BitLocker Drive Encryption in Windows 7: Frequently Asked Questions
    Hope this may help
    Best regards
    Michael Shao
    TechNet Community Support

  • Suspend and resume of WD ABAP applicaiton support in the Portal

    Hello,
    I am implementing Suspend and resume feature in WD ABAP. It works fine in NWBC and also in stand alone. But in the portal it does not seem to work. I have done the following.
    1. Created a resume pulg (The applicaiton is suspended as I can see the state to suspend in the WDDOSTATECHANGED method.
    2. The navigation in the portal is in place and WD applicaiton is replaced by my target BSP
    3. I am NOT firing any plugs so there is no problem here
    Now what is not happening is the following.
    1. The sap-wd-resumeurl is not part of the url parameters so I am not sure when the WD applicaiton is suspended this parameter is really sent or not?
    2. Since I do not have the resume URL when I press the back in the portal window (right hand side top of the page) the resume plug is getting fired. But the parameters that I have set in the BSP are not part of the url parameters in the resume plug
    3. If I explicitly pass the sap-wd-resumeurl as a url paramter to the BSP (hard code the resume URL since I know the PCD path of my WD iview) and then use this URL to naivagate from the BSP then the WD applicaiton is started but the resume plug is not fired. In SM04 I can see a new session created now.
    4. Step 4 works fine (the suspend and resume) works fine when I repeat it the second time.
    A quick help will be really appriciated. I am on SP14 of NW 7.0
    Thanks and best regards,
    Harish.

    Hello,
    I am implementing Suspend and resume feature in WD ABAP. It works fine in NWBC and also in stand alone. But in the portal it does not seem to work. I have done the following.
    1. Created a resume pulg (The applicaiton is suspended as I can see the state to suspend in the WDDOSTATECHANGED method.
    2. The navigation in the portal is in place and WD applicaiton is replaced by my target BSP
    3. I am NOT firing any plugs so there is no problem here
    Now what is not happening is the following.
    1. The sap-wd-resumeurl is not part of the url parameters so I am not sure when the WD applicaiton is suspended this parameter is really sent or not?
    2. Since I do not have the resume URL when I press the back in the portal window (right hand side top of the page) the resume plug is getting fired. But the parameters that I have set in the BSP are not part of the url parameters in the resume plug
    3. If I explicitly pass the sap-wd-resumeurl as a url paramter to the BSP (hard code the resume URL since I know the PCD path of my WD iview) and then use this URL to naivagate from the BSP then the WD applicaiton is started but the resume plug is not fired. In SM04 I can see a new session created now.
    4. Step 4 works fine (the suspend and resume) works fine when I repeat it the second time.
    A quick help will be really appriciated. I am on SP14 of NW 7.0
    Thanks and best regards,
    Harish.

  • Halt/Reboot fails if triggered after Suspend and Resume

    I'm using arch linux with gnome-shell and pm-utils. Halt/Reboot works alright normally, but when the sytem suspends and resumes, and then is halted/rebooted, the same fails.
    The screen shows an indication (message on console) that it's halting/rebooting, but it gets stuck there. There aren't any indication of failures/errors.
    Is there someone else facing the same problem? The cause? I'll be happy to give any relavant information required for this matter, in the form of system information or any logs,
    but at this point i'm not sure what would be relavant.

    Sorry this seems to be an existing issue in the forum: https://bbs.archlinux.org/viewtopic.php?id=113985
    Will update if any of the suggestion in the above mentioned thread fixes the problem.

  • Suspend and resume

    hi
    can anybody tell me why suspend and resume methods have been deprecated in java 1.5. Can you explain with an exmaple
    thanks

    They were deprecated long before that. If you read their docs, there's a link that explains why.

  • Suspend and resume hook help

    I'm writting a hook for suspend/resume, however I've run into some trouble.
    So basicly what I need is:
    a) A script to stop and start mpd [done] (That's easy. Just setup mpd.conf's RUNAS user to the desired username and regardless that the mpd command is run as root it will run as the desired user)
    b) A script to stop and start oss4 since it fucks up after suspend [DONE] (piece of cake...)
    c) A script to view my wlan0 essid, save it to file, killall dhcpcd (the dhcpcd part, at least, is easy) and on resume to enter it again and run dhcpcd. [Need help]
    (In order to start my wifi I use iwlist wlan0 scanning, I choose the desired network and then iwconfig wlan0 essid DESIREDESSID and dhcpcd wlan0, but after suspend wlan0 looses it's settings so I need to make a script to enter them back.)
    I was thinking about something like iwconfig wlan0 | grep ESSID, but it returns (as expected)
    [dheart@lightbringer ~]$ iwconfig wlan0 | grep ESSID
    wlan0 IEEE 802.11g ESSID:"ESSID_NAME"
    I'm quite new at bash scripting and I have no idea how to write something that complex.
    d) Also sonata, my desired mpd frontend looses connection to mpd if mpd is restarted while it is running. So I need something to stop sonata (that's easy - killall sonata) and after that to run it (but not as root)... So, my question is how to run a program as normal user from  /etc/pm/sleep.d/ hook [NEEDHELP].
    Here's what I've written so far
    #!/bin/bash
    case $1 in
    hibernate)
    echo "Killing mpd and stopping oss4"
    mpd --kill & /etc/rc.d/oss-linux-free stop
    suspend)
    echo "Killing mpd and stopping oss4"
    mpd --kill & /etc/rc.d/oss-linux-free stop
    thaw)
    echo "Starting oss4 and mpd"
    /etc/rc.d/oss-linux-free start & mpd
    resume)
    echo "Starting oss4 and mpd"
    /etc/rc.d/oss-linux-free start & mpd
    *) echo "Wrong call"

    you're probably better off starting network autodetection on resume, I know most people suspend to go between, for example, home and work, or home and the intarwebz cafe, and seldom suspend and resume in the same location reliably.

  • Suspend and resume only works with fallback image

    I get a black screen on suspend and resume with pm-utils after I boot with main kernel image.
    However, fallback image works fine.
    I'd like to figure out what's missing in the main kernel image.
    lsmod looks the same with both images.
    How should I proceed?

    you are my hero...before I read this post I could never resume my laptop running Arch no matter what quirks I tried. That's actually why I've been running Fedora - resume worked. In fact, resume works on every other distro I've tried.
    As far as an ACPI update being to blame, I've had problems resuming in Arch for over a year, although I can't go back in time to try the fallback and see if it works
    When I get some spare time, I'll copy the mkinitcpio config for fallback to the main config and start removing modules / hooks to see which one breaks it
    EDIT: /etc/mkinitcpio.d/kernel26.fallback no longer exists - it just uses autodetect. Also, the loaded modules are the same no matter which image was used to boot, so I'm stumped. Maybe somebody who knows more about that mkinitcpio does can shed some light
    Last edited by wizzard (2009-03-07 16:43:10)

  • Afterthese updates(including kernel)suspend and hibernate buttons gone

    after these updates, the suspend and hibernate buttons are no longer there when I go to shut down in gnome.
    And when I type suspend in terminal:
    bash-3.2# suspend
    [1]+ Stopped su
    [duncan@duncan-arch ~]$
    Targets (63): esound-0.2.41-1 xf86-input-synaptics-0.99.1-1 glib2-2.18.3-1
    libsoup-2.24.2.1-1 evolution-data-server-2.24.2-1
    gnome-menus-2.24.2-1 bug-buddy-2.24.2-1 xcb-util-0.3.1-1
    cairo-1.8.4-1 policykit-0.9-7 consolekit-0.3.0-3
    dbus-core-1.2.4-1 dbus-1.2.4-1 gnome-desktop-2.24.2-1
    libgweather-2.24.2-1 pango-1.22.3-1 gtk2-2.14.5-1
    libwnck-2.24.2-1 gnome-panel-2.24.2-1 deskbar-applet-2.24.2-1
    eog-2.24.2-1 epiphany-2.24.2.1-1 libspectre-0.2.2-1
    poppler-0.10.1-1 poppler-glib-0.10.1-1 evince-2.24.2-1
    gtkhtml-3.24.2-1 evolution-2.24.2-1
    evolution-exchange-2.24.2-1 file-roller-2.24.2-2
    gcalctool-5.24.2-1 gedit-2.24.2-1 gucharmap-2.24.2-1
    gnome-applets-2.24.2-1 gnome-games-2.24.2-1
    gnome-power-manager-2.24.2-1 libdrm-2.3.1-2
    xkeyboard-config-1.4-1 libpciaccess-0.10.5-1
    xf86-input-evdev-2.0.7-1 xorg-server-1.5.3-2
    nvidia-utils-177.82-1 gnome-screensaver-2.24.1-1
    gnome-settings-daemon-2.24.1-1 gnome-session-2.24.2-1
    gpgme-1.1.7-2 gstreamer0.10-bad-0.10.9-1
    gstreamer0.10-ffmpeg-0.10.6-1 gstreamer0.10-good-0.10.11-1
    gstreamer0.10-good-plugins-0.10.11-1
    gstreamer0.10-ugly-0.10.10-1
    gstreamer0.10-ugly-plugins-0.10.10-1 gvfs-1.0.3-1
    hamster-applet-2.24.2-1 intltool-0.40.5-1 kernel26-2.6.27.7-1
    mesa-7.2-1 mousetweaks-2.24.2-1 nautilus-2.24.2-1
    nvidia-177.82-1 orca-2.24.2-1 xf86-video-vesa-2.0.0-2
    xproto-7.0.14-1
    Last edited by Raccoon1400 (2008-12-02 03:46:44)

    http://bbs.archlinux.org/viewtopic.php?id=58047

  • I would like to inform you that my account suspended and I can not update applications have been refused my credit card and when my review of a bank to get the reason for the refusal card, the bank employee as explained by you please do me a proper soluti

    I would like to inform you that my account suspended and I can not update applications have been refused my credit card and when my review of a bank to get the reason for the refusal card, the bank employee as explained by you please do me a proper soluti

    We are all itunes users just like you.  Informing us is of little use.
    Contact itunes support

  • My Apple ID got suspended and i cant make any purchases how do i get it back

    i tried to buy gems in clash f clans and switched my Apple ID it started asking me security questions and i didnt know one so i got suspended and cant make any purchases

    Contact itunes support

Maybe you are looking for

  • Post Processing records in BAPI_PRODORDCONF_CREATE_TT

    Hi All, I am using BAPI_PRODORDCONF_CREATE_TT for Production Confirmation with Auto Goods receipt(GR) Feature. But, in case any error in goods movement occurs system creates a post processing record( Visible in transaction COGI). We don't want entire

  • Different profit centers in 2 line item of a FI document

    Hi Experts, In FI document posted from billing has got 2 different  profit center on each line item,  I would expect to see same profit center on both line items,  can you please advise why they are different. We are working on 4.7 and no concept of

  • Satellite internet users cannot connect to Flash based online multiplayer games

    Hello, I have found that Satellite internet users are unable to connect to the game Club Penguin because of the recent security fixes that have been added to the flash player over the last 6 months or so. Club Penguin used to require at least Flash P

  • How to disable http for JAX-WS

    Hi everybody, I am facing the problem that I want only https (In the form of one-way-ssl) to be enabled for a web service. In other words, I want to disable the http part. For JAX-RPC there used to be the WLHttpsTransport annotation or ant element bu

  • W500: using the switchable graphics with vista ultimate without the power manager software?

    seriously, invest in a new hitachi travelstar 320gb for 49 bucks from that tiger place online and a usb hard drive caddy, pop in your free clonezilla cd and your rescue and recovery problems will be over! after reading all the problems with that soft