cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Joe.Catera
AppDynamics Team

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:
On-Demand Webinar
Discover new Splunk integrations and AI innovations for Cisco AppDynamics.


Register Now!

Observe and Explore
Dive into our Community Blog for the Latest Insights and Updates!


Read the blog here