users@glassfish.java.net

Re: Embedded glassfish in offline mode

From: Siraj Ghaffar <Siraj.Ghaffar_at_Sun.COM>
Date: Thu, 04 Feb 2010 11:03:49 -0500

Thanks - I have filed this issue :
https://glassfish.dev.java.net/issues/show_bug.cgi?id=11516 to track this.

glassfish_at_javadesktop.org wrote:
> I found the problem: (using glassfish-embedded-all-3.0.1-b01.jar)
> The embedded jar contains a number of tld files in the META-INF directory. Some of these tld contained tags like
> <!DOCTYPE taglib
> PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
> "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
>
> For reasons I do not fully understand, all these tld's are parsed when a WAR containing a single ref to a tld is deployed.
> The xerces parser trying to parse these tlds causes a failure since it can't reach java.sun.com in offline mode.
> I removed all the DOCTYPE tags and now everything is working in offline mode.
>
> - Johan
> [Message sent by forum member 'johanvos' (johan_at_lodgon.com)]
>
> http://forums.java.net/jive/thread.jspa?messageID=384752
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>