JBOSS / Wildfly won't start after adding JVM parameters

The JBOSS JVM parameters should be the same as Wildfly, however, we have encountered an issue that in some configurations we get an exception that the Logging Manager should be set to the JBOSS, in that case try to add the following parameters to the JAVA_OPTS (can be in the beginning):

-Djboss.modules.system.pkgs=org.jboss.byteman,org.jboss.logmanager,com.vfunction,vfrtshadow

See https://stackoverflow.com/questions/47093456/jboss-could-not-load-logmanager