I had to install Tomcat with MySQL so that I can set the wiki up as a windows service.  I tried to set it up with just Jetty - with no luck.  I have been struggling with this for hours now.  
I read old emails regarding hibernate.cg.xml setup - and I have tried many possible combinations:


<property name="connection.url">jdbc:mysql://127.0.0.1 /xwiki?useServerPrepStmts=false</property>
<property name="connection.username">xwiki</property>
<property name="connection.password">xwiki</property>
<property name="connection.driver_class">com.mysql.jdbc.Driver</property>
<property name="dialect">org.hibernate.dialect.MySQLDialect</property>
<property name=" connection.provider_class">com.xpn.xwiki.store.DBCPConnectionProvider</property>

<property name="connection.url">jdbc:mysql:// localhost/xwiki?useServerPrepStmts=false</property>
<property name="connection.username">xwiki</property>
<property name="connection.password ">xwiki</property>
<property name="connection.driver_class">com.mysql.jdbc.Driver</property>
<property name="dialect">org.hibernate.dialect.MySQLDialect</property>
<property name="connection.provider_class">com.xpn.xwiki.store.DBCPConnectionProvider</property>


All of which give me the same error.....

javax.servlet.ServletException: com.xpn.xwiki.XWikiException : Error number 3 in 0: Could not initialize main XWiki context
Wrapped Exception: Error number 3202 in 3: Exception while reading document XWiki.XWikiPreferences
Wrapped Exception: Unknown entity: com.xpn.xwiki.doc.XWikiDocument
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 :690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)



Please help. If I don't get this installed as a windows service (which IMHO should not be difficult), I will have to resort to another wiki.

Sheila