Hi there,
My XWiki linux server restarted after a power glitch and has bizzarly
reverted back to how it looked a couple of weeks ago, and of course the
import facility says there's no documents in the last export backup, so I
can't even restore it! What's happened? How could this be possible? Can I
revert it back the content to what it had yesterday?
Regards,
Richard
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf
Of Thomas Mortagne
Sent: 14 November 2007 09:09
To: XWiki Users
Subject: Re: [xwiki-users] Error 500: Could not initialize main XWiki
context
What is the name of your database ? "xwiki" or "xwikiDB", I ask that
because by default it's xwiki and it's xwikiDB in your hibernate
config.
2007/11/13, Karim-Pierre Maalej <maalej(a)enst.fr>fr>:
> What is in your
/usr/share/tomcat5.5/webapps/xwiki/WEB-INF/hibernate.cfg.xml ?
Maybe it is not configured for mysql...
Please find the configuration file hereunder (without the commented out
parts). I think it is correct but maybe there's something I missed, like
a typo or else.
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate
Configuration DTD//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
<session-factory>
<property name="show_sql">false</property>
<property name="use_outer_join">true</property>
<property name="dbcp.defaultAutoCommit">false</property>
<property name="dbcp.maxActive">50</property>
<property name="dbcp.maxIdle">5</property>
<property name="dbcp.maxWait">30000</property>
<property name="dbcp.whenExhaustedAction">1</property>
<property name="dbcp.ps.whenExhaustedAction">1</property>
<property name="dbcp.ps.maxActive">20</property>
<property name="dbcp.ps.maxWait">120000</property>
<property name="dbcp.ps.maxIdle">20</property>
<property
name="connection.url">jdbc:mysql://127.0.0.1/xwikiDB?useServerPrepStmts=fals
e</property>
<property
name="connection.username">xwikiUser</property>
<property name="connection.password">xwikiPwd</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.pool_size">2</property>
<property name="statement_cache.size">2</property>
<!-- Mapping files -->
<mapping resource="xwiki.hbm.xml"/>
<mapping resource="feeds.hbm.xml"/>
</session-factory>
</hibernate-configuration>
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--
Thomas Mortagne
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail
is confidential. It may also be legally privileged. It is intended only for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this e-mail
in error, please inform us immediately on +44 (0) 1749 672081 and delete it
and all copies from your system. We accept no responsibility for changes to
any e-mail which occur after it has been sent. Attachments to this e-mail
may contain software viruses which could damage your system. We therefore
recommend you virus-check all attachments before opening. A business of
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273