On 11/16/2009 09:22 AM, Linda Charlotta Ursin wrote:
> Hi
>
> I get the errors below on my newly installed xwiki. I've followed the 
> instructions in http://www.howtoforge.com/xwiki-tomcat-mysql-debian-etch 
> (whith the exception of point 11, which I was trying to do now)
>
> I've checked and re-checked my hibernate.cfg.xml and my MySQL-configuration 
> and I'm unable to find the problem. Could you please help me solve this?
>
>
>
>
> HTTP Status 500 -
>
> ________________________________
>
>
> type Exception report
>
> message
>
> description The server encountered an internal error () that prevented it 
> from fulfilling this request.
>
> exception
>
> javax.servlet.ServletException: Error number 3 in 0: Could not initialize 
> main XWiki context
> Wrapped Exception: Error number 3001 in 3: Cannot load class 
> com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager from 
> param xwiki.store.migration.manager.class
> Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
> Wrapped Exception: invalid configuration
>          
> org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535)
>          
> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433)
>          
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
>          
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
>          org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
>          javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>          javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>          
> com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
>          com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
>          
> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
>          
> com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
>          
> com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
>
> root cause
>
> com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main 
> XWiki context
> Wrapped Exception: Error number 3001 in 3: Cannot load class 
> com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager from 
> param xwiki.store.migration.manager.class
> Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
> Wrapped Exception: invalid configuration
>          com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:339)
>          com.xpn.xwiki.XWiki.getXWiki(XWiki.java:400)
>          com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135)
>          com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
>          
> 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:689)
>          javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>          
> com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
>          com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
>          
> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
>          
> com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
>          
> com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
>
> note The full stack trace of the root cause is available in the Apache 
> Tomcat/5.5 logs.

Could you get the full stack trace from the tomcat logs?

Could you post the hibernate config?

-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to