users@glassfish.java.net

Re: FW: Error during deployment of war file

From: Sahoo <sahoo_at_sun.com>
Date: Fri, 11 Apr 2008 18:43:48 +0530

It's a war issue. Open the web.xml in an XML editor and make it a valid
XML document as per the dtd/schema.

Sahoo

Lund, Holly wrote:
> I get the following error when deploying a war file (from server.log)
>
> I believe this to be a war file issue not glassfish, but wanted to be
> sure
>
> We have never deployed this particular application (Yazd - an
> open-source discussion forum software)
>
>
> [#|2008-04-09T13:10:05.171-0400|SEVERE|sun-appserver9.1|javax.enterprise
> .system.tools.deployment|_ThreadID=18;_ThreadNa
> me=Thread-26;Deployment descriptor file WEB-INF/web.xml in archive
> [yazd].;115;11;The content of element type "web-app"
> must match
> "(icon?,display-name?,description?,distributable?,context-param*,servlet
> *,servlet-mapping*,session-config?,
> mime-mapping*,welcome-file-list?,error-page*,taglib*,resource-ref*,secur
> ity-constraint*,login-config?,security-role*,en
> v-entry*,ejb-ref*)".;_RequestID=0806670c-24be-46af-8542-edfe9bd09113;|"D
> PL8015: Invalid Deployment Descriptors in Deplo yment descriptor file
> WEB-INF/web.xml in archive [yazd].
> Line 115 Column 11 -- The content of element type "web-app" must match
> "(icon?,display-name?,description?,distributable
> ?,context-param*,servlet*,servlet-mapping*,session-config?,mime-mapping*
> ,welcome-file-list?,error-page*,taglib*,resourc
> e-ref*,security-constraint*,login-config?,security-role*,env-entry*,ejb-
> ref*)"."|#]
>
>
>
> Holly Lund
> 301-903-1174
> 202-586-4431
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>