I wanted to express my thanks for the heads-up on bindOnInit as well.  I had
overlooked that in the connector config doc.

Just curious...is there any down side to setting bindOnInit="false"?

To be honest, tomcat's default behavior of accepting a connection before
being able to serve it (i.e. while webapps are still initializing) has
always been something I found questionable, since the connected client just
sits and waits.  So I'm glad you turned me onto this workaround, but I just
want to be aware of any penalties if there are any...?

Thanks,
Dan

On Sun, May 15, 2011 at 11:56 AM, Afkham Azeez <afk...@gmail.com> wrote:

> Thanks Sylvain. That worked.
>
> On Sun, May 15, 2011 at 8:21 PM, Sylvain Laurent <sylvain.laur...@m4x.org
> >wrote:
>
> > have a look at the bindOnInit parameter on the connector
> > http://tomcat.apache.org/tomcat-7.0-doc/config/http.html
> >
> > On 15 mai 2011, at 12:31, Afkham Azeez wrote:
> >
> > > Hi folks,
> > > We are using Embedded Tomcat 7.0.14. We create connectors in the normal
> > way,
> > > add the webapps to Tomcat, and then call start on Tomcat. However, we
> > > noticed that the connectors get started before the completion of the
> > webapp
> > > deployment. Is there a way to delay the starting of the connectors
> > (opening
> > > of the sockets) until after the webapps have been deployed?
> > >
> > > Thanks
> > > Azeez
> > >
> > > --
> > > *Afkham Azeez*
> > > *Member; Apache Software Foundation;
> > > **http://www.apache.org/*<http://www.apache.org/>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> > For additional commands, e-mail: users-h...@tomcat.apache.org
> >
> >
>
>
> --
> *Afkham Azeez*
> Director of Architecture; WSO2, Inc.; http://wso2.com,
> *Member; Apache Software Foundation;
> **http://www.apache.org/*<http://www.apache.org/>
> *
> *
> *email: **az...@wso2.com* <az...@wso2.com>* cell: +94 77 3320919
> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
> twitter: **http://twitter.com/afkham_azeez*<
> http://twitter.com/afkham_azeez>
> *
> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
> *
> *
> *Lean . Enterprise . Middleware*
> *
> *
>

Reply via email to