Seconds later I hit another error. But it seems like more of a wildfly-thing.
INFO: JBoss MSC version 1.4.12.Final
EM org.jboss.threads.Version <clinit>
INFO: JBoss Threads version 2.4.0.Final
EM org.jboss.as.server.
INFO: WFLYSRV0049: WildFly Full 23.0.1.Final (WildFly Core 15.0.1.Final) starting
EM org.wildfly.security.Version <clinit>
INFO: ELY00001: WildFly Elytron version 1.15.3.Final
EM org.jboss.as.controller.
ERROR: WFLYCTL0013: Operation ("parallel-extension-add") failed - address: ([])
java.lang.RuntimeException: WFLYCTL0079: Failed initializing module org.jboss.as.logging
at [email protected].
at [email protected].
at [email protected].
at [email protected].
at [email protected].
at [email protected].
at [email protected].
at [email protected].
at [email protected].
at [email protected].
at [email protected].
at java.base/java.lang.Thread.
Caused by: java.util.concurrent.
at java.base/java.util.
at java.base/java.util.
at [email protected].
... 11 more
Caused by: java.lang.
at [email protected].
at [email protected].
at [email protected].
at [email protected].
at [email protected].
at java.base/java.util.
at [email protected]/
at [email protected]/
at [email protected]/
at [email protected]/
at java.base/java.lang.Thread.
at [email protected]/
EM org.jboss.as.server.
FATAL: WFLYSRV0056: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details.
I have tried adding 100 variations of the following "solution" to the start script, as Google suggests... but still getting the same error.
JAVA_OPTS="$JAVA_OPTS -Djava.util.logging.manager=
JAVA_OPTS="$JAVA_OPTS -Xbootclasspath/a:/opt/jboss/
Release : 10.8
Component : Introscope
In reviewing your startup script again, I noticed that you mentioned about Java 11. I am currently using Java 8 and have no issues with Wildfly 15. I am using RHEL 8.6.
So I installed Java 11 and reproduced your issue. So something between Java 8 and 11 it does not like LogManager.
Through trial and error I was able to get these settings to work and Wildfly 15 to start up and log both in the Wildfly log and our Agent logging. I was also able to see the Agent in the Investigator.
JAVA_OPT1="-Djboss.modules.system.pkgs=org.jboss.logmanager,org.jboss.byteman,com.wily,com.wily.*"
JAVA_OPT2="-javaagent:/opt/wildfly-15.0.1.Final/wily10-8/wily/Agent.jar"
JAVA_OPT3="-Dsun.util.logging.disableCallerCheck=true"
JAVA_OPT4="-DagentProfile=/opt/wildfly-15.0.1.Final/wily10-8/wily/releases/2022.3/core/config/IntroscopeAgent.profile"
JAVA_OPT5="-Djava.util.logging.manager=org.jboss.logmanager.LogManager"
JAVA_OPT6="-Dcom.wily.org.apache.commons.logging.Log=com.wily.org.apache.commons.logging.impl.NoOpLog"
JAVA_OPT7="-Xbootclasspath/a:/opt/wildfly-15.0.1.Final/modules/system/layers/base/org/jboss/logmanager/main/jboss-logmanager-2.1.5.Final.jar:/opt/wildfly-15.0.1.Final/modules/system/layers/base/org/wildfly/common/main/wildfly-common-1.4.0.Final.jar:/opt/wildfly-15.0.1.Final/modules/system/layers/base/org/jboss/log4j/logmanager/main/log4j-jboss-logmanager-1.1.6.Final.jar"
JAVA_OPTS="$JAVA_OPTS $JAVA_OPT1 $JAVA_OPT2 $JAVA_OPT3 $JAVA_OPT4 $JAVA_OPT5 $JAVA_OPT6 $JAVA_OPT7"