Re: [xwiki-users] Component manager has not been initialized before lookup for

2014-03-19 Thread Marius Dumitru Florea
You need to fix this:

Caused by: java.lang.IllegalArgumentException: The given path
'/var/lib/xwiki/data/solr' must be a readable and writable directory
at 
org.xwiki.search.solr.internal.EmbeddedSolrInstance.validateAndInitializeHomeDirectory(EmbeddedSolrInstance.java:153)
~[xwiki-platform-search-solr-api-5.4.1.jar:na]

Hope this helps,
Marius

On Wed, Mar 19, 2014 at 3:43 PM, El_Nico nicolas.mo...@rn3dlab.com wrote:
 Hello,

 I'm a big problem when I try to acces at this page :
 http://localhost:8080/xwiki/bin/view/Main/.

 I have some errors :

 javax.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]

 org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:520)

 org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:427)

 org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
 
 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:728)
 com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:121)

 org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:126)
 
 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)

 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]
 com.xpn.xwiki.web.Utils.getComponent(Utils.java:700)
 com.xpn.xwiki.XWikiContext.init(XWikiContext.java:151)
 com.xpn.xwiki.web.Utils.prepareContext(Utils.java:382)
 
 com.xpn.xwiki.web.XWikiAction.initializeXWikiContext(XWikiAction.java:433)
 com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:126)

 org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)

 org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
 
 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:728)
 com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:121)

 org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:126)
 
 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)

 I installed tomcat7.2 and I use Ubuntu OS.

 What is the problem ? What sould I do ?

 Here are the logs that I could recover :

 http://pastebin.com/c4wx2iNZ

 Here are the catalina.out logs that I could recover :

 http://pastebin.com/N89ezz6z

 Thank you in advance for your answers.

 Nicolas.




 --
 View this message in context: 
 http://xwiki.475771.n2.nabble.com/Component-manager-has-not-been-initialized-before-lookup-for-tp7589689.html
 Sent from the XWiki- Users mailing list archive at Nabble.com.
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Component manager has not been initialized before lookup for

2014-03-19 Thread El_Nico
Thank for your answer, 

but it doesn't work, in this path : /var/lib/xwiki/data/,

I had just : 

drwxr-xr-x 6 tomcat7 tomcat7 4096 janv. 23 16:47 ./
drwxr-xr-x 3 rootroot4096 janv. 16 15:48 ../
drwxr-xr-x 3 tomcat7 tomcat7 4096 janv. 16 16:14 extension/
drwxr-xr-x 3 tomcat7 tomcat7 4096 janv. 16 16:19 jobs/
drwxr-xr-x 2 tomcat7 tomcat7 4096 mars  14 07:00 lucene/
-rwxr-xr-x 1 rootroot 795 août  12  2013 solr*
drwxr-xr-x 3 tomcat7 tomcat7 4096 févr. 17 11:25 storage/

I tried to change rule for solr like that :

-rwxr-xr-x 1 tomcat7 tomcat7  795 août  12  2013 solr*

But, the result is the same.

Is it normal to have just a solr file and not a directory ?



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Component-manager-has-not-been-initialized-before-lookup-for-tp7589689p7589696.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Component manager has not been initialized before lookup for

2014-03-19 Thread Thomas Mortagne
On Wed, Mar 19, 2014 at 3:31 PM, El_Nico nicolas.mo...@rn3dlab.com wrote:
 Thank for your answer,

 but it doesn't work, in this path : /var/lib/xwiki/data/,

 I had just :

 drwxr-xr-x 6 tomcat7 tomcat7 4096 janv. 23 16:47 ./
 drwxr-xr-x 3 rootroot4096 janv. 16 15:48 ../
 drwxr-xr-x 3 tomcat7 tomcat7 4096 janv. 16 16:14 extension/
 drwxr-xr-x 3 tomcat7 tomcat7 4096 janv. 16 16:19 jobs/
 drwxr-xr-x 2 tomcat7 tomcat7 4096 mars  14 07:00 lucene/
 -rwxr-xr-x 1 rootroot 795 août  12  2013 solr*
 drwxr-xr-x 3 tomcat7 tomcat7 4096 févr. 17 11:25 storage/

 I tried to change rule for solr like that :

 -rwxr-xr-x 1 tomcat7 tomcat7  795 août  12  2013 solr*

 But, the result is the same.

 Is it normal to have just a solr file and not a directory ?

No it's not normal, first time I see this. Delete that file and you
should be fine, XWiki will create the folder.




 --
 View this message in context: 
 http://xwiki.475771.n2.nabble.com/Component-manager-has-not-been-initialized-before-lookup-for-tp7589689p7589696.html
 Sent from the XWiki- Users mailing list archive at Nabble.com.
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users



-- 
Thomas Mortagne
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Component manager has not been initialized before lookup for

2014-03-19 Thread El_Nico
It works !

I could find a backup of this directory, and I copy it in this path.

Thanks a lot for your answers !



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Component-manager-has-not-been-initialized-before-lookup-for-tp7589689p7589702.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Component manager has not been initialized before lookup

2014-02-19 Thread Aye Jaye
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: thomas.morta...@xwiki.com
 To: users@xwiki.org
 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 aye.j...@outlook.com 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: thomas.morta...@xwiki.com
  To: users@xwiki.org
  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
  users@xwiki.org
  http://lists.xwiki.org/mailman/listinfo/users
 
 
 
 -- 
 Thomas Mortagne
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
  
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Component manager has not been initialized before lookup

2014-02-18 Thread Thomas Mortagne
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 aye.j...@outlook.com 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
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users



-- 
Thomas Mortagne
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Component manager has not been initialized before lookup

2014-02-18 Thread Aye Jaye
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: thomas.morta...@xwiki.com
 To: users@xwiki.org
 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
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Component manager has not been initialized before lookup

2014-02-18 Thread Thomas Mortagne
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 aye.j...@outlook.com 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.htt
 p.HttpServlet.service(HttpServ
  let.java:617)  at javax.servlet.http.HttpServlet.se



 Date: Tue, 18 Feb 2014 16:11:30 +0100
 From: thomas.morta...@xwiki.com
 To: users@xwiki.org
 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
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users



-- 
Thomas Mortagne
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Component manager has not been initialized before lookup

2014-02-18 Thread Aye Jaye
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: thomas.morta...@xwiki.com
 To: users@xwiki.org
 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
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Component manager has not been initialized before lookup

2014-02-18 Thread Thomas Mortagne
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 aye.j...@outlook.com 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: thomas.morta...@xwiki.com
 To: users@xwiki.org
 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
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users



-- 
Thomas Mortagne
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Component manager has not been initialized before lookup

2014-02-18 Thread Aye Jaye
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: thomas.morta...@xwiki.com
 To: users@xwiki.org
 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
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Component manager has not been initialized before lookup

2014-02-18 Thread Thomas Mortagne
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 aye.j...@outlook.com 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: thomas.morta...@xwiki.com
 To: users@xwiki.org
 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
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users



-- 
Thomas Mortagne
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Component manager has not been initialized before lookup for [org.xwiki.model.reference.DocumentReferenceResolver java.lang.String ] for hint [currentmixed]

2013-09-10 Thread Vincent Massol
Hi Mohit,

Does this happen again if you restart again XWiki or is it a fluke?

Thanks
-Vincent

On Sep 9, 2013, at 4:40 PM, Mohit Gupta motgu...@gmail.com wrote:

 Hi,
 
 I installed the xwiki latest version i.e 5.1 war file under tomcat and
 getting the below error when
 i hit the deployed  xwiki from browser. I am not sure what i missed here?
 
 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:418)
 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.service(HttpServlet.java:717)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at
 org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at
 com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at
 org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at
 org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Component manager has not been initialized before lookup for [org.xwiki.model.reference.DocumentReferenceResolver java.lang.String ] for hint [currentmixed]

2013-09-10 Thread Mohit Gupta
Hi Vincent,

This did not happen again as of now after restart.


On Tue, Sep 10, 2013 at 12:15 PM, Vincent Massol vinc...@massol.net wrote:

 Hi Mohit,

 Does this happen again if you restart again XWiki or is it a fluke?

 Thanks
 -Vincent

 On Sep 9, 2013, at 4:40 PM, Mohit Gupta motgu...@gmail.com wrote:

  Hi,
 
  I installed the xwiki latest version i.e 5.1 war file under tomcat and
  getting the below error when
  i hit the deployed  xwiki from browser. I am not sure what i missed here?
 
  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:418)
  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.service(HttpServlet.java:717)
  at
 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  at
 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120)
  at
 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  at
 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  at
 
 org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
  at
 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  at
 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  at
 
 com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
  at
 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  at
 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  at
 
 org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
  at
 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  at
 
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  at
 
 org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
  at
 
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
  ___
  users mailing list
  users@xwiki.org
  http://lists.xwiki.org/mailman/listinfo/users

 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Component manager has not been initialized before lookup for [org.xwiki.model.reference.DocumentReferenceResolver java.lang.String ] for hint [currentmixed]

2013-09-09 Thread Mohit Gupta
Folks

Issue got resolved by deleting work folder under my tomcat directory. Looks
like it was some cache issue. as i was upgrading it from 3.5 to 5.1.


On Mon, Sep 9, 2013 at 8:10 PM, Mohit Gupta motgu...@gmail.com wrote:

 Hi,

 I installed the xwiki latest version i.e 5.1 war file under tomcat and
 getting the below error when
 i hit the deployed  xwiki from browser. I am not sure what i missed here?

 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:418)
  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.service(HttpServlet.java:717)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120)
  at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  at
 org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at
 com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
  at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  at
 org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at
 org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
  at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users