users@glassfish.java.net

Re: glassfish resolving webapp dtd via internet, hangs with proxy?

From: Jan Luehe <Jan.Luehe_at_Sun.COM>
Date: Fri, 11 May 2007 09:46:00 -0700

glassfish_at_javadesktop.org wrote On 05/11/07 08:27,:

>I'm not sure. Just checked to see whether my app would run in Glassfish (we have been
>developing against Tomcat so far).
>
>The web.xml header reads:
>
><?xml version="1.0" encoding="ISO-8859-1"?>
>
><!DOCTYPE web-app
> PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
> "http://java.sun.com/j2ee/dtds/web-app_2.3.dtd">
>
><web-app>
>...
>
>which looks ok to me.
>
>

The system identifier in the above DOCTYPE declaration should read:

  http://java.sun.com/dtd/web-app_2_3.dtd

instead of

 http://java.sun.com/j2ee/dtds/web-app_2.3.dtd


Jan

>One observation, looking at the stack trace I see the failed connect comes out of
>org.apache.myfaces.shared_impl.webapp.webxml.WebXmlParser.parse(WebXmlParser.java:101)
>
>Not sure whether this is the faces that we bundle in the webapp or whether it is from
>Glassfish. Could that be part of the problem?
>
>--
>Regards,
>Georg.
>[Message sent by forum member 'gwk' (gwk)]
>
>http://forums.java.net/jive/thread.jspa?messageID=216511
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
>