Hi Vincent,

> From: Vincent Massol [mailto:vinc...@massol.net]
> Sent: Monday, 22 August 2016 8:48 PM
>
> You should try to stop tomcat fully and start it again. It seems you’re only
> stopping the webapp and there are issues with xwiki cleanup when doing so.
> 
> Let us know if there are still errors.

I've stopped and started as you suggest, but I get the same result. The 
catalina.out log gives more data than the one I included before. Below are some 
selected lines. I recall that my previous installation generated a lot of 
warnings relating to Solr, but it's worrying that there are so many. Also, 
could the ClassLoader messages be part of the issue?

Sorry to appear naïve. I've no idea which errors are tolerated in a typical 
installation and which are not.

Bryn


Aug 22, 2016 9:07:10 PM 
org.apache.catalina.core.JreMemoryLeakPreventionListener lifecycleEvent
SEVERE: Failed to trigger creation of the GC Daemon thread during Tomcat start 
to prevent possible memory leaks. This is expected on non-Sun JVMs.
java.lang.ClassNotFoundException: sun.misc.GC
[...]
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:484)

[...]
Aug 22, 2016 9:07:14 PM org.apache.catalina.loader.WebappLoader buildClassPath
INFO: Unknown loader jdk.internal.loader.ClassLoaders$AppClassLoader@5f150435 
class jdk.internal.loader.ClassLoaders$AppClassLoader
Aug 22, 2016 9:08:04 PM org.apache.jasper.servlet.TldScanner scanJars
INFO: 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-22 21:08:32,827 [localhost-startStop-1] INFO  
o.x.s.s.i.EmbeddedSolrInstance - Starting embedded Solr server...
2016-08-22 21:08:32,888 [localhost-startStop-1] INFO  
o.x.s.s.i.EmbeddedSolrInstance - Using Solr home directory: 
[/var/lib/xwiki/data/solr]
2016-08-22 21:08:39,654 [coreLoadExecutor-6-thread-1] WARN  
o.i.j.ResourceDMBean           - ISPN000042: Did not find queried attribute 
with name coreHashCode
[many more lines line this]
2016-08-22 21:08:39,726 [coreLoadExecutor-6-thread-1] ERROR 
o.a.s.c.CoreContainer          - Error creating core [xwiki]: Error opening new 
searcher
org.apache.solr.common.SolrException: Error opening new searcher
        at org.apache.solr.core.SolrCore.<init>(SolrCore.java:820)
[...]
        at java.lang.Thread.run(java.base@9-internal/Thread.java:804)
Caused by: org.apache.solr.common.SolrException: Error opening new searcher
        at org.apache.solr.core.SolrCore.openNewSearcher(SolrCore.java:1662)
[...]
        at org.apache.solr.core.SolrCore.<init>(SolrCore.java:793)
        ... 9 common frames omitted
Caused by: java.io.IOException: Unable to unmap the mapped buffer: 
MMapIndexInput(path="/var/lib/xwiki/data/solr/xwiki/data/index/segments_1")
        at 
org.apache.lucene.store.MMapDirectory$2.freeBuffer(MMapDirectory.java:329)
[...]
        at org.apache.solr.core.SolrCore.openNewSearcher(SolrCore.java:1631)
        ... 12 common frames omitted
Caused by: java.lang.IllegalAccessException: class 
org.apache.lucene.store.MMapDirectory$2$1 cannot access class 
jdk.internal.ref.Cleaner (in module java.base) because module java.base does 
not export jdk.internal.ref to unnamed module @
65abf25c
        at 
sun.reflect.Reflection.throwIllegalAccessException(java.base@9-internal/Reflection.java:411)
[...]
        at 
org.apache.lucene.store.MMapDirectory$2.freeBuffer(MMapDirectory.java:314)
        ... 22 common frames omitted
2016-08-22 21:08:39,729 [localhost-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 = 
[solr.availablelocales]]
        at 
org.xwiki.component.embed.EmbeddableComponentManager.getInstanceMap(EmbeddableComponentManager.java:216)
[...]
        at java.lang.Thread.run(java.base@9-internal/Thread.java:804)
Caused by: org.xwiki.component.manager.ComponentLookupException: Failed to 
lookup component [org.xwiki.search.solr.internal.SolrInstanceProvider] 
identified by [role = 
[javax.inject.Provider<org.xwiki.search.solr.internal.api.SolrInstance>] hint = 
[default]]
        at 
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:394)
[...]        at 
org.xwiki.component.embed.EmbeddableComponentManager.getInstanceMap(EmbeddableComponentManager.java:214)
        ... 19 common frames omitted
Caused by: org.xwiki.component.phase.InitializationException: Failed to lookup 
configured Solr instance type [embedded]
        at 
org.xwiki.search.solr.internal.SolrInstanceProvider.initialize(SolrInstanceProvider.java:73)
[...]        at 
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:392)
        ... 24 common frames omitted
Caused by: org.xwiki.component.manager.ComponentLookupException: Failed to 
lookup component [org.xwiki.search.solr.internal.EmbeddedSolrInstance] 
identified by [role = [interface 
org.xwiki.search.solr.internal.api.SolrInstance] hint = [embedded]]
        at 
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:394)
        at 
org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:190)
        at 
org.xwiki.search.solr.internal.SolrInstanceProvider.initialize(SolrInstanceProvider.java:71)
        ... 28 common frames omitted
Caused by: org.xwiki.component.phase.InitializationException: Failed to 
initialize the Solr embedded server with home directory set to 
[/var/lib/xwiki/data/solr]
        at 
org.xwiki.search.solr.internal.EmbeddedSolrInstance.initialize(EmbeddedSolrInstance.java:103)
[...]        at 
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:392)
        ... 30 common frames omitted
Caused by: org.apache.solr.client.solrj.SolrServerException: Failed to 
initialize the Solr core. Please check the configuration and log messages.
        at 
org.xwiki.search.solr.internal.EmbeddedSolrInstance.createCoreContainer(EmbeddedSolrInstance.java:113)
        at 
org.xwiki.search.solr.internal.EmbeddedSolrInstance.initialize(EmbeddedSolrInstance.java:96)
        ... 34 common frames omitted
2016-08-22 21:08:39,876 [Finalizer] ERROR o.a.s.u.SolrIndexWriter        - 
SolrIndexWriter was not closed prior to finalize(), indicates a bug -- POSSIBLE 
RESOURCE LEAK!!!
2016-08-22 21:08:39,883 [Finalizer] ERROR o.a.s.u.SolrIndexWriter        - 
Error closing IndexWriter
java.lang.NullPointerException: null
        at org.apache.lucene.index.IndexWriter.doFlush(IndexWriter.java:3128)
[...]        at 
java.lang.ref.Finalizer$FinalizerThread.run(java.base@9-internal/Finalizer.java:217)
Aug 22, 2016 9:08:40 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deployment of configuration descriptor 
/etc/tomcat8/Catalina/localhost/xwiki.xml has finished in 89,728 ms
Aug 22, 2016 9:08:40 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /var/lib/tomcat8/webapps/ROOT
Aug 22, 2016 9:08:41 PM org.apache.catalina.loader.WebappLoader buildClassPath
INFO: Unknown loader jdk.internal.loader.ClassLoaders$AppClassLoader@5f150435 
class jdk.internal.loader.ClassLoaders$AppClassLoader
Aug 22, 2016 9:08:41 PM org.apache.jasper.servlet.TldScanner scanJars
INFO: 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.
Aug 22, 2016 9:08:41 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory /var/lib/tomcat8/webapps/ROOT has 
finished in 981 ms
Aug 22, 2016 9:08:41 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-nio-8009"]
Aug 22, 2016 9:08:42 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 90900 ms
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to