cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not a customer? Start a free trial

Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.

AppDynamics customers and established members should click the sign in button to authenticate.

Knowledge Base

Start the EUM Server on Windows with a Batch Command

If you are having trouble starting the EUM Server as a Windows service, you can use a batch command to start it. 

 

Follow the steps below to use a batch command to start the EUM Server:

  1. Download the Apache Common Daemon Procrun.
  2. Create the file eum-start.bat with the following code:
    set SRV_PATH=C:\AppDynamics\EUM\commons-daemon-1.1.0-bin-windows\amd64
    set EUM_SERVICE_NAME=AppDynamics EUM Server Test
    set EUM_DIR=C:\AppDynamics\EUM
    set JVM_MX=4096m
    set JVM_MS=4096m
    
    "%SRV_PATH%\prunsrv" //IS//"%EUM_SERVICE_NAME%"^
     --DisplayName="%EUM_SERVICE_NAME%"^
     --Description="%EUM_SERVICE_NAME%"^
     --Startup=auto^
     --Install="%SRV_PATH%\prunsrv.exe"^
     --Jvm="%EUM_DIR%\jre\bin\server\jvm.dll"^
     --Classpath="%EUM_DIR%\eum-processor\lib\*"^
     --JavaHome="%EUM_DIR%\jre"^
     --JvmOptions=-DEUM_COMPONENT=processor^
     ++JvmOptions=-Dlogback.configurationFile=bin/logback.xml^
     ++JvmOptions=-Dcom.mchange.v2.c3p0.cfg.xml=bin/c3p0.xml^
     --JvmMx=%JVM_MX%^
     --JvmMs=%JVM_MS%^
     --StartPath="%EUM_DIR%\eum-processor"^
     --StartMode=jvm^
     --StartClass=com.appdynamics.eumcloud.EUMProcessorServer^
     --StopMode=jvm^
     --StopClass=com.appdynamics.eumcloud.EUMProcessorServer^
     --LogLevel=DEBUG^
     --StdOutput="%EUM_DIR%\logs\eum-processor.log"^
     --StdError="%EUM_DIR%\logs\eum-processor-error.log"
    
    "%SRV_PATH%\prunsrv.exe" //RS//"%EUM_SERVICE_NAME%"
  3. Edit the file with the correct file paths and parameters.
  4. Place the file in the directory <EUM_processor>/bin.
  5. Run the batch file.
  6. You should see that the service for the EUM Server has been created.
  7. Start the EUM Server by clicking Start on the service.
  8. To stop the service, click Stop.
Version history
Last update:
‎07-23-2020 06:15 PM
Updated by:
Labels (1)
Tags (1)


Found this article helpful? Click the Thumbs Up button.
Have an additional comment? Post it below.
By replying you agree to the Terms and Conditions of the AppDynamics Community.
0 Kudos