On 11 November 2010 16:14, Marius Dumitru Florea <
mariusdumitru.florea(a)xwiki.com> wrote:
Hi Paul,
On 11/11/2010 07:09 AM, Paul Harris wrote:
Hi,
I installed xwiki-enterprise 2.5.0 but had problems.
I followed the upgrade instructions and copied the two cfg files (which
hadn't changed), but it complained it couldn't create a DBCP or whatever.
So I looked around, and had a guess... I copied the file
hsqldb-1.8.0.7.jar
from WEB-INF/lib in the old xwiki to the new
xwiki, and it started to
work.
I dunno why hsqldb was included in the windows
installation file, but not
in
the .WAR...
Read the description for each downloadable item from
http://www.xwiki.org/xwiki/bin/view/Main/Download#HXWikiEnterprise . The
windows installation is a standalone package that includes "a Jetty
container and an HSQLDB database all set up". The war is generic
package: "A database also needs to be set up and configured".
Hope this helps,
Marius
This does explain things, but it would be nice if something were added to
the Upgrade page, since thats where I looked in order to upgrade... maybe
something like
if you are upgrading the default Windows Installed package, then use the
windows.zip and copy the xwiki folder across, or something like that.
What fooled me was that the upgrade page said it was better to extract it
afresh rather than copy over the top, as you don't want old files lying
around. This is still true, but it gave me the impression that the war
would have everything needed.
I'm not familiar with Java, containers and HSQLDB, so I wasn't aware of
where these things lived - I did not know the hsqldb lib was in the same
area that the WAR covered. Why not always distribute the hsqldb lib
anyway? its just 1 file out of 83 !
thanks, I'm looking forward to learning more.
Paul