From: Wolfgang M. <me...@if...> - 2001-10-23 08:33:59
|
Hi, It seems that the eXist database files in directory ./data are sometimes = not=20 correctly initialized during the first startup. That's probably the reaso= n=20 why the "Invalid page type" exception is thrown later. In most cases the error disappears if you delete all the files in ./data = and=20 run the exist command again. Regards, Wolfgang=20 On Sunday 21 October 2001 21:20, you wrote: > Hello, I started using eXist a few days and I have ran in to this erro= r.=20 > I am using FreeBSD 4.4, would this be the cause of this? > > [scipio:/usr/share/exist] bin/exist.sh -l -c test -p test.xml > ~~~COPYTRIGHT REMOVED~~~ > loading configuration from /usr/share/eXist-0.6/conf.xml > starting local instance of broker ... > first pass: scanning document to determine tree structure ... > 21 Oct 2001 13:20:52,656 DEBUG (Parser.java [scan]:106) - scanning docu= ment > test/test.xml to determine tree structure ... > second pass: storing nodes ... > 21 Oct 2001 13:20:52,727 DEBUG (Parser.java [store]:111) - storing docu= ment > ... 21 Oct 2001 13:20:52,804 ERROR (NativeBroker.java > [getAllDocuments]:390) - org.dbxml.core.filer.BTreeException: Invalid P= age > Type In query > org.dbxml.core.filer.BTreeException: Invalid Page Type In addValue > at org.dbxml.core.filer.BTree$BTreeNode.addValue(BTree.java:488= ) > at org.dbxml.core.filer.BTree.addValue(BTree.java:171) > at exist.BFile.put(BFile.java:110) > at exist.BFile.put(BFile.java:90) > at exist.NativeBroker.storeDocument(NativeBroker.java:248) > at exist.Parser.store(Parser.java:125) > at exist.CommandLine.parse(CommandLine.java:269) > at exist.CommandLine.<init>(CommandLine.java:173) > at exist.CommandLine.main(CommandLine.java:480) > 21 Oct 2001 13:20:52,972 WARN (BFile.java [put]:120) - > org.dbxml.core.filer.BTreeException: Invalid Page Type In addValue > 21 Oct 2001 13:20:52,991 DEBUG (NativeBroker.java [storeDocument]:249) = - > could not store document data for test/test.xml > 21 Oct 2001 13:20:53,019 DEBUG (DOMFile.java [put]:98) - > org.dbxml.core.filer.BTreeException: Invalid Page Type In addValue > 21 Oct 2001 13:20:53,054 DEBUG (DOMFile.java [put]:98) - > org.dbxml.core.filer.BTreeException: Invalid Page Type In addValue > > and on and on for a few pages. > > The xml file is very simple. > > <?xml version=3D"1.0" encoding=3D"UTF-8" ?> > <test> > <head>test</head> > </test> > > If the solution is to switch to linux, that is fine. Thanks in advance. > > Andy > > _______________________________________________ > Exist-open mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-open --=20 ------------------------- Wolfgang Meier Darmstadt University of Technology Dept. of Soc., Residenzschloss D-64283 Darmstadt, Germany +49 6151 16 6564 ------------------------- |