I noticed that too. Sun's Web Site is really slow these few days. Any news on
being hacked?  And how it happened?

Tomcat will automatically look for a cached copy of your dtd's on your local
machine if it cannot find one online.  That's why it's slower.  One way to solve
this is use a local copy all the time . There were a few discussion on this
before. 

Cheers:).
-Yan

-----Original Message-----
From: Dirk Winter [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 05, 2004 2:38 AM
To: Tomcat Users List
Subject: using a local dtd for web.xml's ?


Hi,

we use Tomcat 5.0.16  under linux and all of our web.xml's are starting 
with a
standard "public" dtd tag, i.e.

<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 
2.2//EN"
"http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";>

or

<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 
2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd";>

Everything worked fine until duesday: java.sun.com was unreachable and the
server startup time was dramatically increased.

We know that a local copy of the dtd schema is included in the 
servlet-api.jar,
but how can we force tomcat reading the local copy of the dtd without 
changing
our web.xml's ?

Best regards,

Dirk Winter

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to