No. Only I have the access. I even copy-pasted the original cfg file. But the
problem I found was with the database script which I replaced. The wiki is
working but the data is not available. Plus I need this solution for
shifting to a new computer (refer to 'Shifting to a new computer' in this
forum).
BOUSQUET Jeremie-2 wrote:
Hi,
There are good chances that you did not lost any data, unless you erased
your database, but you would have noticed ... ;-)
I had the same problem after migration of wiki kernel version. When
re-deployed the .war file in my tomcat container, I forgot to add again
the mysql*.jar library in $TOMCAT_HOME/webapps/xwiki/WEB-INF/lib
Or is there a possibility that your hibernate.cfg.xml file was updated
by someone else, or by you a long ago, and tomcat was restarted only
recently, so the problem appears only now ? Most of the time default
mysql user for xwiki is named xwiki ...
Jeremie
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf
Of V. Harikrishnan Nair
Sent: mercredi 24 octobre 2007 12:48
To: users(a)xwiki.org
Subject: Re: [xwiki-users] Error because of Preferences
I have not changed anything in the hibernate.cfg.xml file. The username
'sa'
was present by default and I tried another backup file of the
hibernate.cfg.xml file but it did not work either...
This is the stack trace ->
Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot create
PoolableCon
nectionFactory (User not found: SA)
at
org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSou
rce.java:855)
at
org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource
.java:540)
at
com.xpn.xwiki.store.DBCPConnectionProvider.configure(DBCPConnectionPr
ovider.java:181)
... 40 more
Caused by: java.sql.SQLException: User not found: SA
at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
at org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source)
at org.hsqldb.jdbcDriver.getConnection(Unknown Source)
at org.hsqldb.jdbcDriver.connect(Unknown Source)
at
org.apache.commons.dbcp.DriverConnectionFactory.createConnection(Driv
erConnectionFactory.java:37)
at
org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(Poolable
ConnectionFactory.java:290)
at
org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(Bas
icDataSource.java:877)
at
org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSou
rce.java:851)
... 42 more
16:07:09.484 INFO [P1-19]
org.mortbay.util.Container.start(Container.java:74)
08> Started HttpContext[/,/]
Or please give me a method to retrieve all the data I have entered in
the
wiki.
--
View this message in context:
http://www.nabble.com/Error-because-of-Preferences-tf4682780.html#a13383
259
Sent from the XWiki- Users mailing list archive at
Nabble.com.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users