-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Aleksander,
On 10/18/14 6:48 PM, Aleksandar Lazic wrote: > Hi all. > > We have the need that the tomcat 7 connectors (ajp & http) only > start listening on the configured port after the application is > started. > > I have take a look at > > https://tomcat.apache.org/tomcat-7.0-doc/connectors.html > https://tomcat.apache.org/tomcat-7.0-doc/config/ajp.html > > but I haven't seen a "delay until app start done" flag. > > I have also searched in the archive > > http://marc.info/?l=tomcat-user&w=2&r=1&s=delay&q=b > > I'm sure that I don't understand the tomcat internals enough to see > the easy solution. > > Thanks for pointing me to the right direction. Maybe It must be > done in the app startup phase or somewhere else. I think you may be looking for the "bindOnInit" option: http://tomcat.apache.org/tomcat-7.0-doc/config/http.html - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: GPGTools - http://gpgtools.org iQIcBAEBCAAGBQJUQ9MTAAoJEBzwKT+lPKRYjK0QALD0+WBDUr3Qh9/PnWnPs9cv rWu5UbNCabv7ktkf5YkjG7rQ9NY02Or3hX3Oty3v93fREx14p9VGAwF4OvSxKg1h 1KIBlLpnQycYcT+k6wnJNojVuZiJdW9skWmCyx7be7NDSpF+/aicSJJW7Tg+BOQI VfxDFdkb+H8edeI99R0KrFareze9B0a2Jf2jmw8OMBSibvdzbapUFiiBlUvniQYW kYWIPjBfp/I3os6lkZgVWuoTb3ou1EPp+JuhoWRSH5w2iQjrCcXNdqJRobbeUTte qBcqnlabhJgi6uDVIJ2hsqSVj0ksAvzVFC4Ic96xUnP2mOogsNN2cA51JK5SW2bF 712phL2VRB5VHXYjD0tuKAt2tQXacBoHw101P+g7rCiw31CH5sil0LDUdVk6+r3z hSvEfivh76kxKJWQHAKcgirHMJJdQ0N13/I0Qg+Hd1czmZf85uEiaGYNatzG8sxh /f/mj2ZdSAlDrJtTmxX1d9YrL7wqlbBnf7kiIsqtND8bCWUgJWBvu4rWi1TeOFjr YtOx7nrWa1cD2XS+nCN3txN9ZN7HfJUCAat9y+9UB1eZj6QEXjXtiUn8fJPQBtAh hNqEFJpVZ1elRZp2wRvV17OkOraWwg6AgtBSCybodClIosjIamHOXSCuP0H/ltwH 7RyccgabMtxMW9XnE8qK =wIrg -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org