tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Claassen <ma...@donnell.com>
Subject web.xml and schema location
Date Wed, 18 Apr 2012 14:34:49 GMT
Back in Tomcat 5, we had the problem with tomcat trying to access java.sun.com.  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 java.sun.com this time.  Has
this been changed at some point?  Or did I just have some error in my snoop?

Thanks,
Mark


<web-app xmlns="http://java.sun.com/xml/ns/javaee"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
         version="3.0">




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


Mime
View raw message