Downloaded 7.3 M2, updated my config files. Deleted solr and lucene permanent directories.
Presto!
Keith Davis (214) 906-5183
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of Marius Dumitru Florea
Sent: Monday, October 26, 2015 8:36 AM
To: XWiki Users
Subject: Re: [xwiki-users] Version Update Problems (7.3 Milestone 1)
On Mon, Oct 26, 2015 at 2:51 PM, Keith Davis <keithdavis(a)pridedallas.com>
wrote:
Going on that "solr/@Persistent" error, I
manually replaced solr.xml
with the one from
https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-cor
e/xwiki-platform-search/xwiki-platform-search-solr/xwiki-platform-sear
ch-solr-server/xwiki-platform-search-solr-server-data/src/main/resourc
es/solr.xml
Now, I get a whole new Caused by for that ERROR:
Caused by: org.apache.solr.client.solrj.SolrServerException: Failed to
initialize the Solr core. Please check the configuration and log messages.
How are these config files supposed to be upgraded
normally? It seems
like my Solr config files are outdated.
Before doing an upgrade you should check the "Backward Compatibility and Migration
Notes" section from the release notes of each intermediary version. For 7.3M1 there
is
. There have been some changes to the Solr configuration files because we upgraded Solr
and because we fixed some issues that were affecting the Slovak and Brazilian Portuguese
speaking users. You should delete the Solr folder from XWiki's permanent directory
(\opt\tomcat7\data\solr). It will be recreated after an XWiki restart.
Hope this helps,
Marius
Keith Davis (214) 906-5183
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of Keith Davis
Sent: Monday, October 26, 2015 7:41 AM
To: XWiki Users
Subject: Re: [xwiki-users] Version Update Problems (7.3 Milestone 1)
Honestly, I've wondered about that myself. I find the Tomcat logs to
be very confusing. I stopped the service, cleared the logs, switched
to 7.3 M1, and started the service. Here is what I find.
tomcat8-stdout.2015-10-26.log.
Here are the errors in order found without stack trace:
2015-10-26 07:20:38,329 [localhost-startStop-1] ERROR
o.x.s.s.i.SolrInstanceProvider -
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]]
Caused by: org.xwiki.component.phase.InitializationException: Failed
to initialize the Solr embedded server with home directory set to
[\opt\tomcat7\data\solr]
Caused by: org.apache.solr.common.SolrException: Should not have found
solr/@persistent . Please upgrade your solr.xml:
https://cwiki.apache.org/confluence/display/solr/Format+of+solr.xml
2015-10-26 07:20:38,331 [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]]
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]]
Caused by: org.xwiki.component.phase.InitializationException: Failed
to lookup configured Solr instance type [embedded]
Keith Davis (214) 906-5183
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of Marius
Dumitru Florea
Sent: Monday, October 26, 2015 5:17 AM
To: XWiki Users
Subject: Re: [xwiki-users] Version Update Problems (7.3 Milestone 1)
Is this the only thing that is logged from the moment you restart
XWiki till after you make the first request? The log you pasted
doesn't seem to show the real problem.
On Sat, Oct 24, 2015 at 4:20 PM, Keith Davis
<keithdavis(a)pridedallas.com>
wrote:
I am trying to update from 7.2 to 7.3 Milestone
1.
Almost every single time I do an update, I run into problems and
either parts of the wiki don't work or it won't load at all.
Right now, won't load at all. Blank screen. No error, no nothing.
Logs are not helping.
24-Oct-2015 08:07:08.398 INFO [Core extension repository updater]
org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResour
ce Loading Illegal access: this web application instance has been
stopped already.
Could not load
[org.xwiki.extension.repository.xwiki.internal.XWikiExtension]. The
following stack trace is thrown for debugging purposes as well as to
attempt to terminate the thread which caused the illegal access.
java.lang.IllegalStateException: Illegal access: this web
application instance has been stopped already. Could not load
[org.xwiki.extension.repository.xwiki.internal.XWikiExtension]. The
following stack trace is thrown for debugging purposes as well as to
attempt to terminate the thread which caused the illegal access.
at
org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResource
Loading(WebappClassLoaderBase.java:1327)
at
org.apache.catalina.loader.WebappClassLoaderBase.checkStateForClassLoa
ding(WebappClassLoaderBase.java:1313)
at
org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClass
LoaderBase.java:1196)
at
org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClass
LoaderBase.java:1157)
at
org.xwiki.extension.repository.xwiki.internal.XWikiExtensionRepository
.resolve(XWikiExtensionRepository.java:330)
at
org.xwiki.extension.repository.internal.DefaultExtensionRepositoryMana
ger.resolve(DefaultExtensionRepositoryManager.java:213)
at
org.xwiki.extension.repository.internal.core.DefaultCoreExtensionScann
er.updateExtensions(DefaultCoreExtensionScanner.java:187)
at
org.xwiki.extension.repository.internal.core.DefaultCoreExtensionRepos
itory$1.run(DefaultCoreExtensionRepository.java:134)
> at java.lang.Thread.run(Unknown Source)
>
> 2015-10-24 08:11:03,743 [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(
> Em
> beddableComponentManager.java:216)
> ~[xwiki-commons-legacy-component-default-7.3-milestone-1.jar:na]
> at
> org.xwiki.component.embed.EmbeddableComponentManager.getInstanceList
> (E
> mbeddableComponentManager.java:198)
> ~[xwiki-commons-legacy-component-default-7.3-milestone-1.jar:na]
> at
> org.xwiki.observation.internal.DefaultObservationManager.initializeL
> is
> teners(DefaultObservationManager.java:164)
> [xwiki-commons-observation-local-7.3-milestone-1.jar:na]
> at
> org.xwiki.observation.internal.DefaultObservationManager.getListener
> sB
> yEvent(DefaultObservationManager.java:131)
> [xwiki-commons-observation-local-7.3-milestone-1.jar:na]
> at
> org.xwiki.observation.internal.DefaultObservationManager.notify(Defa
> ul
> tObservationManager.java:267)
> [xwiki-commons-observation-local-7.3-milestone-1.jar:na]
> at
> org.xwiki.observation.internal.DefaultObservationManager.notify(Defa
> ul
> tObservationManager.java:321)
> [xwiki-commons-observation-local-7.3-milestone-1.jar:na]
> at
> org.xwiki.container.servlet.XWikiServletContextListener.contextIniti
> al
> ized(XWikiServletContextListener.java:118)
> [xwiki-platform-container-servlet-7.3-milestone-1.jar:na]
> at
> org.apache.catalina.core.StandardContext.listenerStart(StandardConte
> xt
> .java:4729)
> [catalina.jar:8.0.23]
> at
> org.apache.catalina.core.StandardContext.startInternal(StandardConte
> xt
> .java:5167)
> [catalina.jar:8.0.23]
> at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> [catalina.jar:8.0.23]
> at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.
> java:725)
> [catalina.jar:8.0.23]
> at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:7
> 01
> )
> [catalina.jar:8.0.23]
> at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717
> )
> [catalina.jar:8.0.23]
> at
> org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.ja
> va
> :1101)
> [catalina.jar:8.0.23]
> at
> org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.
> java:1786)
> [catalina.jar:8.0.23]
> at
> java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
> [na:1.8.0_60]
> at java.util.concurrent.FutureTask.run(Unknown
> Source) [na:1.8.0_60]
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
> [na:1.8.0_60]
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> [na:1.8.0_60]
> at java.lang.Thread.run(Unknown Source)
> [na:1.8.0_60] 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.SolrInstan
> ce
>
]
> hint = [default]]
> at
> org.xwiki.component.embed.EmbeddableComponentManager.getComponentIns
> ta
> nce(EmbeddableComponentManager.java:394)
> ~[xwiki-commons-legacy-component-default-7.3-milestone-1.jar:na]
> at
> org.xwiki.component.embed.EmbeddableComponentManager.getInstance(Emb
> ed
> dableComponentManager.java:190)
> ~[xwiki-commons-legacy-component-default-7.3-milestone-1.jar:na]
> at
> org.xwiki.component.embed.EmbeddableComponentManager.getDependencyIn
> st
> ance(EmbeddableComponentManager.java:356)
> ~[xwiki-commons-legacy-component-default-7.3-milestone-1.jar:na]
> at
> org.xwiki.component.embed.EmbeddableComponentManager.createInstance(
> Em
> beddableComponentManager.java:312)
> ~[xwiki-commons-legacy-component-default-7.3-milestone-1.jar:na]
> at
> org.xwiki.component.embed.EmbeddableComponentManager.getComponentIns
> ta
> nce(EmbeddableComponentManager.java:424)
> ~[xwiki-commons-legacy-component-default-7.3-milestone-1.jar:na]
> at
> org.xwiki.component.embed.EmbeddableComponentManager.getInstanceMap(
> Em
> beddableComponentManager.java:214)
> ~[xwiki-commons-legacy-component-default-7.3-milestone-1.jar:na]
> ... 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(SolrI
> ns
> tanceProvider.java:74)
> ~[xwiki-platform-search-solr-api-7.3-milestone-1.jar:na]
> at
> org.xwiki.component.embed.InitializableLifecycleHandler.handle(Initi
> al
> izableLifecycleHandler.java:39)
> ~[xwiki-commons-legacy-component-default-7.3-milestone-1.jar:na]
> at
> org.xwiki.component.embed.EmbeddableComponentManager.createInstance(
> Em
> beddableComponentManager.java:322)
> ~[xwiki-commons-legacy-component-default-7.3-milestone-1.jar:na]
> at
> org.xwiki.component.embed.EmbeddableComponentManager.getComponentIns
> ta
> nce(EmbeddableComponentManager.java:424)
> ~[xwiki-commons-legacy-component-default-7.3-milestone-1.jar:na]
> at
> org.xwiki.component.embed.EmbeddableComponentManager.getComponentIns
> ta
> nce(EmbeddableComponentManager.java:392)
> ~[xwiki-commons-legacy-component-default-7.3-milestone-1.jar:na]
> ... 24 common frames omitted
> _______________________________________________
> users mailing list
> users(a)xwiki.org
>
http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org