tomcat remote debug
/usr/lib/jvm/jre/bin/java -Dtomcatprocess -server -XX:MaxTenuringThreshold=15 -XX:CMSInitiatingOccupancyFraction=80 -XX:+UseCMSInitiatingOccupancyOnly -Xmx1500m -Xms1500m -XX:NewSize=600m -XX:MaxNewSize=600m -XX:SurvivorRatio=8 -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=128m -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintClassHistogram -XX:+CMSClassUnloadingEnabled -classpath /usr/share/tomcat/bin/bootstrap.jar:/usr/share/tomcat/bin/tomcat-juli.jar:/usr/share/java/commons-daemon.jar -Dcatalina.base=/usr/share/tomcat -Dcatalina.home=/usr/share/tomcat -Djava.endorsed.dirs= -Djava.io.tmpdir=/var/cache/tomcat/temp -Djava.util.logging.config.file=/usr/share/tomcat/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -agentlib:jdwp=transport=dt_socket,address=10000,server=y,suspend=n org.apache.catalina.startup.Bootstrap start
——————————————————————————————————–
/usr/lib/jvm/jre/bin/java
-Dtomcatprocess
-server
-XX:MaxTenuringThreshold=15
-XX:CMSInitiatingOccupancyFraction=80
-XX:+UseCMSInitiatingOccupancyOnly
-Xmx1500m -Xms1500m
-XX:NewSize=600m
-XX:MaxNewSize=600m
-XX:SurvivorRatio=8
-XX:MetaspaceSize=128m
-XX:MaxMetaspaceSize=128m
-XX:+UseParNewGC
-XX:+UseConcMarkSweepGC
-XX:+PrintGCDetails
-XX:+PrintGCDateStamps
-XX:+PrintClassHistogram
-XX:+CMSClassUnloadingEnabled
-classpath /usr/share/tomcat/bin/bootstrap.jar:
/usr/share/tomcat/bin/tomcat-juli.jar:
/usr/share/java/commons-daemon.jar
-Dcatalina.base=/usr/share/tomcat
-Dcatalina.home=/usr/share/tomcat
-Djava.endorsed.dirs=
-Djava.io.tmpdir=/var/cache/tomcat/temp
-Djava.util.logging.config.file=/usr/share/tomcat/conf/logging.properties
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-agentlib:jdwp=transport=dt_socket,address=10000,server=y,suspend=n
org.apache.catalina.startup.Bootstrap start
/usr/lib/jvm/jre/bin/java
-classpath /usr/share/tomcat/bin/bootstrap.jar:/usr/share/tomcat/bin/tomcat-juli.jar:/usr/share/java/commons-daemon.jar
-Dcatalina.base=/usr/share/tomcat
-Dcatalina.home=/usr/share/tomcat
-Djava.endorsed.dirs=
-Djava.io.tmpdir=/var/cache/tomcat/temp
-Djava.util.logging.config.file=/usr/share/tomcat/conf/logging.properties
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-agentlib:jdwp=transport=dt_socket,address=10000,server=y,suspend=n eclipse とリモートデバッグできる。
org.apache.catalina.startup.Bootstrap start
/usr/lib/jvm/jre/bin/java
-Dtomcatprocess -server -XX:MaxTenuringThreshold=15 -XX:CMSInitiatingOccupancyFraction=80 -XX:+UseCMSInitiatingOccupancyOnly -Xmx1500m -Xms1500m -XX:NewSize=600m -XX:MaxNewSize=600m -XX:SurvivorRatio=8 -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=128m -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintClassHistogram -XX:+CMSClassUnloadingEnabled
-classpath /usr/share/tomcat/bin/bootstrap.jar:/usr/share/tomcat/bin/tomcat-juli.jar:/usr/share/java/commons-daemon.jar
-Dcatalina.base=/usr/share/tomcat -Dcatalina.home=/usr/share/tomcat
-Djava.endorsed.dirs= -Djava.io.tmpdir=/var/cache/tomcat/temp
-Djava.util.logging.config.file=/usr/share/tomcat/conf/logging.properties
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-agentlib:jdwp=transport=dt_socket,address=10000,server=y,suspend=n org.apache.catalina.startup.Bootstrap start
/usr/bin/java -Djava.util.logging.config.file=/opt/apache-tomcat-8.5.30/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djdk.tls.ephemeralDHKeySize=2048 -Djava.protocol.handler.pkgs=org.apache.catalina.webresources -Dorg.apache.catalina.security.SecurityListener.UMASK=0027 -Dignore.endorsed.dirs= -classpath /opt/apache-tomcat-8.5.30/bin/bootstrap.jar:/opt/apache-tomcat-8.5.30/bin/tomcat-juli.jar -Dcatalina.base=/opt/apache-tomcat-8.5.30 -Dcatalina.home=/opt/apache-tomcat-8.5.30 -Djava.io.tmpdir=/opt/apache-tomcat-8.5.30/temp -agentlib:jdwp=transport=dt_socket,address=10000,server=y,suspend=n org.apache.catalina.startup.Bootstrap start