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!

Community Content Calendar, August edition

In the dynamic world of cybersecurity, staying ahead means constantly solving new puzzles and optimizing your ...

Pro Tips for First-Time .conf Attendees: Advice from SplunkTrust

Heading to your first .Conf? You’re in for an unforgettable ride — learning, networking, swag collecting, ...

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Whether you're managing complex deployments or looking to future-proof your data infrastructure, this session ...