Summary
Add new jstatd tool option to specify a RMI connector port.
Problem
When running jstatd on a remote host behind a firewall or inside a container it should be possible to specify what exact ports need to be used. Currently jstatd tool provides command line option -p
to specify RMI registry port but remote objects still communicate over random ports. An option to specify RMI connector port needs to be added.
Solution
Introduce -r
option to jstatd to specify RMI connector port number.
Specification
jstatd can accept -r
option to specify RMI connector port.
$ jstatd -help
usage: jstatd [-nr] [-p port] [-r rmiport] [-n rminame]
jstatd -?|-h|--help
- csr of
-
JDK-8196729 Add jstatd option to specify RMI connector port
- Resolved