anchor.diff:          set SCHED_PID=%_result%
   )
   
  +set RM_MATCH=The resource manager with 4 local nodes created on 
  +set SCHED_MATCH=The scheduler created on 
   set SCHED_URL_STR=
   set RM_URL_STR=
   :WaitLoop
  -        for /f "tokens=*" %%i in ('FINDSTR /C:"The resource manager with 4 local nodes created on" %SCHED_OUT%') do set RM_URL_STR=%%i
  +        for /f "tokens=*" %%i in ('FINDSTR /C:"%RM_MATCH%" %SCHED_OUT%') do set RM_URL_STR=%%i
           IF NOT ["%RM_URL_STR%"]==[""] (
  -                SET RM_URL=%RM_URL_STR:~50%
  -        )
  -
  -        for /f "tokens=*" %%i in ('FINDSTR /C:"The scheduler created on" %SCHED_OUT%') do set SCHED_URL_STR=%%i
  +                 SET RM_URL=!RM_URL_STR:%RM_MATCH%=! 
  +        )
  +
  +        for /f "tokens=*" %%i in ('FINDSTR /C:"%SCHED_MATCH%" %SCHED_OUT%') do set SCHED_URL_STR=%%i
           IF ["%SCHED_URL_STR%"]==[""] (
                   echo Waiting for the scheduler...
                   call :delay 5 
           ) ELSE (
  -                SET SCHED_URL=%SCHED_URL_STR:~24%
  +                SET SCHED_URL=!SCHED_URL_STR:%SCHED_MATCH%=!
                   GOTO :EndWaitLoop
           )
   
  
positive.code: @echo off
  SETLOCAL
  
  call init.bat scheduler-log4j-server
  
  
negative.code:         goto :eof
  
  :delay
          ping -n %1 127.0.0.1 > NUL
          goto :eof
  
  :eof
  