On Monday 08 December 2003 16:32, David Sean Taylor wrote: > The Portlet Application Manager Deploy is suddenly failing on me. > I don't remember changing anything from last week. > Looking into the error message, it says it can't find the DTD. > I tried changing the DTD to another known DTD, but thats not found > either (although it is on the web) > For now I am removing the Doctype declaration in the demo app until I > can figure out why the PAM is failing to parse the DTD
The web.xml includes the doc type: <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2.2.dtd"> When the demo app gets deployed the web.xml is loaded into a DOM in order to add missing entries. Because of the doc type definition the XML DOM attempts to load the dtd. If the Sun server is down or the computer is offline the deployment will fail with the dtd error. A solution would be to store the dtd on the local file system and use the EntityResolver class for loading the local file. Once we have decided where the dtd should be stored (webapps/jetspeed/WEB_INF?) I could send a patch to fix the problem in PAM. Roger --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]