view test/sun/management/jmxremote/startstop/REMOTE_TESTING.txt @ 12677:a4299d47bd00

8134984: Text files should end in exactly one newline Summary: automated fixup of newlines at end-of-file via the usual perl one-liner Reviewed-by: chegar, sherman
author martin
date Wed, 02 Sep 2015 14:11:50 -0700
parents 786a96919a43
children
line wrap: on
line source
1. Setup two hosts
2. Make sure tcp connection between them works
3. run tcpdump -i <interface> host <host2_name> and 'tcp[13] & 2!=0'
   on host 1
4. run 

   ${TESTJAVA}/bin/java -server TestApp \
   -Dcom.sun.management.jmxremote.port=50234 \
   -Dcom.sun.management.jmxremote.rmi.port=50235 \
   -Dcom.sun.management.jmxremote.authenticate=false \
   -Dcom.sun.management.jmxremote.ssl=false

    on host2
5. run jconsole on host1
6. connect jconsole to host2:50234
   Make sure jconsole works
   Make sure only host2.50234 and host2.50235 appears in tcpdump output.