On Wednesday, December 10, 2003, at 10:03 PM, Roger Ruttimann wrote:
On Monday 08 December 2003 16:32, David Sean Taylor wrote:Or someplace in the classpath will doThe 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.
-- David Sean Taylor Bluesunrise Software [EMAIL PROTECTED] [office CA] +01 707 773-4646 [mobile] +44 (0)79 8538 6471
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]