Last active
April 5, 2017 15:00
-
-
Save mchernyavskaya/18dbbf4857d95450a004340601b9fbd6 to your computer and use it in GitHub Desktop.
This file contains 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
# log in as appuser to img01/02 | |
sudo service tomcat6 stop | |
# check | |
ps aux | grep tomcat | |
# log in as root to img01/02 | |
wget http://ftp-stud.fht-esslingen.de/pub/Mirrors/eclipse/eclipse/downloads/drops4/R-4.6.2-201611241400/ecj-4.6.2.jar -O /opt/publishthis/ecj-4.6.2.jar | |
sudo cp /opt/publishthis/ecj-4.6.2.jar /usr/share/java | |
cd /usr/share/tomcat6/lib/ | |
sudo rm jasper-jdt.jar | |
sudo ln -s /usr/share/java/ecj-4.6.2.jar jasper-jdt.jar | |
# log in again as appuser to img01/02 | |
rm -rf /opt/publishthis/api/distrib/ROOT | |
rm -rf /usr/share/tomcat6/work/* | |
rm -rf /usr/share/tomcat6/cache/* | |
rm -rf /usr/share/tomcat6/temp/* | |
sudo service tomcat6 start | |
# check the tomcat log | |
less /usr/share/tomcat6/logs/catalina.out |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment