Hi Olivier,
On 31 Jul 2015 at 08:52:14, Studer Olivier
(olivier.studer@hefr.ch(mailto:olivier.studer@hefr.ch)) wrote:
So if I want to change the ROOT path to "/",
the bug is not present in version 7.0 ? Yes or no?
Yes but 7.0 has other problems (see
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki70) and 7.1.1 is
generally a better version than 7.0.
A better solution IMO is to take this JAR:
http://maven.xwiki.org/snapshots/org/xwiki/platform/xwiki-platform-url-cont… and
drop it into your WEB-INF/lib directory, replacing your current version.
Make sure to remove WEB-INF/lib/xwiki-platform-url-container-7.1.1.jar
Then restart XWiki.
Thanks
-Vincent
Regards
/Olivier
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of Thomas Mortagne
Sent: jeudi 30 juillet 2015 16:12
To: XWiki Users
Subject: Re: [xwiki-users] problem after update to 7.1.1
The actual cause of the error is missing in the stack trace you pasted so it's not
easy to tell exactly what is the issue.
For XWiki used as ROOT, the bad news is that it's been broken in 7.1, see
http://jira.xwiki.org/browse/XWIKI-12342.
On Thu, Jul 30, 2015 at 3:55 PM, Studer Olivier wrote:
> Hi,
>
> I have update the XWiki 6.2.2 to 7.1.1 with using "apt-get upgrade
xwiki-enterprise-tomcat7-mysql" on Ubuntu server with success. But when I restart the
Xwiki, they are the following message in the catalina.out file:
>
> 2015-07-30 15:31:10,713 [localhost-startStop-1] INFO o.x.s.s.i.EmbeddedSolrInstance
- Started embedded Solr server.
> Jul 30, 2015 3:31:15 PM org.apache.catalina.startup.HostConfig
> deployDescriptor
> INFO: Deploying configuration descriptor
> /etc/tomcat7/Catalina/localhost/ROOT.xml
> 2015-07-30 15:31:45,555 [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 =
[DistributionInitializerListener]]
> at
org.xwiki.component.embed.EmbeddableComponentManager.getInstanceMap(EmbeddableComponentManager.java:216)
~[xwiki-commons-legacy-component-default-7.1.1.jar:na]
> at
org.xwiki.component.embed.EmbeddableComponentManager.getInstanceList(EmbeddableComponentManager.java:198)
~[xwiki-commons-legacy-component-default-7.1.1.jar:na]
> at
org.xwiki.observation.internal.DefaultObservationManager.initializeListeners(DefaultObservationManager.java:164)
[xwiki-commons-observation-local-7.1.1.jar:na]
> at
org.xwiki.observation.internal.DefaultObservationManager.getListenersByEvent(DefaultObservationManager.java:131)
[xwiki-commons-observation-local-7.1.1.jar:na]
> at
org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:267)
[xwiki-commons-observation-local-7.1.1.jar:na]
> at
org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:321)
[xwiki-commons-observation-local-7.1.1.jar:na]
> at
org.xwiki.container.servlet.XWikiServletContextListener.contextInitialized(XWikiServletContextListener.java:118)
[xwiki-platform-container-servlet-7.1.1.jar:na]
> at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4973)
[tomcat-catalina-7.0.52.jar:7.0.52]
> at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467)
[tomcat-catalina-7.0.52.jar:7.0.52]
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
[tomcat-catalina-7.0.52.jar:7.0.52]
> at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
[tomcat-catalina-7.0.52.jar:7.0.52]
> at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
[tomcat-catalina-7.0.52.jar:7.0.52]
> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632)
[tomcat-catalina-7.0.52.jar:7.0.52]
> at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:670)
[tomcat-catalina-7.0.52.jar:7.0.52]
> at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1839)
[tomcat-catalina-7.0.52.jar:7.0.52]
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
[na:1.7.0_79]
> at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_79]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[na:1.7.0_79]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[na:1.7.0_79]
> at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79] Caused
> by: org.xwiki.component.manager.ComponentLookupException: Failed to lookup component
[org.xwiki.extension.distribution.internal.DefaultDistributionManager] identified by [role
= [interface org.xwiki.extension.distribution.internal.DistributionManager] hint =
[default]]
> at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:394)
~[xwiki-commons-legacy-component-default-7.1.1.jar:na]
> at
org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:190)
~[xwiki-commons-legacy-component-default-7.1.1.jar:na]
> at
org.xwiki.component.embed.EmbeddableComponentManager.getDependencyInstance(EmbeddableComponentManager.java:363)
~[xwiki-commons-legacy-component-default-7.1.1.jar:na]
> at
org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:312)
~[xwiki-commons-legacy-component-default-7.1.1.jar:na]
> at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:424)
~[xwiki-commons-legacy-component-default-7.1.1.jar:na]
> at
org.xwiki.component.embed.EmbeddableComponentManager.getInstanceMap(EmbeddableComponentManager.java:214)
~[xwiki-commons-legacy-component-default-7.1.1.jar:na]
> ... 19 common frames omitted
> Caused by: org.xwiki.component.manager.ComponentLookupException: Failed to lookup
component [org.xwiki.context.internal.DefaultExecutionContextManager] identified by [role
= [interface org.xwiki.context.ExecutionContextManager] hint = [default]]
> at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:394)
~[xwiki-commons-legacy-component-default-7.1.1.jar:na]
> at
org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:190)
~[xwiki-commons-legacy-component-default-7.1.1.jar:na]
> at
org.xwiki.component.embed.EmbeddableComponentManager.getDependencyInstance(EmbeddableComponentManager.java:363)
~[xwiki-commons-legacy-component-default-7.1.1.jar:na]
> at
org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:312)
~[xwiki-commons-legacy-component-default-7.1.1.jar:na]
> at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:424)
~[xwiki-commons-legacy-component-default-7.1.1.jar:na]
> at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:392)
~[xwiki-commons-legacy-component-default-7.1.1.jar:na]
> ... 24 common frames omitted
> Caused by: org.xwiki.component.manager.ComponentLookupException: Failed to lookup
component [role = [interface org.xwiki.context.ExecutionContextInitializer] hint =
[velocity]]
> at
org.xwiki.component.embed.EmbeddableComponentManager.getInstanceMap(EmbeddableComponentManager.java:216)
~[xwiki-commons-legacy-component-default-7.1.1.jar:na]
> at
org.xwiki.component.embed.EmbeddableComponentManager.getInstanceList(EmbeddableComponentManager.java:198)
~[xwiki-commons-legacy-component-default-7.1.1.jar:na]
> at
org.xwiki.component.embed.EmbeddableComponentManager.getDependencyInstance(EmbeddableComponentManager.java:350)
~[xwiki-commons-legacy-component-default-7.1.1.jar:na]
> at
org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:312)
~[xwiki-commons-legacy-component-default-7.1.1.jar:na]
> at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:424)
~[xwiki-commons-legacy-component-default-7.1.1.jar:na]
> at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:392)
~[xwiki-commons-legacy-component-default-7.1.1.jar:na]
> ... 29 common frames omitted
> Caused by: org.xwiki.component.manager.ComponentLookupException:
> Failed to lookup component
> [org.xwiki.velocity.internal.DefaultVelocityContextFactory] identified
> by [role = [interface org.xwiki.velocity.VelocityContextFactory] hint
> = [default]]
>
> And I'm not able to change the configuration of the ROOT path to access to the
XWiki. I need to use the following urtl http://:8080/xwiki. But I want to access with the
url http://:8080/.
>
> Some help, please.
> Regards
> /Olivier