[xwiki-devs] Editing Xwiki core

Ludovic Dubost ludovic at xwiki.org
Tue Apr 1 21:44:44 CEST 2008


It's because your install is the hsqldb distribution build which 
includes the code and the wiki and the driver lib

Ludovic

Kamna Jain wrote:
> Yes. That was it..got it to work.
> But, I am puzzled..I did not have to add the hsqldb jar in there the first
> time I installed xwiki.
> anyways.
> Thanks a lot
>
> On Tue, Apr 1, 2008 at 12:25 PM, <devs-request at xwiki.org> wrote:
>
>   
>> Send devs mailing list submissions to
>>        devs at xwiki.org
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>>        http://lists.xwiki.org/mailman/listinfo/devs
>> or, via email, send a message with subject or body 'help' to
>>        devs-request at xwiki.org
>>
>> You can reach the person managing the list at
>>        devs-owner at xwiki.org
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of devs digest..."
>>
>>
>> Today's Topics:
>>
>>   1. Re: [Proposal/Vote] New XMLRPC support (Jean-Vincent Drean)
>>   2. Re: [Vote] Deactivate Wysiwyg editor for Safari in        1.3.1
>>      (Jean-Vincent Drean)
>>   3. Re: [VOTE] Release XE 1.3.1 ? (Jean-Vincent Drean)
>>   4. [VOTE] Release XWS 1.0 Milestone 2 (Jerome Velociter)
>>   5. Re: [VOTE] Release XWS 1.0 Milestone 2 (Thomas Mortagne)
>>   6. Re: [VOTE] Release XWS 1.0 Milestone 2 (Ludovic Dubost)
>>   7. Re: Editing Xwiki core (Kamna Jain)
>>   8. Re: Editing Xwiki core (Ludovic Dubost)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Tue, 1 Apr 2008 12:21:59 +0200
>> From: "Jean-Vincent Drean" <jv at xwiki.com>
>> Subject: Re: [xwiki-devs] [Proposal/Vote] New XMLRPC support
>> To: "XWiki Developers" <devs at xwiki.org>
>> Message-ID:
>>        <c58832290804010321o57411970v28dcd2df37592c70 at mail.gmail.com>
>> Content-Type: text/plain; charset=ISO-8859-1
>>
>> +1 for integration during 1.4M2.
>>
>> On Mon, Mar 31, 2008 at 3:30 PM, Vincent Massol <vincent at massol.net>
>> wrote:
>>     
>>> +1 for it, but for 1.4M2 I think since 1.4M1 is planned to be released
>>>  ASAP and we need it as stable as possible.
>>>
>>>  Thanks
>>>  -Vincent
>>>
>>>  PS: Haven't looked at the code.
>>>
>>>
>>>
>>>  On Mar 30, 2008, at 10:46 PM, Fabio Mancinelli wrote:
>>>
>>>  > Dear all,
>>>  >
>>>  > I've lost a bit the schedule of the 1.4M1 release, but I would like
>>>  > to propose the integration of the new version of the XMLRPC support
>>>  > that I've finished to write.
>>>  >
>>>  > If it is too late for the 1.4M1 release I would like to propose its
>>>  > integration in the trunk for the next release.
>>>  >
>>>  > This new version of XMLRPC is needed for enabling XEclipse to access
>>>  > advanced XWiki functionalities, notably Objects and Classes
>>>  > retrieval and edition.
>>>  >
>>>  > The contribution consists of two parts:
>>>  >
>>>  > 1) A server side part that should replace the old
>>>  > com.xpn.xwiki.xmlrpc package. Differently from the previous version,
>>>  > the new one is completely coded against the XWiki API
>>>  > (com.xpn.xwiki.api) and doesn't use any other mechanism for
>>>  > performing operations (e.g., no calls to BaseObjects, etc.).
>>>  >
>>>  > 2) A client part that contains the data model and the tests. This
>>>  > client part is a mavenized-project of its own that should be used by
>>>  > all the clients wanting to access XWiki through XMLRPC. It is also
>>>  > used by the server-side part for what concerns the data-model (so
>>>  > the jar should also be available in the WEB-INF/lib)
>>>  >
>>>  > Of course the API is a superset of the Confluence one, so we are
>>>  > still compatible.
>>>  >
>>>  > In the attachments you will find all the commented code.
>>>  >
>>>  > WDYT?
>>>  >
>>>  > Cheers,
>>>  > Fabio
>>>  >
>>>  > P.S.: The server-side package is called com.xpn.xwiki.xmlrpc3 which
>>>  > reflects the different iterations I did on this piece of code and
>>>  > the fact that I didn't touch the current implementation for
>>>  > "security reasons" :) Of course it should replace
>>>  > com.xpn.xwiki.xmlrpc once integrated.
>>>
>>>
>>> _______________________________________________
>>>  devs mailing list
>>>  devs at xwiki.org
>>>  http://lists.xwiki.org/mailman/listinfo/devs
>>>
>>>       
>>
>> --
>> --
>> Jean-Vincent Drean
>>
>>
>> ------------------------------
>>
>> Message: 2
>> Date: Tue, 1 Apr 2008 13:22:09 +0200
>> From: "Jean-Vincent Drean" <jv at xwiki.com>
>> Subject: Re: [xwiki-devs] [Vote] Deactivate Wysiwyg editor for Safari
>>        in      1.3.1
>> To: "XWiki Developers" <devs at xwiki.org>
>> Message-ID:
>>        <c58832290804010422j3faf8473ge8fb103879f4a075 at mail.gmail.com>
>> Content-Type: text/plain; charset=ISO-8859-1
>>
>> On Mon, Mar 31, 2008 at 5:34 PM, Ludovic Dubost <ludovic at xwiki.com> wrote:
>>     
>>>  hi,
>>>
>>>  I've tried a bit all I could to make the wysiwyg editor work in Safari
>>> (latest version on Leopard) and this was not a success.
>>>  I suggest to deactivate the editor from loading for Safari with a
>>>       
>> message
>>     
>>> or not shown (depending on wysiwyg editor config).
>>>
>>>  Here is my +1
>>>
>>>       
>> +1 FTM.
>>
>> In the future I think we'll need to be able to configure some UI
>> components according to the user agent (coincidence, I'm working on a
>> POC of UserAgent Specific Interface on my spare time).
>>
>> --
>> Jean-Vincent Drean
>>
>>
>> ------------------------------
>>
>> Message: 3
>> Date: Tue, 1 Apr 2008 13:36:15 +0200
>> From: "Jean-Vincent Drean" <jv at xwiki.com>
>> Subject: Re: [xwiki-devs] [VOTE] Release XE 1.3.1 ?
>> To: "XWiki Developers" <devs at xwiki.org>
>> Message-ID:
>>        <c58832290804010436i30bd8f21p109b2e1fb8d90995 at mail.gmail.com>
>> Content-Type: text/plain; charset=ISO-8859-1
>>
>> four +1, no 0, no -1. Starting the release in 30min.
>>
>> Release notes :
>>
>> Bug
>> ===
>>
>>  * [XWIKI-921] - When using XWikiDocuments as resource bundles, no
>> default value is used
>>  * [XWIKI-1605] - The WYSIWYG editor does not save for unprivileged
>> users in Safari 3.0.3
>>  * [XWIKI-2130] - Document.getPreviousDocument() and
>> Document.getPreviousVersion() seems not to work
>>  * [XWIKI-2193] - LDAP error message with stack trace in xwiki.log
>> when processing invalid LDAP credentials. User gets "Internal Error"
>> feedback on UI.
>>  * [XWIKI-2201] - LDAP group mapping defined in XWikiPreferences is not
>> working
>>  * [XWIKI-2202] - LDAP user update corrupt XWiki user page
>>  * [XWIKI-2206] - Cookie domains not compliant with RFC 2109
>>  * [XWIKI-2208] - LDAP parameter "user_group" is not taken into account.
>>  * [XWIKI-2209] - XWiki GWT Api breaks UTF translations
>>  * [XWIKI-2210] - Can't use differents uid name configuration for the
>> same ldap server for two differents wikis
>>  * [XWIKI-2211] - Cannot log in using Internet Explorer
>>  * [XWIKI-2215] - LDAP Authenticator should add proper error message
>> in the context when authentication fail
>>  * [XWIKI-2235] - Cannot deploy XWiki as ROOT application
>>  * [XWIKI-2236] - doc#getLastChanges() does not work with the new
>> versioning scheme
>>  * [XWIKI-2247] - The rendering component does not handle \\ and empty
>> line correctly together
>>  * [XWIKI-2248] - DBTreeListClass needs to support translations
>>  * [XWIKI-2255] - Exception while saving some documents
>>  * [XWIKI-2258] - Empty page returned when login cookie with wrong IP
>> address
>>  * [XWIKI-2260] - Wysiwyg editor needs to handle multiple carriage
>> returns properly
>>
>> Improvement
>> ===========
>>
>>  * [XWIKI-2246] - Add Galician translation
>>
>> New Feature
>> ===========
>>
>>  * [XWIKI-2204] - Ability to set url redirections at the wiki level
>>  * [XWIKI-2205] - add better Active Directory support - case
>> insensitive username
>>  * [XWIKI-2259] - Configurable prefix for authentication cookies
>>
>> On Thu, Mar 27, 2008 at 6:02 PM, Jean-Vincent Drean <jv at xwiki.com> wrote:
>>     
>>> We'd like to release XE 1.3.1 as soon as possible (on march 28th or
>>>  april 1st). Here are the current changes done since 1.3 final :
>>>
>>>  * XWIKI-2206 : Cookie domains not compliant with RFC 2019
>>>  * XWIKI-2130 : Document.getPreviousDocument() and
>>>  Document.getPreviousVersion() seems not to work
>>>  * XWIKI-2210 : Can't use differents uid name configuration for the
>>>  same ldap server for two differents wikis
>>>  * XWIKI-2211 : Cannot log in using Internet Explorer
>>>  * XWIKI-2248 : DBTreeListClass needs to support translations
>>>  * XWIKI-2215 : LDAP Authenticator should add proper error message in
>>>  the context when authentication fail
>>>  * XWIKI-2201 : LDAP group mapping defined in XWikiPreferences is not
>>>       
>> working
>>     
>>>  * XWIKI-2208 : LDAP parameter "user_group" is not taken into account
>>>  * XWIKI-2202 : LDAP user update corrupt XWiki user page
>>>  * XWIKI-2247 : The rendering component does not handle \\ and empty
>>>  line correctly together
>>>  * XWIKI-2209 : XWiki GWT Api breaks UTF translations
>>>  * XWIKI-2205 : add better Active Directory support - case insensitive
>>>       
>> username
>>     
>>>  * XWIKI-2235 : Cannot deploy XWiki as ROOT application
>>>  * XWIKI-2193 : LDAP error message with stack trace in xwiki.log when
>>>  processing invalid LDAP credentials. User gets "Internal Error"
>>>  feedback on UI.
>>>  * XWIKI-921   : When using XWikiDocuments as resource bundles, no
>>>  default value is used
>>>  * XWIKI-2236 : doc#getLastChanges() does not work with the new
>>>       
>> versioning scheme
>>     
>>>  * XWIKI-2255 : Exception while saving some documents
>>>  * XSTOUCAN-27 : Fields of Add Property Panel are shrinked in Class
>>>  Editor using IE7
>>>  * XSALBATROSS-22 : On IE7 the combo box for selecting Objects is not
>>>  large enough
>>>
>>>  Here's my +1
>>>
>>>  Anything else that's absolutely required for 1.3.1?
>>>
>>>  Thanks,
>>>  --
>>>  Jean-Vincent Drean
>>>
>>>       
>>
>> --
>> --
>> Jean-Vincent Drean
>>
>>
>> ------------------------------
>>
>> Message: 4
>> Date: Tue, 1 Apr 2008 15:16:47 +0200 (CEST)
>> From: "Jerome Velociter" <jerome at xwiki.com>
>> Subject: [xwiki-devs] [VOTE] Release XWS 1.0 Milestone 2
>> To: devs at xwiki.org
>> Message-ID: <63278.86.203.70.140.1207055807.squirrel at mail.xwiki.com>
>> Content-Type: text/plain;charset=iso-8859-1
>>
>> Dear devs,
>>
>> With a little delay regarding the planned roadmap, I would like to release
>> XWiki Workspaces 1.0 Milestone 2 tomorrow. This is the last milestone
>> before entering the release candidate cycle, and it will introduce the
>> following :
>>
>> Bugs solved :
>>
>> * XWS-20 Gallery "folders" display problem
>> * XWS-5 Permanently deleting a space doesn't work
>> * XWS-21 Exception when editing an existing blog post
>> * XWS-31 On IE7 the division between the content and the what's new gets
>> munged
>> * XWS-11 Workspace creation form data is not cleared after workspace
>> creation
>>
>> Improvements :
>>
>> * XWS-9 Use activitystream plugin for space streams
>> * XWS-34 Add a distribution-test module
>> * XWS-35 Make XWS usable with albatross and toucan skins
>> * XWS-6 Merge the Admin XWiki Toolbar with menus from XE
>> * XWS-27 Order images by upload timestamp
>>
>> New features :
>>
>> * XWS-8 Background color selection per workspace
>> * XWS-4 Space User Directory
>> * XWS-2 Implement a search inside workspaces
>>
>> For releasing XWS, I will also need to release the version 1.0 of the
>> activitystream plugin (see
>> http://code.xwiki.org/xwiki/bin/view/Plugins/ActivityStreamPlugin) as well
>> as the version 1.11 of the xwiki-configuration-resources tool (see
>> http://tinyurl.com/366ft4).
>>
>> Here is my +1 for all this.
>>
>> Regards,
>> Jerome.
>>
>>
>>
>> ------------------------------
>>
>> Message: 5
>> Date: Tue, 1 Apr 2008 16:41:17 +0200
>> From: "Thomas Mortagne" <thomas.mortagne at xwiki.com>
>> Subject: Re: [xwiki-devs] [VOTE] Release XWS 1.0 Milestone 2
>> To: "XWiki Developers" <devs at xwiki.org>
>> Message-ID:
>>        <a8e97d9c0804010741w4ae805b5i31820f3506d6a5b6 at mail.gmail.com>
>> Content-Type: text/plain; charset=UTF-8
>>
>> +1
>>
>> On Tue, Apr 1, 2008 at 3:16 PM, Jerome Velociter <jerome at xwiki.com> wrote:
>>     
>>> Dear devs,
>>>
>>>  With a little delay regarding the planned roadmap, I would like to
>>>       
>> release
>>     
>>>  XWiki Workspaces 1.0 Milestone 2 tomorrow. This is the last milestone
>>>  before entering the release candidate cycle, and it will introduce the
>>>  following :
>>>
>>>  Bugs solved :
>>>
>>>  * XWS-20 Gallery "folders" display problem
>>>  * XWS-5 Permanently deleting a space doesn't work
>>>  * XWS-21 Exception when editing an existing blog post
>>>  * XWS-31 On IE7 the division between the content and the what's new
>>>       
>> gets
>>     
>>>  munged
>>>  * XWS-11 Workspace creation form data is not cleared after workspace
>>>       
>> creation
>>     
>>>  Improvements :
>>>
>>>  * XWS-9 Use activitystream plugin for space streams
>>>  * XWS-34 Add a distribution-test module
>>>  * XWS-35 Make XWS usable with albatross and toucan skins
>>>  * XWS-6 Merge the Admin XWiki Toolbar with menus from XE
>>>  * XWS-27 Order images by upload timestamp
>>>
>>>  New features :
>>>
>>>  * XWS-8 Background color selection per workspace
>>>  * XWS-4 Space User Directory
>>>  * XWS-2 Implement a search inside workspaces
>>>
>>>  For releasing XWS, I will also need to release the version 1.0 of the
>>>  activitystream plugin (see
>>>  http://code.xwiki.org/xwiki/bin/view/Plugins/ActivityStreamPlugin) as
>>>       
>> well
>>     
>>>  as the version 1.11 of the xwiki-configuration-resources tool (see
>>>  http://tinyurl.com/366ft4).
>>>
>>>  Here is my +1 for all this.
>>>
>>>  Regards,
>>>  Jerome.
>>>
>>>  _______________________________________________
>>>  devs mailing list
>>>  devs at xwiki.org
>>>  http://lists.xwiki.org/mailman/listinfo/devs
>>>
>>>       
>>
>> --
>> Thomas Mortagne
>>
>>
>> ------------------------------
>>
>> Message: 6
>> Date: Tue, 01 Apr 2008 17:53:42 +0200
>> From: Ludovic Dubost <ludovic at xwiki.org>
>> Subject: Re: [xwiki-devs] [VOTE] Release XWS 1.0 Milestone 2
>> To: XWiki Developers <devs at xwiki.org>
>> Message-ID: <47F25A86.7000401 at xwiki.org>
>> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>>
>>
>> +1
>>
>> Jerome Velociter wrote:
>>     
>>> Dear devs,
>>>
>>> With a little delay regarding the planned roadmap, I would like to
>>>       
>> release
>>     
>>> XWiki Workspaces 1.0 Milestone 2 tomorrow. This is the last milestone
>>> before entering the release candidate cycle, and it will introduce the
>>> following :
>>>
>>> Bugs solved :
>>>
>>> * XWS-20 Gallery "folders" display problem
>>> * XWS-5 Permanently deleting a space doesn't work
>>> * XWS-21 Exception when editing an existing blog post
>>> * XWS-31 On IE7 the division between the content and the what's new gets
>>> munged
>>> * XWS-11 Workspace creation form data is not cleared after workspace
>>>       
>> creation
>>     
>>> Improvements :
>>>
>>> * XWS-9 Use activitystream plugin for space streams
>>> * XWS-34 Add a distribution-test module
>>> * XWS-35 Make XWS usable with albatross and toucan skins
>>> * XWS-6 Merge the Admin XWiki Toolbar with menus from XE
>>> * XWS-27 Order images by upload timestamp
>>>
>>> New features :
>>>
>>> * XWS-8 Background color selection per workspace
>>> * XWS-4 Space User Directory
>>> * XWS-2 Implement a search inside workspaces
>>>
>>> For releasing XWS, I will also need to release the version 1.0 of the
>>> activitystream plugin (see
>>> http://code.xwiki.org/xwiki/bin/view/Plugins/ActivityStreamPlugin) as
>>>       
>> well
>>     
>>> as the version 1.11 of the xwiki-configuration-resources tool (see
>>> http://tinyurl.com/366ft4).
>>>
>>> Here is my +1 for all this.
>>>
>>> Regards,
>>> Jerome.
>>>
>>> _______________________________________________
>>> devs mailing list
>>> devs at xwiki.org
>>> http://lists.xwiki.org/mailman/listinfo/devs
>>>
>>>
>>>       
>> --
>> Ludovic Dubost
>> Blog: http://blog.ludovic.org/
>> XWiki: http://www.xwiki.com
>> Skype: ldubost GTalk: ldubost
>>
>>
>>
>> ------------------------------
>>
>> Message: 7
>> Date: Tue, 1 Apr 2008 12:03:58 -0500
>> From: "Kamna Jain" <kammy.scorpi at gmail.com>
>> Subject: Re: [xwiki-devs] Editing Xwiki core
>> To: devs at xwiki.org
>> Message-ID:
>>        <fb681d280804011003o78ee2959q412339c1187bacaa at mail.gmail.com>
>> Content-Type: text/plain; charset=ISO-8859-1
>>
>> OK. So I tried this - replaced my xwiki folder with the one I built
>> (keeping
>> the old hibernate.cfg.xml and xwiki.cfg)
>> but, I get the folowwing error when I try to access my xwiki instance from
>> IE.
>>
>> HTTP ERROR: 500
>>
>> 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
>>
>> RequestURI=/xwiki/bin/edit/Main/Browse
>>
>> I also tried keeoing the new hibernate.cfg.xml and xwiki.cfg, but that did
>> not work either.
>>
>> The files that I used were from:
>>
>> \xwiki-product-enterprise\web\target folder. But this folder had 2 such
>> folders that I could use to replace my current xwiki installation:
>>
>> 1) xwiki-enterprise-web-1.4-SNAPSHOT
>>
>>
>> 2)xwiki-product-enterprise\web\target\war\work\com.xpn.xwiki.platform\xwiki-web-standard
>>
>> I tried both, but no luck..always the above error.
>> *Contents of 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_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>
>>
>>    <!-- 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.url
>> ">jdbc:hsqldb:file:database/xwiki_db;shutdown=true</property>
>>    <property name="connection.username">sa</property>
>>    <property name="connection.password"></property>
>>    <property name="connection.driver_class">org.hsqldb.jdbcDriver
>> </property>
>>    <property name="dialect">org.hibernate.dialect.HSQLDialect</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"/>
>>
>> *Contents of xwiki.cfg for storage:*
>>
>> xwiki.store.class=com.xpn.xwiki.store.XWikiHibernateStore
>> xwiki.store.hibernate.path=/WEB-INF/hibernate.cfg.xml
>> xwiki.store.hibernate.updateschema=1
>> xwiki.store.hibernate.custommapping=1
>> xwiki.store.cache=1
>> xwiki.store.cache.capacity=100
>> xwiki.store.migration=1
>>
>>
>> Please help!
>>
>>
>> ------------------------------
>>
>> Message: 8
>> Date: Tue, 01 Apr 2008 19:25:14 +0200
>> From: Ludovic Dubost <ludovic at xwiki.org>
>> Subject: Re: [xwiki-devs] Editing Xwiki core
>> To: XWiki Developers <devs at xwiki.org>
>> Message-ID: <47F26FFA.6090402 at xwiki.org>
>> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>>
>>
>> The detailed exception will tell you the exact error.
>> I suspect it could be the lacking presence of the hsqldb driver
>>
>> Ludovic
>>
>> Kamna Jain wrote:
>>     
>>> OK. So I tried this - replaced my xwiki folder with the one I built
>>>       
>> (keeping
>>     
>>> the old hibernate.cfg.xml and xwiki.cfg)
>>> but, I get the folowwing error when I try to access my xwiki instance
>>>       
>> from
>>     
>>> IE.
>>>
>>> HTTP ERROR: 500
>>>
>>> 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
>>>
>>> RequestURI=/xwiki/bin/edit/Main/Browse
>>>
>>> I also tried keeoing the new hibernate.cfg.xml and xwiki.cfg, but that
>>>       
>> did
>>     
>>> not work either.
>>>
>>> The files that I used were from:
>>>
>>> \xwiki-product-enterprise\web\target folder. But this folder had 2 such
>>> folders that I could use to replace my current xwiki installation:
>>>
>>> 1) xwiki-enterprise-web-1.4-SNAPSHOT
>>>
>>>
>>>       
>> 2)xwiki-product-enterprise\web\target\war\work\com.xpn.xwiki.platform\xwiki-web-standard
>>     
>>> I tried both, but no luck..always the above error.
>>> *Contents of 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_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>
>>>
>>>     <!-- 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.url
>>> ">jdbc:hsqldb:file:database/xwiki_db;shutdown=true</property>
>>>     <property name="connection.username">sa</property>
>>>     <property name="connection.password"></property>
>>>     <property name="connection.driver_class">org.hsqldb.jdbcDriver
>>> </property>
>>>     <property name="dialect">org.hibernate.dialect.HSQLDialect
>>>       
>> </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"/>
>>>
>>> *Contents of xwiki.cfg for storage:*
>>>
>>> xwiki.store.class=com.xpn.xwiki.store.XWikiHibernateStore
>>> xwiki.store.hibernate.path=/WEB-INF/hibernate.cfg.xml
>>> xwiki.store.hibernate.updateschema=1
>>> xwiki.store.hibernate.custommapping=1
>>> xwiki.store.cache=1
>>> xwiki.store.cache.capacity=100
>>> xwiki.store.migration=1
>>>
>>>
>>> Please help!
>>> _______________________________________________
>>> devs mailing list
>>> devs at xwiki.org
>>> http://lists.xwiki.org/mailman/listinfo/devs
>>>
>>>
>>>       
>> --
>> Ludovic Dubost
>> Blog: http://blog.ludovic.org/
>> XWiki: http://www.xwiki.com
>> Skype: ldubost GTalk: ldubost
>>
>>
>>
>> ------------------------------
>>
>> _______________________________________________
>> devs mailing list
>> devs at xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/devs
>>
>>
>> End of devs Digest, Vol 10, Issue 3
>> ***********************************
>>
>>     
> _______________________________________________
> devs mailing list
> devs at xwiki.org
> http://lists.xwiki.org/mailman/listinfo/devs
>
>   


-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost



More information about the devs mailing list