I added the following line into /etc/inittab on AIX 6.1:
Code:
tomcat:2:respawn:/opt/apache-tomcat-7.0.57/bin/catalina.sh start
but the next time the VM rebooted I got an error saying it had respawned too many times. It looks like it had kept respawning and eventually used up all the memory on the box as when I tried to edit inittab in vi it eventually failed on a fork process because of insufficient memory!
What's wrong with the line above? What's a safe way to start Tomcat with the box?