I would like to know how to run a shell script on Tomcat startup, that is when catalina.log prints \"INFO: Server startup in xxx ms\"
Thanks in advance, bye
find tomcat startup script (in /etc/init.d/ maybe tomcat7) and write call-to-your-script in appropriate place at start block.
/etc/init.d/
tomcat7
start