Versions Compared

Key

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

...

cd /tmp
mkdir javatools
cd javatools
wget https://github.com/jiaqi/jmxterm/releases/download/v1.0.0/jmxterm-1.0.0-uber.jar
wget --no-cookies --no-check-certificate --header "Cookie: oraclelicense=accept-securebackup-cookie" https://download.oracle.com/otn-pub/java/jdk/8u2028u211-b08b12/1961070e4c9b4e26a04e7f5a083f551e478a62b7d4e34b78b671c754eaaf38ab/jdk-8u2028u211-linux-x64.tar.gz -O jdk-8-linux-x64.tar.gz
cd ..
docker cp javatools tcs_tcs_1:/tmp
docker exec -it tcs_tcs_1 /bin/bash
cd /tmp/javatools
tar -zxvf jdk-8-linux-x64.tar.gz
rm jdk-8-linux-x64.tar.gz
./jdk1.8.0_202/bin/java -jar jmxterm-1.0.0-uber.jar
open 1
domain tcs.mbean
bean tcs.mbean:name=PersonElasticSearchJob
run personElasticSearchSync
run isCurrentlyRunning
exit

...