Differences between revisions 3 and 4
Revision 3 as of 2007-05-10 12:47:20
Size: 414
Editor: Andoni
Comment:
Revision 4 as of 2009-09-20 23:23:43
Size: 414
Editor: localhost
Comment: converted to 1.6 markup
No differences found!

Losing your Database

jim.fuller@ruminate.co.uk

If you find yourself 'losing' your collections after restarting Tomcat adjust the location of your database to be somewhere other than the webapps directory ! This is achieved by editing the WEB-INF/system.xml

<root-collection dbroot="/var/xmldb/db" name="db" use-metadata="on">

this will store the data in a directory you have created /var/xmldb/db.

TomcatNotes (last edited 2009-09-20 23:23:43 by localhost)