In 1.0 there is a bug that prevents this on Windows. It would work it you
were on UNIX. I believe a patch was added to CVS to fix it last week.
On Friday, May 10, 2002, at 09:56 PM, ramesh reddy wrote:
Hai,
can i change the root collection(db) to my desired directory. I
want All collections has to be stored in different location insted of in
the same directory of 'Xinice_home/db'.
I tried by changeing 'rootCollection' in
Xinidice_home/config/system.xml
like,
<root-collection dbroot="c:\ramesh\db" name="db" security="false">
<queryengine>
<resolver autoindex="false"
class="org.apache.xindice.core.query.XPathQueryResolver" />
<resolver
class="org.apache.xindice.core.xupdate.XUpdateQueryResolver" />
</queryengine>
</root-collection>
but it is showin exception as,
DEBUG>
org.apache.xindice.core.filer.FilerException: Filer is closed
at org.apache.xindice.core.filer.Paged.checkOpened(Paged.java:318)
at org.apache.xindice.core.filer.BTreeFiler.readRecord(BTreeFiler.
java:127)
at org.apache.xindice.core.Collection.getDocument(Collection.java:
714)
at
org.apache.xindice.core.Collection.getObject(Collection.java:760)
at
org.apache.xindice.core.SystemCollection.loadSymbols(SystemCollection.java:
182)
at
org.apache.xindice.core.Collection.setConfig(Collection.java:175)
at
org.apache.xindice.core.CollectionManager$1.process(CollectionManager.java:
96)
at
org.apache.xindice.util.Configuration.processChildren(Configuration.java:
684)
at
org.apache.xindice.core.CollectionManager.setConfig(CollectionManager.java:
92)
at
org.apache.xindice.core.Collection.setConfig(Collection.java:216)
at org.apache.xindice.core.SystemCollection.init(SystemCollection.
java:155)
at org.apache.xindice.core.Database.setConfig(Database.java:155)
at
org.apache.xindice.server.services.XindiceService.initialize
(XindiceService.java:106)
at org.apache.xindice.server.standard.StdServiceManager.addService(
StdServiceManager.java:166)
at org.apache.xindice.server.standard.StdServiceManager$1.process(
StdServiceManager.java:104)
at
org.apache.xindice.util.Configuration.processChildren(Configuration.java:
684)
at org.apache.xindice.server.standard.StdServiceManager.setConfig(
StdServiceManager.java:90)
at org.apache.xindice.server.Kernel.loadAPI(Kernel.java:336)
at org.apache.xindice.server.Kernel.<init>(Kernel.java:150)
at org.apache.xindice.server.Kernel.<init>(Kernel.java:117)
at org.apache.xindice.server.Xindice.main(Xindice.java:96)
DEBUG> Filer 'org.apache.xindice.core.filer.BTreeFiler' not available
waiting for your help
Ramesh
[EMAIL PROTECTED]
_________________________________________________________________
Join the world�s largest e-mail service with MSN Hotmail.
http://www.hotmail.com
Kimbro Staken
Java and XML Software, Consulting and Writing http://www.xmldatabases.org/
Apache Xindice native XML database http://xml.apache.org/xindice
XML:DB Initiative http://www.xmldb.org