You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Leon Rosenberg <ro...@googlemail.com> on 2007/05/07 18:36:50 UTC

Re: (newbie) Why tomcat needs network on startup?

it may be a late answer but some applications (struts for example)
define an external dtd which is downloaded on startup from apache.org.

regards
Leon

On 4/25/07, Caldarale, Charles R <Ch...@unisys.com> wrote:
> > From: David Smith [mailto:dns4@cornell.edu]
> > Subject: Re: (newbie) Why tomcat needs network on startup?
> >
> > Don't think there's any reason why tomcat should be
> > prevented from binding to localhost if it's available.
>
> By default Tomcat doesn't bind to localhost, it uses 0.0.0.0 - all IP
> addresses.  If there is no TCP/IP stack on the system in question, it
> has nothing to attach to.
>
> > From:  ypomonh@freemail.gr
> > Subject: Re: (newbie) Why tomcat needs network on startup?
> >
> > .. but it seems like it is searching for DNS server on startup :-/
>
> I just ran a Wireshark trace for Tomcat startup and it made no network
> requests during that period.  However, I do have the enableLookups
> attribute for each <Connector> element in server.xml set to false; if
> you don't, that may change things.  If you find that some DNS lookups
> are being made by Tomcat, you could define those names in your hosts
> file to avoid making server requests.
>
>  - Chuck
>
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you
> received this in error, please contact the sender and delete the e-mail
> and its attachments from all computers.
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org