tomcat7 startup script have to wait more than 10 seconds for real production servers. The problem is that the new tomcat7 init script has a hard coded 10 seconds for waiting the server to startup which can fail in real production servers because applications usually take more than this to start. This problem affects the versions since tomcat 7.0.26_1. Credits to: Bruno Ribeiro da Silva <contato@brunoribeiro.org> Odyr Sohn <odyrsohn@gmail.com> Fix: Create a new variable in the init script to wait for a custom time and/or set it's default to 120 seconds. Patch attached with submission follows: How-To-Repeat: Deploy some real application to tomcat7 and try to start by using the init script.
Responsible Changed From-To: freebsd-www->ale Over to maintainer.
ale 2012-06-13 11:22:56 UTC FreeBSD ports repository Modified files: www/tomcat7 Makefile www/tomcat7/files tomcat7.in Log: Add support for custom wait time and increase the default to 30 seconds. PR: ports/168442 Submitted by: Bruno Ribeiro da Silva <contato@brunoribeiro.org> Revision Changes Path 1.81 +1 -0 ports/www/tomcat7/Makefile 1.7 +7 -2 ports/www/tomcat7/files/tomcat7.in _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed, thanks!