Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. login into ssvm, either console proxy or ssh(port 3922)
  2. kill all the processes named as(run.sh/_run.sh, and java)
  3. cd /usr/local/cloud/systemvm
  4. add parameters "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:8787" (or "-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8787" for previous JDK versions) after "java " in the last line of _run.sh
  5. ./_run.sh, the java agent will start, with debug port 8787 is listened on.
  6. allow port 8787 in ssvm, "iptables -I INPUT -i eth1 -p tcp -m state --state NEW -m tcp --dport 8787 -j ACCEPT", either eth1 or eth2 is ok.

...