Splunk AppDynamics

Configuring Wildfly running on Java 11

CommunityUser
Splunk Employee
Splunk Employee

Hi there, 

I'm trying to configure appDynamic agent for Wildfly 10 and Java 11 following the installation manual https://docs.appdynamics.com/display/LATEST/JBoss+and+Wildfly+Startup+Settings and came accross a problem there the application will not start compalining that the 

-Xbootclasspath/p

JVM option is not allowed in Java 11. There is an option to use -Xbootclasspath/a but in that case I have a error saying that log manager cannot be found. Do I use outdated version of the installation manual? 

Everything works perfectly in java 8 but not in 9,10,11. For refernce I tried to all Wildfly versions from 10 to 16. Any help is highly appreciated.

  

Labels (1)
0 Karma
1 Solution

CommunityUser
Splunk Employee
Splunk Employee

Hi, 

Yep, tried to remove whole log manager configuration row 

rem set "JAVA_OPTS=%JAVA_OPTS% -Djava.util.logging.manager=org.jboss.logmanager.LogManager -Xbootclasspath/p:=d:/wildfly-10.1.0.Final/modules/system/layers/base/org/jboss/logmanager/main/jboss-logmanager-2.0.4.Final.jar

and it seems to work fine in both java 8 and java 11. 

Thanks,

View solution in original post

Peter_Holditch
Builder

Mikhail,

Have you tried without the bootclasspath option?  In many cases that is not needed, as noted below the numbered steps in the documentation you linked.

Warm regards,

Peter

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Hi, 

Yep, tried to remove whole log manager configuration row 

rem set "JAVA_OPTS=%JAVA_OPTS% -Djava.util.logging.manager=org.jboss.logmanager.LogManager -Xbootclasspath/p:=d:/wildfly-10.1.0.Final/modules/system/layers/base/org/jboss/logmanager/main/jboss-logmanager-2.0.4.Final.jar

and it seems to work fine in both java 8 and java 11. 

Thanks,

Get Updates on the Splunk Community!

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL  The Splunk AI Assistant for SPL ...

Buttercup Games: Further Dashboarding Techniques (Part 5)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

Customers Increasingly Choose Splunk for Observability

For the second year in a row, Splunk was recognized as a Leader in the 2024 Gartner® Magic Quadrant™ for ...