General XWiki Exception after Tomcat Startup (Component manager has not been initialized before lookup)

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

General XWiki Exception after Tomcat Startup (Component manager has not been initialized before lookup)

matti
Hello,

our XWiki installation isn't running anymore. After restarting Tomcat, there is always the stacktrace below. No change to content has been made, afaik.

Any help is most welcome. The XWiki version is 5.2.1 according to the "version.properties" file.
Matthias

19.04.2016 21:47:41 org.apache.catalina.core.StandardWrapperValve invoke
SCHWERWIEGEND: Servlet.service() for servlet [action] in context with path [] threw exception [java.lang.RuntimeException: Component manager has not been initialized before lookup for [org.xwiki.model.reference.DocumentReferenceResolver< java.lang.String >] for hint [currentmixed]] with root cause
java.lang.RuntimeException: Component manager has not been initialized before lookup for [org.xwiki.model.reference.DocumentReferenceResolver< java.lang.String >] for hint [currentmixed]
	at com.xpn.xwiki.web.Utils.getComponent(Utils.java:700)
	at com.xpn.xwiki.XWikiContext.<init>(XWikiContext.java:151)
	at com.xpn.xwiki.web.Utils.prepareContext(Utils.java:382)
	at com.xpn.xwiki.web.XWikiAction.initializeXWikiContext(XWikiAction.java:426)
	at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:125)
	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
	at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:121)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
	at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:200)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
	at java.lang.Thread.run(Thread.java:619)
Reply | Threaded
Open this post in threaded view
|

Re: General XWiki Exception after Tomcat Startup (Component manager has not been initialized before lookup)

Thomas Mortagne
Administrator
This stack trace looks more like a consequence than a cause. You
probably have another error before this one, if you don't see anything
it probably means you need to enable Tomcat startup log.

See http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationTomcat#HSEVERE:ErrorlistenerStart.

On Tue, Apr 19, 2016 at 10:15 PM, matti <[hidden email]> wrote:

> Hello,
>
> our XWiki installation isn't running anymore. After restarting Tomcat, there
> is always the stacktrace below. No change to content has been made, afaik.
>
> Any help is most welcome. The XWiki version is 5.2.1 according to the
> "version.properties" file.
> Matthias
>
>
>
>
>
> --
> View this message in context: http://xwiki.475771.n2.nabble.com/General-XWiki-Exception-after-Tomcat-Startup-Component-manager-has-not-been-initialized-before-looku-tp7599079.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.
> _______________________________________________
> users mailing list
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/users



--
Thomas Mortagne
_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users