Hello all,
This afternoon I want to make an upgrage de my xwiki version, as I see
some new versions on line.
I have a debian server with Tomcat 7 and Postgresql.
To get packages Debian claims for a "apt-get dist-upgrade" (otherwise
nothing happens)
Every download seems ok
But after installation I got this message on home of the xwiki :
java.lang.NullPointerException
com.xpn.xwiki.web.Utils.getContextComponentManager(Utils.java:695)
com.xpn.xwiki.web.Utils.getComponent(Utils.java:752)
com.xpn.xwiki.web.Utils.getComponent(Utils.java:719)
com.xpn.xwiki.web.XWikiRequestProcessor.processPath(XWikiRequestProcessor.java:47)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:154)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:137)
I go to the /var/log/tomcat7/ catalina error file and find this
additionnal message :
root@CESAP-WIKI01:/var/log/tomcat7# cat catalina.out
juin 18, 2015 5:25:01 PM org.apache.coyote.AbstractProtocol init
INFOS: Initializing ProtocolHandler ["http-bio-8080"]
juin 18, 2015 5:25:01 PM org.apache.catalina.startup.Catalina load
INFOS: Initialization processed in 737 ms
juin 18, 2015 5:25:01 PM org.apache.catalina.core.StandardService
startInternal
INFOS: Démarrage du service Catalina
juin 18, 2015 5:25:01 PM org.apache.catalina.core.StandardEngine
startInternal
INFOS: Starting Servlet Engine: Apache Tomcat/7.0.28
juin 18, 2015 5:25:01 PM org.apache.catalina.startup.HostConfig
deployDescriptor
INFOS: Déploiement du descripteur de configuration
/etc/tomcat7/Catalina/localhost/xwiki.xml
2015-06-18 17:25:18,516 [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 =
[OfficeServerLifecycleListener]]
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.Embed
...
I control that the xwiki.xml file is ok :
slassire@CESAP-WIKI01:/etc/tomcat7/Catalina/localhost$ ll
total 8
drwxrwxr-x 2 root tomcat7 4096 juin 18 16:58 ./
drwxrwxr-x 3 root tomcat7 4096 juil. 26 2013 ../
lrwxrwxrwx 1 root tomcat7 28 juin 17 16:09 xwiki.xml ->
/etc/xwiki/xwiki-tomcat7.xml
Tomcat is running fine on the basic url :
It works !
If you're seeing this page via a web browser, it means you've setup Tomcat
successfully. Congratulations!
so after1 hour, no more idea for me, do you see what's wrong ?
Cordialement
Stéphane Lassire
Courriel : slassire(a)cesap.asso.fr
Ce courrier est adressé uniquement à son destinataire et contient des informations
couvertes par le secret professionnel. Si ce message vous a été adressé par erreur,
merci d'en informer son auteur et de le détruire immédiatement.