Upgrade To 5.2 Failure

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

Upgrade To 5.2 Failure

laurin1
I have no idea why this is failing. I can revert back to 5.1 and it works fine. Here is what exception that I am getting. I have done compare of my hibernate.cfg.xml file and the only settings I'm changing from the new (5.2) default are those that are necessary for storing files on the drive, for MySQL and for LDAP. All of those settings match my 5.1 hibernate.cfg.xml file.



HTTP Status 500 - com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context

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

type Exception report

message com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context

description The server encountered an internal error that prevented it from fulfilling this request.

exception
javax.servlet.ServletException: com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context
        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: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:144)
        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
com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context
        com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:422)
        com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491)
        com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:152)
        com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:128)
        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: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:144)
        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
com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [xwiki:XWiki.XWikiGlobalRights]
        com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:916)
        com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:290)
        com.xpn.xwiki.XWiki.getDocument(XWiki.java:1515)
        com.xpn.xwiki.XWiki.getDocument(XWiki.java:1558)
        com.xpn.xwiki.XWiki.initializeMandatoryClasses(XWiki.java:885)
        com.xpn.xwiki.XWiki.initXWiki(XWiki.java:855)
        com.xpn.xwiki.XWiki.<init>(XWiki.java:792)
        com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:402)
        com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491)
        com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:152)
        com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:128)
        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: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:144)
        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
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:105)
        com.xpn.xwiki.store.XWikiHibernateBaseStore.initHibernate(XWikiHibernateBaseStore.java:217)
        com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibernateBaseStore.java:640)
        com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:789)
        com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:290)
        com.xpn.xwiki.XWiki.getDocument(XWiki.java:1515)
        com.xpn.xwiki.XWiki.getDocument(XWiki.java:1558)
        com.xpn.xwiki.XWiki.initializeMandatoryClasses(XWiki.java:885)
        com.xpn.xwiki.XWiki.initXWiki(XWiki.java:855)
        com.xpn.xwiki.XWiki.<init>(XWiki.java:792)
        com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:402)
        com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491)
        com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:152)
        com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:128)
        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: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:144)
        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
org.xml.sax.SAXParseException; lineNumber: 186; columnNumber: 21; 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.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:105)
        com.xpn.xwiki.store.XWikiHibernateBaseStore.initHibernate(XWikiHibernateBaseStore.java:217)
        com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibernateBaseStore.java:640)
        com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:789)
        com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:290)
        com.xpn.xwiki.XWiki.getDocument(XWiki.java:1515)
        com.xpn.xwiki.XWiki.getDocument(XWiki.java:1558)
        com.xpn.xwiki.XWiki.initializeMandatoryClasses(XWiki.java:885)
        com.xpn.xwiki.XWiki.initXWiki(XWiki.java:855)
        com.xpn.xwiki.XWiki.<init>(XWiki.java:792)
        com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:402)
        com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491)
        com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:152)
        com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:128)
        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: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:144)
        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)




This message (including any attachments) may contain confidential or otherwise privileged information and is intended only for the individual(s) to which it is addressed. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secured or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message or that arise as a result of e-mail transmission. If verification is required please request a hard-copy version from the sender.

www.pridedallas.com



_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Upgrade To 5.2 Failure

vmassol
Administrator

On Oct 21, 2013, at 5:53 PM, Keith Davis <[hidden email]> wrote:

> I have no idea why this is failing. I can revert back to 5.1 and it works fine. Here is what exception that I am getting. I have done compare of my hibernate.cfg.xml file and the only settings I'm changing from the new (5.2) default are those that are necessary for storing files on the drive, for MySQL and for LDAP. All of those settings match my 5.1 hibernate.cfg.xml file.

The XML needs to match its schema, i.e. the xml elements must be in the *right* order, which is:

(property*,mapping*,(class-cache|collection-cache)*,event*,listener*)

Thanks
-Vincent

> HTTP Status 500 - com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context
>
> --------------------------------------------------------------------------------
>
> type Exception report
>
> message com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context
>
> description The server encountered an internal error that prevented it from fulfilling this request.
>
> exception
> javax.servlet.ServletException: com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context
> 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: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:144)
> 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
> com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context
> com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:422)
> com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491)
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:152)
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:128)
> 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: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:144)
> 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
> com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [xwiki:XWiki.XWikiGlobalRights]
> com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:916)
> com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:290)
> com.xpn.xwiki.XWiki.getDocument(XWiki.java:1515)
> com.xpn.xwiki.XWiki.getDocument(XWiki.java:1558)
> com.xpn.xwiki.XWiki.initializeMandatoryClasses(XWiki.java:885)
> com.xpn.xwiki.XWiki.initXWiki(XWiki.java:855)
> com.xpn.xwiki.XWiki.<init>(XWiki.java:792)
> com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:402)
> com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491)
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:152)
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:128)
> 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: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:144)
> 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
> 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:105)
> com.xpn.xwiki.store.XWikiHibernateBaseStore.initHibernate(XWikiHibernateBaseStore.java:217)
> com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibernateBaseStore.java:640)
> com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:789)
> com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:290)
> com.xpn.xwiki.XWiki.getDocument(XWiki.java:1515)
> com.xpn.xwiki.XWiki.getDocument(XWiki.java:1558)
> com.xpn.xwiki.XWiki.initializeMandatoryClasses(XWiki.java:885)
> com.xpn.xwiki.XWiki.initXWiki(XWiki.java:855)
> com.xpn.xwiki.XWiki.<init>(XWiki.java:792)
> com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:402)
> com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491)
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:152)
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:128)
> 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: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:144)
> 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
> org.xml.sax.SAXParseException; lineNumber: 186; columnNumber: 21; 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.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:105)
> com.xpn.xwiki.store.XWikiHibernateBaseStore.initHibernate(XWikiHibernateBaseStore.java:217)
> com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibernateBaseStore.java:640)
> com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:789)
> com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:290)
> com.xpn.xwiki.XWiki.getDocument(XWiki.java:1515)
> com.xpn.xwiki.XWiki.getDocument(XWiki.java:1558)
> com.xpn.xwiki.XWiki.initializeMandatoryClasses(XWiki.java:885)
> com.xpn.xwiki.XWiki.initXWiki(XWiki.java:855)
> com.xpn.xwiki.XWiki.<init>(XWiki.java:792)
> com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:402)
> com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491)
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:152)
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:128)
> 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: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:144)
> 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)
>
>
>
>
> This message (including any attachments) may contain confidential or otherwise privileged information and is intended only for the individual(s) to which it is addressed. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secured or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message or that arise as a result of e-mail transmission. If verification is required please request a hard-copy version from the sender.
>
> www.pridedallas.com
>
>
> _______________________________________________
> users mailing list
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/users

_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Upgrade To 5.2 Failure

laurin1
Ok, I found my mistake there (forgot to comment and uncomment appropriately), but it still won't load. It's been trying to load for 10 minutes!

Keith Davis - (214) 906-5183


-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Vincent Massol
Sent: Monday, October 21, 2013 11:22 AM
To: XWiki Users
Subject: Re: [xwiki-users] Upgrade To 5.2 Failure


On Oct 21, 2013, at 5:53 PM, Keith Davis <[hidden email]> wrote:

> I have no idea why this is failing. I can revert back to 5.1 and it works fine. Here is what exception that I am getting. I have done compare of my hibernate.cfg.xml file and the only settings I'm changing from the new (5.2) default are those that are necessary for storing files on the drive, for MySQL and for LDAP. All of those settings match my 5.1 hibernate.cfg.xml file.

The XML needs to match its schema, i.e. the xml elements must be in the *right* order, which is:

(property*,mapping*,(class-cache|collection-cache)*,event*,listener*)

Thanks
-Vincent

> HTTP Status 500 - com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context
>
> --------------------------------------------------------------------------------
>
> type Exception report
>
> message com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context
>
> description The server encountered an internal error that prevented it from fulfilling this request.
>
> exception
> javax.servlet.ServletException: com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context
> 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: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:144)
> 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
> com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context
> com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:422)
> com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491)
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:152)
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:128)
> 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: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:144)
> 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
> com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [xwiki:XWiki.XWikiGlobalRights]
> com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:916)
> com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:290)
> com.xpn.xwiki.XWiki.getDocument(XWiki.java:1515)
> com.xpn.xwiki.XWiki.getDocument(XWiki.java:1558)
> com.xpn.xwiki.XWiki.initializeMandatoryClasses(XWiki.java:885)
> com.xpn.xwiki.XWiki.initXWiki(XWiki.java:855)
> com.xpn.xwiki.XWiki.<init>(XWiki.java:792)
> com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:402)
> com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491)
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:152)
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:128)
> 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: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:144)
> 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
> 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:105)
> com.xpn.xwiki.store.XWikiHibernateBaseStore.initHibernate(XWikiHibernateBaseStore.java:217)
> com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibernateBaseStore.java:640)
> com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:789)
> com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:290)
> com.xpn.xwiki.XWiki.getDocument(XWiki.java:1515)
> com.xpn.xwiki.XWiki.getDocument(XWiki.java:1558)
> com.xpn.xwiki.XWiki.initializeMandatoryClasses(XWiki.java:885)
> com.xpn.xwiki.XWiki.initXWiki(XWiki.java:855)
> com.xpn.xwiki.XWiki.<init>(XWiki.java:792)
> com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:402)
> com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491)
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:152)
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:128)
> 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: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:144)
> 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
> org.xml.sax.SAXParseException; lineNumber: 186; columnNumber: 21; 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.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:105)
> com.xpn.xwiki.store.XWikiHibernateBaseStore.initHibernate(XWikiHibernateBaseStore.java:217)
> com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibernateBaseStore.java:640)
> com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:789)
> com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:290)
> com.xpn.xwiki.XWiki.getDocument(XWiki.java:1515)
> com.xpn.xwiki.XWiki.getDocument(XWiki.java:1558)
> com.xpn.xwiki.XWiki.initializeMandatoryClasses(XWiki.java:885)
> com.xpn.xwiki.XWiki.initXWiki(XWiki.java:855)
> com.xpn.xwiki.XWiki.<init>(XWiki.java:792)
> com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:402)
> com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491)
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:152)
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:128)
> 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: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:144)
> 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)
>
>
>
>
> This message (including any attachments) may contain confidential or otherwise privileged information and is intended only for the individual(s) to which it is addressed. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secured or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message or that arise as a result of e-mail transmission. If verification is required please request a hard-copy version from the sender.
>
> www.pridedallas.com
>
>
> _______________________________________________
> users mailing list
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users

_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Upgrade To 5.2 Failure

laurin1
In reply to this post by vmassol
Oct 21, 2013 11:36:23 AM org.jboss.netty.channel.socket.nio.AbstractNioWorker
WARNING: Unexpected exception in the selector loop.
java.lang.OutOfMemoryError: PermGen space

n.xwiki.store.XWikiHibernateBaseStore.initHibernate(XWikiHibernateBaseStore.java:223)
        at com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibernateBaseStore.java:640)
        at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:789)
        at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:290)
        at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1515)
        at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1558)
        at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2258)
        at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2290)
        at com.xpn.xwiki.render.XWikiMacrosMappingRenderer.loadPreferences(XWikiMacrosMappingRenderer.java:107)
        at com.xpn.xwiki.render.XWikiMacrosMappingRenderer.<init>(XWikiMacrosMappingRenderer.java:83)
        at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.<init>(DefaultXWikiRenderingEngine.java:72)
        at com.xpn.xwiki.XWiki.resetRenderingEngine(XWiki.java:1159)
        at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:844)
        at com.xpn.xwiki.XWiki.<init>(XWiki.java:792)
        at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:402)
        at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491)
Exception in thread "http://xwiki01.pridedallas.com:8080/xwiki/bin/view/Main/" java.lang.OutOfMemoryError: PermGen space
        at ch.qos.logback.classic.spi.ThrowableProxyUtil.steArrayToStepArray(ThrowableProxyUtil.java:50)
        at ch.qos.logback.classic.spi.ThrowableProxy.<init>(ThrowableProxy.java:55)
        at ch.qos.logback.classic.spi.LoggingEvent.<init>(LoggingEvent.java:126)
        at ch.qos.logback.classic.Logger.buildLoggingEventAndAppend(Logger.java:439)
        at ch.qos.logback.classic.Logger.filterAndLog_0_Or3Plus(Logger.java:395)
        at ch.qos.logback.classic.Logger.error(Logger.java:558)
        at com.xpn.xwiki.store.DBCPConnectionProvider.configure(DBCPConnectionProvider.java:206)
        at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:143)
        at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:84)
        at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:459)
        at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:90)
        at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2863)
        at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2859)
        at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1870)
        at com.xpn.xwiki.store.XWikiHibernateBaseStore.initHibernate(XWikiHibernateBaseStore.java:223)
        at com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibernateBaseStore.java:640)
        at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:789)
        at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:290)
        at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1515)
        at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1558)
        at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2258)
        at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2290)
        at com.xpn.xwiki.render.XWikiMacrosMappingRenderer.loadPreferences(XWikiMacrosMappingRenderer.java:107)
        at com.xpn.xwiki.render.XWikiMacrosMappingRenderer.<init>(XWikiMacrosMappingRenderer.java:83)
        at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.<init>(DefaultXWikiRenderingEngine.java:72)
        at com.xpn.xwiki.XWiki.resetRenderingEngine(XWiki.java:1159)
        at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:844)
        at com.xpn.xwiki.XWiki.<init>(XWiki.java:792)
        at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:402)
        at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491)
        at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:152)
        at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:128)
Exception in thread "http-bio-8080-exec-9" java.lang.OutOfMemoryError: PermGen space
Exception in thread "http-bio-8080-exec-2" java.lang.OutOfMemoryError: PermGen space
Exception in thread "http-bio-8080-exec-11" java.lang.OutOfMemoryError: PermGen space
Exception in thread "http-bio-8080-exec-10" java.lang.OutOfMemoryError: PermGen space
Exception in thread "http-bio-8080-exec-12" java.lang.OutOfMemoryError: PermGen space
Exception in thread "http-bio-8080-exec-1" java.lang.OutOfMemoryError: PermGen space
Exception in thread "http://xwiki01.pridedallas.com:8080/xwiki/bin/view/Main/" java.lang.OutOfMemoryError: PermGen space
Exception in thread "http-bio-8080-exec-8" java.lang.OutOfMemoryError: PermGen space
Exception in thread "http-bio-8080-exec-13" java.lang.OutOfMemoryError: PermGen space

Keith Davis - (214) 906-5183


-----Original Message-----
From: Keith Davis
Sent: Monday, October 21, 2013 11:34 AM
To: XWiki Users
Subject: RE: [xwiki-users] Upgrade To 5.2 Failure

Ok, I found my mistake there (forgot to comment and uncomment appropriately), but it still won't load. It's been trying to load for 10 minutes!

Keith Davis - (214) 906-5183


-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Vincent Massol
Sent: Monday, October 21, 2013 11:22 AM
To: XWiki Users
Subject: Re: [xwiki-users] Upgrade To 5.2 Failure


On Oct 21, 2013, at 5:53 PM, Keith Davis <[hidden email]> wrote:

> I have no idea why this is failing. I can revert back to 5.1 and it works fine. Here is what exception that I am getting. I have done compare of my hibernate.cfg.xml file and the only settings I'm changing from the new (5.2) default are those that are necessary for storing files on the drive, for MySQL and for LDAP. All of those settings match my 5.1 hibernate.cfg.xml file.

The XML needs to match its schema, i.e. the xml elements must be in the *right* order, which is:

(property*,mapping*,(class-cache|collection-cache)*,event*,listener*)

Thanks
-Vincent

> HTTP Status 500 - com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context
>
> --------------------------------------------------------------------------------
>
> type Exception report
>
> message com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context
>
> description The server encountered an internal error that prevented it from fulfilling this request.
>
> exception
> javax.servlet.ServletException: com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context
> 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: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:144)
> 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
> com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context
> com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:422)
> com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491)
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:152)
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:128)
> 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: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:144)
> 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
> com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [xwiki:XWiki.XWikiGlobalRights]
> com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:916)
> com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:290)
> com.xpn.xwiki.XWiki.getDocument(XWiki.java:1515)
> com.xpn.xwiki.XWiki.getDocument(XWiki.java:1558)
> com.xpn.xwiki.XWiki.initializeMandatoryClasses(XWiki.java:885)
> com.xpn.xwiki.XWiki.initXWiki(XWiki.java:855)
> com.xpn.xwiki.XWiki.<init>(XWiki.java:792)
> com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:402)
> com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491)
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:152)
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:128)
> 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: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:144)
> 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
> 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:105)
> com.xpn.xwiki.store.XWikiHibernateBaseStore.initHibernate(XWikiHibernateBaseStore.java:217)
> com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibernateBaseStore.java:640)
> com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:789)
> com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:290)
> com.xpn.xwiki.XWiki.getDocument(XWiki.java:1515)
> com.xpn.xwiki.XWiki.getDocument(XWiki.java:1558)
> com.xpn.xwiki.XWiki.initializeMandatoryClasses(XWiki.java:885)
> com.xpn.xwiki.XWiki.initXWiki(XWiki.java:855)
> com.xpn.xwiki.XWiki.<init>(XWiki.java:792)
> com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:402)
> com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491)
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:152)
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:128)
> 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: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:144)
> 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
> org.xml.sax.SAXParseException; lineNumber: 186; columnNumber: 21; 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.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:105)
> com.xpn.xwiki.store.XWikiHibernateBaseStore.initHibernate(XWikiHibernateBaseStore.java:217)
> com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibernateBaseStore.java:640)
> com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:789)
> com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:290)
> com.xpn.xwiki.XWiki.getDocument(XWiki.java:1515)
> com.xpn.xwiki.XWiki.getDocument(XWiki.java:1558)
> com.xpn.xwiki.XWiki.initializeMandatoryClasses(XWiki.java:885)
> com.xpn.xwiki.XWiki.initXWiki(XWiki.java:855)
> com.xpn.xwiki.XWiki.<init>(XWiki.java:792)
> com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:402)
> com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491)
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:152)
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:128)
> 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: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:144)
> 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)
>
>
>
>
> This message (including any attachments) may contain confidential or otherwise privileged information and is intended only for the individual(s) to which it is addressed. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secured or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message or that arise as a result of e-mail transmission. If verification is required please request a hard-copy version from the sender.
>
> www.pridedallas.com
>
>
> _______________________________________________
> users mailing list
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users

_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Upgrade To 5.2 Failure

vmassol
Administrator
ok that"s an easy one :)

You need to increase the permgen

See http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HPrerequisites

Thanks
-Vincent

On Oct 21, 2013, at 7:10 PM, Keith Davis <[hidden email]> wrote:

> Oct 21, 2013 11:36:23 AM org.jboss.netty.channel.socket.nio.AbstractNioWorker
> WARNING: Unexpected exception in the selector loop.
> java.lang.OutOfMemoryError: PermGen space
>
> n.xwiki.store.XWikiHibernateBaseStore.initHibernate(XWikiHibernateBaseStore.java:223)
> at com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibernateBaseStore.java:640)
> at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:789)
> at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:290)
> at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1515)
> at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1558)
> at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2258)
> at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2290)
> at com.xpn.xwiki.render.XWikiMacrosMappingRenderer.loadPreferences(XWikiMacrosMappingRenderer.java:107)
> at com.xpn.xwiki.render.XWikiMacrosMappingRenderer.<init>(XWikiMacrosMappingRenderer.java:83)
> at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.<init>(DefaultXWikiRenderingEngine.java:72)
> at com.xpn.xwiki.XWiki.resetRenderingEngine(XWiki.java:1159)
> at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:844)
> at com.xpn.xwiki.XWiki.<init>(XWiki.java:792)
> at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:402)
> at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491)
> Exception in thread "http://xwiki01.pridedallas.com:8080/xwiki/bin/view/Main/" java.lang.OutOfMemoryError: PermGen space
> at ch.qos.logback.classic.spi.ThrowableProxyUtil.steArrayToStepArray(ThrowableProxyUtil.java:50)
> at ch.qos.logback.classic.spi.ThrowableProxy.<init>(ThrowableProxy.java:55)
> at ch.qos.logback.classic.spi.LoggingEvent.<init>(LoggingEvent.java:126)
> at ch.qos.logback.classic.Logger.buildLoggingEventAndAppend(Logger.java:439)
> at ch.qos.logback.classic.Logger.filterAndLog_0_Or3Plus(Logger.java:395)
> at ch.qos.logback.classic.Logger.error(Logger.java:558)
> at com.xpn.xwiki.store.DBCPConnectionProvider.configure(DBCPConnectionProvider.java:206)
> at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:143)
> at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:84)
> at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:459)
> at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:90)
> at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2863)
> at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2859)
> at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1870)
> at com.xpn.xwiki.store.XWikiHibernateBaseStore.initHibernate(XWikiHibernateBaseStore.java:223)
> at com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibernateBaseStore.java:640)
> at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:789)
> at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:290)
> at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1515)
> at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1558)
> at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2258)
> at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2290)
> at com.xpn.xwiki.render.XWikiMacrosMappingRenderer.loadPreferences(XWikiMacrosMappingRenderer.java:107)
> at com.xpn.xwiki.render.XWikiMacrosMappingRenderer.<init>(XWikiMacrosMappingRenderer.java:83)
> at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.<init>(DefaultXWikiRenderingEngine.java:72)
> at com.xpn.xwiki.XWiki.resetRenderingEngine(XWiki.java:1159)
> at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:844)
> at com.xpn.xwiki.XWiki.<init>(XWiki.java:792)
> at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:402)
> at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491)
> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:152)
> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:128)
> Exception in thread "http-bio-8080-exec-9" java.lang.OutOfMemoryError: PermGen space
> Exception in thread "http-bio-8080-exec-2" java.lang.OutOfMemoryError: PermGen space
> Exception in thread "http-bio-8080-exec-11" java.lang.OutOfMemoryError: PermGen space
> Exception in thread "http-bio-8080-exec-10" java.lang.OutOfMemoryError: PermGen space
> Exception in thread "http-bio-8080-exec-12" java.lang.OutOfMemoryError: PermGen space
> Exception in thread "http-bio-8080-exec-1" java.lang.OutOfMemoryError: PermGen space
> Exception in thread "http://xwiki01.pridedallas.com:8080/xwiki/bin/view/Main/" java.lang.OutOfMemoryError: PermGen space
> Exception in thread "http-bio-8080-exec-8" java.lang.OutOfMemoryError: PermGen space
> Exception in thread "http-bio-8080-exec-13" java.lang.OutOfMemoryError: PermGen space
>
> Keith Davis - (214) 906-5183
>
>
> -----Original Message-----
> From: Keith Davis
> Sent: Monday, October 21, 2013 11:34 AM
> To: XWiki Users
> Subject: RE: [xwiki-users] Upgrade To 5.2 Failure
>
> Ok, I found my mistake there (forgot to comment and uncomment appropriately), but it still won't load. It's been trying to load for 10 minutes!
>
> Keith Davis - (214) 906-5183
>
>
> -----Original Message-----
> From: [hidden email] [mailto:[hidden email]] On Behalf Of Vincent Massol
> Sent: Monday, October 21, 2013 11:22 AM
> To: XWiki Users
> Subject: Re: [xwiki-users] Upgrade To 5.2 Failure
>
>
> On Oct 21, 2013, at 5:53 PM, Keith Davis <[hidden email]> wrote:
>
>> I have no idea why this is failing. I can revert back to 5.1 and it works fine. Here is what exception that I am getting. I have done compare of my hibernate.cfg.xml file and the only settings I'm changing from the new (5.2) default are those that are necessary for storing files on the drive, for MySQL and for LDAP. All of those settings match my 5.1 hibernate.cfg.xml file.
>
> The XML needs to match its schema, i.e. the xml elements must be in the *right* order, which is:
>
> (property*,mapping*,(class-cache|collection-cache)*,event*,listener*)
>
> Thanks
> -Vincent
>
>> HTTP Status 500 - com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context
>>
>> --------------------------------------------------------------------------------
>>
>> type Exception report
>>
>> message com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context
>>
>> description The server encountered an internal error that prevented it from fulfilling this request.
>>
>> exception
>> javax.servlet.ServletException: com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context
>> 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: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:144)
>> 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
>> com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context
>> com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:422)
>> com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491)
>> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:152)
>> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:128)
>> 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: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:144)
>> 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
>> com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [xwiki:XWiki.XWikiGlobalRights]
>> com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:916)
>> com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:290)
>> com.xpn.xwiki.XWiki.getDocument(XWiki.java:1515)
>> com.xpn.xwiki.XWiki.getDocument(XWiki.java:1558)
>> com.xpn.xwiki.XWiki.initializeMandatoryClasses(XWiki.java:885)
>> com.xpn.xwiki.XWiki.initXWiki(XWiki.java:855)
>> com.xpn.xwiki.XWiki.<init>(XWiki.java:792)
>> com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:402)
>> com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491)
>> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:152)
>> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:128)
>> 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: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:144)
>> 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
>> 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:105)
>> com.xpn.xwiki.store.XWikiHibernateBaseStore.initHibernate(XWikiHibernateBaseStore.java:217)
>> com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibernateBaseStore.java:640)
>> com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:789)
>> com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:290)
>> com.xpn.xwiki.XWiki.getDocument(XWiki.java:1515)
>> com.xpn.xwiki.XWiki.getDocument(XWiki.java:1558)
>> com.xpn.xwiki.XWiki.initializeMandatoryClasses(XWiki.java:885)
>> com.xpn.xwiki.XWiki.initXWiki(XWiki.java:855)
>> com.xpn.xwiki.XWiki.<init>(XWiki.java:792)
>> com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:402)
>> com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491)
>> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:152)
>> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:128)
>> 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: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:144)
>> 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
>> org.xml.sax.SAXParseException; lineNumber: 186; columnNumber: 21; 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.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:105)
>> com.xpn.xwiki.store.XWikiHibernateBaseStore.initHibernate(XWikiHibernateBaseStore.java:217)
>> com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibernateBaseStore.java:640)
>> com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:789)
>> com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:290)
>> com.xpn.xwiki.XWiki.getDocument(XWiki.java:1515)
>> com.xpn.xwiki.XWiki.getDocument(XWiki.java:1558)
>> com.xpn.xwiki.XWiki.initializeMandatoryClasses(XWiki.java:885)
>> com.xpn.xwiki.XWiki.initXWiki(XWiki.java:855)
>> com.xpn.xwiki.XWiki.<init>(XWiki.java:792)
>> com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:402)
>> com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491)
>> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:152)
>> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:128)
>> 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: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:144)
>> 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)
>>
>>
>>
>>
>> This message (including any attachments) may contain confidential or otherwise privileged information and is intended only for the individual(s) to which it is addressed. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secured or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message or that arise as a result of e-mail transmission. If verification is required please request a hard-copy version from the sender.
>>
>> www.pridedallas.com
>>
>>
>> _______________________________________________
>> users mailing list
>> [hidden email]
>> http://lists.xwiki.org/mailman/listinfo/users
>
> _______________________________________________
> users mailing list
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/users
> _______________________________________________
> users mailing list
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/users

_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Upgrade To 5.2 Failure

laurin1
Well, as it turns out, I believe that issue was caused by having the old installation in /webapps/xwiki51 at the same time, because I removed it and whala!

Keith Davis - (214) 906-5183


-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Vincent Massol
Sent: Monday, October 21, 2013 12:20 PM
To: XWiki Users
Subject: Re: [xwiki-users] Upgrade To 5.2 Failure

ok that"s an easy one :)

You need to increase the permgen

See http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HPrerequisites

Thanks
-Vincent

On Oct 21, 2013, at 7:10 PM, Keith Davis <[hidden email]> wrote:

> Oct 21, 2013 11:36:23 AM
> org.jboss.netty.channel.socket.nio.AbstractNioWorker
> WARNING: Unexpected exception in the selector loop.
> java.lang.OutOfMemoryError: PermGen space
>
> n.xwiki.store.XWikiHibernateBaseStore.initHibernate(XWikiHibernateBaseStore.java:223)
> at com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibernateBaseStore.java:640)
> at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:789)
> at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:290)
> at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1515)
> at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1558)
> at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2258)
> at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2290)
> at com.xpn.xwiki.render.XWikiMacrosMappingRenderer.loadPreferences(XWikiMacrosMappingRenderer.java:107)
> at com.xpn.xwiki.render.XWikiMacrosMappingRenderer.<init>(XWikiMacrosMappingRenderer.java:83)
> at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.<init>(DefaultXWikiRenderingEngine.java:72)
> at com.xpn.xwiki.XWiki.resetRenderingEngine(XWiki.java:1159)
> at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:844)
> at com.xpn.xwiki.XWiki.<init>(XWiki.java:792)
> at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:402)
> at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491)
> Exception in thread "http://xwiki01.pridedallas.com:8080/xwiki/bin/view/Main/" java.lang.OutOfMemoryError: PermGen space
> at ch.qos.logback.classic.spi.ThrowableProxyUtil.steArrayToStepArray(ThrowableProxyUtil.java:50)
> at ch.qos.logback.classic.spi.ThrowableProxy.<init>(ThrowableProxy.java:55)
> at ch.qos.logback.classic.spi.LoggingEvent.<init>(LoggingEvent.java:126)
> at ch.qos.logback.classic.Logger.buildLoggingEventAndAppend(Logger.java:439)
> at ch.qos.logback.classic.Logger.filterAndLog_0_Or3Plus(Logger.java:395)
> at ch.qos.logback.classic.Logger.error(Logger.java:558)
> at com.xpn.xwiki.store.DBCPConnectionProvider.configure(DBCPConnectionProvider.java:206)
> at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:143)
> at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:84)
> at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:459)
> at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:90)
> at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2863)
> at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2859)
> at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1870)
> at com.xpn.xwiki.store.XWikiHibernateBaseStore.initHibernate(XWikiHibernateBaseStore.java:223)
> at com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibernateBaseStore.java:640)
> at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:789)
> at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:290)
> at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1515)
> at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1558)
> at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2258)
> at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2290)
> at com.xpn.xwiki.render.XWikiMacrosMappingRenderer.loadPreferences(XWikiMacrosMappingRenderer.java:107)
> at com.xpn.xwiki.render.XWikiMacrosMappingRenderer.<init>(XWikiMacrosMappingRenderer.java:83)
> at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.<init>(DefaultXWikiRenderingEngine.java:72)
> at com.xpn.xwiki.XWiki.resetRenderingEngine(XWiki.java:1159)
> at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:844)
> at com.xpn.xwiki.XWiki.<init>(XWiki.java:792)
> at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:402)
> at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491)
> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:152)
> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:128)
> Exception in thread "http-bio-8080-exec-9" java.lang.OutOfMemoryError:
> PermGen space Exception in thread "http-bio-8080-exec-2"
> java.lang.OutOfMemoryError: PermGen space Exception in thread
> "http-bio-8080-exec-11" java.lang.OutOfMemoryError: PermGen space
> Exception in thread "http-bio-8080-exec-10"
> java.lang.OutOfMemoryError: PermGen space Exception in thread
> "http-bio-8080-exec-12" java.lang.OutOfMemoryError: PermGen space
> Exception in thread "http-bio-8080-exec-1" java.lang.OutOfMemoryError:
> PermGen space Exception in thread
> "http://xwiki01.pridedallas.com:8080/xwiki/bin/view/Main/"
> java.lang.OutOfMemoryError: PermGen space Exception in thread
> "http-bio-8080-exec-8" java.lang.OutOfMemoryError: PermGen space
> Exception in thread "http-bio-8080-exec-13"
> java.lang.OutOfMemoryError: PermGen space
>
> Keith Davis - (214) 906-5183
>
>
> -----Original Message-----
> From: Keith Davis
> Sent: Monday, October 21, 2013 11:34 AM
> To: XWiki Users
> Subject: RE: [xwiki-users] Upgrade To 5.2 Failure
>
> Ok, I found my mistake there (forgot to comment and uncomment appropriately), but it still won't load. It's been trying to load for 10 minutes!
>
> Keith Davis - (214) 906-5183
>
>
> -----Original Message-----
> From: [hidden email] [mailto:[hidden email]] On
> Behalf Of Vincent Massol
> Sent: Monday, October 21, 2013 11:22 AM
> To: XWiki Users
> Subject: Re: [xwiki-users] Upgrade To 5.2 Failure
>
>
> On Oct 21, 2013, at 5:53 PM, Keith Davis <[hidden email]> wrote:
>
>> I have no idea why this is failing. I can revert back to 5.1 and it works fine. Here is what exception that I am getting. I have done compare of my hibernate.cfg.xml file and the only settings I'm changing from the new (5.2) default are those that are necessary for storing files on the drive, for MySQL and for LDAP. All of those settings match my 5.1 hibernate.cfg.xml file.
>
> The XML needs to match its schema, i.e. the xml elements must be in the *right* order, which is:
>
> (property*,mapping*,(class-cache|collection-cache)*,event*,listener*)
>
> Thanks
> -Vincent
>
>> HTTP Status 500 - com.xpn.xwiki.XWikiException: Error number 3 in 0:
>> Could not initialize main XWiki context
>>
>> ---------------------------------------------------------------------
>> -----------
>>
>> type Exception report
>>
>> message com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not
>> initialize main XWiki context
>>
>> description The server encountered an internal error that prevented it from fulfilling this request.
>>
>> exception
>> javax.servlet.ServletException: com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context
>> 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: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:144)
>> 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.SetCharacterEncodingFilt
>> er.doFilter(SetCharacterEncodingFilter.java:111)
>>
>>
>>
>> root cause
>> com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context
>> com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:422)
>> com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491)
>> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:152)
>> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:128)
>> 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: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:144)
>> 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.SetCharacterEncodingFilt
>> er.doFilter(SetCharacterEncodingFilter.java:111)
>>
>>
>>
>> root cause
>> com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [xwiki:XWiki.XWikiGlobalRights]
>> com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:916)
>> com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:290)
>> com.xpn.xwiki.XWiki.getDocument(XWiki.java:1515)
>> com.xpn.xwiki.XWiki.getDocument(XWiki.java:1558)
>> com.xpn.xwiki.XWiki.initializeMandatoryClasses(XWiki.java:885)
>> com.xpn.xwiki.XWiki.initXWiki(XWiki.java:855)
>> com.xpn.xwiki.XWiki.<init>(XWiki.java:792)
>> com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:402)
>> com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491)
>> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:152)
>> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:128)
>> 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: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:144)
>> 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.SetCharacterEncodingFilt
>> er.doFilter(SetCharacterEncodingFilter.java:111)
>>
>>
>>
>> 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:105)
>> com.xpn.xwiki.store.XWikiHibernateBaseStore.initHibernate(XWikiHibernateBaseStore.java:217)
>> com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibernateBaseStore.java:640)
>> com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:789)
>> com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:290)
>> com.xpn.xwiki.XWiki.getDocument(XWiki.java:1515)
>> com.xpn.xwiki.XWiki.getDocument(XWiki.java:1558)
>> com.xpn.xwiki.XWiki.initializeMandatoryClasses(XWiki.java:885)
>> com.xpn.xwiki.XWiki.initXWiki(XWiki.java:855)
>> com.xpn.xwiki.XWiki.<init>(XWiki.java:792)
>> com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:402)
>> com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491)
>> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:152)
>> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:128)
>> 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: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:144)
>> 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.SetCharacterEncodingFilt
>> er.doFilter(SetCharacterEncodingFilter.java:111)
>>
>>
>>
>> root cause
>> org.xml.sax.SAXParseException; lineNumber: 186; columnNumber: 21; 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.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:105)
>> com.xpn.xwiki.store.XWikiHibernateBaseStore.initHibernate(XWikiHibernateBaseStore.java:217)
>> com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibernateBaseStore.java:640)
>> com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:789)
>> com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:290)
>> com.xpn.xwiki.XWiki.getDocument(XWiki.java:1515)
>> com.xpn.xwiki.XWiki.getDocument(XWiki.java:1558)
>> com.xpn.xwiki.XWiki.initializeMandatoryClasses(XWiki.java:885)
>> com.xpn.xwiki.XWiki.initXWiki(XWiki.java:855)
>> com.xpn.xwiki.XWiki.<init>(XWiki.java:792)
>> com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:402)
>> com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491)
>> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:152)
>> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:128)
>> 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: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:144)
>> 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.SetCharacterEncodingFilt
>> er.doFilter(SetCharacterEncodingFilter.java:111)
>>
>>
>>
>>
>> This message (including any attachments) may contain confidential or otherwise privileged information and is intended only for the individual(s) to which it is addressed. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secured or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message or that arise as a result of e-mail transmission. If verification is required please request a hard-copy version from the sender.
>>
>> www.pridedallas.com
>>
>>
>> _______________________________________________
>> users mailing list
>> [hidden email]
>> http://lists.xwiki.org/mailman/listinfo/users
>
> _______________________________________________
> users mailing list
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/users
> _______________________________________________
> users mailing list
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users

_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Upgrade To 5.2 Failure

laurin1
However, I've been looking at the permgen memory stuff and even the link you sent me is unclear.

"Running XWiki behind proxy-server" - but I'm not?

Many of the forums online say I should use CATALINA_OPTS, not JAVA_OPTS or that I should use setenv.bat instead.


Keith Davis - (214) 906-5183


-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Keith Davis
Sent: Monday, October 21, 2013 12:25 PM
To: XWiki Users
Subject: Re: [xwiki-users] Upgrade To 5.2 Failure

Well, as it turns out, I believe that issue was caused by having the old installation in /webapps/xwiki51 at the same time, because I removed it and whala!

Keith Davis - (214) 906-5183


-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Vincent Massol
Sent: Monday, October 21, 2013 12:20 PM
To: XWiki Users
Subject: Re: [xwiki-users] Upgrade To 5.2 Failure

ok that"s an easy one :)

You need to increase the permgen

See http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HPrerequisites

Thanks
-Vincent

On Oct 21, 2013, at 7:10 PM, Keith Davis <[hidden email]> wrote:

> Oct 21, 2013 11:36:23 AM
> org.jboss.netty.channel.socket.nio.AbstractNioWorker
> WARNING: Unexpected exception in the selector loop.
> java.lang.OutOfMemoryError: PermGen space
>
> n.xwiki.store.XWikiHibernateBaseStore.initHibernate(XWikiHibernateBaseStore.java:223)
> at com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibernateBaseStore.java:640)
> at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:789)
> at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:290)
> at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1515)
> at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1558)
> at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2258)
> at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2290)
> at com.xpn.xwiki.render.XWikiMacrosMappingRenderer.loadPreferences(XWikiMacrosMappingRenderer.java:107)
> at com.xpn.xwiki.render.XWikiMacrosMappingRenderer.<init>(XWikiMacrosMappingRenderer.java:83)
> at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.<init>(DefaultXWikiRenderingEngine.java:72)
> at com.xpn.xwiki.XWiki.resetRenderingEngine(XWiki.java:1159)
> at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:844)
> at com.xpn.xwiki.XWiki.<init>(XWiki.java:792)
> at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:402)
> at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491)
> Exception in thread "http://xwiki01.pridedallas.com:8080/xwiki/bin/view/Main/" java.lang.OutOfMemoryError: PermGen space
> at ch.qos.logback.classic.spi.ThrowableProxyUtil.steArrayToStepArray(ThrowableProxyUtil.java:50)
> at ch.qos.logback.classic.spi.ThrowableProxy.<init>(ThrowableProxy.java:55)
> at ch.qos.logback.classic.spi.LoggingEvent.<init>(LoggingEvent.java:126)
> at ch.qos.logback.classic.Logger.buildLoggingEventAndAppend(Logger.java:439)
> at ch.qos.logback.classic.Logger.filterAndLog_0_Or3Plus(Logger.java:395)
> at ch.qos.logback.classic.Logger.error(Logger.java:558)
> at com.xpn.xwiki.store.DBCPConnectionProvider.configure(DBCPConnectionProvider.java:206)
> at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:143)
> at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:84)
> at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:459)
> at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:90)
> at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2863)
> at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2859)
> at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1870)
> at com.xpn.xwiki.store.XWikiHibernateBaseStore.initHibernate(XWikiHibernateBaseStore.java:223)
> at com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibernateBaseStore.java:640)
> at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:789)
> at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:290)
> at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1515)
> at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1558)
> at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2258)
> at com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:2290)
> at com.xpn.xwiki.render.XWikiMacrosMappingRenderer.loadPreferences(XWikiMacrosMappingRenderer.java:107)
> at com.xpn.xwiki.render.XWikiMacrosMappingRenderer.<init>(XWikiMacrosMappingRenderer.java:83)
> at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.<init>(DefaultXWikiRenderingEngine.java:72)
> at com.xpn.xwiki.XWiki.resetRenderingEngine(XWiki.java:1159)
> at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:844)
> at com.xpn.xwiki.XWiki.<init>(XWiki.java:792)
> at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:402)
> at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491)
> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:152)
> at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:128)
> Exception in thread "http-bio-8080-exec-9" java.lang.OutOfMemoryError:
> PermGen space Exception in thread "http-bio-8080-exec-2"
> java.lang.OutOfMemoryError: PermGen space Exception in thread
> "http-bio-8080-exec-11" java.lang.OutOfMemoryError: PermGen space
> Exception in thread "http-bio-8080-exec-10"
> java.lang.OutOfMemoryError: PermGen space Exception in thread
> "http-bio-8080-exec-12" java.lang.OutOfMemoryError: PermGen space
> Exception in thread "http-bio-8080-exec-1" java.lang.OutOfMemoryError:
> PermGen space Exception in thread
> "http://xwiki01.pridedallas.com:8080/xwiki/bin/view/Main/"
> java.lang.OutOfMemoryError: PermGen space Exception in thread
> "http-bio-8080-exec-8" java.lang.OutOfMemoryError: PermGen space
> Exception in thread "http-bio-8080-exec-13"
> java.lang.OutOfMemoryError: PermGen space
>
> Keith Davis - (214) 906-5183
>
>
> -----Original Message-----
> From: Keith Davis
> Sent: Monday, October 21, 2013 11:34 AM
> To: XWiki Users
> Subject: RE: [xwiki-users] Upgrade To 5.2 Failure
>
> Ok, I found my mistake there (forgot to comment and uncomment appropriately), but it still won't load. It's been trying to load for 10 minutes!
>
> Keith Davis - (214) 906-5183
>
>
> -----Original Message-----
> From: [hidden email] [mailto:[hidden email]] On
> Behalf Of Vincent Massol
> Sent: Monday, October 21, 2013 11:22 AM
> To: XWiki Users
> Subject: Re: [xwiki-users] Upgrade To 5.2 Failure
>
>
> On Oct 21, 2013, at 5:53 PM, Keith Davis <[hidden email]> wrote:
>
>> I have no idea why this is failing. I can revert back to 5.1 and it works fine. Here is what exception that I am getting. I have done compare of my hibernate.cfg.xml file and the only settings I'm changing from the new (5.2) default are those that are necessary for storing files on the drive, for MySQL and for LDAP. All of those settings match my 5.1 hibernate.cfg.xml file.
>
> The XML needs to match its schema, i.e. the xml elements must be in the *right* order, which is:
>
> (property*,mapping*,(class-cache|collection-cache)*,event*,listener*)
>
> Thanks
> -Vincent
>
>> HTTP Status 500 - com.xpn.xwiki.XWikiException: Error number 3 in 0:
>> Could not initialize main XWiki context
>>
>> ---------------------------------------------------------------------
>> -----------
>>
>> type Exception report
>>
>> message com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not
>> initialize main XWiki context
>>
>> description The server encountered an internal error that prevented it from fulfilling this request.
>>
>> exception
>> javax.servlet.ServletException: com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context
>> 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: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:144)
>> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
>>
>> org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilt
>> er.doFilter(SavedRequestRestorerFilter.java:208)
>>
>> org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilt
>> er.doFilter(SetCharacterEncodingFilter.java:111)
>>
>>
>>
>> root cause
>> com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context
>> com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:422)
>> com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491)
>> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:152)
>> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:128)
>> 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: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:144)
>> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
>>
>> org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilt
>> er.doFilter(SavedRequestRestorerFilter.java:208)
>>
>> org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilt
>> er.doFilter(SetCharacterEncodingFilter.java:111)
>>
>>
>>
>> root cause
>> com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document [xwiki:XWiki.XWikiGlobalRights]
>> com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:916)
>> com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:290)
>> com.xpn.xwiki.XWiki.getDocument(XWiki.java:1515)
>> com.xpn.xwiki.XWiki.getDocument(XWiki.java:1558)
>> com.xpn.xwiki.XWiki.initializeMandatoryClasses(XWiki.java:885)
>> com.xpn.xwiki.XWiki.initXWiki(XWiki.java:855)
>> com.xpn.xwiki.XWiki.<init>(XWiki.java:792)
>> com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:402)
>> com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491)
>> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:152)
>> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:128)
>> 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: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:144)
>> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
>>
>> org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilt
>> er.doFilter(SavedRequestRestorerFilter.java:208)
>>
>> org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilt
>> er.doFilter(SetCharacterEncodingFilter.java:111)
>>
>>
>>
>> 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:105)
>> com.xpn.xwiki.store.XWikiHibernateBaseStore.initHibernate(XWikiHibernateBaseStore.java:217)
>> com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibernateBaseStore.java:640)
>> com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:789)
>> com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:290)
>> com.xpn.xwiki.XWiki.getDocument(XWiki.java:1515)
>> com.xpn.xwiki.XWiki.getDocument(XWiki.java:1558)
>> com.xpn.xwiki.XWiki.initializeMandatoryClasses(XWiki.java:885)
>> com.xpn.xwiki.XWiki.initXWiki(XWiki.java:855)
>> com.xpn.xwiki.XWiki.<init>(XWiki.java:792)
>> com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:402)
>> com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491)
>> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:152)
>> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:128)
>> 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: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:144)
>> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
>>
>> org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilt
>> er.doFilter(SavedRequestRestorerFilter.java:208)
>>
>> org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilt
>> er.doFilter(SetCharacterEncodingFilter.java:111)
>>
>>
>>
>> root cause
>> org.xml.sax.SAXParseException; lineNumber: 186; columnNumber: 21; 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.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:105)
>> com.xpn.xwiki.store.XWikiHibernateBaseStore.initHibernate(XWikiHibernateBaseStore.java:217)
>> com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibernateBaseStore.java:640)
>> com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:789)
>> com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:290)
>> com.xpn.xwiki.XWiki.getDocument(XWiki.java:1515)
>> com.xpn.xwiki.XWiki.getDocument(XWiki.java:1558)
>> com.xpn.xwiki.XWiki.initializeMandatoryClasses(XWiki.java:885)
>> com.xpn.xwiki.XWiki.initXWiki(XWiki.java:855)
>> com.xpn.xwiki.XWiki.<init>(XWiki.java:792)
>> com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:402)
>> com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491)
>> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:152)
>> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:128)
>> 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: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:144)
>> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
>>
>> org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilt
>> er.doFilter(SavedRequestRestorerFilter.java:208)
>>
>> org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilt
>> er.doFilter(SetCharacterEncodingFilter.java:111)
>>
>>
>>
>>
>> This message (including any attachments) may contain confidential or otherwise privileged information and is intended only for the individual(s) to which it is addressed. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secured or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message or that arise as a result of e-mail transmission. If verification is required please request a hard-copy version from the sender.
>>
>> www.pridedallas.com
>>
>>
>> _______________________________________________
>> users mailing list
>> [hidden email]
>> http://lists.xwiki.org/mailman/listinfo/users
>
> _______________________________________________
> users mailing list
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/users
> _______________________________________________
> users mailing list
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users

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