users@glassfish.java.net

Error using GF embedded with Jersey without a network connection results in error

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Mon, 05 Jan 2009 14:22:03 +0100

Hi,

Embedded GF is failing when utilized with Jersey without a network
connection. See the following issues for more details:

For the taglib.tld as supplied by Jersey contains:

<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag
Library 1.1//EN" "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd
">

This results in a host not found error which in turn results in GF
embedded failing to start. Is this a bug in GF embedded or in the tag
lib functionality?

As a workaround can i safely remove the DOCTYPE declaration?

Paul.