Hello,
I have xWiki version 11.10.10 and was working very well, until one restart to the instance got it work very badly.
It now loads and open page after 13% loading in tomcat screen and doesn’t load any extension or macro and it looks like this now
xWiki is running as a container with postgres high-available on postgres operator both on kubernetes cluster.
When xWiki start it produce these errors
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.thoughtworks.xstream.core.util.Fields (file:/usr/local/tomcat/webapps/ROOT/WEB-INF/lib/xstream-1.4.11.1.jar) to field java.util.TreeMap.comparator
WARNING: Please consider reporting this to the maintainers of com.thoughtworks.xstream.core.util.Fields
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
2020-10-20 02:50:28,658 [localhost-startStop-1] ERROR .o.i.DefaultObservationManager - Failed to lookup listeners
org.xwiki.component.manager.ComponentLookupException: Failed to lookup component with type [interface org.xwiki.observation.EventListener] and hint [solr.availablelocales]
Caused by: org.xwiki.component.manager.ComponentLookupException: Failed to lookup component [org.xwiki.search.solr.internal.SolrInstanceProvider] identified by type [javax.inject.Provider<org.xwiki.search.solr.internal.api.SolrInstance>] and hint [default]
Caused by: org.xwiki.component.phase.InitializationException: Failed to lookup configured Solr instance type [embedded]
Caused by: org.xwiki.component.manager.ComponentLookupException: Failed to lookup component [org.xwiki.search.solr.internal.EmbeddedSolrInstance] identified by type [interface org.xwiki.search.solr.internal.api.SolrInstance] and hint [embedded]
Caused by: org.apache.solr.client.solrj.SolrServerException: Failed to initialize the Solr core. Please check the configuration and log messages.
2020-10-20 02:50:28,851 [Finalizer] ERROR o.a.s.u.SolrIndexWriter - SolrIndexWriter was not closed prior to finalize(), indicates a bug -- POSSIBLE RESOURCE LEAK!!!
2020-10-20 02:50:28,855 [Finalizer] ERROR o.a.s.u.SolrIndexWriter - Error closing IndexWriter
java.lang.NullPointerException: null
2020-10-20 02:50:30,850 [http://handbook.sumerge.com/webjars/wiki%3Axwiki/xwiki-platform-tree-webjar/11.10.10/tree.min.css?evaluate=true] ERROR ebJarsResourceReferenceHandler - Failed to evaluate the Velocity code from WebJar resource [xwiki-platform-tree-webjar/11.10.10/tree.min.css]
org.xwiki.resource.ResourceReferenceHandlerException: Failed to evaluate the Velocity code from WebJar resource [xwiki-platform-tree-webjar/11.10.10/tree.min.css]
Caused by: java.lang.NullPointerException: null
2020-10-20 02:50:35,415 [http://handbook.sumerge.com/webjars/wiki%3Axwiki/xwiki-platform-tree-webjar/11.10.10/require-config.min.js?evaluate=true&minify=true] ERROR PreferencesConfigurationSource - Failed to access configuration property
com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [xwiki:Main.WebPreferences]
Caused by: org.hibernate.HibernateException: HHH000469: The ClassLoaderService can not be reused. This instance was stopped already.
2020-10-20 02:50:35,467 [XWiki initialization] ERROR c.x.x.XWiki - Failed to initialize mandatory document
com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [xwiki:XWiki.Notifications.Code.NotificationEmailRendererClass]
Caused by: java.lang.IllegalStateException: EntityManagerFactory is closed
2020-10-20 02:50:35,467 [http://handbook.sumerge.com/webjars/wiki%3Axwiki/xwiki-platform-tree-webjar/11.10.10/require-config.min.js?evaluate=true&minify=true] ERROR PreferencesConfigurationSource - Failed to access configuration property
com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [xwiki:XWiki.XWikiPreferences]
Caused by: java.lang.IllegalStateException: EntityManagerFactory is closed
2020-10-20 02:50:35,468 [XWiki initialization] ERROR c.x.x.XWiki - Failed to initialize mandatory document
com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [xwiki:XWiki.GlobalRedirect]
Caused by: java.lang.IllegalStateException: EntityManagerFactory is closed
2020-10-20 02:50:35,468 [XWiki initialization] ERROR c.x.x.XWiki - Failed to initialize mandatory document
com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [xwiki:Mail.MailConfig]
Caused by: java.lang.IllegalStateException: EntityManagerFactory is closed
2020-10-20 02:50:35,468 [http://handbook.sumerge.com/webjars/wiki%3Axwiki/xwiki-platform-tree-webjar/11.10.10/require-config.min.js?evaluate=true&minify=true] ERROR PreferencesConfigurationSource - Failed to access configuration property
com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [xwiki:Main.WebPreferences]
Caused by: java.lang.IllegalStateException: EntityManagerFactory is closed
2020-10-20 02:50:35,469 [XWiki initialization] ERROR c.x.x.XWiki - Failed to initialize mandatory document
com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [xwiki:XWiki.EditModeClass]
Caused by: java.lang.IllegalStateException: EntityManagerFactory is closed
2020-10-20 02:50:35,469 [XWiki initialization] ERROR c.x.x.XWiki - Failed to initialize mandatory document
com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [xwiki:XWiki.TranslationDocumentClass]
Caused by: java.lang.IllegalStateException: EntityManagerFactory is closed
2020-10-20 02:50:35,469 [http://handbook.sumerge.com/webjars/wiki%3Axwiki/xwiki-platform-tree-webjar/11.10.10/require-config.min.js?evaluate=true&minify=true] ERROR PreferencesConfigurationSource - Failed to access configuration property
com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [xwiki:XWiki.XWikiPreferences]
Caused by: java.lang.IllegalStateException: EntityManagerFactory is closed
Please Help me fix this issue as soon as possible
Thank you