Posts in 2017
-
TomEE datasource password encryption
Thursday, November 09, 2017 in Tomcat
Categories:
less than a minute
Execute the following command to get the cipher: cd <<tomcat_home>>/bin tomee.sh cipher <<orginal password>> e.g. tomee.sh cipher Passw0rd This will give the cipher something like below xMH5uM1V9vQzVUv5LG7YLA== Use this cipher …
-
Tomcat log backup
Wednesday, January 25, 2017 in Tomcat
Categories:
2 minute read
Following script can be used to archive the log files in tomcat log directory. This script… Archives all the files in logs directory to bkup directory Deletes all the files older than ’n’ days in bkup directory #!/bin/bash …