• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
web.xml, glassfish deployment error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

web.xml, glassfish deployment error


  • Subject: web.xml, glassfish deployment error
  • From: Jerome Chan <email@hidden>
  • Date: Fri, 4 Apr 2008 04:17:16 +0800

After running through the autogenerated web.xml through xmllint, I found an error which corresponds to the glassfish deployment error. I removed the following line and xmllint validates it.

 <context-param>
 	<param-name>WEBINFROOT</param-name>
 	<param-value>%WEBINFROOT%</param-value>
 </context-param>

If I place this context-param before the <servlet> tags, it also validates.

Checking the DTD

<!ELEMENT web-app (icon?, display-name?, description?, distributable?,
context-param*, servlet*, servlet-mapping*, session-config?,
mime-mapping*, welcome-file-list?, error-page*, taglib*,
resource-ref*, security-constraint*, login-config?, security-role*,
env-entry*, ejb-ref*)>

From my limited knowledge of reading dtds, does it appear that all context-params must be placed before servlet tags?

If this is the case, how do I go about changing the template for the autogenerated web.xml file?


_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >re: The sky is falling! The world is ending! WebObjects is Dead! (From: Jean Pierre Malrieu <email@hidden>)
 >Re: The sky is falling! The world is ending! WebObjects is Dead! (From: "Pierce T. Wetter III" <email@hidden>)

  • Prev by Date: Re: Terracotta and EOF
  • Next by Date: Re: EOQualifier bad pattern for qualifier
  • Previous by thread: Re: The sky is falling! The world is ending! WebObjects is Dead!
  • Next by thread: Re: The sky is falling! The world is ending! WebObjects is Dead!
  • Index(es):
    • Date
    • Thread