In my frameworks (Tapestry and Sabertooth), I make sure that I use a
well-known public ID, and then I make sure that I get the DTD locally (i.e.,
from a package resource in my JAR) ... NOT going out to the Internet to
validate my document.  This is something to look into for both Jetty and
JBoss ... you should be able to run the environment even when disconnected
from the Internet.

> -----Original Message-----
> From: Scott M Stark [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 25, 2001 5:30 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] can't find web.xml DTD today
> 
> 
> 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
> 

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to