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!

Cultivate Your Career Growth with Fresh Splunk Training

Growth doesn’t just happen—it’s nurtured. Like tending a garden, developing your Splunk skills takes the right ...

Introducing a Smarter Way to Discover Apps on Splunkbase

We’re excited to announce the launch of a foundational enhancement to Splunkbase: App Tiering.  Because we’ve ...

How to Send Splunk Observability Alerts to Webex teams in Minutes

As a Developer Evangelist at Splunk, my team and I are constantly tinkering with technology to explore its ...