I have recently upgraded wildfly from 11 to 21 version. I was using jvisualvm for jvm monitoring, but now when tried connecting to remote wildfly server via jvisualvm , getting error
I have followed following steps to configure wildfly on linux for remote monitoring
created a file named security.policy which contains the following:
grant codebase "file:/usr/lib/jvm/java-8-oracle/lib/tools.jar" { permission java.security.AllPermission; };
Now execute jstatd as follows:
/usr/lib/jvm/java-8-oracle/bin/jstatd -J-Djava.security.policy=security.policy &
Start WildFly, taking care to bind it to an IP address which can be reached from a remote machine:
standalone.bat -b ip-addr -bmanagement=ip-addr
Since we will need a management user to connect to this server, execute the add-user script and create a management user:
./add-user.sh
on starting wildfly getting following error:
Services with missing/unavailable dependencies" => ["jboss.remoting.remoting-http-upgrade-service.http-management is missing [jboss.http-upgrade-registry.http-management]"]
Tried following these steps as well, but same error (open JMX through jconsole on Remote WildFly 21 server)
Can anyone help me with configuration to enable remote jvm monitoring for wildfly 21 server in linux