Posts in 2017

  • TomEE datasource password encryption

    Thursday, November 09, 2017 in Tomcat

    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 …

    Read more

  • Tomcat log backup

    Wednesday, January 25, 2017 in Tomcat

    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 …

    Read more