On Thu, Jul 17, 2014 at 12:31 PM, "Valdis
Vītoliņš"
<valdis.vitolins(a)odo.lv> wrote:
Thanks, Thomas,
removing everything from /var/lib/xwiki/data/extension/repository folder
helped.
You should have deleted the whole /var/lib/xwiki/data folder content
before doing an new install.
Installation was new, but not clean. Currently I
have to work using
proxy
server which has short connection timeouts. Therefore after opening of
XWiki application I lost connection during first setup wizard.
After that XWiki didn't look correct and I restarted tomcat, and it
failed
with mentioned error.
To be sure I opened
/xwiki/bin/import/XWiki/XWikiPreferences?editor=globaladmin§ion=Import
uploaded xwiki-enterprise-ui-mainwiki-all-6.1.xar , and imported all
pages
again from xar file.
That's what caused the issue. You ended up with both ui-all and some
of the extensions it embeds installed at the same time. See
http://jira.xwiki.org/browse/XWIKI-10617 for more details.
Valdis
Are you sure it's a clean install and not an
upgrade or that some
leftover coulld be in /var/lib/xwiki before you do the install ?
This exception usually mean you have something wrong in
/var/lib/xwiki/data/extension/repository but this folder is empty the
first time you start XWiki.
On Thu, Jul 17, 2014 at 11:12 AM, "Valdis Vītoliņš"
<valdis.vitolins(a)odo.lv> wrote:
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
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--
Thomas Mortagne
--
Thomas Mortagne