Wiki source code of Installation

Version 98.1 by Thomas Mortagne on 2017/03/15

Show last authors
1 {{box cssClass="floatinginfobox" title="**Contents**"}}
2 {{toc/}}
3 {{/box}}
4
5 XWiki is a Java-based wiki and runs on a Servlet Container such as Tomcat, Jetty, JBoss, WebLogic, WebSphere, etc. It also uses a relational database to store its content. It can run on almost any database (HSQL, MySQL, etc) but XWiki and the database need to be setup correctly.
6
7 There are several ways of installing XWiki:
8
9 * Use the [[Standalone distribution>>AdminGuide.InstallationStandalone]] which already packages a Servlet Container (Jetty) and a database (HSQL), filled with default wiki pages. This is the recommended option for first time XWiki users and for users who wish to quickly try out XWiki.
10 * Use the [[WAR distribution>>AdminGuide.InstallationWAR]] and configure both your container and your database to work with it.
11 * Use the [[.deb package>>AdminGuide.InstallationViaAPT]] to install the last version of XWiki and the dependencies.
12 * [[Use a non-official installation method>>#HOtherInstallationMethods]].
13
14 If you're upgrading an existing XWiki install check the [[Upgrade instructions page>>AdminGuide.Upgrade]].
15
16 Pick one of the trails in the outline on the right to get started.
17
18 Once you've finished the installation check the other topics in the [[Admin Guide>>AdminGuide.WebHome]] for configuring and [[securing>>Security]] your wiki.
19
20 {{info}}
21 If you want to make a manual installation or need to migrate an existing XWiki installation, check the [[Release Notes>>xwiki:ReleaseNotes.WebHome]].
22 {{/info}}
23
24 {{id name="Prerequisites"/}}
25
26 = Hardware and Software requirements =
27
28 * Java 8 or greater installed for XWiki >= 8.1 (Java 7 or greater for XWiki < 8.1, Java 6 or greater for XWiki versions < 6.0)
29 * A Servlet Container supporting Servlet 3.0.1 (Servlet 2.4 for XWiki versions < 7.0)
30 * A JDBC 4 Driver for your database (JDBC 3 was required for XWiki versions < 7.0)
31 * Enough memory, check the [[Memory section>>AdminGuide.Performances#HMemory]] of the [[Performance Guide>>AdminGuide.Performances]].
32 * Check the [[release notes>>xwiki:ReleaseNotes.WebHome]] for the version you're installing to see what browsers and databases are supported for it. You can also check our [[general support strategy>>dev:Community.SupportStrategy]].
33
34 = Installation Methods =
35
36 * [[Using a standalone distribution >>AdminGuide.InstallationStandalone]]: Provides a built-in XWiki, with a portable database and a lightweight Java container. This standalone distribution is not recommended in a production environment. If you need to use it in a production basis, you may look at the other options.
37 * [[Using .war package (usable for production)>>AdminGuide.InstallationWAR]]: Provides a Java application package that has to be installed in a Java container (such as Tomcat). This can be used on almost any operating system.
38 * [[Using .deb package (usable for production)>>AdminGuide.InstallationViaAPT]]: Provides a .deb package that can be used on a Debian-based operating system. It can be installed with ##dpkg## or ##apt##; installation is thus automated.
39 * [[Using an official XWiki Docker image>>https://hub.docker.com/_/xwiki/]]: Provides an easy solution to test XWiki, with a configuration very close to a production setup.
40
41 = Other Installation Methods =
42
43 This section is about other, non-official ways of installing XWiki that have been contributed by the community.
44
45 {{warning}}
46 Tutorials external to the xwiki.org site have not been validated for correctness by the XWiki Development Team and it's also possible that they are out of date or even not working.
47 {{/warning}}
48
49 * [[Ansible playbook for installing XWiki Enterprise>>https://github.com/rastandy/xwiki-ansible-playbook]]
50 * [[Using yaourt on Arch Linux>>https://github.com/xwiki-contrib/packaging-archlinux]]
51 * [[XWiki On OpenShift (Platform-as-a-Service)>>https://github.com/rkmallik/xwiki-example]]
52 * [[XWiki On Windows>>http://agoncalves.developpez.com/tutoriels/xwiki/creer-un-site-associatif/]] (French)
53 * [[XWiki On Debian 4 (Etch) - Tomcat - PostgreSQL (or MySQL)>>http://www.howtoforge.com/xwiki-tomcat-mysql-debian-etch]] (English)
54 * [[XWiki On Debian 4 (Etch) - Tomcat - PostgreSQL (or MySQL)>>http://www.howtoforge.de/howto/xwiki-on-debian-4-etch-tomcat-mysql]] (German)
55 * [[XWiki On Windows - GlassFish - Oracle>>http://etvc.myxwiki.org/xwiki/bin/view/UNA/XWikiInstalation]] (Russian)
56 * [[XWiki on OpenSUSE - Tomcat - MySQL)>>http://geistreicher-papierkorb.blogspot.com/2011/03/setting-up-xwiki-on-opensuse-with-mysql.html]] (English)
57 * [[XWiki On Archlinux - Tomcat - hsql or MySQL>>https://github.com/xwiki-contrib/packaging-archlinux]] (English)
58 * [[Install XWiki on an Ubuntu 16.04 VPS>>https://www.rosehosting.com/blog/install-xwiki-on-an-ubuntu-16-04-vps/]] (English)
59 * [[Install XWiki using Docker compose>>https://zwindler.fr/wordpress/2016/09/15/installer-xwiki-8-2-1-avec-docker-compose-en-2-lignes-de-commandes]] (French)
60 * [[Install XWiki on a CentOS 7 VPS>>https://thishosting.rocks/how-to-build-your-own-wiki-with-xwiki-on-centos/]] (English)
61
62 = Troubleshooting =
63
64 You can verify some basic settings of your XWiki installation (on Tomcat, MySQL) using the [[Admin Tools application>>extensions:Extension.Admin Tools Application]]. Keep in mind that some of these tools only work in a Linux environment.
65
66 == Running multiple instances of XWiki in the same container ==
67
68 If you get this error:
69
70 {{code}}
71 com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context
72 Wrapped Exception: Failed to get cache factory component
73 ...
74 Caused by:
75 org.infinispan.jmx.JmxDomainConflictException: Domain already registered org.xwiki.infinispan
76 {{/code}}
77
78 You need to edit ##WEB-INF/cache/infinispan/config.xml## for each instance of XWiki, and change the ##jmxDomain## value (found under the ##globalJmxStatistics## tag) to have a unique name.
79
80 == Running XWiki behind proxy-server ==
81
82 Extension manager relies on remote repositories for searching and fetching available extensions, so if your XWiki is installed in a network accessing the internet through proxy-server, most likely extensions search will return you nothing and log files will contain ##connection refused## exceptions.
83
84 In such cases you should configure XWiki to know your proxy-server.
85
86 XWiki uses default Java proxy configuration through Apache httpclient. See the [[Java Networking and Proxies documentation>>http://docs.oracle.com/javase/6/docs/technotes/guides/net/proxies.html]] for more details.
87 The main idea is to add a set of proxy-related properties to system scope.
88
89 E.g. for Tomcat 6 it could be done in the following way: modify ##/<tomcat-home>/bin/catalina.sh## and added proxies to the ##JAVA_OPTS## variable definition:
90
91 ##JAVA_OPTS="$JAVA_OPTS -Dappserver.home=$CATALINA_HOME -Dappserver.base=$CATALINA_HOME **-Dhttp.proxyHost=proxy.mycompany.com -Dhttp.proxyPort=7777 -Dhttps.proxyHost=proxy.mycompany.com -Dhttps.proxyPort=7777** -Xmx512m -XX:MaxPermSize=196m $XWIKI_OPTS"##
92
93 == Unsupported major.minor version 51.0 ==
94
95 This is because starting with version 6.0, XWiki requires Java 7 and you're using Java 6. You need to upgrade your Java version.
96
97 == Installing without internet connection ==
98
99 Three solutions:
100
101 * Set up a local Extension Repository, either as a Maven Repository or using the [[Extension Repository Application>>extensions:Extension.Repository Application]]. Of course you'll need to [[prefill it with all the extensions you'll wish to install when offline>>platform:AdminGuide.FillLocalMavenRepository]], which isn't something easy to do.
102 * [[Install the Standalone Distribution>>platform:AdminGuide.InstallationStandalone]] which contains a default set of wiki pages.
103 * Do not use the Distribution Wizard and [[import default wiki pages using the XAR Import feature>>AdminGuide.InstallationConcludingSteps]].
104
105 == Getting an error about SSL certificate ==
106
107 If you get an error in the log telling you that it fail to access some some https website it usually means you have a tool old version of Java 8 (older that update 101) and you should upgrade it (does not need to be upgrade to next major version of Java, just make sure you have at least Java 8 update 101).
108
109 {{code language="none"}}
110 2017-03-14 20:40:17,494 [http://dwswiki10:8080/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladmin&section=XWiki.AddExtensions] ERROR aultExtensionRepositoryManager - Failed to search on repository [store.xwiki.com:xwiki:https://store.xwiki.com/xwiki/rest] with query [org.xwiki.extension.repository.search.ExtensionQuery@78b5e254]. Ignore and go to next repository.
111 org.xwiki.extension.repository.search.SearchException: Failed to search extensions based on pattern []
112 at org.xwiki.extension.repository.xwiki.internal.XWikiExtensionRepository.search(XWikiExtensionRepository.java:434)
113 at org.xwiki.extension.repository.xwiki.internal.XWikiExtensionRepository.search(XWikiExtensionRepository.java:451)
114 at org.xwiki.extension.repository.internal.DefaultExtensionRepositoryManager.search(DefaultExtensionRepositoryManager.java:486)
115 at org.xwiki.extension.repository.internal.DefaultExtensionRepositoryManager.search(DefaultExtensionRepositoryManager.java:439)
116 at org.xwiki.extension.repository.AbstractFilteredExtensionRepository.search(AbstractFilteredExtensionRepository.java:117)
117 at org.xwiki.extension.repository.AbstractAdvancedSearchableExtensionRepository.search(AbstractAdvancedSearchableExtensionRepository.java:46)
118 at org.xwiki.extension.script.internal.safe.SafeSearchableExtensionRepository.search(SafeSearchableExtensionRepository.java:59)
119 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
120 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
121 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
122 at java.lang.reflect.Method.invoke(Method.java:483)
123 at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
124 at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
125 at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
126 at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
127 at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:567)
128 at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71)
129 at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142)
130 at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
131 at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
132 at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
133 at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
134 at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
135 at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
136 at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
137 at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
138 at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
139 at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
140 at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
141 at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
142 at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluateInternal(DefaultVelocityEngine.java:259)
143 at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222)
144 at com.xpn.xwiki.render.DefaultVelocityManager.evaluate(DefaultVelocityManager.java:361)
145 at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:131)
146 at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:52)
147 at org.xwiki.rendering.macro.script.AbstractScriptMacro.evaluateBlock(AbstractScriptMacro.java:286)
148 at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:182)
149 at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:58)
150 at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:272)
151 at org.xwiki.rendering.internal.transformation.DefaultRenderingContext.transformInContext(DefaultRenderingContext.java:183)
152 at org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:95)
153 at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:263)
154 at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:133)
155 at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:58)
156 at org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:96)
157 at org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:39)
158 at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:123)
159 at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:52)
160 at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:68)
161 at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:42)
162 at com.xpn.xwiki.doc.XWikiDocument.display(XWikiDocument.java:1164)
163 at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1205)
164 at com.xpn.xwiki.XWiki.getRenderedContent(XWiki.java:3945)
165 at com.xpn.xwiki.XWiki.include(XWiki.java:3882)
166 at com.xpn.xwiki.api.XWiki.includeForm(XWiki.java:1704)
167 at com.xpn.xwiki.api.XWiki.includeForm(XWiki.java:1664)
168 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
169 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
170 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
171 at java.lang.reflect.Method.invoke(Method.java:483)
172 at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
173 at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
174 at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
175 at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
176 at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369)
177 at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
178 at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
179 at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
180 at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
181 at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
182 at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
183 at org.apache.velocity.runtime.parser.node.ASTElseIfStatement.render(ASTElseIfStatement.java:92)
184 at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
185 at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
186 at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
187 at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
188 at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
189 at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
190 at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
191 at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
192 at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
193 at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
194 at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
195 at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluateInternal(DefaultVelocityEngine.java:259)
196 at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222)
197 at com.xpn.xwiki.render.DefaultVelocityManager.evaluate(DefaultVelocityManager.java:361)
198 at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:131)
199 at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:52)
200 at org.xwiki.rendering.macro.script.AbstractScriptMacro.evaluateBlock(AbstractScriptMacro.java:286)
201 at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:182)
202 at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:58)
203 at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:272)
204 at org.xwiki.rendering.internal.transformation.DefaultRenderingContext.transformInContext(DefaultRenderingContext.java:183)
205 at org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:95)
206 at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:263)
207 at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:133)
208 at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:58)
209 at org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:96)
210 at org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:39)
211 at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:239)
212 at org.xwiki.sheet.internal.SheetDocumentDisplayer.applySheet(SheetDocumentDisplayer.java:219)
213 at org.xwiki.sheet.internal.SheetDocumentDisplayer.maybeDisplayWithSheet(SheetDocumentDisplayer.java:174)
214 at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:111)
215 at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:52)
216 at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:68)
217 at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:42)
218 at com.xpn.xwiki.script.display.DisplayScriptService.document(DisplayScriptService.java:141)
219 at com.xpn.xwiki.script.display.DisplayScriptService.content(DisplayScriptService.java:204)
220 at com.xpn.xwiki.script.display.DisplayScriptService.content(DisplayScriptService.java:163)
221 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
222 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
223 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
224 at java.lang.reflect.Method.invoke(Method.java:483)
225 at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
226 at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
227 at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
228 at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
229 at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369)
230 at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
231 at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
232 at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
233 at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
234 at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
235 at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
236 at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluateInternal(DefaultVelocityEngine.java:259)
237 at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222)
238 at com.xpn.xwiki.render.DefaultVelocityManager.evaluate(DefaultVelocityManager.java:361)
239 at com.xpn.xwiki.internal.template.InternalTemplateManager.evaluateContent(InternalTemplateManager.java:796)
240 at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:673)
241 at com.xpn.xwiki.internal.template.InternalTemplateManager.lambda$renderFromSkin$0(InternalTemplateManager.java:646)
242 at com.xpn.xwiki.internal.template.InternalTemplateManager$$Lambda$89/1637124791.call(Unknown Source)
243 at com.xpn.xwiki.internal.security.authorization.DefaultAuthorExecutor.call(DefaultAuthorExecutor.java:85)
244 at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:645)
245 at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:622)
246 at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:608)
247 at com.xpn.xwiki.internal.template.DefaultTemplateManager.render(DefaultTemplateManager.java:77)
248 at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:2108)
249 at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:180)
250 at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:463)
251 at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:210)
252 at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
253 at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
254 at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
255 at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
256 at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
257 at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
258 at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808)
259 at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
260 at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:112)
261 at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
262 at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
263 at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
264 at org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
265 at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
266 at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
267 at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
268 at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
269 at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
270 at org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:134)
271 at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
272 at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
273 at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
274 at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
275 at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
276 at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
277 at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
278 at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
279 at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
280 at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
281 at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
282 at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)
283 at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
284 at org.eclipse.jetty.server.Server.handle(Server.java:499)
285 at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)
286 at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
287 at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
288 at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
289 at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
290 at java.lang.Thread.run(Thread.java:745)
291 Caused by: java.io.IOException: Failed to request [https://store.xwiki.com/xwiki/rest/repository/search?start=0&number=20&q=]
292 at org.xwiki.extension.repository.xwiki.internal.XWikiExtensionRepository.getRESTResource(XWikiExtensionRepository.java:246)
293 at org.xwiki.extension.repository.xwiki.internal.XWikiExtensionRepository.getRESTObject(XWikiExtensionRepository.java:304)
294 at org.xwiki.extension.repository.xwiki.internal.XWikiExtensionRepository.search(XWikiExtensionRepository.java:432)
295 ... 178 common frames omitted
296 Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
297 at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
298 at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1917)
299 at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:301)
300 at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:295)
301 at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1471)
302 at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:212)
303 at sun.security.ssl.Handshaker.processLoop(Handshaker.java:936)
304 at sun.security.ssl.Handshaker.process_record(Handshaker.java:871)
305 at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1043)
306 at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1343)
307 at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1371)
308 at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1355)
309 at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:396)
310 at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:355)
311 at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:142)
312 at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:359)
313 at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:381)
314 at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:237)
315 at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185)
316 at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
317 at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:111)
318 at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
319 at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
320 at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108)
321 at org.xwiki.extension.repository.xwiki.internal.XWikiExtensionRepository.getRESTResource(XWikiExtensionRepository.java:243)
322 ... 180 common frames omitted
323 Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
324 at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:387)
325 at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:230)
326 at sun.security.validator.Validator.validate(Validator.java:260)
327 at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324)
328 at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229)
329 at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124)
330 at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1453)
331 ... 200 common frames omitted
332 Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
333 at sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:145)
334 at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:131)
335 at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280)
336 at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:382)
337 ... 206 common frames omitted
338 {{/code}}

Get Connected