jmxterm
jmxterm copied to clipboard
UndeclaredThrowableException
Tried to connect to a local JVM with 1.0.1, openjdk-8-jdk.
Welcome to JMX terminal. Type "help" for available commands.
$>open 17057
#UndeclaredThrowableException:
$>
I think the underlying issue is process permissions, but the error message isn't very helpful.
you saved my time
Me too :) I ran with -v verbose which made the problem quite clear: Caused by: java.io.IOException: well-known file /tmp/.java_pid41 is not secure: file should be owned by the current user (which is 0) but is owned by 1000