Hi,

Faubi wrote:
> I have installed the enterprise xwiki.war completed all intructions for
> Tomcat Servlet and MySQL Database configuration. When I try to connect from
> my browser the error occurs below. The Wiki is running on a hosted tomcat
> webserver.
> 
> I've found the general error alot but not with the following line code:
> Wrapped Exception: Could not parse mapping document from resource
> xwiki.hbm.xml
> 
> I thought the error might be related to some mistakes in the
> hibernate.cfg.xml
> 

> Name of database: 24_xwiki

Is this the user name or the database schema name?

> Password: xwiki123
> 

> <property
> name="connection.url">jdbc:mysql://localhost/xwiki?useServerPrepStmts=false</property>

The connection URL shows that "xwiki" is the database name, not "24_xwiki".

Hope this helps,
Marius

>     <property name="connection.username">24_xwiki</property>
>     <property name="connection.password">xwiki123</property>
>     <property
> name="connection.driver_class">com.mysql.jdbc.Driver</property>
>     <property name="dialect">org.hibernate.dialect.MySQLDialect</property>
>     <property name="connection.provider_class">
> 
> I'm a newbie concerning web hosting so thanks for any help as I' ve got
> stuck since Saturday :(
> 
> javax.servlet.ServletException: 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: Could not parse mapping document from resource
> xwiki.hbm.xml
> 
> org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535)
> 
> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433)
> 
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
>       org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
>       org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
>       javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
>       javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> 
> com.xpn.xwiki.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: Could not parse mapping document from resource
> xwiki.hbm.xml
>       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:617)
>       javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> 
> 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)
> 
> 
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to