I got it to work as a service with Tomcat and MySQL.  I accidentally
installed two jar files for the db connectors.  Duh.

On 10/3/07, John Coleman <[EMAIL PROTECTED]> wrote:
>
> We use the embedded Jetty server and database, I just use a JSWrapper to
> provide the NT Service. This only took an hour or so to set up.
>
> John
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
> Of Sheila Hobeck
> Sent: 02 October 2007 18:09
> To: XWiki Users
> Subject: [xwiki-users] Could not initialize main XWiki context
>
> 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</p
> roperty>
>
> <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.DBCPConnectionProvi
> der</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(RequestProces
> sor.java:535)
>
> org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
> ocessor.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(SetCharacterEncodi
> ngFilter.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
>
>
>
>
>
>
> Eurobase International Limited and its subsidiaries (Eurobase) are unable
> to exercise control over the content of information in E-Mails. Any views
> and opinions expressed may be personal to the sender and are not necessarily
> those of Eurobase. Eurobase will not enter into any contractual obligations
> in respect of any part of its business in any E-mail.
>
> Privileged / confidential information may be contained in this message and
> /or any attachments. This E-mail is intended for the use of the addressee(s)
> only and may contain confidential information. If you are not the / an
> intended recipient, you are hereby notified that any use or dissemination of
> this communication is strictly prohibited.  If you receive this transmission
> in error, please notify us immediately, and then delete this E-mail.
>
> Neither the sender nor Eurobase accepts any liability whatsoever for any
> defects of any kind either in or arising from this E-mail transmission.
> E-Mail transmission cannot be guaranteed to be secure or error-free, as
> messages can be intercepted, lost, corrupted, destroyed, contain viruses, or
> arrive late or incomplete. Eurobase does not accept any responsibility for
> viruses and it is your responsibility to scan any attachments.
>
> Eurobase Systems Limited is the main trading company in the Eurobase
> International Group; registered in England and Wales as company number
> 02251162; registered address: Essex House, 2 County Place, Chelmsford, Essex
> CM2 0RE, UK.
>
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/users
>



-- 
Mothers of little boys work from son up til son down!
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to