Re: [xwiki-users] Could not create a DBCP pool

2010-10-19 Thread Clinton Louw
Thanks Caleb, here is the error stack trace -

HTTP Status 500 -



type Exception report

message

description The server encountered an internal error () that prevented it from 
fulfilling this request.

exception

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 create a DBCP pool. There is an error in the 
hibernate configuration file, please review it.

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:118)

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 create a DBCP pool. There is an error in the 
hibernate configuration file, please review it.
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:374)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:435)
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:118)

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)


note The full stack trace of the root cause is available in the Apache 
Tomcat/6.0.26 logs.




Apache Tomcat/6.0.26




Clinton Louw | Systems Engineer

2160 Satellite Boulevard | Suite 225 | Duluth, GA 30097
O: 770.325.0457 | F: 770.325.0382 | cl...@invisioninc.com
www.InvisionInc.com




-Original Message-
From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of 
Caleb James DeLisle
Sent: Wednesday, September 15, 2010 2:33 PM
To: XWiki Users
Subject: Re: [xwiki-users] Could not create a DBCP pool

If you could paste the error stack trace, that would be quite helpful.

Caleb

Clinton Louw wrote:
 Please help

 I am trying to move my wiki cluster and sql database to a new co location 
 with diff Ip and I keep getting a Could not create a DBCP pool error when I 
 try to open the wiki, I have made the changes to the hibernate  config file 
 to point to the new sql address, What am I missing, nothing else has changed. 
 My machines were VM's so I took snapshots changed IP updated dns and brought 
 them online, sound simple. If anyone can point out where I went wrong I would 
 greatly appreciate it.

 clinton

 
 This communication and attachment(s) are the confidential property of 
 INVISION, Inc. If you are not the intended recipient, please notify the 
 sender immediately and delete this message; any copying, dissemination or use

Re: [xwiki-users] Could not create a DBCP pool

2010-10-19 Thread Caleb James DeLisle
Could not create a DBCP pool. There is an error in the hibernate configuration 
file, please review it.

This means that it was unable to connect to the database. It might mean there 
actually in a mistake
in the hibernate config file but if you checked over that carefully then it's 
more likely that it's
happening because the database is refusing the supplied username and password. 
Make suer you can log
in to the database with the username and password you have in the hibernate 
config file.


Caleb



Thanks Caleb, here is the error stack trace -

HTTP Status 500 -



type Exception report

message

description The server encountered an internal error () that prevented it from 
fulfilling this request.

exception

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 create a DBCP pool. There is an error in the 
hibernate configuration
file, please review it.

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:118)

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 create a DBCP pool. There is an error in the 
hibernate configuration
file, please review it.
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:374)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:435)
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:118)

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)


note The full stack trace of the root cause is available in the Apache 
Tomcat/6.0.26 logs.




Apache Tomcat/6.0.26




Clinton Louw | Systems Engineer

2160 Satellite Boulevard | Suite 225 | Duluth, GA 30097
O: 770.325.0457 | F: 770.325.0382 | cl...@invisioninc.com
www.InvisionInc.com




-Original Message-
From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of 
Caleb James DeLisle
Sent: Wednesday, September 15, 2010 2:33 PM
To: XWiki Users
Subject: Re: [xwiki-users] Could not create a DBCP pool

If you could paste the error stack trace, that would be quite helpful.

Caleb

Clinton Louw wrote:
  Please help
 
  I am trying to move my wiki cluster and sql database to a new co location 
  with diff Ip and I
keep getting a Could not create a DBCP pool error when I try to open the wiki, 
I have made the
changes to the hibernate  config file to point to the new sql address

Re: [xwiki-users] Could not create a DBCP pool

2010-10-19 Thread Clinton Louw
Thanks Caleb, it was a wiki user password error.




Clinton Louw | Systems Engineer

2160 Satellite Boulevard | Suite 225 | Duluth, GA 30097
O: 770.325.0457 | F: 770.325.0382 | cl...@invisioninc.com
www.InvisionInc.com



-Original Message-
From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of 
Caleb James DeLisle
Sent: Tuesday, October 19, 2010 1:02 PM
To: XWiki Users
Subject: Re: [xwiki-users] Could not create a DBCP pool

Could not create a DBCP pool. There is an error in the hibernate configuration 
file, please review it.

This means that it was unable to connect to the database. It might mean there 
actually in a mistake
in the hibernate config file but if you checked over that carefully then it's 
more likely that it's
happening because the database is refusing the supplied username and password. 
Make suer you can log
in to the database with the username and password you have in the hibernate 
config file.


Caleb



Thanks Caleb, here is the error stack trace -

HTTP Status 500 -



type Exception report

message

description The server encountered an internal error () that prevented it from 
fulfilling this request.

exception

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 create a DBCP pool. There is an error in the 
hibernate configuration
file, please review it.

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:118)

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 create a DBCP pool. There is an error in the 
hibernate configuration
file, please review it.
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:374)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:435)
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:118)

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)


note The full stack trace of the root cause is available in the Apache 
Tomcat/6.0.26 logs.




Apache Tomcat/6.0.26




Clinton Louw | Systems Engineer

2160 Satellite Boulevard | Suite 225 | Duluth, GA 30097
O: 770.325.0457 | F: 770.325.0382 | cl...@invisioninc.com
www.InvisionInc.com




-Original Message-
From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of 
Caleb James DeLisle
Sent: Wednesday, September 15, 2010 2:33

Re: [xwiki-users] Could not create a DBCP pool

2010-09-15 Thread Caleb James DeLisle
If you could paste the error stack trace, that would be quite helpful.

Caleb

Clinton Louw wrote:
 Please help
 
 I am trying to move my wiki cluster and sql database to a new co location 
 with diff Ip and I keep getting a Could not create a DBCP pool error when I 
 try to open the wiki, I have made the changes to the hibernate  config file 
 to point to the new sql address, What am I missing, nothing else has changed. 
 My machines were VM's so I took snapshots changed IP updated dns and brought 
 them online, sound simple. If anyone can point out where I went wrong I would 
 greatly appreciate it.
 
 clinton
 
 
 This communication and attachment(s) are the confidential property of 
 INVISION, Inc. If you are not the intended recipient, please notify the 
 sender immediately and delete this message; any copying, dissemination or use 
 of these contents by persons other than the intended addressee(s) is 
 prohibited. Thank you.
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Could not create a DBCP pool

2010-09-14 Thread Clinton Louw
Please help

I am trying to move my wiki cluster and sql database to a new co location with 
diff Ip and I keep getting a Could not create a DBCP pool error when I try to 
open the wiki, I have made the changes to the hibernate  config file to point 
to the new sql address, What am I missing, nothing else has changed. My 
machines were VM's so I took snapshots changed IP updated dns and brought them 
online, sound simple. If anyone can point out where I went wrong I would 
greatly appreciate it.

clinton


This communication and attachment(s) are the confidential property of INVISION, 
Inc. If you are not the intended recipient, please notify the sender 
immediately and delete this message; any copying, dissemination or use of these 
contents by persons other than the intended addressee(s) is prohibited. Thank 
you.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Could not create a DBCP pool

2009-09-16 Thread mogruith


Hi all,

I'm a newbie on xwiki. I would like to use xwiki entreprise with an oracle
(10.2.0.4) database. Because of using oracle, I put jdbc drivers (ojdbc14.jar)
in $TOMCAT_HOME/lib/ (by the way, I ve an another error : no ocijdbc10 in
java.library.path (where I set it ?))


When I start xwiki, I've several errors.

Last one is : Wrapped Exception: Could not create a DBCP pool. There is an error
in the hibernate configuration file, please review it.


Here is my hibernate.cfg.xml :

?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;
!-- Template for hibernate configuration. processing by maven using profiles.
 Replace original src/main/webapp/WEB-INF/hibernate.cfg.xml --
hibernate-configuration
  session-factory

property name=show_sqlfalse/property
property name=use_outer_jointrue/property

property name=dbcp.defaultAutoCommitfalse/property
property name=dbcp.maxActive50/property
property name=dbcp.maxIdle5/property
property name=dbcp.maxWait3/property
property name=dbcp.whenExhaustedAction1/property
property name=dbcp.ps.whenExhaustedAction1/property
property name=dbcp.ps.maxActive20/property
property name=dbcp.ps.maxWait12/property
property name=dbcp.ps.maxIdle20/property

!-- Please refer to the installation guide on
 http://www.xwiki.org/xwiki/bin/view/AdminGuide/Installation for
configuring your
 database. You'll need to do 2 things:
 1) Copy your database driver JAR in WEB-INF/lib or in some shared lib
directory
 2) Uncomment the properties below for your specific DB
--
!--
property
name=connection.urljdbc:hsqldb:file:database/xwiki_db;shutdown=true/property
property name=connection.usernamesa/property
property name=connection.password/property
property name=connection.driver_classorg.hsqldb.jdbcDriver/property
property name=dialectorg.hibernate.dialect.HSQLDialect/property

property
name=connection.provider_classcom.xpn.xwiki.store.DBCPConnectionProvider/property
property name=connection.pool_size2/property
property name=statement_cache.size2/property

Mapping files
mapping resource=xwiki.hbm.xml/
mapping resource=feeds.hbm.xml/
mapping resource=activitystream.hbm.xml/
--

!-- MySQL configuration.
 Uncomment if you want to use MySQL and comment out other database
configurations.
 Note that the database will be created automatically if it doesn't
already exist.
 We need to set the sql_mode to a less strict value, see XWIKI-1945
property
name=connection.urljdbc:mysql://localhost/xwiki?useServerPrepStmts=falseamp;useUnicode=trueamp;characterEncoding=UTF-8amp;sessionVariables=sql_mode=''/property
property name=connection.usernamexwiki/property
property name=connection.passwordxwiki/property
property name=connection.driver_classcom.mysql.jdbc.Driver/property
property name=dialectorg.hibernate.dialect.MySQLDialect/property
property
name=connection.provider_classcom.xpn.xwiki.store.DBCPConnectionProvider/property
property name=connection.pool_size2/property
property name=statement_cache.size2/property
mapping resource=xwiki.hbm.xml/
mapping resource=feeds.hbm.xml/
--

!-- HSQLDB configuration.
 Uncomment if you want to use HSQLDB and comment out other database
configurations.
 Note that the database will be created automatically if it doesn't
already exist.
property
name=connection.urljdbc:hsqldb:file:/some/path/xwikidb;shutdown=true/property
property name=connection.usernamesa/property
property name=connection.password/property
property name=connection.driver_classorg.hsqldb.jdbcDriver/property
property name=dialectorg.hibernate.dialect.HSQLDialect/property
property
name=connection.provider_classcom.xpn.xwiki.store.DBCPConnectionProvider/property
property name=connection.pool_size2/property
property name=statement_cache.size2/property
mapping resource=xwiki.hbm.xml/
mapping resource=feeds.hbm.xml/
--

!-- PostgreSQL configuration.
 Uncomment if you want to use PostgreSQL and comment out other database
configurations.
 Note that the database will be created automatically if it doesn't
already exist.
property name=connection.urljdbc:postgresql:xwiki/property
property name=connection.usernamexwiki/property
property name=connection.passwordxwiki/property
property name=connection.driver_classorg.postgresql.Driver/property
property name=dialectorg.hibernate.dialect.PostgreSQLDialect/property
property
name=connection.provider_classcom.xpn.xwiki.store.DBCPConnectionProvider/property
property name=connection.pool_size2/property
property name=statement_cache.size2/property
mapping resource=xwiki.hbm.xml/

[xwiki-users] Could not create a DBCP pool

2009-09-15 Thread mogruith
Hi all,

I'm a newbie on xwiki. I would like to use xwiki entreprise with an oracle
(10.2.0.4) database. Because of using oracle, I put jdbc drivers (ojdbc14.jar)
in $TOMCAT_HOME/lib/ (by the way, I ve an another error : no ocijdbc10 in
java.library.path (where I set it ?))


When I start xwiki, I've several errors.

Last one is : Wrapped Exception: Could not create a DBCP pool. There is an error
in the hibernate configuration file, please review it.


Here is my hibernate.cfg.xml :

?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;
!-- Template for hibernate configuration. processing by maven using profiles.
 Replace original src/main/webapp/WEB-INF/hibernate.cfg.xml --
hibernate-configuration
  session-factory

property name=show_sqlfalse/property
property name=use_outer_jointrue/property

property name=dbcp.defaultAutoCommitfalse/property
property name=dbcp.maxActive50/property
property name=dbcp.maxIdle5/property
property name=dbcp.maxWait3/property
property name=dbcp.whenExhaustedAction1/property
property name=dbcp.ps.whenExhaustedAction1/property
property name=dbcp.ps.maxActive20/property
property name=dbcp.ps.maxWait12/property
property name=dbcp.ps.maxIdle20/property

!-- Please refer to the installation guide on
 http://www.xwiki.org/xwiki/bin/view/AdminGuide/Installation for
configuring your
 database. You'll need to do 2 things:
 1) Copy your database driver JAR in WEB-INF/lib or in some shared lib
directory
 2) Uncomment the properties below for your specific DB
--
!--
property
name=connection.urljdbc:hsqldb:file:database/xwiki_db;shutdown=true/property
property name=connection.usernamesa/property
property name=connection.password/property
property name=connection.driver_classorg.hsqldb.jdbcDriver/property
property name=dialectorg.hibernate.dialect.HSQLDialect/property

property
name=connection.provider_classcom.xpn.xwiki.store.DBCPConnectionProvider/property
property name=connection.pool_size2/property
property name=statement_cache.size2/property

Mapping files
mapping resource=xwiki.hbm.xml/
mapping resource=feeds.hbm.xml/
mapping resource=activitystream.hbm.xml/
--

!-- MySQL configuration.
 Uncomment if you want to use MySQL and comment out other database
configurations.
 Note that the database will be created automatically if it doesn't
already exist.
 We need to set the sql_mode to a less strict value, see XWIKI-1945
property
name=connection.urljdbc:mysql://localhost/xwiki?useServerPrepStmts=falseamp;useUnicode=trueamp;characterEncoding=UTF-8amp;sessionVariables=sql_mode=''/property
property name=connection.usernamexwiki/property
property name=connection.passwordxwiki/property
property name=connection.driver_classcom.mysql.jdbc.Driver/property
property name=dialectorg.hibernate.dialect.MySQLDialect/property
property
name=connection.provider_classcom.xpn.xwiki.store.DBCPConnectionProvider/property
property name=connection.pool_size2/property
property name=statement_cache.size2/property
mapping resource=xwiki.hbm.xml/
mapping resource=feeds.hbm.xml/
--

!-- HSQLDB configuration.
 Uncomment if you want to use HSQLDB and comment out other database
configurations.
 Note that the database will be created automatically if it doesn't
already exist.
property
name=connection.urljdbc:hsqldb:file:/some/path/xwikidb;shutdown=true/property
property name=connection.usernamesa/property
property name=connection.password/property
property name=connection.driver_classorg.hsqldb.jdbcDriver/property
property name=dialectorg.hibernate.dialect.HSQLDialect/property
property
name=connection.provider_classcom.xpn.xwiki.store.DBCPConnectionProvider/property
property name=connection.pool_size2/property
property name=statement_cache.size2/property
mapping resource=xwiki.hbm.xml/
mapping resource=feeds.hbm.xml/
--

!-- PostgreSQL configuration.
 Uncomment if you want to use PostgreSQL and comment out other database
configurations.
 Note that the database will be created automatically if it doesn't
already exist.
property name=connection.urljdbc:postgresql:xwiki/property
property name=connection.usernamexwiki/property
property name=connection.passwordxwiki/property
property name=connection.driver_classorg.postgresql.Driver/property
property name=dialectorg.hibernate.dialect.PostgreSQLDialect/property
property
name=connection.provider_classcom.xpn.xwiki.store.DBCPConnectionProvider/property
property name=connection.pool_size2/property
property name=statement_cache.size2/property
mapping resource=xwiki.hbm.xml/
mapping