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!

AppDynamics Summer Webinars

This summer, our mighty AppDynamics team is cooking up some delicious content on YouTube Live to satiate your ...

SOCin’ it to you at Splunk University

Splunk University is expanding its instructor-led learning portfolio with dedicated Security tracks at .conf25 ...

Credit Card Data Protection & PCI Compliance with Splunk Edge Processor

Organizations handling credit card transactions know that PCI DSS compliance is both critical and complex. The ...