Last modified by Vincent Massol on 2020/01/28

<
From version < 26.3 >
edited by Vincent Massol
on 2017/09/06
To version < 27.1 >
edited by Vincent Massol
on 2018/09/06
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -2,6 +2,16 @@
2 2  {{toc/}}
3 3  {{/box}}
4 4  
5 += WildFly 14.x =
6 +
7 +The instructions are the same as for Wildly 10.x below.
8 +
9 +Note that the following issues were fixed in XWiki 10.8RC1/10.8 to make XWiki deploy fine on WildFly 14.x:
10 +
11 +{{jira url="https://jira.xwiki.org" source="jql" style="list"}}
12 +project = "XWiki Platform" and fixVersion in (10.8-rc-1, 10.8) and resolution = Fixed and labels in (wildfly)
13 +{{/jira}}
14 +
5 5  = WildFly 10.x =
6 6  
7 7  The instructions are the same as for JBoss AS 7.x below.
... ... @@ -16,6 +16,40 @@
16 16  
17 17  WildFly does automatic implicit CDI deployment when it finds some CDI beans in JARs. We need to prevent this since XWiki doesn't use CDI and there can be some third-party deps we use that have some CDI annotations. This is [[fixed>>https://jira.xwiki.org/browse/XWIKI-13678]] but if you encounter it, see [[Implicit module dependencies for deployments>>https://docs.jboss.org/author/display/WFLY10/Implicit+module+dependencies+for+deployments]] to prevent it.
18 18  
29 +Also, starting with XWiki 10.8RC1 we've removed the fix since [[WildFly 14 chokes on it>>https://jira.xwiki.org/browse/XWIKI-15566]]. Thus if you need to deploy some oldish version of WildFly on newer versions of XWiki you could add a META-INF/jboss-all.xml file containing:
30 +
31 +{{code language="xml"}}
32 +<?xml version="1.0" encoding="UTF-8"?>
33 +
34 +<!--
35 + *
36 + * See the NOTICE file distributed with this work for additional
37 + * information regarding copyright ownership.
38 + *
39 + * This is free software; you can redistribute it and/or modify it
40 + * under the terms of the GNU Lesser General Public License as
41 + * published by the Free Software Foundation; either version 2.1 of
42 + * the License, or (at your option) any later version.
43 + *
44 + * This software is distributed in the hope that it will be useful,
45 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
46 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
47 + * Lesser General Public License for more details.
48 + *
49 + * You should have received a copy of the GNU Lesser General Public
50 + * License along with this software; if not, write to the Free
51 + * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
52 + * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
53 + *
54 +-->
55 +
56 +<!-- Required to tell WildFly to not do CDI bean parsing and try to do implicit deployment of them since XWiki doesn't
57 + use CDI -->
58 +<jboss xmlns="urn:jboss:1.0">
59 + <weld xmlns="urn:jboss:weld:1.0" require-bean-descriptor="true"/>
60 +</jboss>
61 +{{/code}}
62 +
19 19  = JBoss AS 7.x =
20 20  
21 21  * Download and install the [[JBoss Application Server>>http://www.jboss.org/jbossas/]]

Get Connected