I have installed new XWiki 6.1 instance, using Debian package.
I increased Tomcat7 VM settings in /etc/default/tomcat7 to
JAVA_OPTS="-Djava.awt.headless=true -Xms256m -Xmx512m -XX:MaxPermSize=256m
-XX:+UseConcMarkSweepGC"
But after I restart tomcat, anyway get exception:
...
INFO: Deploying configuration descriptor
/etc/tomcat7/Catalina/localhost/xwiki.xml
2014-07-17 12:01:45,654 [pool-2-thread-1] INFO
o.x.s.s.i.EmbeddedSolrInstance - Starting embedded Solr server...
2014-07-17 12:01:45,671 [pool-2-thread-1] INFO
o.x.s.s.i.EmbeddedSolrInstance - Using Solr home directory:
[/var/lib/xwiki/data/solr]
2014-07-17 12:01:53,706 [coreLoadExecutor-4-thread-1] WARN
o.a.s.r.ManagedResource - No stored data found for /rest/managed
2014-07-17 12:01:53,707 [coreLoadExecutor-4-thread-1] WARN
o.a.s.r.ManagedResource - No registered observers for /rest/managed
2014-07-17 12:01:57,109 [pool-2-thread-1] INFO
o.x.s.s.i.EmbeddedSolrInstance - Started embedded Solr server.
Jul 17, 2014 12:02:07 PM org.apache.catalina.startup.HostConfig
deployDescriptors
SEVERE: Error waiting for multi-thread deployment of context descriptors
to complete
java.util.concurrent.ExecutionException: java.lang.StackOverflowError
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:188)
at
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:573)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:469)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1412)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:312)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
at
org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:346)
at
org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1145)
at
org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:782)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1566)
at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1556)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.StackOverflowError
at
org.xwiki.extension.version.internal.DefaultVersion.getValue(DefaultVersion.java:480)
at
org.xwiki.extension.version.internal.DefaultVersion.toString(DefaultVersion.java:488)
at java.lang.String.valueOf(String.java:2854)
at java.lang.StringBuilder.append(StringBuilder.java:128)
at org.xwiki.extension.ExtensionId.toString(ExtensionId.java:106)
at org.xwiki.extension.ExtensionId.hashCode(ExtensionId.java:100)
at
org.xwiki.extension.AbstractExtension.hashCode(AbstractExtension.java:429)
at java.util.HashMap.hash(HashMap.java:366)
at java.util.HashMap.getEntry(HashMap.java:466)
at java.util.HashMap.containsKey(HashMap.java:453)
at java.util.HashSet.contains(HashSet.java:201)
at
org.xwiki.extension.handler.internal.DefaultExtensionInitializer.initializeExtensionInNamespace(DefaultExtensionInitializer.java:158)
at
org.xwiki.extension.handler.internal.DefaultExtensionInitializer.initializeExtensionInNamespace(DefaultExtensionInitializer.java:169)
at
org.xwiki.extension.handler.internal.DefaultExtensionInitializer.initializeExtensionInNamespace(DefaultExtensionInitializer.java:169)
... and many repetitions of previous line which likely causes exception...
Jul 17, 2014 12:02:07 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory /var/lib/tomcat7/webapps/ROOT
...
What should I do?
Valdis