While bootstrapping to a linux vm I’m facing the below error when recipe tries to execute restart service tomcat8 and suggested to run systemctl status tomcat8.service, this command ended with LSB tomcat failed to start and I’m appending the below log collected from the command cat /var/log/tomcat8/*
Java HotSpot™ 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
-Djava.endorsed.dirs=/usr/share/tomcat8/endorsed is not supported. Endorsed standards and standalone APIs in modular form will be supported via the concept of upgradeable modules.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Any help to resolve this error is much appreciated