Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
PojavLauncherTeam
GitHub Repository: PojavLauncherTeam/mobile
Path: blob/master/test/jdk/sun/management/jmxremote/startstop/REMOTE_TESTING.txt
41153 views
1
1. Setup two hosts
2
2. Make sure tcp connection between them works
3
3. run tcpdump -i <interface> host <host2_name> and 'tcp[13] & 2!=0'
4
on host 1
5
4. run
6
7
${TESTJAVA}/bin/java -server TestApp \
8
-Dcom.sun.management.jmxremote.port=50234 \
9
-Dcom.sun.management.jmxremote.rmi.port=50235 \
10
-Dcom.sun.management.jmxremote.authenticate=false \
11
-Dcom.sun.management.jmxremote.ssl=false
12
13
on host2
14
5. run jconsole on host1
15
6. connect jconsole to host2:50234
16
Make sure jconsole works
17
Make sure only host2.50234 and host2.50235 appears in tcpdump output.
18
19