I wrote that bug :)  But I gave some incorrect information.  I said to 
set the schema as:

    <web-app xmlns="http://java.sun.com/xml/ns/j2ee";
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
    xsi:schemaLocation="..."
    version="2.4">

Note that "..."?   That is wrong and in the 1.9.1 release, Xwiki put in 
the correct schema locations.  But once that is done, then the web.xml 
does not validate.  There are a couple of problems in it that need to be 
fixed:

    * The <env-entry> has the tags in the sequence env-entry-name,
      env-entry-value, env-entry-type, but they need to be in the
      sequence env-entry-name, env-entry-type, env-entry-value
    * The <servlet> tags has their <init-param> tags listed in
      param-name, param-value, description order, but they need to be in
      description, param-name, param-value order
    * The <taglib> tags need a <jsp-config> tag wrapped around these as
      per the 2.4 spec


AjdinBrandic wrote:
> I got it to work using this fixed bug solution
> http://jira.xwiki.org/jira/browse/XWIKI-3985
>
> Ajdin
>
>
> Willi Schiegel wrote:
>   
>> Hello All!
>>
>> I want to deploy the xwiki-enterprise-web-1.9.1.war file into a
>> Glassfish v2.1 server under Solaris 10 Update 7. The deployment does not
>> work. Here is the error message:
>>
>> Deploying application in domain failed; Error loading deployment
>> descriptors for module [xwiki] Line 170 Column 20 -- Deployment
>> descriptor file WEB-INF/web.xml in archive [xwiki].
>> cvc-complex-type.2.4.d: Invalid content was found starting with element
>> 'description'. No child element is expected at this point.
>>
>> Does someone know how I can fix this?
>>
>> Thank you very much.
>>
>> Greetings,
>> Willi
>> _______________________________________________
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
>>
>>     
>
> --
> View this message in context: 
> http://n2.nabble.com/Problem-deploying-war-file-to-Glassfish-v2.1-tp3203311p3236545.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.
> _______________________________________________
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
>
>   

_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to