4 Replies Latest reply on Oct 27, 2008 4:19 PM by Bill Stoneberg

    Recursion Too deep message

      I am trying to deploy a custom software package from a SMB share. I have the share defined as

      smb://Administrator:password@apache/builds/GA/BPM/2.6.00/Windows/RemoteServiceMonitor.exe.

       

      When I try to deploy it ti goes through the simulate and stage process. When it gets to the commit stage it gets the following message

      Error Oct 14, 2008 4:28:38 PM Command returned non-zero exit code: 1001 Recursion too deep; the stack overflowed.

      1

       

      Any ideas on what I am doing wrong ?

       

      Thanks

        • 1. Re: Recursion Too deep message
          Bill Robinson

          are there any messages in the appserver.log ? or in the rscd.log on the target, or the bldeploy log on the target? (in /Transactions/Logs)

          • 2. Re: Recursion Too deep message

            This is what I see in the /Transaction/Logs.

             

            Starting apply

            10/14/08 16:28:17.328 DEBUG bldeploy - [] Applying parent first id = 0

            10/14/08 16:28:17.328 INFO bldeploy - [] Processing asset BLPACKAGE

            10/14/08 16:28:17.375 DEBUG bldeploy - [] Applying parent first id = 1

            10/14/08 16:28:17.375 INFO bldeploy - [] Processing asset CUSTOMSOFTWARE

            10/14/08 16:28:17.375 INFO bldeploy - [] Executing command: "20.1\RemoteServiceMonitor.exe/RemoteServiceMonitor.exe -i silent -DOPTIONS=C:\tmp\stage\RSM_Remote@2008.10.14-16.28.59.434-0500-26.1-39.1\20.1\RSMOptions.txt"

            10/14/08 16:28:17.375 DEBUG bldeploy - [] chdir to PkgDir: 'C:\tmp\stage\RSM_Remote@2008.10.14-16.28.59.434-0500-26.1-39.1\'

            10/14/08 16:28:17.406 DEBUG bldeploy - [] exeFullPath = (null), CmdLine = "C:\tmp\stage\RSM_Remote@2008.10.14-16.28.59.434-0500-26.1-39.1\bldeploycmd.bat", workingDir = NULL

            10/14/08 16:28:17.515 INFO bldeploy - [] C:\tmp\stage\RSM_Remote@2008.10.14-16.28.59.434-0500-26.1-39.1>chcp 1252 1>NUL C:\tmp\stage\RSM_Remote@2008.10.14-16.28.59.434-0500-26.1-39.1>20.1\RemoteServiceMonitor.exe/RemoteServiceMonitor.exe -i silent -DOPTIONS=C:\tmp\stage\RSM_Remote@2008.10.14-16.28.59.434-0500-26.1-39.1\20.1\RSMOptions.txt

            10/14/08 16:28:38.656 DEBUG bldeploy - [] In RunProcess: exitCode = 1001

            10/14/08 16:28:38.656 ERROR bldeploy - [] Command returned non-zero exit code: 1001 Recursion too deep; the stack overflowed.

            10/14/08 16:28:38.656 DEBUG bldeploy - [] chdir to PkgDir: 'C:\'

            10/14/08 16:28:38.671 ERROR bldeploy - [] Apply failed: id = 1

            10/14/08 16:28:38.671 DEBUG bldeploy - [] Apply failed -processing sub-list: id = 0

            10/14/08 16:28:38.671 DEBUG bldeploy - Package items were processed

            10/14/08 16:28:38.671 INFO bldeploy - Deployment ignoring copy on boot pending operations according to job configuration.

            10/14/08 16:28:39.250 INFO bldeploy - Starting undo

             

             

            This is what I am seeing in the appserver.log

             

            Apply executing command bltargetjobmanager -start -cmd "bldeploy RSM_Remote@2008.10.14-16.28.59.434-0500-26.1-39.1 -N="/tmp/stage/RSM_Remote@2008.10.14-16.28.59.434-0500-26.1-39.1" -P=esm-blade-6 -Q=params.txt -V2 -RegAllCOM -TreatLockedAsErr -js0 -jr0 -jc0 " -me "RSM_Remote@2008.10.14-16.28.59.434-0500-26.1-39.1" -mp -sp -ps -h60 on server esm-blade-6

            Total JVM (B): 91303936,Free JVM (B): 64577280,Used JVM (B): 26726656,VSize (B): 241532928,RSS (B): 145559552

            Calbro:BLAdmins: Apply failed for server esm-blade-6. Exit code = -4001

            Calbro:BLAdmins: [] Work item thread is shutting down.

            • 3. Re: Recursion Too deep message
              Bill Robinson

              hmm - look at:


              10/14/08 16:28:17.406 DEBUG bldeploy - [1][] exeFullPath = (null), CmdLine = "C:\tmp\stage\RSM_Remote@2008.10.14-16.28.59.434-0500-26.1-39.1\bldeploycmd.bat", workingDir = NULL
              10/14/08 16:28:17.515 INFO bldeploy - [1][] C:\tmp\stage\RSM_Remote@2008.10.14-16.28.59.434-0500-26.1-39.1>chcp 1252 1>NUL C:\tmp\stage\RSM_Remote@2008.10.14-16.28.59.434-0500-26.1-39.1>20.1\RemoteServiceMonitor.exe/RemoteServiceMonitor.exe -i silent -DOPTIONS=C:\tmp\stage\RSM_Remote@2008.10.14-16.28.59.434-0500-26.1-39.1\20.1\RSMOptions.txt
              10/14/08 16:28:38.656 DEBUG bldeploy - [1][] In RunProcess: exitCode = 1001
              10/14/08 16:28:38.656 ERROR bldeploy - [1][] Command returned non-zero exit code: 1001 Recursion too deep; the stack overflowed.

               

              can you run the RemoteServiceMonitor -i silent -DOPTIONS=... command manually ?

               

              maybe that command can't handle the long path to the RSMOptions.txt file ?

               

              on the deploy job set the 'leave files in stage dir on failure' option (something like that), re-run the job and then run that command from the commandline on the box.

               

              see if you can isolate the error to the exe, or something in bladelogic...

              • 4. Re: Recursion Too deep message

                So I got it figured out, I had a flag set wrong and it was making a mess of my command.

                 

                Thanks for your help, I learned what to look for now.