Watching Events

If you have xtools, here's a little script that you can register with the Script Events Manager on whatever events you're interested in. Or even Everything if you want.
For every event that it sees, it writes an XML representation of that event to the ESTK JS console.
// LogEvents.jsx
// $Id: LogEvents.jsx,v 1.1 2010/06/04 16:24:29 anonymous Exp $
// Copyright: (c)2010, xbytor
// License: http://www.opensource.org/licenses/bsd-license.php
// Contact: [email protected]
//@show include
//@includepath "/c/Program Files/Adobe/xtools;/Developer/xtools"
//@include "xlib/stdlib.js"
//@include "xlib/Stream.js"
//@include "xlib/PSConstants.js"
//@include "xlib/Action.js"
//@include "xlib/ActionXML.jsx"
function _main(args) {
  if (!args) {
    return;
  try {
    var event = <event/>;
    if (args[1]) {
      event.id = id2char(args[1]);
    if (args[0]) {
      event.descriptor = args[0].toXML();
    $.writeln(event.toXMLString());
  } catch (e) {
    alert(e + '@' + e.line);
try {
  _main(arguments);
} catch (e) {
"LogEvents.jsx";
// EOF
This is the XML it produces for Rectangular Marquee Tool to select a region.
<event>
  <id>Set</id>
  <ActionDescriptor count="2">
    <Reference symname="Null" sym="null" count="1">
      <Property symname="Channel" sym="Chnl" desiredClassString="Channel" desiredClass="Chnl" propertyName="selection" propertySym="selection"/>
    </Reference>
    <Object symname="To" sym="T   " objectTypeString="Rectangle" objectType="Rctn" count="4">
      <UnitDouble symname="Top" sym="Top " unitDoubleTypeString="Distance" unitDoubleType="#Rlt" unitDoubleValue="140"/>
      <UnitDouble symname="Left" sym="Left" unitDoubleTypeString="Distance" unitDoubleType="#Rlt" unitDoubleValue="204"/>
      <UnitDouble symname="Bottom" sym="Btom" unitDoubleTypeString="Distance" unitDoubleType="#Rlt" unitDoubleValue="382"/>
      <UnitDouble symname="Right" sym="Rght" unitDoubleTypeString="Distance" unitDoubleType="#Rlt" unitDoubleValue="370"/>
    </Object>
  </ActionDescriptor>
</event>
This only works in CS4 and CS5 because of the way I'm generating the XML. If you need to do this in CS3, you would have to change
//@include "xlib/ActionXML.jsx"
to
//@include "xlib/xml/atn2xml.jsx"
-X

ActionXML.jsx is new so it's not yet part of the zip on sourceforge. But it is part of the cvs so if you have a cvs client you can get it that way.
If you use xtools I woould recommend getting and setting up a cvs as that is the best way to keep up with updates and bug fixes. Sourceforge has details. I use TortoiseCVS but that is Windows only. I don't know what to recomend for Mac uses.

Similar Messages

  • Odd messages in Console log: Event queue is full!

    Hi Everyone,
    I have been trying to use Dolly Drive for cloud Time Machine backups, and I'm pretty certain that Dolly Drive is not the culprit, but there is some underlying problem.
    I am seeing tons of these messages:
    /System/Library/CoreServices/coreservicesd[29] FMOD WATCH EVENTS DROPPED!
    mds[41] (Error) FMW: WE ARE DROPPING FMW EVENTS!
    And these:
    kernel add_fsevent: event queue is full! dropping events (num dropped events: 148; num events outstanding: 2391).
    kernel add_fsevent: kfse_list head 0x832b72c0 ; numpendingrename 1704
    kernel add_fsevent: zalloc sez: 0
    kernel add_fsevent: event_zone info: 4096 0x0
    kernel add_fsevent: watcher 0xe57d004: num dropped 0 rd 36 wr 36 q_size 1024 flags 0x0
    kernel add_fsevent: watcher 0x6d432004: num dropped 0 rd 818 wr 818 q_size 8192 flags 0xc
    kernel add_fsevent: watcher 0x6d442004: num dropped 0 rd 2165 wr 2168 q_size 8192 flags 0x5
    kernel add_fsevent: watcher 0x6d2ae004: num dropped 4775 rd 3739 wr 3738 q_size 4096 flags 0x1
    What is going on? What is the event queue and why is it full. I'm on a fairly recent fresh install of OS X 10.6 with the latest 10.6.7 update applied. All disk permissions repaired, Disk verified, Spotlight index rebuilt.
    Help please.

    Yeah, I found that one. Didn't seem helpful, at least in my case.
    Seems that there is some problems either with using Dropbox and having Spotlight index that directory. Whenever Dolly Drive/Time Machine starts up and calls mds for indexing, something goes screwy.
    This is at least my me and a Dolly Drive tech guy figured.

  • Apple Smart Watch

    Seen this From Droid Life of Apple's latest Event and there New Smart Watch it Looks Cool but if Cost more than what it would cost to buy a Car Hopefully not I'll just stick with my Citizen ole Plain Jane" Watch.!
    Here's the Link and news on this new Product..
    http://www.droid-life.com/2015/03/09/a-quick-recap-of-the-apple-watch-event-which-could-cost-you-17000/

    I Love the disclaimer, very reassuring as I love my android.  I also will not be shelling out the big bucks for a big ole clunky watch, my wrist is too skinny.
    i Went lower tech and tiny with a Fitbit Charge.  I get the Bluetooth phone notice and I don't worry about it getting caught on something drooled on or caught in a dogs teeth..
    however, Apple has the best commercials.  they made an attractive product.  I wonder how sales are going?

  • Unable to reference items in a hashtable

    HI,
    I'm having a bad PowerShell day today!
    My sample script to read in a text file and put the data into a hash table works just fine:
    $InputFile=Get-Content C:\Out\ktf06011.REQ
    $CurrentUserHashTable = @{}
    ForEach ($Line in $InputFile)
    $Data=$Line.Split("=")
    $Label=$Data[0].Trim()
    $Label=$Label.Insert(($Label.Length),"`"")
    $Label=$Label.Insert(0,"`"")
    $Value=$Data[1].Trim()
    $Value=$Value.Insert(($Value.Length),"`"")
    $Value=$Value.Insert(0,"`"")
    $CurrentUserHashTable.Add($Label,$Value)
    $CurrentUserHashTable 
    However, when I use this within a script that uses a file system watcher event to discover the presence of the text file, I cannot get anything from the hash table. I can see my variables being created, ready to pass on to the .add statement. I have found
    a workaround for now - not using a hash table - but would love to know why I see this behaviour and suggestions for getting at the data.
    Here is the code that I'm having trouble with.
    $folder = 'c:\In'
    $OutFolder = 'c:\Out'
    $filter = '*.*'
    $CurrentUserHashTable = $NULL
    $FileSystemWatcher = New-Object IO.FileSystemWatcher $folder, $filter -Property @{IncludeSubdirectories = $false;NotifyFilter = [IO.NotifyFilters]'FileName, LastWrite'}
    Register-ObjectEvent $FileSystemWatcher Created -SourceIdentifier FileCreated -Action {
    $name = $Event.SourceEventArgs.Name
    $InputFile=Get-Content $folder\$name
    ForEach ($Line in $InputFile)
    #Write-Host $Line
    $CurrentUserHashTable = @{}
    $Data=$Line.Split("=")
    #Write-Host "Data: " $Data
    $Label=$Data[0].Trim()
    $Label=$Label.Insert(($Label.Length),"`"")
    $Label=$Label.Insert(0,"`"")
    #Write-Host "Label: " $Label
    $Value=$Data[1].Trim()
    $Value=$Value.Insert(($Value.Length),"`"")
    $Value=$Value.Insert(0,"`"")
    #Write-Host "Value: " $Value
    $CurrentUserHashTable.Add($Label,$Value)
    $CurrentUserHashTable
    Move-Item $folder\$name $OutFolder -Force
    #Label: "ID"
    #Value: "abc00001"
    #Label: "PID"
    #Value: "00001"
    #Label: "Title"
    #Value: "Mr"
    #Label: "Initials"
    #Value: "XY"
    #Label: "Forename"
    #Value: "Mickey"
    #Label: "Surname"
    #Value: "Mouse"
    #Label: "Siteabbrev"
    #Value: "UK"
    #Label: "Status"
    #Value: "STAFF"
    #Label: "BUabbrev"
    #Value: "NOBU"
    #Label: "Department"
    #Value: "Finance"
    Note the commented bits at the bottom are the output of
    Write-Host "Value: " $Value
     and
    Write-Host "Label: " $Label
    Also, if the following are placed within the loop, I see all data items being returned, so I know that they are added to the hash table. If they are added outside the loop, I just get the final entry "Department"
    Write-Host "Keys:" $CurrentUserHashTable.Keys
    Write-Host "Values:" $CurrentUserHashTable.Values
    Many thanks,
    Jon

    Rhys,
    Thanks that was so obvious, I couldn't see it!
    I knew the answer would be simple.
    Made the amendment to my script and can now get at the data in the hashtable, via (e.g.)
    $Department=$CurrentUserHashTable.'"Department"'
    Thanks again.
    Jon

  • WatchESPN app won't work on Android since update, Can login fine on a Computer/Tablet??

    Hello Verizon Community –
    I’m having problems getting the WatchESPN app to work on my Droid Maxx (4.4.4) since I last downloaded the update on Jan 23rd 2015.
    I can log into WatchESPN on my home computer and tablet just fine. I have a Comcast account and username (TV & Internet) that allows me to watch events live.
    I called ESPN and unistalled the app, cleared the data and cache, rebooted and reinstalled the app many times. Still doesn’t allow me to watch any games. I’ve call Verizon about the issue and they are confused and are no help.
    Each time the app tries to load the event/video and I get the error message “Unfortunately, WatchESPN has stopped”
    Any help and suggestions would be appreciated. I’d like to reach the IT team at Verizon.

    Also add "reset my cable provider login password" to the list…tried to trick it into allowing me to put in my ID/Password, but it still just pushed me through and didn't allow that to happen…it still validates my access rights, but doesn't allow certain content to play…extremely frustrating...

  • EEM script to Reload router 1 Time if Dial Fails

    We have a script we use to track objects and if access to these objects fails we reload the router 1 time (see it below). We want to now apply the same script in a different capacity for another customer for dial. If the router fails to connect after trying to round robin thru 4 toll free 800 numbers then reload the router.
    event manager applet vpn_tunnel_rebooter
    event none
    action 1.0 cli command "enable"
    action 2.0 cli command "config t"
    action 3.0 cli command "no event manager applet vpn_tunnel_unreachable"
    action 4.0 cli command "end"
    action 5.0 cli command "write mem"
    action 6.0 reload
    event manager applet vpn_tunnel_up
    event track 456 state up
    action 001 cli command "enable"
    action 002 cli command "config t"
    action 003 cli command "event manager applet vpn_tunnel_unreachable"
    action 004 cli command "event track 456 state down"
    action 005 cli command "action 1.0 policy vpn_tunnel_rebooter"
    action 006 cli command "end"
    Any ideas on how we might accomplish this? I have very little EEM experience :)
    1) Current Object tracking tracks 3 objects, If access to all three is down we go into a 180 sec delay down timer. If they remain down we switch over to dial backup.
    2) We round robin between 4 dial numbers and if access to all 4 fails, we want to reload router "ONE" time
    3) When it comes back up and objects are still unavailable we attempt to dial the 4 numbers again and if it also fails to connect "DO NOT" reload this time.

    Okay, these policies should do what you want. They are all untested as I do not have a dial backup setup. First, you need to register the following applets:
    event manager applet remove-dial-backup-watch
    event syslog pattern "SYS-5-RESTART"
    action 1.0 cli command "enable"
    action 2.0 cli command "config t"
    action 3.0 cli command "no event manager policy tm_check_dial_backup.tcl"
    action 4.0 cli command "end"
    event manager applet watch-track-down
    event track 456 state down
    action 1.0 syslog msg "Track 456 is down, waiting to see if dial backup comes up"
    action 2.0 cli command "enable"
    action 3.0 cli command "config t"
    action 4.0 cli command "event manager policy tm_check_dial_backup.tcl"
    action 5.0 cli command "end"
    event manager applet watch-track-up
    event track 456 state up
    action 1.0 syslog msg "Track 456 is up, removing dial backup watcher"
    action 2.0 cli command "enable"
    action 3.0 cli command "config t"
    action 4.0 cli command "no event manager policy tm_check_dial_backup.tcl"
    action 5.0 cli command "end"
    Then, you need to set an environment variable for the Tcl policy:
    dial_backup_numbers : Comma-separated list of numbers to check
    For example:
    event manager environment dial_backup_numbers 18667143757,18003179379,18886601039,18004434603
    Then INSTALL but do NOT register the attached Tcl policy. That is, copy the attached Tcl policy to your EEM user policy directory, but do not register it.
    Then everything should just work.

  • External WD Drives Waking Up Every 7 Minutes For No Apparent Reason

    I have two WD 500GB MyBook Premium drives daisy chained (Firewire) together on my iMac.
    The first drive is my Time Machine drive and the second drive is my image and Parallels VM backup drive.
    Recently (after last Apple update) my drives have been waking up every five to seven minutes, not doing anything then going back to sleep.
    Also, the drives are being awakened almost every time I start a finder session or try and save or locate a file on my Macintosh HD.
    Is there a way I can get these drives to stay a sleep until they are actually needed for a Time Machine session of a SuperDuper backup session and not wake up every time I start a Finder session?
    This is my first MAC so please be gentle!

    UPDATE:
    After running the "file watcher" event agent/service in TEST mode, I noticed that multiple instances of the process were running.  This event agent is supposed to continuously check for changes to a particular file and execute a job if the file has changed.  I had the job deleting the file as a final step, meaning that the file did not exist for the event agent to find unless a new one was created and placed in the target directory.  Apparently, when the event agent does not find the file at all, it results in an error condition that triggers execution of an additional instance of the JAVA process.  in a short time, there are dozens of instances running and the memory is exhausted. 
    I changed the job to leave the file in the directory after the job completes, and the event agent no longer times out or runs out of memory.  The only down side to this is that when IdM is bounced or the event agents are restarted for any reason, the agent WILL process the file again as if it's new.  In our case that shouldn't matter, but to others it might. Just be warned if you use this type of event agent.  In my opinion, SAP should code the JAVA in a way that more elegantly handles the "file does not exist" scenario without invoking another JAVA instance each time. 

  • Dock uses 320% CPU after 10.7.2 update

       After upgrading to 10.7.2, and after some time suddenly Dock takes all the CPU and gets unresponsible. killall Dock on terminal does not seem to really kill the task, so I have to reboot to get it solved. After some time the problem repeats.
    Console events are quite concerning:
    14/10/11 11:11:08,045 mds: (Error) FMW: WE ARE DROPPING FMW EVENTS!
    14/10/11 11:11:08,046 mds: (Error) FMW: WE ARE DROPPING FMW EVENTS!
    14/10/11 11:11:08,046 coreservicesd: FMOD WATCH EVENTS DROPPED!
    14/10/11 11:11:08,048 mds: (Error) FMW: WE ARE DROPPING FMW EVENTS!
    14/10/11 11:11:08,048 coreservicesd: FMOD WATCH EVENTS DROPPED!
    14/10/11 11:11:08,067 com.apple.launchd.peruser.501: (com.apple.pbs) Throttling respawn: Will start in 1 seconds
    14/10/11 11:11:08,071 mds: (Error) FMW: WE ARE DROPPING FMW EVENTS!
    14/10/11 11:11:08,071 mds: (Error) FMW: WE ARE DROPPING FMW EVENTS!
    14/10/11 11:11:08,071 mds: (Error) FMW: WE ARE DROPPING FMW EVENTS!
    14/10/11 11:11:08,082 coreservicesd: FMOD WATCH EVENTS DROPPED!
    14/10/11 11:11:08,104 com.apple.launchd.peruser.501: (com.apple.pbs) Throttling respawn: Will start in 1 seconds
    14/10/11 11:11:08,128 mds: (Error) FMW: WE ARE DROPPING FMW EVENTS!
    14/10/11 11:11:08,128 mds: (Error) FMW: WE ARE DROPPING FMW EVENTS!
    14/10/11 11:11:08,128 mds: (Error) FMW: WE ARE DROPPING FMW EVENTS!
    14/10/11 11:11:08,155 coreservicesd: FMOD WATCH EVENTS DROPPED!
    14/10/11 11:11:08,155 coreservicesd: FMOD WATCH EVENTS DROPPED!
    14/10/11 11:11:08,155 mds: (Error) FMW: WE ARE DROPPING FMW EVENTS!
    14/10/11 11:11:08,155 mds: (Error) FMW: WE ARE DROPPING FMW EVENTS!
    14/10/11 11:11:08,155 mds: (Error) FMW: WE ARE DROPPING FMW EVENTS!
    14/10/11 11:11:08,155 mds: (Error) FMW: WE ARE DROPPING FMW EVENTS!
    14/10/11 11:11:08,178 com.apple.launchd.peruser.501: (com.apple.pbs) Throttling respawn: Will start in 1 seconds
    14/10/11 11:11:08,175 mds: (Error) FMW: WE ARE DROPPING FMW EVENTS!
    14/10/11 11:11:08,175 mds: (Error) FMW: WE ARE DROPPING FMW EVENTS!
    14/10/11 11:11:08,178 mds: (Error) FMW: WE ARE DROPPING FMW EVENTS!
    14/10/11 11:11:08,178 mds: (Error) FMW: WE ARE DROPPING FMW EVENTS!
    14/10/11 11:11:08,181 coreservicesd: FMOD WATCH EVENTS DROPPED!
    14/10/11 11:11:08,181 coreservicesd: FMOD WATCH EVENTS DROPPED!
    Any idea on what can I do to solve it?

       I fixed permisions and checked volume from the restore partition and still the same issue again
    Today I noticed that while with 320% cpu it's also eating RAM very quick, when I realized so it was consuming 3.5Gb and the VM size was 320Gb!!!
    Other thing I noticed today is that every time I kill the Dock task it starts over, consuming the cpu from the begining (so whatever the problem persist). I closed all the applications but Mail and VMware fusion 4.0.2 and killed dock, and it started consuming cpu from the relaunch as before, but then I closed the former apps (and more precisely I'm suspecting about Fusion) and it stopped consuming CPU (after killing Dock again). Does it make sense?
    I took a sample of the proccess just in case it's any expert on the board that can figure out what's going on:
    Sampling process 1450 for 3 seconds with 1 millisecond of run time between samples
    Sampling completed, processing symbols...
    Analysis of sampling Dock (pid 1450) every 1 millisecond
    Process:         Dock [1450]
    Path:            /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock
    Load Address:    0x1019b0000
    Identifier:      com.apple.dock
    Version:         1.8 (1040.7)
    Build Info:      Dock-1040007000000000~5
    Code Type:       X86-64 (Native)
    Parent Process:  launchd [117]
    Date/Time:       2011-10-15 13:06:34.742 +0200
    OS Version:      Mac OS X 10.7.2 (11C74)
    Report Version:  7
    Call graph:
        1778 Thread_52908: Main Thread   DispatchQueue_<multiple>
        + 1778 ???  (in Dock)  load address 0x1019b0000 + 0xaf240  [0x101a5f240]
        +   1776 ???  (in Dock)  load address 0x1019b0000 + 0xf415d  [0x101aa415d]
        +   ! 1776 CFRunLoopRunSpecific  (in CoreFoundation) + 230  [0x7fff9390dae6]
        +   !   1287 __CFRunLoopRun  (in CoreFoundation) + 1724  [0x7fff9390e4dc]
        +   !   : 1280 _dispatch_main_queue_callback_4CF  (in libdispatch.dylib) + 308  [0x7fff92a7072a]
        +   !   : | 1200 _dispatch_call_block_and_release  (in libdispatch.dylib) + 18  [0x7fff92a6e8ba]
        +   !   : | + 1133 ???  (in Dock)  load address 0x1019b0000 + 0x3296e  [0x1019e296e]
        +   !   : | + ! 910 ???  (in Dock)  load address 0x1019b0000 + 0x1763af  [0x101b263af]
        +   !   : | + ! : 667 -[NSURL(NSURL) path]  (in Foundation) + 45  [0x7fff8d895170]
        +   !   : | + ! : | 483 CFURLCreateStringWithFileSystemPath  (in CoreFoundation) + 1691  [0x7fff938f17cb]
        +   !   : | + ! : | + 371 URLPathToPOSIXPath  (in CoreFoundation) + 36  [0x7fff938fa394]
        +   !   : | + ! : | + ! 369 CFURLCreateStringByReplacingPercentEscapesUsingEncoding  (in CoreFoundation) + 68  [0x7fff938fa434]
        +   !   : | + ! : | + ! : 54 CFURLCreateStringByReplacingPercentEscapes  (in CoreFoundation) + 1188  [0x7fff938f94d4]
        +   !   : | + ! : | + ! : | 53 CFStringFindWithOptions  (in CoreFoundation) + 20  [0x7fff938ed5b4]
        +   !   : | + ! : | + ! : | + 42 CFStringFindWithOptionsAndLocale  (in CoreFoundation) + 2138,1074,...  [0x7fff938ede1a,0x7fff938ed9f2,...]
        +   !   : | + ! : | + ! : | + 3 CFStringFindWithOptionsAndLocale  (in CoreFoundation) + 101  [0x7fff938ed625]
        +   !   : | + ! : | + ! : | + ! 3 __CFStringFillCharacterSetInlineBuffer  (in CoreFoundation) + 6,1,...  [0x7fff938f0316,0x7fff938f0311,...]
        +   !   : | + ! : | + ! : | + 3 CFStringFindWithOptionsAndLocale  (in CoreFoundation) + 390  [0x7fff938ed746]
        +   !   : | + ! : | + ! : | + ! 3 CFStringGetCStringPtr  (in CoreFoundation) + 221,22,...  [0x7fff938e069d,0x7fff938e05d6,...]
        +   !   : | + ! : | + ! : | + 2 CFStringFindWithOptionsAndLocale  (in CoreFoundation) + 76  [0x7fff938ed60c]
        +   !   : | + ! : | + ! : | + ! 2 CFStringGetLength  (in CoreFoundation) + 1  [0x7fff938dca11]
        +   !   : | + ! : | + ! : | + 2 CFStringFindWithOptionsAndLocale  (in CoreFoundation) + 432  [0x7fff938ed770]
        +   !   : | + ! : | + ! : | + ! 2 CFStringGetCStringPtr  (in CoreFoundation) + 13,218  [0x7fff938e05cd,0x7fff938e069a]
        +   !   : | + ! : | + ! : | + 1 CFStringFindWithOptionsAndLocale  (in CoreFoundation) + 646  [0x7fff938ed846]
        +   !   : | + ! : | + ! : | +   1 CFStringGetCharactersPtr  (in CoreFoundation) + 0  [0x7fff938e0020]
        +   !   : | + ! : | + ! : | 1 CFStringFindWithOptions  (in CoreFoundation) + 1  [0x7fff938ed5a1]
        +   !   : | + ! : | + ! : 51 CFURLCreateStringByReplacingPercentEscapes  (in CoreFoundation) + 522  [0x7fff938f923a]
        +   !   : | + ! : | + ! : | 48 CFStringCreateWithSubstring  (in CoreFoundation) + 691  [0x7fff938f0863]
        +   !   : | + ! : | + ! : | + 22 __CFStringCreateImmutableFunnel3  (in CoreFoundation) + 2330,2847,...  [0x7fff938d8d2a,0x7fff938d8f2f,...]
        +   !   : | + ! : | + ! : | + 18 __CFStringCreateImmutableFunnel3  (in CoreFoundation) + 2574  [0x7fff938d8e1e]
        +   !   : | + ! : | + ! : | + ! 9 _CFRuntimeCreateInstance  (in CoreFoundation) + 400  [0x7fff938d9310]
        +   !   : | + ! : | + ! : | + ! : 6 malloc_zone_malloc  (in libsystem_c.dylib) + 77  [0x7fff95f283c8]
        +   !   : | + ! : | + ! : | + ! : | 3 szone_malloc_should_clear  (in libsystem_c.dylib) + 181  [0x7fff95ef2c68]
        +   !   : | + ! : | + ! : | + ! : | + 3 _spin_lock$VARIANT$mp  (in libsystem_c.dylib) + 53,13  [0x7fff95f2a385,0x7fff95f2a35d]
        +   !   : | + ! : | + ! : | + ! : | 2 szone_malloc_should_clear  (in libsystem_c.dylib) + 87,133  [0x7fff95ef2c0a,0x7fff95ef2c38]
        +   !   : | + ! : | + ! : | + ! : | 1 szone_malloc  (in libsystem_c.dylib) + 6  [0x7fff95ef3e46]
        +   !   : | + ! : | + ! : | + ! : 2 CFAllocatorAllocate  (in CoreFoundation) + 13,412  [0x7fff938d947d,0x7fff938d960c]
        +   !   : | + ! : | + ! : | + ! : 1 malloc_zone_malloc  (in libsystem_c.dylib) + 0  [0x7fff95f2837b]
        +   !   : | + ! : | + ! : | + ! 5 _CFRuntimeCreateInstance  (in CoreFoundation) + 353,210,...  [0x7fff938d92e1,0x7fff938d9252,...]
        +   !   : | + ! : | + ! : | + ! 4 _CFRuntimeCreateInstance  (in CoreFoundation) + 479  [0x7fff938d935f]
        +   !   : | + ! : | + ! : | + !   4 bzero$VARIANT$sse42  (in libsystem_c.dylib) + 0,57  [0x7fff95eafae0,0x7fff95eafb19]
        +   !   : | + ! : | + ! : | + 5 __CFStringCreateImmutableFunnel3  (in CoreFoundation) + 2890  [0x7fff938d8f5a]
        +   !   : | + ! : | + ! : | + ! 5 memmove$VARIANT$sse42  (in libsystem_c.dylib) + 24,43,...  [0x7fff95eafcd5,0x7fff95eafce8,...]
        +   !   : | + ! : | + ! : | + 3 __CFStringCreateImmutableFunnel3  (in CoreFoundation) + 2241  [0x7fff938d8cd1]
        +   !   : | + ! : | + ! : | +   3 bcmp  (in libsystem_c.dylib) + 22  [0x7fff95f22ed6]
        +   !   : | + ! : | + ! : | 3 CFStringCreateWithSubstring  (in CoreFoundation) + 696,25,...  [0x7fff938f0868,0x7fff938f05c9,...]
        +   !   : | + ! : | + ! : 48 CFURLCreateStringByReplacingPercentEscapes  (in CoreFoundation) + 548  [0x7fff938f9254]
        +   !   : | + ! : | + ! : | 23 CFRelease  (in CoreFoundation) + 1461  [0x7fff938de615]
        +   !   : | + ! : | + ! : | + 9 szone_free  (in libsystem_c.dylib) + 82,95,...  [0x7fff95ef00fb,0x7fff95ef0108,...]
        +   !   : | + ! : | + ! : | + 6 CFAllocatorDeallocate  (in CoreFoundation) + 247,308,...  [0x7fff938de8f7,0x7fff938de934,...]
        +   !   : | + ! : | + ! : | + 3 szone_free  (in libsystem_c.dylib) + 466  [0x7fff95ef027b]
        +   !   : | + ! : | + ! : | + ! 3 _spin_lock$VARIANT$mp  (in libsystem_c.dylib) + 53  [0x7fff95f2a385]
        +   !   : | + ! : | + ! : | + 2 OSSpinLockUnlock  (in libsystem_c.dylib) + 6  [0x7fff95f2a38e]
        +   !   : | + ! : | + ! : | + 1 malloc_zone_free  (in libsystem_c.dylib) + 6  [0x7fff95f28198]
        +   !   : | + ! : | + ! : | + 1 szone_free  (in libsystem_c.dylib) + 800  [0x7fff95ef03c9]
        +   !   : | + ! : | + ! : | + ! 1 get_tiny_previous_free_msize  (in libsystem_c.dylib) + 67  [0x7fff95ee8a7f]
        +   !   : | + ! : | + ! : | + 1 szone_free  (in libsystem_c.dylib) + 1916  [0x7fff95ef0825]
        +   !   : | + ! : | + ! : | +   1 tiny_free_list_add_ptr  (in libsystem_c.dylib) + 407  [0x7fff95ee8c25]
        +   !   : | + ! : | + ! : | 17 CFRelease  (in CoreFoundation) + 1430  [0x7fff938de5f6]
        +   !   : | + ! : | + ! : | + 12 objc_destructInstance  (in libobjc.A.dylib) + 126  [0x7fff8cf42610]
        +   !   : | + ! : | + ! : | + ! 7 objc_clear_deallocating  (in libobjc.A.dylib) + 103  [0x7fff8cf42687]
        +   !   : | + ! : | + ! : | + ! : 7 syscall_thread_switch  (in libsystem_kernel.dylib) + 10  [0x7fff93bd875e]
        +   !   : | + ! : | + ! : | + ! 5 objc_clear_deallocating  (in libobjc.A.dylib) + 185  [0x7fff8cf426d9]
        +   !   : | + ! : | + ! : | + !   5 objc::DenseMap<objc_object*, unsigned long, true, objc::DenseMapInfo<objc_object*>, objc::DenseMapInfo<unsigned long> >::erase(objc_object* const&)  (in libobjc.A.dylib) + 24  [0x7fff8cf42704]
        +   !   : | + ! : | + ! : | + !     5 objc::DenseMap<objc_object*, unsigned long, true, objc::DenseMapInfo<objc_object*>, objc::DenseMapInfo<unsigned long> >::LookupBucketFor(objc_object* const&, std::__1::pair<objc_object*, unsigned long>*&) const  (in libobjc.A.dylib) + 95,127  [0x7fff8cf41327,0x7fff8cf41347]
        +   !   : | + ! : | + ! : | + 5 objc_destructInstance  (in libobjc.A.dylib) + 50,62  [0x7fff8cf425c4,0x7fff8cf425d0]
        +   !   : | + ! : | + ! : | 4 CFRelease  (in CoreFoundation) + 1442,44,...  [0x7fff938de602,0x7fff938de08c,...]
        +   !   : | + ! : | + ! : | 2 CFRelease  (in CoreFoundation) + 1408  [0x7fff938de5e0]
        +   !   : | + ! : | + ! : | + 2 object_getClass  (in libobjc.A.dylib) + 0  [0x7fff8cf3db45]
        +   !   : | + ! : | + ! : | 1 CFRelease  (in CoreFoundation) + 502  [0x7fff938de256]
        +   !   : | + ! : | + ! : | + 1 __CFStringDeallocate  (in CoreFoundation) + 209  [0x7fff938de711]
        +   !   : | + ! : | + ! : | 1 CFRelease  (in CoreFoundation) + 1416  [0x7fff938de5e8]
        +   !   : | + ! : | + ! : |   1 object_getClass  (in libobjc.A.dylib) + 39  [0x7fff8cf3db6c]
        +   !   : | + ! : | + ! : 43 CFURLCreateStringByReplacingPercentEscapes  (in CoreFoundation) + 540  [0x7fff938f924c]
        +   !   : | + ! : | + ! : | 29 CFStringAppend  (in CoreFoundation) + 408  [0x7fff938e1748]
        +   !   : | + ! : | + ! : | + 12 __CFStringChangeSizeMultiple  (in CoreFoundation) + 1474  [0x7fff938dd572]
        +   !   : | + ! : | + ! : | + ! 12 malloc_zone_malloc  (in libsystem_c.dylib) + 77  [0x7fff95f283c8]
        +   !   : | + ! : | + ! : | + !   5 szone_malloc_should_clear  (in libsystem_c.dylib) + 181  [0x7fff95ef2c68]
        +   !   : | + ! : | + ! : | + !   : 5 _spin_lock$VARIANT$mp  (in libsystem_c.dylib) + 53,13  [0x7fff95f2a385,0x7fff95f2a35d]
        +   !   : | + ! : | + ! : | + !   5 szone_malloc_should_clear  (in libsystem_c.dylib) + 1115  [0x7fff95ef300e]
        +   !   : | + ! : | + ! : | + !   : 5 tiny_malloc_from_free_list  (in libsystem_c.dylib) + 1401,235,...  [0x7fff95ef2874,0x7fff95ef23e6,...]
        +   !   : | + ! : | + ! : | + !   1 szone_malloc_should_clear  (in libsystem_c.dylib) + 1148  [0x7fff95ef302f]
        +   !   : | + ! : | + ! : | + !   : 1 OSSpinLockUnlock  (in libsystem_c.dylib) + 6  [0x7fff95f2a38e]
        +   !   : | + ! : | + ! : | + !   1 szone_malloc_should_clear  (in libsystem_c.dylib) + 1115  [0x7fff95ef300e]
        +   !   : | + ! : | + ! : | + 11 __CFStringChangeSizeMultiple  (in CoreFoundation) + 2117,98,...  [0x7fff938dd7f5,0x7fff938dd012,...]
        +   !   : | + ! : | + ! : | + 5 __CFStringChangeSizeMultiple  (in CoreFoundation) + 3133  [0x7fff938ddbed]
        +   !   : | + ! : | + ! : | + ! 2 __CFStrDeallocateMutableContents  (in CoreFoundation) + 5  [0x7fff938de735]
        +   !   : | + ! : | + ! : | + ! 2 szone_free  (in libsystem_c.dylib) + 95  [0x7fff95ef0108]
        +   !   : | + ! : | + ! : | + ! 1 CFAllocatorDeallocate  (in CoreFoundation) + 1  [0x7fff938de801]
        +   !   : | + ! : | + ! : | + 1 __CFStringChangeSizeMultiple  (in CoreFoundation) + 1207  [0x7fff938dd467]
        +   !   : | + ! : | + ! : | +   1 szone_good_size  (in libsystem_c.dylib) + 1  [0x7fff95ee9052]
        +   !   : | + ! : | + ! : | 8 CFStringAppend  (in CoreFoundation) + 736  [0x7fff938e1890]
        +   !   : | + ! : | + ! : | + 7 CFStringGetBytes  (in CoreFoundation) + 1,896,...  [0x7fff938de961,0x7fff938dece0,...]
        +   !   : | + ! : | + ! : | + 1 CFStringGetBytes  (in CoreFoundation) + 938  [0x7fff938ded0a]
        +   !   : | + ! : | + ! : | +   1 memmove$VARIANT$sse42  (in libsystem_c.dylib) + 43  [0x7fff95eafce8]
        +   !   : | + ! : | + ! : | 3 CFStringAppend  (in CoreFoundation) + 241  [0x7fff938e16a1]
        +   !   : | + ! : | + ! : | + 3 CFStringGetLength  (in CoreFoundation) + 145,16,...  [0x7fff938dcaa1,0x7fff938dca20,...]
        +   !   : | + ! : | + ! : | 3 CFStringAppend  (in CoreFoundation) + 717,443  [0x7fff938e187d,0x7fff938e176b]
        +   !   : | + ! : | + ! : 38 CFURLCreateStringByReplacingPercentEscapes  (in CoreFoundation) + 563  [0x7fff938f9263]
        +   !   : | + ! : | + ! : | 30 CFStringAppend  (in CoreFoundation) + 408  [0x7fff938e1748]
        +   !   : | + ! : | + ! : | + 12 __CFStringChangeSizeMultiple  (in CoreFoundation) + 1372,2132,...  [0x7fff938dd50c,0x7fff938dd804,...]
        +   !   : | + ! : | + ! : | + 7 __CFStringChangeSizeMultiple  (in CoreFoundation) + 1474  [0x7fff938dd572]
        +   !   : | + ! : | + ! : | + ! 7 malloc_zone_malloc  (in libsystem_c.dylib) + 77  [0x7fff95f283c8]
        +   !   : | + ! : | + ! : | + !   5 szone_malloc_should_clear  (in libsystem_c.dylib) + 1115  [0x7fff95ef300e]
        +   !   : | + ! : | + ! : | + !   : 4 tiny_malloc_from_free_list  (in libsystem_c.dylib) + 1527,263,...  [0x7fff95ef28f2,0x7fff95ef2402,...]
        +   !   : | + ! : | + ! : | + !   : 1 tiny_malloc_from_free_list  (in libsystem_c.dylib) + 419  [0x7fff95ef249e]
        +   !   : | + ! : | + ! : | + !   :   1 get_tiny_free_size  (in libsystem_c.dylib) + 60  [0x7fff95ee8a27]
        +   !   : | + ! : | + ! : | + !   1 szone_malloc_should_clear  (in libsystem_c.dylib) + 181  [0x7fff95ef2c68]
        +   !   : | + ! : | + ! : | + !   : 1 _spin_lock$VARIANT$mp  (in libsystem_c.dylib) + 53  [0x7fff95f2a385]
        +   !   : | + ! : | + ! : | + !   1 szone_malloc_should_clear  (in libsystem_c.dylib) + 200  [0x7fff95ef2c7b]
        +   !   : | + ! : | + ! : | + 7 __CFStringChangeSizeMultiple  (in CoreFoundation) + 3133  [0x7fff938ddbed]
        +   !   : | + ! : | + ! : | + ! 2 szone_free  (in libsystem_c.dylib) + 800  [0x7fff95ef03c9]
        +   !   : | + ! : | + ! : | + ! : 2 get_tiny_previous_free_msize  (in libsystem_c.dylib) + 0,80  [0x7fff95ee8a3c,0x7fff95ee8a8c]
        +   !   : | + ! : | + ! : | + ! 2 szone_free  (in libsystem_c.dylib) + 1916  [0x7fff95ef0825]
        +   !   : | + ! : | + ! : | + ! : 2 tiny_free_list_add_ptr  (in libsystem_c.dylib) + 0,402  [0x7fff95ee8a8e,0x7fff95ee8c20]
        +   !   : | + ! : | + ! : | + ! 1 CFAllocatorDeallocate  (in CoreFoundation) + 0  [0x7fff938de800]
        +   !   : | + ! : | + ! : | + ! 1 szone_free  (in libsystem_c.dylib) + 466  [0x7fff95ef027b]
        +   !   : | + ! : | + ! : | + ! : 1 _spin_lock$VARIANT$mp  (in libsystem_c.dylib) + 13  [0x7fff95f2a35d]
        +   !   : | + ! : | + ! : | + ! 1 szone_free  (in libsystem_c.dylib) + 860  [0x7fff95ef0405]
        +   !   : | + ! : | + ! : | + 3 __CFStringChangeSizeMultiple  (in CoreFoundation) + 3083  [0x7fff938ddbbb]
        +   !   : | + ! : | + ! : | + ! 2 copyBlocks  (in CoreFoundation) + 13,268  [0x7fff938f3cad,0x7fff938f3dac]
        +   !   : | + ! : | + ! : | + ! 1 copyBlocks  (in CoreFoundation) + 210  [0x7fff938f3d72]
        +   !   : | + ! : | + ! : | + !   1 __CFStrConvertBytesToUnicode  (in CoreFoundation) + 23  [0x7fff938ecd17]
        +   !   : | + ! : | + ! : | + 1 __CFStringChangeSizeMultiple  (in CoreFoundation) + 1207  [0x7fff938dd467]
        +   !   : | + ! : | + ! : | +   1 malloc_good_size  (in libsystem_c.dylib) + 47  [0x7fff95f28f41]
        +   !   : | + ! : | + ! : | 7 CFStringAppend  (in CoreFoundation) + 468  [0x7fff938e1784]
        +   !   : | + ! : | + ! : | + 6 CFStringGetCharacters  (in CoreFoundation) + 48,194,...  [0x7fff938ecc30,0x7fff938eccc2,...]
        +   !   : | + ! : | + ! : | + 1 CFStringGetCharacters  (in CoreFoundation) + 199  [0x7fff938eccc7]
        +   !   : | + ! : | + ! : | +   1 memmove$VARIANT$sse42  (in libsystem_c.dylib) + 10  [0x7fff95eafcc7]
        +   !   : | + ! : | + ! : | 1 CFStringAppend  (in CoreFoundation) + 241  [0x7fff938e16a1]
        +   !   : | + ! : | + ! : |   1 CFStringGetLength  (in CoreFoundation) + 152  [0x7fff938dcaa8]
        +   !   : | + ! : | + ! : 31 CFURLCreateStringByReplacingPercentEscapes  (in CoreFoundation) + 845  [0x7fff938f937d]
        +   !   : | + ! : | + ! : | 23 CFStringCreateMutableWithExternalCharactersNoCopy  (in CoreFoundation) + 197  [0x7fff93903595]
        +   !   : | + ! : | + ! : | + 13 _CFRuntimeCreateInstance  (in CoreFoundation) + 400  [0x7fff938d9310]
        +   !   : | + ! : | + ! : | + ! 9 malloc_zone_malloc  (in libsystem_c.dylib) + 77  [0x7fff95f283c8]
        +   !   : | + ! : | + ! : | + ! : 4 szone_malloc_should_clear  (in libsystem_c.dylib) + 1115  [0x7fff95ef300e]
        +   !   : | + ! : | + ! : | + ! : | 3 tiny_malloc_from_free_list  (in libsystem_c.dylib) + 173,1092,...  [0x7fff95ef23a8,0x7fff95ef273f,...]
        +   !   : | + ! : | + ! : | + ! : | 1 tiny_malloc_from_free_list  (in libsystem_c.dylib) + 419  [0x7fff95ef249e]
        +   !   : | + ! : | + ! : | + ! : |   1 get_tiny_free_size  (in libsystem_c.dylib) + 23  [0x7fff95ee8a02]
        +   !   : | + ! : | + ! : | + ! : 3 szone_malloc_should_clear  (in libsystem_c.dylib) + 1115,1169,...  [0x7fff95ef300e,0x7fff95ef3044,...]
        +   !   : | + ! : | + ! : | + ! : 1 DYLD-STUB$$_spin_lock  (in libsystem_c.dylib) + 0  [0x7fff95f2f37c]
        +   !   : | + ! : | + ! : | + ! : 1 szone_malloc_should_clear  (in libsystem_c.dylib) + 181  [0x7fff95ef2c68]
        +   !   : | + ! : | + ! : | + ! :   1 _spin_lock$VARIANT$mp  (in libsystem_c.dylib) + 13  [0x7fff95f2a35d]
        +   !   : | + ! : | + ! : | + ! 2 CFAllocatorAllocate  (in CoreFoundation) + 214,299  [0x7fff938d9546,0x7fff938d959b]
        +   !   : | + ! : | + ! : | + ! 2 malloc_zone_malloc  (in libsystem_c.dylib) + 6,53  [0x7fff95f28381,0x7fff95f283b0]
        +   !   : | + ! : | + ! : | + 7 _CFRuntimeCreateInstance  (in CoreFoundation) + 73  [0x7fff938d91c9]
        +   !   : | + ! : | + ! : | + 3 _CFRuntimeCreateInstance  (in CoreFoundation) + 479  [0x7fff938d935f]
        +   !   : | + ! : | + ! : | +   3 bzero$VARIANT$sse42  (in libsystem_c.dylib) + 65,57  [0x7fff95eafb21,0x7fff95eafb19]
        +   !   : | + ! : | + ! : | 8 CFStringCreateMutableWithExternalCharactersNoCopy  (in CoreFoundation) + 1,124,...  [0x7fff939034d1,0x7fff9390354c,...]
        +   !   : | + ! : | + ! : 27 CFURLCreateStringByReplacingPercentEscapes  (in CoreFoundation) + 1221  [0x7fff938f94f5]
        +   !   : | + ! : | + ! : | 13 CFRelease  (in CoreFoundation) + 1461  [0x7fff938de615]
        +   !   : | + ! : | + ! : | + 10 szone_free  (in libsystem_c.dylib) + 1014,2821,...  [0x7fff95ef049f,0x7fff95ef0bae,...]
        +   !   : | + ! : | + ! : | + 1 szone_free  (in libsystem_c.dylib) + 466 

  • EEM config to monitor ping failure

    Hello All,
    Excellent forum...
    I'm hoping someone can help me with my configuration...
    I'm looking at setting up EEM on my switch to basically bounce a few selected ports once their is an ICMP failure.
    Ideally i'll be conected to the device being monitored, and once their is a failure (ICMP failure), I'll like to trigger a reset on a few ports on the switch .
    Anyt help would be greatly appreciated.
    B.K

    You can use IP SLA, object tracking, and EEM for this.  For example:
    ip sla 1
    icmp-echo 10.1.1.1
    ip sla schedule 1 life forever start now
    track 1 ip sla 1 reachability
    event manager applet ping-watch
    event track 1 state down
    action 1.0 cli command "enable"
    action 2.0 cli command "config t"
    action 3.0 cli command "int range gi0/1 - 4"
    action 4.0 cli command "shut"
    action 5.0 cli command "end"

  • Email Most Recent File From Directory

    I am using C# to open a Spreadsheet, change 3 things in the spreadsheet, then save the spreadsheet in a directory, then open the directory.  I was trying to use FileSystemWatcher to capture the most recent file in the directory, but it seems that the
    Watch() event is being triggered before my syntax is able to make the changes and save.
    Is their a better method for this or do I just need to add in a Thread.Sleep() event so that the Watch() event triggers after the save is complete?

    Hi Indigo,
    >>I was trying to use FileSystemWatcher to capture the most recent file in the directory,
    but it seems that the Watch() event is being triggered before my syntax is able to make the changes and save.
    I have tested your code on my side, I supposed that you can add one button, when you
    change and save xls file successfully, try to trigger Watch() event by manual.
    I changed a little code with yours.
    Watch for changes in LastAccess and LastWrite times, and  the renaming of files or directories.
    Add all event handlers.
    Use messageBox to show something instead
    Here is my test reslut:
     Do I miss something? If so, please feel free to post here.
    public partial class Form1 : Form
    public Form1()
    InitializeComponent();
    filewatcher();
    private void filewatcher()
    using (Process pRun = new Process())
    pRun.StartInfo.FileName = "D:\\Test\\test.xlsx";
    pRun.StartInfo.UseShellExecute = true;
    pRun.Start();
    string openPath = "D:\\Test\\";
    Process pRC = new Process();
    pRC.StartInfo.FileName = openPath;
    pRC.Start();
    private void Watch()
    FileSystemWatcher watcher = new FileSystemWatcher();
    watcher.Path = "D:\\Test";
    watcher.NotifyFilter = NotifyFilters.LastAccess | NotifyFilters.LastWrite
    | NotifyFilters.FileName | NotifyFilters.DirectoryName;
    watcher.Filter = "*.xlsx";
    // Add event handlers.
    watcher.Changed += new FileSystemEventHandler(OnChanged);
    watcher.Created += new FileSystemEventHandler(OnChanged);
    watcher.Deleted += new FileSystemEventHandler(OnChanged);
    watcher.EnableRaisingEvents = true;
    private void OnChanged(object source, FileSystemEventArgs e)
    WatcherChangeTypes changeTypes = e.ChangeType;
    String filename = e.Name.ToString();
    MessageBox.Show("Hello");
    private void button1_Click(object sender, EventArgs e)
    Watch();
    MessageBox.Show("DOne");
    //private void sendMail(string filename)
    // using (MailMessage mail = new MailMessage())
    // mail.From = new MailAddress("");
    // mail.To.Add("");
    // string fileDirectory = path;
    // string fileFullPath = Path.Combine(filesDirectory, filename);
    // if (!File.Exists(fileFullPath))
    // return;
    // using (var xlsx1 = new Attachment(fileFullPath))
    // mail.Subject = "Test";
    // mail.Attachments.Add(xlsx1);
    // SmtpClient client = new SmtpClient("SMTP.MAIL.COM");
    // client.Send(mail);
    Best Regards,
    Kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Buffering of Live Stream

    Hey guys, I noticed whenever my FME's connection to the FMS
    get laggy, the FME seems to buffer the stream. The streaming
    service hence becomes 'not live' as the users watch events that
    happened minutes ago. Is there any settings that I can apply to
    either the FMS or FME to prevent this? Currently, the only solution
    I could use is to stop the FME streaming and restart it, flushing
    out the buffered data.

    I have the same problem but from the client side. Everytime
    network condition gets crappy and jittery between Flash Player
    application and Flash Media Server "something" significantly
    increases buffering. By saying "something" I mean I am not sure
    what exactly causes it, either it's the client side or the server
    side. But the result is a severely delayed audio stream, could be
    more than a minute. I opened a ticket with Adobe, no solution has
    been provided yet

  • CMSS3D in Windows 7 Build 68

    Anyone have a way to enable this? I get the programs to install but I cant change any settings.
    Thanks
    cb

    As we see, some respecti've companies made drivers for their devices that work in Windows 7 properly. For example, nVidia Forceware made for Windows 7. Of course it is beta driver, but it works right!!! As far as I know, Microsoft gives all necessary documentation for working out of drivers for future OS to developers of devices. Some companies aspire to watch events and even advance it slightly, and others - are not. Unfortunately, Creative is not in leaders in this sense. Even after official release of Windows Vista the company has let out full-function drivers for X-Fi sound cards after almost a year!!! You did not know about new architecture of a sound subsystem of new OS You waited, when Microsoft itself will come to you Your experts are not good enough Are they lazy Or are they so laborious Creative by the way fooled consumers almost a year, speaking about impossibility of inclusion of Dolby decoder in driver for Windows Vista. Is history repeats

  • Note 1340061

    Good afternoon
    I have the following problem:
    Today we made a stress test and when you drill down simultaneously MultiDimensionalAnalysisServicesServer fell off the service, see the notes for SAP BO and I suggest viewing the note 1340061 says:
    Java Virtual Machine (JVM) Some Windows control watches events (Such as LOGOFF) by default. When Receives Such event JVM, Java application process it shuts down.
    Resolution
    Make JVM ignore the events by using-Xrs option. This dog optoin be specified from Central Management Console (CMC) by the Following steps.
    Login to CMC.
    Go to Servers.
    Go to APS Properties page.
    add "-Xrs" (need quotations) to the Command Line Parameters.
    Click Save & Close.
    Right click on the APS and select Restart Server.
    Go to MDA Properties page and do the same steps above.
    My first question is:
    in the command line example is as follows:
    "-Server", "Dbobj.javaserver.home = D: / Program Files (x86) / Business Objects / BusinessObjects Enterprise 12.0 / / java / server", "Dcom.businessobjects.pjs.common.dir = D: / Program Files (x86) / Business Objects/common/4.0/java/lib / ""-Dcom.businessobjects.pjs.conf.file = D: / Program Files (x86) / Business Objects / BusinessObjects Enterprise 12.0 / / java / server / conf / config.xml "," Dorg.apache.geronimo.base.dir = D: / Program Files (x86) / business Objects / BusinessObjects Enterprise 12.0 / / java / server / platform ""-Djava.io.tmpdir = D: / Program Files (x86) / Business Objects / BusinessObjects Enterprise 12.0 / / java / server / platform / var / temp "," Dbusinessobjects.logs.home = D: / Program Files (x86) / Business Objects / BusinessObjects Enterprise 12.0/Logging / "," Xms32m ""-Xmx256m "-DXorg.apache.geronimo.gbean.NoProxy = true", "Djava.net.preferIPv4Stack = false"-jar "D: / Program Files (x86) / Business Objects / BusinessObjects Enterprise 12.0 / / java / server / bin / boeserver.jar "" "workdir" "D: / Program Files (x86) / Business Objects / BusinessObjects Enterprise 12.0 / / java / server / work"
    The suggestion to add "-Xrs" (need quotations) I do it as follows (that top:
    "-Xrs" (need quotations) "-server", "Dbobj.javaserver.home = D: / Program Files (x86) / Business Objects / BusinessObjects Enterprise 12.0 / / java / server" "-Dcom.businessobjects.pjs.common . dir = D: / Program Files (x86) / Business Objects/common/4.0/java/lib / ""-Dcom.businessobjects.pjs.conf.file = D: / Program Files (x86) / Business Objects / BusinessObjects Enterprise 12.0 / / java / server / conf / config.xml "," Dorg.apache.geronimo.base.dir = D: / Program Files (x86) / Business Objects / BusinessObjects Enterprise 12.0 / / java / server / platform "- Djava.io.tmpdir: D: / Program Files (x86) / Business Objects / BusinessObjects Enterprise 12.0 / / java / servers / platform /, var / temp "," Dbusinessobjects.logs.home: D: / Program Files (x86) / Business Objects / BusinessObjects Enterprise 12.0/Logging / "," Xms32m ""-Xmx256m "-DXorg.apache.geronimo.gbean.NoProxy = true", "Djava.net.preferIPv4Stack = false"-jar "D: / Program Files (x86) / Business Objects / BusinessObjects Enterprise 12.0 / / java / server / bin / boeserver.jar "" "workdir" "D: / Program Files (x86) / Business Objects / BusinessObjects Enterprise 12.0 / / java / server / work"
    Perform the procedure in place in services and MultiDimensionalAnalysisServicesServer AdaptiveProcessingServer
    Restart the server and the result was:
    AdaptiveProcessingServer, MultiDimensionalAnalysisServicesServer, OutputFileRepository InputFileRepository and will not load.
    Please can you help me with this issue.
    Thank you.

    Hi Jair,
    after 4 years....
    set the parameter like this:
    -Xrs -server -Dcom.sap.vm.tag=SRV11.AdaptiveProcessingServer -Djava.awt.headless=true "-Dbobj.javaserver.home=C:/Program Files (x86)/SAP BusinessObjects/SAP BusinessObjects Enterprise XI 4.0/java/pjs/container/" "-Dboe.common.dir=C:/Program Files (x86)/SAP BusinessObjects/SAP BusinessObjects Enterprise XI 4.0/java/lib/" "-Dboe.external.dir=C:/Program Files (x86)/SAP BusinessObjects/SAP BusinessObjects Enterprise XI 4.0/java/lib//external".........
    cheers

  • Environment variables for use with EEM routing trigger?

    I've only recently started looking into EEM, and was hoping a guru here could clear something up for me:
    The docs do not show there to be any environment variables that can be used with EEM's "routing" trigger, to determine which route was added, changed, or modified.
    It seems odd that the trigger would allow you to fire specifically on adds or removes, but then give you no indication of the specific route that was added or removed. Is this info in some non-obvious generic variable?
    Or, is the only available approach to cache the route table, and then parse the whole table when the event fires? I haven't seen any examples that use this trigger; maybe because of this lack of any documented routing-specific variables?
    Thanks in advance!

    Every event detector has its own set of internal variables. These are different than environment variables. Environment variables are those you can modify in the config with "event manager environment". If you have a device which supports the routing event detector, you can run the command, "show event manager detector routing detailed" and that will show you all of the available internal variables.
    I actually did a programmatic applet example using the oruting ED for my Networkers session this past year. This example doesn't use any of the internal variables, but it will give you an idea of how this ED works:
    event manager applet route-watch
    event routing network 10.1.1.0/24 type add protocol ospf
    action 001 cli command "enable"
    action 002 set done 0
    action 003 while $done eq 0
    action 004 wait 5
    action 005 cli command "ping ip 10.1.1.1"
    action 005 regexp "!!!!!" "$_cli_result"
    action 006 if $_regexp_result eq 1
    action 007 cli command "config t"
    action 008 cli command "int Tunnel0"
    action 009 cli command "shut"
    action 010 cli command "end"
    action 011 set done 1
    action 012 end
    action 013 end
    This applet will be triggered when the route 10.1.1.0/24 is learned via OSPF. The applet will then try and ping 10.1.1.1, and when it is 100% successful, it will take down the backup tunnel interface. Because it may take a little while before the ping is 100% successful, the applet will loop until it gets a 100% success (or until the 20 second maxrun timer expires).

  • Problems using WatchService

    Hello everyone,
    I've got a few problems using WatchService.class:
    public void watch() throws IOException, InterruptedException{
         WatchService watchService = FileSystems.getDefault().newWatchService();
         Paths.get(desktopDirPath).register(watchService,
                   StandardWatchEventKinds.ENTRY_CREATE,
                   StandardWatchEventKinds.ENTRY_DELETE,
                   StandardWatchEventKinds.ENTRY_MODIFY);
         while(true){
              WatchKey key = watchService.take();
              for(WatchEvent<?> event : key.pollEvents()){
                   WatchEvent.Kind<?> kind = event.kind();
                   switch(kind.name()){
                        case KIND_ENTRY_CREATE:
                             // ... do something
                             break;
                             // ... more cases ...
                        default:
                             break;
              key.reset();
    So, there is my code snippet. First things first:
    1.) Is a new thread started automatically when calling watchService's call method? I've been wondering because the method throws an InterruptedException.
    2.) I've got problems dealing with the watch events. For example let's imagine we want to move or delete one or more files when created in a specified directory. It seems to work for one file or even a few more. But it fails to handle new files which are created rapidly for example by a service in the watched directory. It seems that the occurring events aren't recognized fast enough, but that's just my theory. I've tried logging the paths to the files in a hashtable and deleting them asynchronous in another thread but it seems that I'll have to deal with concurrency then, won't I?
    Best regards!
    Edited by: 958296 on 11.09.2012 01:28

    958296 wrote:
    Hello everyone,
    I've got a few problems using WatchService.class:
    public void watch() throws IOException, InterruptedException{
         WatchService watchService = FileSystems.getDefault().newWatchService();
         Paths.get(desktopDirPath).register(watchService,
                   StandardWatchEventKinds.ENTRY_CREATE,
                   StandardWatchEventKinds.ENTRY_DELETE,
                   StandardWatchEventKinds.ENTRY_MODIFY);
         while(true){
              WatchKey key = watchService.take();
              for(WatchEvent<?> event : key.pollEvents()){
                   WatchEvent.Kind<?> kind = event.kind();
                   switch(kind.name()){
                        case KIND_ENTRY_CREATE:
                             // ... do something
                             break;
                             // ... more cases ...
                        default:
                             break;
              key.reset();
    So, there is my code snippet. First things first:
    1.) Is a new thread started automatically when calling watchService's call method? I've been wondering because the method throws an InterruptedException.Without actually checking the implementation, my understanding is that you have a thread created for he WatchService.
    2.) I've got problems dealing with the watch events. For example let's imagine we want to move or delete one or more files when created in a specified directory. It seems to work for one file or even a few more. But it fails to handle new files which are created rapidly for example by a service in the watched directory. It seems that the occurring events aren't recognized fast enough, but that's just my theory. I've tried logging the paths to the files in a hashtable and deleting them asynchronous in another thread but it seems that I'll have to deal with concurrency then, won't I?Yes. As stated in the WatchService Doc, actual functionality of the WatchService is highly platfom implementation specific, and the problem you list is one listed. Any time you have a file that may be visible by others, you have to deal with a potential concurrency issue.

Maybe you are looking for