This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # | |
| # Since I have to look this up every time... | |
| # | |
| # Add the following in /etc/default/tomcat7 | |
| # | |
| JAVA_OPTS="${JAVA_OPTS} -Dcom.sun.management.jmxremote" | |
| JAVA_OPTS="${JAVA_OPTS} -Dcom.sun.management.jmxremote.port=9991" | |
| JAVA_OPTS="${JAVA_OPTS} -Dcom.sun.management.jmxremote.authenticate=false" | |
| JAVA_OPTS="${JAVA_OPTS} -Dcom.sun.management.jmxremote.ssl=false" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public static String stripTags(String input) { | |
| return input.replaceAll("\\<.*?>",""); | |
| } |