That is not the correct public id as per the 2.2 servlet spec. Maybe
that was an older revision naming convention and the url has
been removed so it no longer is found. Using the correct public
id will result in local resolution of the dtd.
13.1.1 Deployment Descriptor DOCTYPE
All valid web application deployment descriptors must contain the following DOCTYPE
declaration:
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application
2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
----- Original Message -----
From: "David Ward" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 25, 2001 1:42 PM
Subject: [JBoss-user] can't find web.xml DTD today
> I'm having a problem where all my j2ee apps that have worked right up
> till last Friday all of a sudden don't deploy today (with NO changes to
> them)!
>
> I get this error:
> [Auto deploy] org.jboss.ejb.DeploymentException: Error during deploy,
> Cause:java.io.FileNotFoundException:
> http://java.sun.com/j2ee/dtds/web-app_2.2.dtd
>
> If I comment out the DOCTYPE line in web.xml and redeploy, things start
> working. I haven't changed a lick of jboss or tomcat configuration, and
> haven't changed any of my code or xmls either. Why all of a sudden?
>
> Yes, I'm connected to the internet successfully, because I can surf to
> that dtd in my browser no problem.
>
> Any ideas?
>
> Thanks,
> David
>
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user