This documentation supports the 9.1 version of Remedy Action Request System.

To view the latest version, select the version from the Product version menu.

Debugging the BMC Remedy Email Engine on Windows

To enable the -Dmail.debug=true debug mode option for Windows, perform the following steps.

To debug the BMC Remedy Email Engine on Windows

  1. In the EmailStart.bat file, add the -Dmail.debug=true option as follows:

    "%JavaPath%\java" -Dmail.debug=true -cp emaildaemon.jar;arapi<releaseNum>.jar;arutil<releaseNum>.jar;activation.jar;mail.jar;imap.jar;smtp.jar;pop3.jar;armapi<releaseNum>.jar com.bmc.arsys.emaildaemon.EmailDaemon

    The default location of the EmailStart.bat file is C:\Program Files\BMC Software\ARSystem\AREmail.

  2. Save the batch file as another name, for example, emaildebug.bat.
  3. Make sure that the BMC Remedy Email Engine service is stopped in the Services window.
  4. Open a command prompt, change the directory to the location of the BMC Remedy AR System install directory, and run the new batch file. This batch file adds debug information to the screen when the BMC Remedy Email Engine is started from a command prompt. You can also direct the output to a file by adding > c:\temp\debug.out to the end of the previous Java statement.

To generate debug log using the Windows BMC Remedy Email Engine service

  1. From the Services window, stop the BMC Remedy Email Engine service.
  2. Open the Windows registry, and navigate to HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet> Services > Email Engine > machineName > Parameters.
  3. Create a new String Value, name it JVM Option Number 4, and set its value to -Dmail.debug=true.
  4. Change the value of JVM Option Count to 5.
  5. Start the BMC Remedy Email Engine service.

The debug log is available in the emailEngineInstallDir\AREmail\Logs\email.log file.

Was this page helpful? Yes No Submitting... Thank you