ActiveMQ Service will not start after deleting the X:\CA\VirtualAssurance\activemq\data folder as part of VAIM Cleanup procedure.
Environment
Release : 12.9
Component : VPM GENERAL
Cause
A non default value (1024) for wrapper.java.maxmemory located under X:\CA\VirtualAssurance\activemq\bin\win32\wrapper.conf will cause the ActiveMQ Service to not start.
X:\CA\VirtualAssurance\activemq\data\wrapper.log:
STATUS | wrapper | 2020/04/09 14:31:41 | --> Wrapper Started as Service STATUS | wrapper | 2020/04/09 14:31:41 | Launching a JVM... INFO | jvm 1 | 2020/04/09 14:31:42 | Error occurred during initialization of VM INFO | jvm 1 | 2020/04/09 14:31:42 | Could not reserve enough space for 1370112KB object heap ERROR | wrapper | 2020/04/09 14:31:42 | JVM exited while loading the application.
Resolution
Set wrapper.java.maxmemory=1024 for both wrapper.conf files