tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <>
Subject Re: web.xml and schema location
Date Wed, 18 Apr 2012 15:49:43 GMT
2012/4/18 Mark Claassen <>:
> Back in Tomcat 5, we had the problem with tomcat trying to access  Lots
of our servers are behind firewalls, so this
> caused an error in the log.  We realized one way to fix this was just to remove the
schemaLocation attribute from the web.xml files.
> Below is the top of the main web.xml in Tomcat 7.  I did a snoop, and it didn't seem
to try to access this time.  Has
> this been changed at some point?  Or did I just have some error in my snoop?

1. Do you have validation enabled?
E.g. with

2. Tomcat has all the necessary schemas bundled (servlet-api.jar). I
do not know why it was contacting external resource in your case.

> <web-app xmlns=""
>         xmlns:xsi=""
>         xsi:schemaLocation=""
>         version="3.0">

Best regards,
Konstantin Kolinko

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message