On 19/01/12 20:07, Kaya Saman wrote:
On 19/01/12 19:41, Kaya Saman wrote:


<snip>

In the mean time Google'ing around I managed to find this link:

http://jira.xwiki.org/browse/XWIKI-7388

which states that there are issues while upgrading from Xwiki 3..2 or 3.1.1 to 3.3.....

however that link claims that everything gets fixed in 3.4RC-1.


The web URL gives me this error:



*exception*

javax.servlet.ServletException: com.xpn.xwiki.XWikiException: Error number 3 in 
0: Could not initialize main XWiki context
Wrapped Exception: Error number 3202 in 3: Exception while reading document 
[name = [XWikiPreferences], type = [DOCUMENT], parent = [name = [XWiki], type = 
[SPACE], parent = [name = [xwiki], type = [WIKI], parent = [null]]]]
Wrapped Exception: invalid configuration
        
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535)
        
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433)
        
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
        org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
        org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128)
        
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
        
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
        
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217)
        
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)

*root cause*

com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main 
XWiki context
Wrapped Exception: Error number 3202 in 3: Exception while reading document 
[name = [XWikiPreferences], type = [DOCUMENT], parent = [name = [XWiki], type = 
[SPACE], parent = [name = [xwiki], type = [WIKI], parent = [null]]]]
Wrapped Exception: invalid configuration
        com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:418)
        com.xpn.xwiki.XWiki.getXWiki(XWiki.java:487)
        com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136)
        com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
        
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
        
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
        org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
        org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128)
        
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
        
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
        
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217)
        
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)

*root cause*

com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading 
document [name = [XWikiPreferences], type = [DOCUMENT], parent = [name = 
[XWiki], type = [SPACE], parent = [name = [xwiki], type = [WIKI], parent = 
[null]]]]
Wrapped Exception: invalid configuration
        
com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:856)
        
com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:283)
        com.xpn.xwiki.XWiki.getDocument(XWiki.java:1427)
        com.xpn.xwiki.XWiki.getDocument(XWiki.java:1470)
        com.xpn.xwiki.XWiki.getPrefsClass(XWiki.java:3104)
        com.xpn.xwiki.XWiki.initializeMandatoryClasses(XWiki.java:821)
        com.xpn.xwiki.XWiki.initXWiki(XWiki.java:796)
        com.xpn.xwiki.XWiki.<init>(XWiki.java:739)
        com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:401)
        com.xpn.xwiki.XWiki.getXWiki(XWiki.java:487)
        com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136)
        com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
        
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
        
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
        org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
        org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128)
        
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
        
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
        
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217)
        
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)

*root cause*

org.hibernate.MappingException: invalid configuration
        org.hibernate.cfg.Configuration.doConfigure(Configuration.java:2241)
        org.hibernate.cfg.Configuration.configure(Configuration.java:2158)
        
com.xpn.xwiki.store.hibernate.DefaultHibernateSessionFactory$1.configure(DefaultHibernateSessionFactory.java:80)
        
com.xpn.xwiki.store.XWikiHibernateBaseStore.initHibernate(XWikiHibernateBaseStore.java:167)
        
com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibernateBaseStore.java:550)
        
com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:728)
        
com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:283)
        com.xpn.xwiki.XWiki.getDocument(XWiki.java:1427)
        com.xpn.xwiki.XWiki.getDocument(XWiki.java:1470)
        com.xpn.xwiki.XWiki.getPrefsClass(XWiki.java:3104)
        com.xpn.xwiki.XWiki.initializeMandatoryClasses(XWiki.java:821)
        com.xpn.xwiki.XWiki.initXWiki(XWiki.java:796)
        com.xpn.xwiki.XWiki.<init>(XWiki.java:739)
        com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:401)
        com.xpn.xwiki.XWiki.getXWiki(XWiki.java:487)
        com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136)
        com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
        
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
        
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
        org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
        org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128)
        
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
        
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
        
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217)
        
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)

*root cause*

org.xml.sax.SAXParseException: The content of element type "session-factory" must match 
"(property*,mapping*,(class-cache|collection-cache)*,event*,listener*)".
        
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown 
Source)
        org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
        org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
        org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
        org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown 
Source)
        org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown Source)
        org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown 
Source)
        
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
 Source)
        
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
        org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
        org.dom4j.io.SAXReader.read(SAXReader.java:465)
        org.hibernate.cfg.Configuration.doConfigure(Configuration.java:2238)
        org.hibernate.cfg.Configuration.configure(Configuration.java:2158)
        
com.xpn.xwiki.store.hibernate.DefaultHibernateSessionFactory$1.configure(DefaultHibernateSessionFactory.java:80)
        
com.xpn.xwiki.store.XWikiHibernateBaseStore.initHibernate(XWikiHibernateBaseStore.java:167)
        
com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibernateBaseStore.java:550)
        
com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:728)
        
com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:283)
        com.xpn.xwiki.XWiki.getDocument(XWiki.java:1427)
        com.xpn.xwiki.XWiki.getDocument(XWiki.java:1470)
        com.xpn.xwiki.XWiki.getPrefsClass(XWiki.java:3104)
        com.xpn.xwiki.XWiki.initializeMandatoryClasses(XWiki.java:821)
        com.xpn.xwiki.XWiki.initXWiki(XWiki.java:796)
        com.xpn.xwiki.XWiki.<init>(XWiki.java:739)
        com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:401)
        com.xpn.xwiki.XWiki.getXWiki(XWiki.java:487)
        com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136)
        com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
        
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
        
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
        org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
        org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128)
        
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
        
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
        
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217)
        
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)



The Tomcat stdout.log shows:


2012-01-20 14:41:09,413 [http://192.168.1.170:8180/xwiki-enterprise-web-3.4-rc-1/bin/view/Main/] WARN o.i.m.DefaultCacheManager - ISPN000156: You are not starting all your caches at the same time. This can lead to problems as asymmetric clusters are not supported, see ISPN-658. We recommend using EmbeddedCacheManager.startCaches() to start all your caches upfront. 2012-01-20 14:41:09,495 [http://192.168.1.170:8180/xwiki-enterprise-web-3.4-rc-1/bin/view/Main/] ERROR o.h.u.XMLHelper - Error parsing XML: /WEB-INF/hibernate.cfg.xml(157) The content of element type "session-factory" must match "(property*,mapping*,(class-cache|collection-cache)*,event*,listener*)". 2012-01-20 14:41:09,504 [http://192.168.1.170:8180/xwiki-enterprise-web-3.4-rc-1/bin/view/Main/] WARN c.x.x.XWiki - Exception while getting wiki preference [macros_languages] 2012-01-20 14:41:09,508 [http://192.168.1.170:8180/xwiki-enterprise-web-3.4-rc-1/bin/view/Main/] ERROR o.h.u.XMLHelper - Error parsing XML: /WEB-INF/hibernate.cfg.xml(157) The content of element type "session-factory" must match "(property*,mapping*,(class-cache|collection-cache)*,event*,listener*)". 2012-01-20 14:41:09,510 [http://192.168.1.170:8180/xwiki-enterprise-web-3.4-rc-1/bin/view/Main/] WARN c.x.x.XWiki - Exception while getting wiki preference [macros_velocity] 2012-01-20 14:41:09,514 [http://192.168.1.170:8180/xwiki-enterprise-web-3.4-rc-1/bin/view/Main/] ERROR o.h.u.XMLHelper - Error parsing XML: /WEB-INF/hibernate.cfg.xml(157) The content of element type "session-factory" must match "(property*,mapping*,(class-cache|collection-cache)*,event*,listener*)". 2012-01-20 14:41:09,516 [http://192.168.1.170:8180/xwiki-enterprise-web-3.4-rc-1/bin/view/Main/] WARN c.x.x.XWiki - Exception while getting wiki preference [macros_groovy] 2012-01-20 14:41:09,520 [http://192.168.1.170:8180/xwiki-enterprise-web-3.4-rc-1/bin/view/Main/] ERROR o.h.u.XMLHelper - Error parsing XML: /WEB-INF/hibernate.cfg.xml(157) The content of element type "session-factory" must match "(property*,mapping*,(class-cache|collection-cache)*,event*,listener*)". 2012-01-20 14:41:09,522 [http://192.168.1.170:8180/xwiki-enterprise-web-3.4-rc-1/bin/view/Main/] WARN c.x.x.XWiki - Exception while getting wiki preference [macros_mapping] 2012-01-20 14:41:09,616 [http://192.168.1.170:8180/xwiki-enterprise-web-3.4-rc-1/bin/view/Main/] WARN o.i.m.DefaultCacheManager - ISPN000156: You are not starting all your caches at the same time. This can lead to problems as asymmetric clusters are not supported, see ISPN-658. We recommend using EmbeddedCacheManager.startCaches() to start all your caches upfront. 2012-01-20 14:41:09,631 [http://192.168.1.170:8180/xwiki-enterprise-web-3.4-rc-1/bin/view/Main/] ERROR o.h.u.XMLHelper - Error parsing XML: /WEB-INF/hibernate.cfg.xml(157) The content of element type "session-factory" must match "(property*,mapping*,(class-cache|collection-cache)*,event*,listener*)". 2012-01-20 14:41:09,633 [http://192.168.1.170:8180/xwiki-enterprise-web-3.4-rc-1/bin/view/Main/] WARN c.x.x.XWiki - Exception while getting wiki preference [plugins] 2012-01-20 14:41:09,659 [http://192.168.1.170:8180/xwiki-enterprise-web-3.4-rc-1/bin/view/Main/] ERROR o.h.u.XMLHelper - Error parsing XML: /WEB-INF/hibernate.cfg.xml(157) The content of element type "session-factory" must match "(property*,mapping*,(class-cache|collection-cache)*,event*,listener*)". 2012-01-20 14:41:09,660 [http://192.168.1.170:8180/xwiki-enterprise-web-3.4-rc-1/bin/view/Main/] ERROR actDocumentSkinExtensionPlugin - Cannot initialize skin extension class [XWiki.JavaScriptExtension] 2012-01-20 14:41:09,667 [http://192.168.1.170:8180/xwiki-enterprise-web-3.4-rc-1/bin/view/Main/] ERROR o.h.u.XMLHelper - Error parsing XML: /WEB-INF/hibernate.cfg.xml(157) The content of element type "session-factory" must match "(property*,mapping*,(class-cache|collection-cache)*,event*,listener*)". 2012-01-20 14:41:09,669 [http://192.168.1.170:8180/xwiki-enterprise-web-3.4-rc-1/bin/view/Main/] ERROR actDocumentSkinExtensionPlugin - Cannot initialize skin extension class [XWiki.StyleSheetExtension] 2012-01-20 14:41:09,680 [http://192.168.1.170:8180/xwiki-enterprise-web-3.4-rc-1/bin/view/Main/] WARN o.i.m.DefaultCacheManager - ISPN000156: You are not starting all your caches at the same time. This can lead to problems as asymmetric clusters are not supported, see ISPN-658. We recommend using EmbeddedCacheManager.startCaches() to start all your caches upfront. 2012-01-20 14:41:09,695 [http://192.168.1.170:8180/xwiki-enterprise-web-3.4-rc-1/bin/view/Main/] ERROR o.h.u.XMLHelper - Error parsing XML: /WEB-INF/hibernate.cfg.xml(157) The content of element type "session-factory" must match "(property*,mapping*,(class-cache|collection-cache)*,event*,listener*)". 2012-01-20 14:41:09,699 [http://192.168.1.170:8180/xwiki-enterprise-web-3.4-rc-1/bin/view/Main/] ERROR o.h.u.XMLHelper - Error parsing XML: /WEB-INF/hibernate.cfg.xml(157) The content of element type "session-factory" must match "(property*,mapping*,(class-cache|collection-cache)*,event*,listener*)". 2012-01-20 14:41:09,708 [http://192.168.1.170:8180/xwiki-enterprise-web-3.4-rc-1/bin/view/Main/] ERROR o.h.u.XMLHelper - Error parsing XML: /WEB-INF/hibernate.cfg.xml(157) The content of element type "session-factory" must match "(property*,mapping*,(class-cache|collection-cache)*,event*,listener*)". 2012-01-20 14:41:09,712 [http://192.168.1.170:8180/xwiki-enterprise-web-3.4-rc-1/bin/view/Main/] ERROR o.h.u.XMLHelper - Error parsing XML: /WEB-INF/hibernate.cfg.xml(157) The content of element type "session-factory" must match "(property*,mapping*,(class-cache|collection-cache)*,event*,listener*)". 2012-01-20 14:41:09,768 [http://192.168.1.170:8180/xwiki-enterprise-web-3.4-rc-1/bin/view/Main/] WARN o.i.m.DefaultCacheManager - ISPN000156: You are not starting all your caches at the same time. This can lead to problems as asymmetric clusters are not supported, see ISPN-658. We recommend using EmbeddedCacheManager.startCaches() to start all your caches upfront. 2012-01-20 14:41:10,061 [http://192.168.1.170:8180/xwiki-enterprise-web-3.4-rc-1/bin/view/Main/] ERROR o.h.u.XMLHelper - Error parsing XML: /WEB-INF/hibernate.cfg.xml(157) The content of element type "session-factory" must match "(property*,mapping*,(class-cache|collection-cache)*,event*,listener*)". 2012-01-20 14:41:10,068 [http://192.168.1.170:8180/xwiki-enterprise-web-3.4-rc-1/bin/view/Main/] ERROR o.h.u.XMLHelper - Error parsing XML: /WEB-INF/hibernate.cfg.xml(157) The content of element type "session-factory" must match "(property*,mapping*,(class-cache|collection-cache)*,event*,listener*)". 2012-01-20 14:41:10,070 [http://192.168.1.170:8180/xwiki-enterprise-web-3.4-rc-1/bin/view/Main/] WARN c.x.x.XWiki - Exception while getting wiki preference [default_language] 2012-01-20 14:41:10,075 [http://192.168.1.170:8180/xwiki-enterprise-web-3.4-rc-1/bin/view/Main/] ERROR o.h.u.XMLHelper - Error parsing XML: /WEB-INF/hibernate.cfg.xml(157) The content of element type "session-factory" must match "(property*,mapping*,(class-cache|collection-cache)*,event*,listener*)". 2012-01-20 14:41:10,077 [http://192.168.1.170:8180/xwiki-enterprise-web-3.4-rc-1/bin/view/Main/] WARN c.x.x.XWiki - Exception while getting wiki preference [multilingual] 2012-01-20 14:41:10,081 [http://192.168.1.170:8180/xwiki-enterprise-web-3.4-rc-1/bin/view/Main/] ERROR o.h.u.XMLHelper - Error parsing XML: /WEB-INF/hibernate.cfg.xml(157) The content of element type "session-factory" must match "(property*,mapping*,(class-cache|collection-cache)*,event*,listener*)". 2012-01-20 14:41:10,085 [http://192.168.1.170:8180/xwiki-enterprise-web-3.4-rc-1/bin/view/Main/] ERROR o.h.u.XMLHelper - Error parsing XML: /WEB-INF/hibernate.cfg.xml(157) The content of element type "session-factory" must match "(property*,mapping*,(class-cache|collection-cache)*,event*,listener*)". 2012-01-20 14:41:10,087 [http://192.168.1.170:8180/xwiki-enterprise-web-3.4-rc-1/bin/view/Main/] WARN c.x.x.XWiki - Exception while getting wiki preference [preferDefaultLanguage] 2012-01-20 14:41:10,102 [http://192.168.1.170:8180/xwiki-enterprise-web-3.4-rc-1/bin/view/Main/] ERROR o.h.u.XMLHelper - Error parsing XML: /WEB-INF/hibernate.cfg.xml(157) The content of element type "session-factory" must match "(property*,mapping*,(class-cache|collection-cache)*,event*,listener*)". 2012-01-20 14:41:10,104 [http://192.168.1.170:8180/xwiki-enterprise-web-3.4-rc-1/bin/view/Main/] WARN c.x.x.XWiki - Exception while getting wiki preference [default_language] 2012-01-20 14:41:10,108 [http://192.168.1.170:8180/xwiki-enterprise-web-3.4-rc-1/bin/view/Main/] ERROR o.h.u.XMLHelper - Error parsing XML: /WEB-INF/hibernate.cfg.xml(157) The content of element type "session-factory" must match "(property*,mapping*,(class-cache|collection-cache)*,event*,listener*)". 2012-01-20 14:41:10,110 [http://192.168.1.170:8180/xwiki-enterprise-web-3.4-rc-1/bin/view/Main/] WARN c.x.x.XWiki - Exception while getting wiki preference [documentBundles] 2012-01-20 14:41:10,119 [http://192.168.1.170:8180/xwiki-enterprise-web-3.4-rc-1/bin/view/Main/] ERROR o.h.u.XMLHelper - Error parsing XML: /WEB-INF/hibernate.cfg.xml(157) The content of element type "session-factory" must match "(property*,mapping*,(class-cache|collection-cache)*,event*,listener*)". 2012-01-20 14:41:10,122 [http://192.168.1.170:8180/xwiki-enterprise-web-3.4-rc-1/bin/view/Main/] ERROR c.x.x.p.s.SchedulerPlugin - Failed to update scheduler job class for in wiki [xwiki] 2012-01-20 14:41:10,218 [http://192.168.1.170:8180/xwiki-enterprise-web-3.4-rc-1/bin/view/Main/] ERROR o.h.u.XMLHelper - Error parsing XML: /WEB-INF/hibernate.cfg.xml(157) The content of element type "session-factory" must match "(property*,mapping*,(class-cache|collection-cache)*,event*,listener*)". 2012-01-20 14:41:10,241 [http://192.168.1.170:8180/xwiki-enterprise-web-3.4-rc-1/bin/view/Main/] ERROR o.h.u.XMLHelper - Error parsing XML: /WEB-INF/hibernate.cfg.xml(157) The content of element type "session-factory" must match "(property*,mapping*,(class-cache|collection-cache)*,event*,listener*)". 2012-01-20 14:41:10,243 [http://192.168.1.170:8180/xwiki-enterprise-web-3.4-rc-1/bin/view/Main/] WARN c.x.x.XWiki - Exception while getting wiki preference [xwiki.plugin.activitystream.daystokeepevents] 2012-01-20 14:41:10,263 [http://192.168.1.170:8180/xwiki-enterprise-web-3.4-rc-1/bin/view/Main/] ERROR o.h.u.XMLHelper - Error parsing XML: /WEB-INF/hibernate.cfg.xml(157) The content of element type "session-factory" must match "(property*,mapping*,(class-cache|collection-cache)*,event*,listener*)". 2012-01-20 14:41:10,269 [http://192.168.1.170:8180/xwiki-enterprise-web-3.4-rc-1/bin/view/Main/] ERROR o.h.u.XMLHelper - Error parsing XML: /WEB-INF/hibernate.cfg.xml(157) The content of element type "session-factory" must match "(property*,mapping*,(class-cache|collection-cache)*,event*,listener*)". 2012-01-20 14:41:10,271 [http://192.168.1.170:8180/xwiki-enterprise-web-3.4-rc-1/bin/view/Main/] ERROR c.x.x.p.w.WatchListPlugin - init 2012-01-20 14:41:10,280 [http://192.168.1.170:8180/xwiki-enterprise-web-3.4-rc-1/bin/view/Main/] ERROR o.h.u.XMLHelper - Error parsing XML: /WEB-INF/hibernate.cfg.xml(157) The content of element type "session-factory" must match "(property*,mapping*,(class-cache|collection-cache)*,event*,listener*)". 2012-01-20 14:41:10,282 [http://192.168.1.170:8180/xwiki-enterprise-web-3.4-rc-1/bin/view/Main/] ERROR c.x.x.w.XWikiAction - Uncaught exception during XWiki initialisation: 2012-01-20 14:41:10,285 [http://192.168.1.170:8180/xwiki-enterprise-web-3.4-rc-1/bin/view/Main/] WARN o.a.s.a.RequestProcessor - Unhandled Exception thrown: class com.xpn.xwiki.XWikiException


------------------------------------------------------------------------


The stderr.log shows:


INFO: Undeploying context [/xwiki-enterprise-web-3.4-rc-1]
INFO: Deploying web application archive xwiki-enterprise-web-3.4-rc-1.war
SEVERE: Exception fixing docBase for context [/xwiki-enterprise-web-3.4-rc-1] SEVERE: Context [/xwiki-enterprise-web-3.4-rc-1] startup failed due to previous errors INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/xwiki-enterprise-web-3.4-rc-1] has not been started
INFO: Undeploying context [/xwiki-enterprise-web-3.4-rc-1]
INFO: Deploying web application archive xwiki-enterprise-web-3.4-rc-1.war
SEVERE: Exception fixing docBase for context [/xwiki-enterprise-web-3.4-rc-1] SEVERE: Context [/xwiki-enterprise-web-3.4-rc-1] startup failed due to previous errors INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/xwiki-enterprise-web-3.4-rc-1] has not been started
INFO: Undeploying context [/xwiki-enterprise-web-3.4-rc-1]
INFO: Deploying web application archive xwiki-enterprise-web-3.4-rc-1.war
SEVERE: Exception fixing docBase for context [/xwiki-enterprise-web-3.4-rc-1] SEVERE: Context [/xwiki-enterprise-web-3.4-rc-1] startup failed due to previous errors INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/xwiki-enterprise-web-3.4-rc-1] has not been started
INFO: Undeploying context [/xwiki-enterprise-web-3.4-rc-1]
INFO: Deploying web application archive xwiki-enterprise-web-3.4-rc-1.war
SEVERE: Exception fixing docBase for context [/xwiki-enterprise-web-3.4-rc-1] SEVERE: Context [/xwiki-enterprise-web-3.4-rc-1] startup failed due to previous errors INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/xwiki-enterprise-web-3.4-rc-1] has not been started
INFO: Undeploying context [/xwiki-enterprise-web-3.4-rc-1]
INFO: Deploying web application archive xwiki-enterprise-web-3.4-rc-1.war
SEVERE: Exception fixing docBase for context [/xwiki-enterprise-web-3.4-rc-1] SEVERE: Context [/xwiki-enterprise-web-3.4-rc-1] startup failed due to previous errors INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/xwiki-enterprise-web-3.4-rc-1] has not been started
INFO: Undeploying context [/xwiki-enterprise-web-3.4-rc-1]
INFO: Deploying web application archive xwiki-enterprise-web-3.4-rc-1.war
SEVERE: Exception fixing docBase for context [/xwiki-enterprise-web-3.4-rc-1] SEVERE: Context [/xwiki-enterprise-web-3.4-rc-1] startup failed due to previous errors INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/xwiki-enterprise-web-3.4-rc-1] has not been started
INFO: Undeploying context [/xwiki-enterprise-web-3.4-rc-1]
INFO: Deploying web application archive xwiki-enterprise-web-3.4-rc-1.war
SEVERE: Exception fixing docBase for context [/xwiki-enterprise-web-3.4-rc-1] SEVERE: Context [/xwiki-enterprise-web-3.4-rc-1] startup failed due to previous errors INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/xwiki-enterprise-web-3.4-rc-1] has not been started
INFO: Undeploying context [/xwiki-enterprise-web-3.4-rc-1]
INFO: Deploying web application archive xwiki-enterprise-web-3.4-rc-1.war
SEVERE: Exception fixing docBase for context [/xwiki-enterprise-web-3.4-rc-1] SEVERE: Context [/xwiki-enterprise-web-3.4-rc-1] startup failed due to previous errors INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/xwiki-enterprise-web-3.4-rc-1] has not been started
INFO: Undeploying context [/xwiki-enterprise-web-3.4-rc-1]
INFO: Deploying web application archive xwiki-enterprise-web-3.4-rc-1.war
SEVERE: Exception fixing docBase for context [/xwiki-enterprise-web-3.4-rc-1] SEVERE: Context [/xwiki-enterprise-web-3.4-rc-1] startup failed due to previous errors INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/xwiki-enterprise-web-3.4-rc-1] has not been started
INFO: Undeploying context [/xwiki-enterprise-web-3.4-rc-1]
INFO: Deploying web application archive xwiki-enterprise-web-3.4-rc-1.war
SEVERE: Exception fixing docBase for context [/xwiki-enterprise-web-3.4-rc-1] SEVERE: Context [/xwiki-enterprise-web-3.4-rc-1] startup failed due to previous errors INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/xwiki-enterprise-web-3.4-rc-1] has not been started
INFO: Undeploying context [/xwiki-enterprise-web-3.4-rc-1]
INFO: Deploying web application archive xwiki-enterprise-web-3.4-rc-1.war
SEVERE: Exception fixing docBase for context [/xwiki-enterprise-web-3.4-rc-1] SEVERE: Context [/xwiki-enterprise-web-3.4-rc-1] startup failed due to previous errors INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/xwiki-enterprise-web-3.4-rc-1] has not been started
INFO: Deploying web application archive xwiki-enterprise-web-3.4-rc-1.war
SEVERE: The web application [/xwiki-enterprise-web-3.4-rc-1] appears to have started a thread named [Scheduled-eviction-thread-0] but has failed to stop it. This is very likely to create a memory leak. SEVERE: The web application [/xwiki-enterprise-web-3.4-rc-1] appears to have started a thread named [Lucene Index Updater] but has failed to stop it. This is very likely to create a memory leak. SEVERE: The web application [/xwiki-enterprise-web-3.4-rc-1] appears to have started a thread named [DefaultQuartzScheduler_Worker-1] but has failed to stop it. This is very likely to create a memory leak. SEVERE: The web application [/xwiki-enterprise-web-3.4-rc-1] appears to have started a thread named [DefaultQuartzScheduler_Worker-2] but has failed to stop it. This is very likely to create a memory leak. SEVERE: The web application [/xwiki-enterprise-web-3.4-rc-1] appears to have started a thread named [DefaultQuartzScheduler_Worker-3] but has failed to stop it. This is very likely to create a memory leak. SEVERE: The web application [/xwiki-enterprise-web-3.4-rc-1] appears to have started a thread named [DefaultQuartzScheduler_Worker-4] but has failed to stop it. This is very likely to create a memory leak. SEVERE: The web application [/xwiki-enterprise-web-3.4-rc-1] appears to have started a thread named [DefaultQuartzScheduler_Worker-5] but has failed to stop it. This is very likely to create a memory leak. SEVERE: The web application [/xwiki-enterprise-web-3.4-rc-1] appears to have started a thread named [DefaultQuartzScheduler_Worker-6] but has failed to stop it. This is very likely to create a memory leak. SEVERE: The web application [/xwiki-enterprise-web-3.4-rc-1] appears to have started a thread named [DefaultQuartzScheduler_Worker-7] but has failed to stop it. This is very likely to create a memory leak. SEVERE: The web application [/xwiki-enterprise-web-3.4-rc-1] appears to have started a thread named [DefaultQuartzScheduler_Worker-8] but has failed to stop it. This is very likely to create a memory leak. SEVERE: The web application [/xwiki-enterprise-web-3.4-rc-1] appears to have started a thread named [DefaultQuartzScheduler_Worker-9] but has failed to stop it. This is very likely to create a memory leak. SEVERE: The web application [/xwiki-enterprise-web-3.4-rc-1] appears to have started a thread named [DefaultQuartzScheduler_Worker-10] but has failed to stop it. This is very likely to create a memory leak. SEVERE: The web application [/xwiki-enterprise-web-3.4-rc-1] appears to have started a thread named [xwiki.plugin.image-FileCacheStore-0] but has failed to stop it. This is very likely to create a memory leak. SEVERE: The web application [/xwiki-enterprise-web-3.4-rc-1] appears to have started a thread named [Lucene Index Updater] but has failed to stop it. This is very likely to create a memory leak. SEVERE: The web application [/xwiki-enterprise-web-3.4-rc-1] appears to have started a thread named [DefaultQuartzScheduler_QuartzSchedulerThread] but has failed to stop it. This is very likely to create a memory leak. SEVERE: The web application [/xwiki-enterprise-web-3.4-rc-1] created a ThreadLocal with key of type [com.sun.xml.bind.v2.ClassFactory$1] (value [com.sun.xml.bind.v2.ClassFactory$1@bc35bb1]) and a value of type [java.util.WeakHashMap] (value [{class org.infinispan.config.GlobalConfiguration=java.lang.ref.WeakReference@46b8c77f, class org.infinispan.loaders.AbstractCacheStoreConfig=java.lang.ref.WeakReference@d31871f, class org.infinispan.config.Configuration=java.lang.ref.WeakReference@2e9e0afd, class org.infinispan.loaders.CacheLoaderConfigAdapter=java.lang.ref.WeakReference@9e37ff4, class org.infinispan.config.CacheLoaderManagerConfig=java.lang.ref.WeakReference@36e5713e, class org.infinispan.config.InfinispanConfiguration=java.lang.ref.WeakReference@116db99a, class org.infinispan.config.Configuration$EvictionType=java.lang.ref.WeakReference@3ab43666}]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak. SEVERE: The web application [/xwiki-enterprise-web-3.4-rc-1] created a ThreadLocal with key of type [com.sun.xml.bind.v2.runtime.Coordinator$1] (value [com.sun.xml.bind.v2.runtime.Coordinator$1@d5f80a6]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@78f71925]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak. SEVERE: The web application [/xwiki-enterprise-web-3.4-rc-1] created a ThreadLocal with key of type [org.infinispan.CacheImpl$1] (value [org.infinispan.CacheImpl$1@26940a2e]) and a value of type [org.infinispan.CacheImpl.PreInvocationContext] (value [org.infinispan.CacheImpl$PreInvocationContext@412865cb]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak. SEVERE: The web application [/xwiki-enterprise-web-3.4-rc-1] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@433313d8]) and a value of type [org.infinispan.context.impl.NonTxInvocationContext] (value [NonTxInvocationContext{flags=null}]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
INFO: Deploying web application archive xwiki-enterprise-web-3.4-rc-1.war

------------------------------------------------------------------------

I am really not sure what is going.......

Presumably I may have a 'corrupt' Xwiki from the previous migration hence the previous email with the deformed ADMIN PANEL but how do I tell???


An Xwiki Health Check would be really cool in order to see if things are inline and working order or not.


Regards,


Kaya
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to