--- En date de : Mar 30.8.16, Thomas Mortagne <thomas.mortagne(a)xwiki.com> a écrit :
De: Thomas Mortagne <thomas.mortagne(a)xwiki.com>
Objet: Re: [xwiki-users] Could not use Java8 with xwiki on 7.0.1 (and 8.2.1)
À: "Pascal BASTIEN" <pbasnews-xwiki(a)yahoo.fr>fr>, "XWiki Users"
<users(a)xwiki.org>
Date: Mardi 30 août 2016, 10h54
On Tue, Aug 30, 2016 at
10:39 AM, Pascal BASTIEN
<pbasnews-xwiki(a)yahoo.fr>
wrote:
Hi,
I use xwiki 7.0.1 / tomcat-7.0.47 and I
didn't manage to upgrade xwiki to
xwiki 8.2.1.
Then I tried to use java8/tomcat-8.5.4 to
launch my current xwiki7.0.1 but I failed with these error
message.
To
resume, with apache-tomcat-8.5.4 if I use java7, I can use
Xwiki 7.0.1 but if I simply modify bin/catalina.sh with
JAVA_HOME=/opt/jre1.8.0_102 xwiki crash with theses error
:-(
Any idea what
is the problem?
I don't
think it has anything to do with Java 8. I'm using Java8
since
a very long time and it always worked
well. I would bet for a mistake
in the
configuration or something to do with this version of
Tomcat
but hard to say without the root
error.
Yes I agree but I passed 2 days to identify that: I change java from 7 to 8 to crash
xwiki.
My tomcat launch only on xwiki (without
other xwiki or application) and I launch
tomcat with root
account.
I launch tomcat with:
JAVA_HOME=/opt/jre1.8.0_102
CATALINA_HOME=/home/opt/apache-tomcat-8.5.4
JAVA_OPTS="-server -Xms1724m -Xmx1724m -Dfile.encoding=utf-8 -Djava.awt.headless=true
-XX:+UseParallelGC -XX:MaxGCPauseMillis=100 -Dhttp.proxyHost=MyProxy
-Dhttp.proxyPort=MyPort"
JAVA_OPTS="$JAVA_OPTS -Dappserver.home=$CATALINA_HOME
-Dappserver.base=$CATALINA_HOME"
and xwiki is on the root on my tomcat server
<Context docBase="/opt/apache-tomcat-8.5.4/webapps/xwiki"
path="/" reloadable="true" antiResourceLocking="false"
antiJARLocking="false">
I confirm I'm far to be an expert on Tomcat
2016-08-29 15:50:52,750 [Core extension repository updater]
ERROR o.i.j.JmxUtil - ISPN000034:
There's already an cache manager instance registered
under 'org.xwiki.infinispan' JMX domain. If you want
to allow multiple instances configured with same JMX domain
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
<cut>
Those
errors are a consequence of a failed initialization of
XWiki,
not a cause. You should indicate the
first errors you get when Tomcat
starts.
Be carefull at your eyes, here my catalina.out with java8 :-/
30-Aug-2016 11:03:12.953 WARNING [main]
org.apache.catalina.startup.SetAllPropertiesRule.begin
[SetAllPropertiesRule]{Server/Service/Connector} Setting property
'maxSpareThreads' to '75' did not find a matching property.
30-Aug-2016 11:03:12.958 WARNING [main]
org.apache.catalina.startup.SetAllPropertiesRule.begin
[SetAllPropertiesRule]{Server/Service/Connector} Setting property
'maxHttpHeaderSize' to '8192' did not find a matching property.
30-Aug-2016 11:03:12.958 WARNING [main]
org.apache.catalina.startup.SetAllPropertiesRule.begin
[SetAllPropertiesRule]{Server/Service/Connector} Setting property
'maxSpareThreads' to '75' did not find a matching property.
30-Aug-2016 11:03:12.959 WARNING [main]
org.apache.catalina.startup.SetAllPropertiesRule.begin
[SetAllPropertiesRule]{Server/Service/Connector} Setting property
'disableUploadTimeout' to 'true' did not find a matching property.
30-Aug-2016 11:03:12.984 WARNING [main]
org.apache.tomcat.util.digester.Digester.endElement No rules found matching
'Server/Service/Engine/Host/Logger'.
30-Aug-2016 11:03:13.009 WARNING [main] org.apache.catalina.core.StandardContext.setPath A
context path must either be an empty string or start with a '/' and do not end
with a '/'. The path [/] does not meet these criteria and has been changed to []
30-Aug-2016 11:03:13.010 WARNING [main]
org.apache.tomcat.util.digester.SetPropertiesRule.begin
[SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property
'antiJARLocking' to 'false' did not find a matching property.
30-Aug-2016 11:03:13.021 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log
Server version: Apache Tomcat/8.5.4
30-Aug-2016 11:03:13.021 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log
Server built: Jul 6 2016 08:43:30 UTC
30-Aug-2016 11:03:13.021 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log
Server number: 8.5.4.0
30-Aug-2016 11:03:13.021 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log
OS Name: Linux
30-Aug-2016 11:03:13.021 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log
OS Version: 3.16.0-4-amd64
30-Aug-2016 11:03:13.022 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log
Architecture: amd64
30-Aug-2016 11:03:13.022 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log
Java Home: /home/opt/jre1.8.0_102
30-Aug-2016 11:03:13.022 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log
JVM Version: 1.8.0_102-b14
30-Aug-2016 11:03:13.022 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log
JVM Vendor: Oracle Corporation
30-Aug-2016 11:03:13.022 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log
CATALINA_BASE: /home/opt/apache-tomcat-8.5.4
30-Aug-2016 11:03:13.022 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log
CATALINA_HOME: /home/opt/apache-tomcat-8.5.4
30-Aug-2016 11:03:13.022 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log
Command line argument:
-Djava.util.logging.config.file=/home/opt/apache-tomcat-8.5.4/conf/logging.properties
30-Aug-2016 11:03:13.023 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log
Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
30-Aug-2016 11:03:13.023 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log
Command line argument: -Xms1724m
30-Aug-2016 11:03:13.023 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log
Command line argument: -Xmx1724m
30-Aug-2016 11:03:13.023 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log
Command line argument: -Dfile.encoding=utf-8
30-Aug-2016 11:03:13.023 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log
Command line argument: -Djava.awt.headless=true
30-Aug-2016 11:03:13.023 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log
Command line argument: -XX:+UseParallelGC
30-Aug-2016 11:03:13.023 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log
Command line argument: -XX:MaxGCPauseMillis=100
30-Aug-2016 11:03:13.023 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log
Command line argument: -Dhttp.proxyHost=proxy.dom.cpii.i2
30-Aug-2016 11:03:13.023 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log
Command line argument: -Dhttp.proxyPort=8080
30-Aug-2016 11:03:13.031 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log
Command line argument: -Dappserver.home=/home/opt/apache-tomcat-8.5.4
30-Aug-2016 11:03:13.031 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log
Command line argument: -Dappserver.base=/home/opt/apache-tomcat-8.5.4
30-Aug-2016 11:03:13.032 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log
Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
30-Aug-2016 11:03:13.032 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log
Command line argument: -Dcatalina.base=/home/opt/apache-tomcat-8.5.4
30-Aug-2016 11:03:13.032 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log
Command line argument: -Dcatalina.home=/home/opt/apache-tomcat-8.5.4
30-Aug-2016 11:03:13.032 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log
Command line argument: -Djava.io.tmpdir=/home/opt/apache-tomcat-8.5.4/temp
30-Aug-2016 11:03:13.147 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing
ProtocolHandler ["http-nio-8080"]
30-Aug-2016 11:03:13.164 INFO [main]
org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for
servlet write/read
30-Aug-2016 11:03:13.166 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing
ProtocolHandler ["ajp-nio-8009"]
30-Aug-2016 11:03:13.167 INFO [main]
org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for
servlet write/read
30-Aug-2016 11:03:13.168 INFO [main] org.apache.catalina.startup.Catalina.load
Initialization processed in 485 ms
30-Aug-2016 11:03:13.186 INFO [main]
org.apache.catalina.core.StandardService.startInternal Démarrage du service Catalina
30-Aug-2016 11:03:13.186 INFO [main] org.apache.catalina.core.StandardEngine.startInternal
Starting Servlet Engine: Apache Tomcat/8.5.4
30-Aug-2016 11:03:13.194 INFO [localhost-startStop-1]
org.apache.catalina.startup.HostConfig.deployDirectory Déploiement du répertoire
/home/opt/apache-tomcat-8.5.4/webapps/xwiki de l'application web
30-Aug-2016 11:03:26.012 INFO [localhost-startStop-1]
org.apache.tomcat.dbcp.dbcp2.BasicDataSourceFactory.getObjectInstance Name = xwiki
Ignoring unknown property: value of "DB Connection" for "description"
property
30-Aug-2016 11:03:26.317 INFO [localhost-startStop-1]
org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet
contained no TLDs. Enable debug logging for this logger for a complete list of JARs that
were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can
improve startup time and JSP compilation time.
2016-08-30 11:03:33,747 [localhost-startStop-1] WARN ltInstalledExtensionRepository -
Invalid extension [org.xwiki.platform:xwiki-platform-search-lucene-ui-6.4] on namespace
[wiki:xwiki] (InvalidExtensionException: No compatible extension is installed for
dependency [org.xwiki.platform:xwiki-platform-search-lucene-api-6.4])
2016-08-30 11:03:33,779 [localhost-startStop-1] INFO o.x.s.s.i.EmbeddedSolrInstance -
Starting embedded Solr server...
2016-08-30 11:03:33,779 [localhost-startStop-1] INFO o.x.s.s.i.EmbeddedSolrInstance -
Using Solr home directory: [/apps/j2ee/DATA/xwiki/solr]
2016-08-30 11:03:36,322 [coreLoadExecutor-5-thread-1] WARN o.a.s.c.RequestHandlers
- Multiple requestHandler registered to the same name: /update ignoring:
org.apache.solr.handler.UpdateRequestHandler
2016-08-30 11:03:38,117 [localhost-startStop-1] INFO o.x.s.s.i.EmbeddedSolrInstance -
Started embedded Solr server.
30-Aug-2016 11:03:38.196 INFO [localhost-startStop-1]
org.artofsolving.jodconverter.office.ProcessPoolOfficeManager.<init> ProcessManager
implementation is LinuxProcessManager
2016-08-30 11:03:38,241 [localhost-startStop-1] ERROR .OfficeServerLifecycleListener -
Error while connecting / starting the office server.
org.xwiki.officeimporter.server.OfficeServerException: Error while connecting / starting
the office server.
at
org.xwiki.officeimporter.internal.server.DefaultOfficeServer.start(DefaultOfficeServer.java:187)
~[xwiki-platform-legacy-office-importer-7.0.1.jar:na]
at
org.xwiki.officeimporter.internal.server.OfficeServerLifecycleListener.startOfficeServer(OfficeServerLifecycleListener.java:98)
[xwiki-platform-legacy-office-importer-7.0.1.jar:na]
at
org.xwiki.officeimporter.internal.server.OfficeServerLifecycleListener.onEvent(OfficeServerLifecycleListener.java:85)
[xwiki-platform-legacy-office-importer-7.0.1.jar:na]
at
org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:304)
[xwiki-commons-observation-local-7.0.1.jar:na]
at
org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:269)
[xwiki-commons-observation-local-7.0.1.jar:na]
at
org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:321)
[xwiki-commons-observation-local-7.0.1.jar:na]
at
org.xwiki.container.servlet.XWikiServletContextListener.contextInitialized(XWikiServletContextListener.java:118)
[xwiki-platform-container-servlet-7.0.1.jar:na]
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4716)
[catalina.jar:8.5.4]
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5178)
[catalina.jar:8.5.4]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:152)
[catalina.jar:8.5.4]
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:724)
[catalina.jar:8.5.4]
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:700)
[catalina.jar:8.5.4]
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
[catalina.jar:8.5.4]
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1107)
[catalina.jar:8.5.4]
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1841)
[catalina.jar:8.5.4]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[na:1.8.0_102]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_102]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[na:1.8.0_102]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[na:1.8.0_102]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_102]
Caused by: org.artofsolving.jodconverter.office.OfficeException: failed to start and
connect
at
org.artofsolving.jodconverter.office.ManagedOfficeProcess.startAndWait(ManagedOfficeProcess.java:64)
~[jodconverter-core-3.0-beta-4-xwiki-20110822.jar:na]
at
org.artofsolving.jodconverter.office.PooledOfficeManager.start(PooledOfficeManager.java:101)
~[jodconverter-core-3.0-beta-4-xwiki-20110822.jar:na]
at
org.artofsolving.jodconverter.office.ProcessPoolOfficeManager.start(ProcessPoolOfficeManager.java:62)
~[jodconverter-core-3.0-beta-4-xwiki-20110822.jar:na]
at
org.xwiki.officeimporter.internal.server.DefaultOfficeServer.start(DefaultOfficeServer.java:182)
~[xwiki-platform-legacy-office-importer-7.0.1.jar:na]
... 19 common frames omitted
Caused by: java.util.concurrent.ExecutionException:
org.artofsolving.jodconverter.office.OfficeException: could not establish connection
at java.util.concurrent.FutureTask.report(FutureTask.java:122) [na:1.8.0_102]
at java.util.concurrent.FutureTask.get(FutureTask.java:192) [na:1.8.0_102]
at
org.artofsolving.jodconverter.office.ManagedOfficeProcess.startAndWait(ManagedOfficeProcess.java:62)
~[jodconverter-core-3.0-beta-4-xwiki-20110822.jar:na]
... 22 common frames omitted
Caused by: org.artofsolving.jodconverter.office.OfficeException: could not establish
connection
at
org.artofsolving.jodconverter.office.ManagedOfficeProcess.doStartProcessAndConnect(ManagedOfficeProcess.java:142)
~[jodconverter-core-3.0-beta-4-xwiki-20110822.jar:na]
at
org.artofsolving.jodconverter.office.ManagedOfficeProcess.access$000(ManagedOfficeProcess.java:31)
~[jodconverter-core-3.0-beta-4-xwiki-20110822.jar:na]
at
org.artofsolving.jodconverter.office.ManagedOfficeProcess$1.run(ManagedOfficeProcess.java:58)
~[jodconverter-core-3.0-beta-4-xwiki-20110822.jar:na]
... 5 common frames omitted
Caused by: java.lang.IllegalStateException: a process with acceptString
'socket,host=127.0.0.1,port=8100' is already running; pid 15948
at org.artofsolving.jodconverter.office.OfficeProcess.start(OfficeProcess.java:67)
~[jodconverter-core-3.0-beta-4-xwiki-20110822.jar:na]
at org.artofsolving.jodconverter.office.OfficeProcess.start(OfficeProcess.java:60)
~[jodconverter-core-3.0-beta-4-xwiki-20110822.jar:na]
at
org.artofsolving.jodconverter.office.ManagedOfficeProcess.doStartProcessAndConnect(ManagedOfficeProcess.java:119)
~[jodconverter-core-3.0-beta-4-xwiki-20110822.jar:na]
... 7 common frames omitted
30-Aug-2016 11:03:39.055 INFO [localhost-startStop-1]
org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application
directory /home/opt/apache-tomcat-8.5.4/webapps/xwiki has finished in 25 860 ms
30-Aug-2016 11:03:51.090 WARNING [xwiki-dev.dom.cp2i.i2-startStop-1]
org.apache.tomcat.dbcp.dbcp2.BasicDataSourceFactory.getObjectInstance Name = xwiki
Property maxActive is not used in DBCP2, use maxTotal instead. maxTotal default value is
8. You have set value of "20" for "maxActive" property, which is being
ignored.
30-Aug-2016 11:03:51.092 WARNING [xwiki-dev.dom.cp2i.i2-startStop-1]
org.apache.tomcat.dbcp.dbcp2.BasicDataSourceFactory.getObjectInstance Name = xwiki
Property removeAbandoned is not used in DBCP2, use one or both of removeAbandonedOnBorrow
or removeAbandonedOnMaintenance instead. Both have default value set to false. You have
set value of "true" for "removeAbandoned" property, which is being
ignored.
30-Aug-2016 11:03:51.092 WARNING [xwiki-dev.dom.cp2i.i2-startStop-1]
org.apache.tomcat.dbcp.dbcp2.BasicDataSourceFactory.getObjectInstance Name = xwiki
Property maxWait is not used in DBCP2 , use maxWaitMillis instead. maxWaitMillis default
value is -1. You have set value of "-1" for "maxWait" property, which
is being ignored.
30-Aug-2016 11:03:51.303 INFO [xwiki-dev.dom.cp2i.i2-startStop-1]
org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet
contained no TLDs. Enable debug logging for this logger for a complete list of JARs that
were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can
improve startup time and JSP compilation time.
2016-08-30 11:03:54,014 [xwiki-dev.dom.cp2i.i2-startStop-1] ERROR o.i.j.JmxUtil
- ISPN000034: There's already an cache manager instance registered under
'org.xwiki.infinispan' JMX domain. If you want to allow multiple instances
configured with same JMX domain enable 'allowDuplicateDomains' attribute in
'globalJmxStatistics' config element
2016-08-30 11:03:54,028 [xwiki-dev.dom.cp2i.i2-startStop-1] ERROR
.o.i.DefaultObservationManager - Failed to lookup listeners
org.xwiki.component.manager.ComponentLookupException: Failed to lookup component [role =
[interface org.xwiki.observation.EventListener] hint = [lessColorTheme]]
at
org.xwiki.component.embed.EmbeddableComponentManager.getInstanceMap(EmbeddableComponentManager.java:216)
~[xwiki-commons-legacy-component-default-7.0.1.jar:na]
at
org.xwiki.component.embed.EmbeddableComponentManager.getInstanceList(EmbeddableComponentManager.java:198)
~[xwiki-commons-legacy-component-default-7.0.1.jar:na]
at
org.xwiki.observation.internal.DefaultObservationManager.initializeListeners(DefaultObservationManager.java:164)
[xwiki-commons-observation-local-7.0.1.jar:na]
at
org.xwiki.observation.internal.DefaultObservationManager.getListenersByEvent(DefaultObservationManager.java:131)
[xwiki-commons-observation-local-7.0.1.jar:na]
at
org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:267)
[xwiki-commons-observation-local-7.0.1.jar:na]
at
org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:321)
[xwiki-commons-observation-local-7.0.1.jar:na]
at
org.xwiki.container.servlet.XWikiServletContextListener.contextInitialized(XWikiServletContextListener.java:118)
[xwiki-platform-container-servlet-7.0.1.jar:na]
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4716)
[catalina.jar:8.5.4]
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5178)
[catalina.jar:8.5.4]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:152)
[catalina.jar:8.5.4]
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1403)
[catalina.jar:8.5.4]
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1393)
[catalina.jar:8.5.4]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_102]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[na:1.8.0_102]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[na:1.8.0_102]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_102]
Caused by: org.xwiki.component.manager.ComponentLookupException: Failed to lookup
component [org.xwiki.lesscss.internal.cache.DefaultLESSResourcesCache] identified by [role
= [interface org.xwiki.lesscss.internal.cache.LESSResourcesCache] hint = [default]]
at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:394)
~[xwiki-commons-legacy-component-default-7.0.1.jar:na]
at
org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:190)
~[xwiki-commons-legacy-component-default-7.0.1.jar:na]
at
org.xwiki.component.embed.EmbeddableComponentManager.getDependencyInstance(EmbeddableComponentManager.java:363)
~[xwiki-commons-legacy-component-default-7.0.1.jar:na]
at
org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:312)
~[xwiki-commons-legacy-component-default-7.0.1.jar:na]
at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:424)
~[xwiki-commons-legacy-component-default-7.0.1.jar:na]
at
org.xwiki.component.embed.EmbeddableComponentManager.getInstanceMap(EmbeddableComponentManager.java:214)
~[xwiki-commons-legacy-component-default-7.0.1.jar:na]
... 15 common frames omitted
Caused by: org.xwiki.component.phase.InitializationException: Failed to initialize LESS
skin files cache [lesscss.skinfiles.cache].
at
org.xwiki.lesscss.internal.cache.DefaultLESSResourcesCache.initialize(DefaultLESSResourcesCache.java:60)
~[xwiki-platform-lesscss-default-7.0.1.jar:na]
at
org.xwiki.component.embed.InitializableLifecycleHandler.handle(InitializableLifecycleHandler.java:39)
~[xwiki-commons-legacy-component-default-7.0.1.jar:na]
at
org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:322)
~[xwiki-commons-legacy-component-default-7.0.1.jar:na]
at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:424)
~[xwiki-commons-legacy-component-default-7.0.1.jar:na]
at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:392)
~[xwiki-commons-legacy-component-default-7.0.1.jar:na]
... 20 common frames omitted
Caused by: org.xwiki.component.manager.ComponentLookupException: Failed to lookup
component [org.xwiki.cache.infinispan.internal.InfinispanCacheFactory] identified by [role
= [interface org.xwiki.cache.CacheFactory] hint = [infinispan]]
at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:394)
~[xwiki-commons-legacy-component-default-7.0.1.jar:na]
at
org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:190)
~[xwiki-commons-legacy-component-default-7.0.1.jar:na]
at
org.xwiki.cache.internal.DefaultCacheManager.getCacheFactory(DefaultCacheManager.java:79)
~[xwiki-platform-cache-api-7.0.1.jar:na]
at
org.xwiki.cache.internal.DefaultCacheManager.getCacheFactory(DefaultCacheManager.java:61)
~[xwiki-platform-cache-api-7.0.1.jar:na]
at
org.xwiki.lesscss.internal.cache.DefaultLESSResourcesCache.initialize(DefaultLESSResourcesCache.java:57)
~[xwiki-platform-lesscss-default-7.0.1.jar:na]
... 24 common frames omitted
Caused by: org.infinispan.jmx.JmxDomainConflictException: Domain already registered
org.xwiki.infinispan when trying to register: type=CacheManager,name="xwiki"
at org.infinispan.jmx.JmxUtil.buildJmxDomain(JmxUtil.java:52)
~[infinispan-core-7.0.3.Final.jar:7.0.3.Final]
at
org.infinispan.jmx.CacheManagerJmxRegistration.updateDomain(CacheManagerJmxRegistration.java:79)
~[infinispan-core-7.0.3.Final.jar:7.0.3.Final]
at
org.infinispan.jmx.CacheManagerJmxRegistration.buildRegistrar(CacheManagerJmxRegistration.java:73)
~[infinispan-core-7.0.3.Final.jar:7.0.3.Final]
at
org.infinispan.jmx.AbstractJmxRegistration.registerMBeans(AbstractJmxRegistration.java:37)
~[infinispan-core-7.0.3.Final.jar:7.0.3.Final]
at
org.infinispan.jmx.CacheManagerJmxRegistration.start(CacheManagerJmxRegistration.java:41)
~[infinispan-core-7.0.3.Final.jar:7.0.3.Final]
at org.infinispan.manager.DefaultCacheManager.start(DefaultCacheManager.java:611)
~[infinispan-core-7.0.3.Final.jar:7.0.3.Final]
at org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:296)
~[infinispan-core-7.0.3.Final.jar:7.0.3.Final]
at org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:267)
~[infinispan-core-7.0.3.Final.jar:7.0.3.Final]
at org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:253)
~[infinispan-core-7.0.3.Final.jar:7.0.3.Final]
at
org.xwiki.cache.infinispan.internal.InfinispanCacheFactory.initialize(InfinispanCacheFactory.java:106)
~[xwiki-platform-cache-infinispan-7.0.1.jar:na]
at
org.xwiki.component.embed.InitializableLifecycleHandler.handle(InitializableLifecycleHandler.java:39)
~[xwiki-commons-legacy-component-default-7.0.1.jar:na]
at
org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:322)
~[xwiki-commons-legacy-component-default-7.0.1.jar:na]
at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:424)
~[xwiki-commons-legacy-component-default-7.0.1.jar:na]
at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:392)
~[xwiki-commons-legacy-component-default-7.0.1.jar:na]
... 28 common frames omitted
30-Aug-2016 11:03:54.437 INFO [xwiki-dev.dom.cp2i.i2-startStop-1]
org.apache.catalina.startup.HostConfig.deployDirectory Déploiement du répertoire
/home/opt/apache-tomcat-8.5.4/webapps/xwiki de l'application web
30-Aug-2016 11:04:06.070 INFO [xwiki-dev.dom.cp2i.i2-startStop-1]
org.apache.tomcat.dbcp.dbcp2.BasicDataSourceFactory.getObjectInstance Name = xwiki
Ignoring unknown property: value of "DB Connection" for "description"
property
30-Aug-2016 11:04:06.228 INFO [xwiki-dev.dom.cp2i.i2-startStop-1]
org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet
contained no TLDs. Enable debug logging for this logger for a complete list of JARs that
were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can
improve startup time and JSP compilation time.
2016-08-30 11:04:09,147 [xwiki-dev.dom.cp2i.i2-startStop-1] ERROR o.i.j.JmxUtil
- ISPN000034: There's already an cache manager instance registered under
'org.xwiki.infinispan' JMX domain. If you want to allow multiple instances
configured with same JMX domain enable 'allowDuplicateDomains' attribute in
'globalJmxStatistics' config element
2016-08-30 11:04:09,160 [xwiki-dev.dom.cp2i.i2-startStop-1] ERROR
.o.i.DefaultObservationManager - Failed to lookup listeners
org.xwiki.component.manager.ComponentLookupException: Failed to lookup component [role =
[interface org.xwiki.observation.EventListener] hint = [lessSkin]]
at
org.xwiki.component.embed.EmbeddableComponentManager.getInstanceMap(EmbeddableComponentManager.java:216)
~[xwiki-commons-legacy-component-default-7.0.1.jar:na]
at
org.xwiki.component.embed.EmbeddableComponentManager.getInstanceList(EmbeddableComponentManager.java:198)
~[xwiki-commons-legacy-component-default-7.0.1.jar:na]
at
org.xwiki.observation.internal.DefaultObservationManager.initializeListeners(DefaultObservationManager.java:164)
[xwiki-commons-observation-local-7.0.1.jar:na]
at
org.xwiki.observation.internal.DefaultObservationManager.getListenersByEvent(DefaultObservationManager.java:131)
[xwiki-commons-observation-local-7.0.1.jar:na]
at
org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:267)
[xwiki-commons-observation-local-7.0.1.jar:na]
at
org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:321)
[xwiki-commons-observation-local-7.0.1.jar:na]
at
org.xwiki.container.servlet.XWikiServletContextListener.contextInitialized(XWikiServletContextListener.java:118)
[xwiki-platform-container-servlet-7.0.1.jar:na]
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4716)
[catalina.jar:8.5.4]
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5178)
[catalina.jar:8.5.4]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:152)
[catalina.jar:8.5.4]
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:724)
[catalina.jar:8.5.4]
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:700)
[catalina.jar:8.5.4]
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
[catalina.jar:8.5.4]
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1107)
[catalina.jar:8.5.4]
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1841)
[catalina.jar:8.5.4]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[na:1.8.0_102]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_102]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[na:1.8.0_102]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[na:1.8.0_102]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_102]
Caused by: org.xwiki.component.manager.ComponentLookupException: Failed to lookup
component [org.xwiki.lesscss.internal.cache.DefaultLESSResourcesCache] identified by [role
= [interface org.xwiki.lesscss.internal.cache.LESSResourcesCache] hint = [default]]
at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:394)
~[xwiki-commons-legacy-component-default-7.0.1.jar:na]
at
org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:190)
~[xwiki-commons-legacy-component-default-7.0.1.jar:na]
at
org.xwiki.component.embed.EmbeddableComponentManager.getDependencyInstance(EmbeddableComponentManager.java:363)
~[xwiki-commons-legacy-component-default-7.0.1.jar:na]
at
org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:312)
~[xwiki-commons-legacy-component-default-7.0.1.jar:na]
at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:424)
~[xwiki-commons-legacy-component-default-7.0.1.jar:na]
at
org.xwiki.component.embed.EmbeddableComponentManager.getInstanceMap(EmbeddableComponentManager.java:214)
~[xwiki-commons-legacy-component-default-7.0.1.jar:na]
... 19 common frames omitted
Caused by: org.xwiki.component.phase.InitializationException: Failed to initialize LESS
skin files cache [lesscss.skinfiles.cache].
at
org.xwiki.lesscss.internal.cache.DefaultLESSResourcesCache.initialize(DefaultLESSResourcesCache.java:60)
~[xwiki-platform-lesscss-default-7.0.1.jar:na]
at
org.xwiki.component.embed.InitializableLifecycleHandler.handle(InitializableLifecycleHandler.java:39)
~[xwiki-commons-legacy-component-default-7.0.1.jar:na]
at
org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:322)
~[xwiki-commons-legacy-component-default-7.0.1.jar:na]
at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:424)
~[xwiki-commons-legacy-component-default-7.0.1.jar:na]
at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:392)
~[xwiki-commons-legacy-component-default-7.0.1.jar:na]
... 24 common frames omitted
Caused by: org.xwiki.component.manager.ComponentLookupException: Failed to lookup
component [org.xwiki.cache.infinispan.internal.InfinispanCacheFactory] identified by [role
= [interface org.xwiki.cache.CacheFactory] hint = [infinispan]]
at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:394)
~[xwiki-commons-legacy-component-default-7.0.1.jar:na]
at
org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:190)
~[xwiki-commons-legacy-component-default-7.0.1.jar:na]
at
org.xwiki.cache.internal.DefaultCacheManager.getCacheFactory(DefaultCacheManager.java:79)
~[xwiki-platform-cache-api-7.0.1.jar:na]
at
org.xwiki.cache.internal.DefaultCacheManager.getCacheFactory(DefaultCacheManager.java:61)
~[xwiki-platform-cache-api-7.0.1.jar:na]
at
org.xwiki.lesscss.internal.cache.DefaultLESSResourcesCache.initialize(DefaultLESSResourcesCache.java:57)
~[xwiki-platform-lesscss-default-7.0.1.jar:na]
... 28 common frames omitted
Caused by: org.infinispan.jmx.JmxDomainConflictException: Domain already registered
org.xwiki.infinispan when trying to register: type=CacheManager,name="xwiki"
at org.infinispan.jmx.JmxUtil.buildJmxDomain(JmxUtil.java:52)
~[infinispan-core-7.0.3.Final.jar:7.0.3.Final]
at
org.infinispan.jmx.CacheManagerJmxRegistration.updateDomain(CacheManagerJmxRegistration.java:79)
~[infinispan-core-7.0.3.Final.jar:7.0.3.Final]
at
org.infinispan.jmx.CacheManagerJmxRegistration.buildRegistrar(CacheManagerJmxRegistration.java:73)
~[infinispan-core-7.0.3.Final.jar:7.0.3.Final]
at
org.infinispan.jmx.AbstractJmxRegistration.registerMBeans(AbstractJmxRegistration.java:37)
~[infinispan-core-7.0.3.Final.jar:7.0.3.Final]
at
org.infinispan.jmx.CacheManagerJmxRegistration.start(CacheManagerJmxRegistration.java:41)
~[infinispan-core-7.0.3.Final.jar:7.0.3.Final]
at org.infinispan.manager.DefaultCacheManager.start(DefaultCacheManager.java:611)
~[infinispan-core-7.0.3.Final.jar:7.0.3.Final]
at org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:296)
~[infinispan-core-7.0.3.Final.jar:7.0.3.Final]
at org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:267)
~[infinispan-core-7.0.3.Final.jar:7.0.3.Final]
at org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:253)
~[infinispan-core-7.0.3.Final.jar:7.0.3.Final]
at
org.xwiki.cache.infinispan.internal.InfinispanCacheFactory.initialize(InfinispanCacheFactory.java:106)
~[xwiki-platform-cache-infinispan-7.0.1.jar:na]
at
org.xwiki.component.embed.InitializableLifecycleHandler.handle(InitializableLifecycleHandler.java:39)
~[xwiki-commons-legacy-component-default-7.0.1.jar:na]
at
org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:322)
~[xwiki-commons-legacy-component-default-7.0.1.jar:na]
at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:424)
~[xwiki-commons-legacy-component-default-7.0.1.jar:na]
at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:392)
~[xwiki-commons-legacy-component-default-7.0.1.jar:na]
... 32 common frames omitted
30-Aug-2016 11:04:09.536 INFO [xwiki-dev.dom.cp2i.i2-startStop-1]
org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application
directory /home/opt/apache-tomcat-8.5.4/webapps/xwiki has finished in 15 098 ms
30-Aug-2016 11:04:09.541 INFO [main] org.apache.coyote.AbstractProtocol.start Starting
ProtocolHandler [http-nio-8080]
30-Aug-2016 11:04:09.546 INFO [main] org.apache.coyote.AbstractProtocol.start Starting
ProtocolHandler [ajp-nio-8009]
30-Aug-2016 11:04:09.546 INFO [main] org.apache.catalina.startup.Catalina.start Server
startup in 56378 ms
30-Aug-2016 11:04:32.685 SEVERE [
https://xwiki-dev.dom.cp2i.i2/bin/view/Main/]
org.apache.catalina.core.StandardWrapperValve.invoke "Servlet.service()" pour la
servlet action a généré une exception
java.lang.NullPointerException
at com.xpn.xwiki.web.Utils.getContextComponentManager(Utils.java:695)
at com.xpn.xwiki.web.Utils.getComponent(Utils.java:752)
at com.xpn.xwiki.web.Utils.getComponent(Utils.java:719)
at com.xpn.xwiki.web.XWikiRequestProcessor.processPath(XWikiRequestProcessor.java:47)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:154)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at
org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:108)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:522)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349)
at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:780)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at
org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:785)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1425)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)