[xwiki-users] Component manager has not been initialized before lookup
Trying to install on CentOS / Tomcat6 / MySQL And have managed to do it once with the previous version. Now I try to do it again with the 541 release. After battling through the mysql connector problem and various other things, I now get a 500 error with the message " Component manager has not been initialized before lookup" I've tried to google it, didn't understand enough to find a solution. Halp? <<< exceptionjavax.servlet.ServletException: java.lang.RuntimeException: Component manager has not been initialized before lookup for [org.xwiki.model.reference.DocumentReferenceResolver< java.lang.String >] for hint [currentmixed] root causejava.lang.RuntimeException: Component manager has not been initialized before lookup for [org.xwiki.model.reference.DocumentReferenceResolver< java.lang.String >] for hint [currentmixed]
It does not really mean anything by itself. Something wrong happen during initialization and you should have some errors in the log. On Tue, Feb 18, 2014 at 12:41 PM, Aye Jaye <[email protected]> wrote:
Trying to install on CentOS / Tomcat6 / MySQL And have managed to do it once with the previous version.
Now I try to do it again with the 541 release. After battling through the mysql connector problem and various other things, I now get a 500 error with the message " Component manager has not been initialized before lookup" I've tried to google it, didn't understand enough to find a solution. Halp?
<<< exceptionjavax.servlet.ServletException: java.lang.RuntimeException: Component manager has not been initialized before lookup for [org.xwiki.model.reference.DocumentReferenceResolver< java.lang.String >] for hint [currentmixed]
root causejava.lang.RuntimeException: Component manager has not been initialized before lookup for [org.xwiki.model.reference.DocumentReferenceResolver< java.lang.String >] for hint [currentmixed]
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
Does this tell you anything? Or am I looking in the wrong logs? Catalina.out:WARN o.a.s.a.RequestProcessor - Unhandled Exception thrown: class java.lang.RuntimeException localhost.log org.apache.catalina.core.StandardWrapperValve invokeSEVERE: Servlet.service() for servlet action threw exceptionjava.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:617) at javax.servlet.http.HttpServlet.se
Date: Tue, 18 Feb 2014 16:11:30 +0100 From: [email protected] To: [email protected] Subject: Re: [xwiki-users] Component manager has not been initialized before lookup
It does not really mean anything by itself. Something wrong happen during initialization and you should have some errors in the log.
This is the exact same error you already copy/pasted, is that all you have in the log ? On Tue, Feb 18, 2014 at 4:44 PM, Aye Jaye <[email protected]> wrote:
Does this tell you anything? Or am I looking in the wrong logs? Catalina.out:WARN o.a.s.a.RequestProcessor - Unhandled Exception thrown: class java.lang.RuntimeException localhost.log org.apache.catalina.core.StandardWrapperValve invokeSEVERE: Servlet.service() for servlet action threw exceptionjava.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(HttpServ let.java:617) at javax.servlet.http.HttpServlet.se
Date: Tue, 18 Feb 2014 16:11:30 +0100 From: [email protected] To: [email protected] Subject: Re: [xwiki-users] Component manager has not been initialized before lookup
It does not really mean anything by itself. Something wrong happen during initialization and you should have some errors in the log.
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
Yes. I took it from /usr/share/tomcat6/logs which equates to /var/log/tomcat6
Date: Tue, 18 Feb 2014 17:39:19 +0100 From: [email protected] To: [email protected] Subject: Re: [xwiki-users] Component manager has not been initialized before lookup
This is the exact same error you already copy/pasted, is that all you have in the log ?
In standard Debian tomcat install I look at /var/log/tomcat6/catalina.out but might be different in CentOS. On Tue, Feb 18, 2014 at 5:53 PM, Aye Jaye <[email protected]> wrote:
Yes. I took it from /usr/share/tomcat6/logs which equates to /var/log/tomcat6
Date: Tue, 18 Feb 2014 17:39:19 +0100 From: [email protected] To: [email protected] Subject: Re: [xwiki-users] Component manager has not been initialized before lookup
This is the exact same error you already copy/pasted, is that all you have in the log ?
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
Yup, /var/log/tomcat6/catalina.out is where I got it. If that's not it, I am at a loss where to look.
Date: Tue, 18 Feb 2014 17:59:32 +0100 From: [email protected] To: [email protected] Subject: Re: [xwiki-users] Component manager has not been initialized before lookup
In standard Debian tomcat install I look at /var/log/tomcat6/catalina.out but might be different in CentOS.
Could you paste the full log file in http://pastebin.com/ or something like this. On Tue, Feb 18, 2014 at 6:08 PM, Aye Jaye <[email protected]> wrote:
Yup, /var/log/tomcat6/catalina.out is where I got it. If that's not it, I am at a loss where to look.
Date: Tue, 18 Feb 2014 17:59:32 +0100 From: [email protected] To: [email protected] Subject: Re: [xwiki-users] Component manager has not been initialized before lookup
In standard Debian tomcat install I look at /var/log/tomcat6/catalina.out but might be different in CentOS.
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
Hello again, I couldn't find any usable log info, so I decided to play around for a while. I think I found the solution. My problem was that I had two xwiki instances running, with different connection strings. HOWEVER, if you don't change the xwiki.cfg to reflect the different databases, it won't work. Both instances use the same database, even though the connection strings are different. So I changed xwiki.cfg for the second instance to #-# [Since 1.6M1]#-# Force the database name for the main wiki.xwiki.db=xwiki_second_database I'm sure it says in the documentation somewhere that you should do this... RTFM, I guess. Anyway, thanks for the help.
Date: Tue, 18 Feb 2014 18:11:41 +0100 From: [email protected] To: [email protected] Subject: Re: [xwiki-users] Component manager has not been initialized before lookup
Could you paste the full log file in http://pastebin.com/ or something like this.
On Tue, Feb 18, 2014 at 6:08 PM, Aye Jaye <[email protected]> wrote:
Yup, /var/log/tomcat6/catalina.out is where I got it. If that's not it, I am at a loss where to look.
Date: Tue, 18 Feb 2014 17:59:32 +0100 From: [email protected] To: [email protected] Subject: Re: [xwiki-users] Component manager has not been initialized before lookup
In standard Debian tomcat install I look at /var/log/tomcat6/catalina.out but might be different in CentOS.
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
participants (2)
-
Aye Jaye -
Thomas Mortagne