I have problems to run Xindice 1.0 whit JDK 1.4.2 and
Windows 98.

This is the result of startup.bat command...

--- cut here! ---
C:\xindice>startup
java -classpath ".;C:\j\ant-
1.4.1.jar;C:\j\examples.jar;C:\j\infozone-tools.jar;
C:\j\openorb_tools-1.2.0.jar;C:\j\openorb-
1.2.0.jar;C:\j\tools.jar;C:\j\xalan-2.
0.1.jar;C:\j\xerces-1.4.3.jar;C:\j\xindice.jar;C:\j\xml-
apis-1.0.jar;C:\j\xmldb.
jar;C:\j\xmldb-sdk.jar;C:\j\xmldb-xupdate.jar;\config" -
noverify org.apache.xind
ice.core.server.Xindice "c:\xindice\config\system.xml"

Xindice 1.0 (Birthday)

Database: 'db' initializing
DEBUG>
java.lang.IllegalArgumentException: Negative initial
size: -1637965985
        at java.io.ByteArrayOutputStream.<init>
(ByteArrayOutputStream.java:56)
        at org.apache.xindice.core.filer.Paged.readValue
(Paged.java:157)
        at
org.apache.xindice.core.filer.BTreeFiler.readRecord
(BTreeFiler.java:131)
        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.initial
ize(XindiceService.java:106)
        at
org.apache.xindice.server.standard.StdServiceManager.addS
ervice(StdServiceManager.java:166)
        at
org.apache.xindice.server.standard.StdServiceManager$1.pr
ocess(StdServiceManager.java:104)
        at
org.apache.xindice.util.Configuration.processChildren
(Configuration.java:684)
        at
org.apache.xindice.server.standard.StdServiceManager.setC
onfig(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>
java.lang.IllegalArgumentException: Negative initial
size: -1637965985
        at java.io.ByteArrayOutputStream.<init>
(ByteArrayOutputStream.java:56)
        at org.apache.xindice.core.filer.Paged.readValue
(Paged.java:157)
        at
org.apache.xindice.core.filer.BTreeFiler.readRecord
(BTreeFiler.java:131)
        at org.apache.xindice.core.Collection.getDocument
(Collection.java:714)
        at org.apache.xindice.core.Collection.putDocument
(Collection.java:624)
        at org.apache.xindice.core.Collection.putObject
(Collection.java:795)
        at org.apache.xindice.core.Collection.setObject
(Collection.java:807)
        at
org.apache.xindice.core.SystemCollection.saveSymbols
(SystemCollection.java:202)
        at
org.apache.xindice.core.SystemCollection.loadSymbols
(SystemCollection.java:185)
        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.server.standard.StdServiceManager.setC
onfig(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>
java.lang.IndexOutOfBoundsException
        at java.io.ByteArrayInputStream.read
(ByteArrayInputStream.java:160)
        at
org.apache.xindice.core.filer.Paged$Page.streamFrom
(Paged.java:1001)
        at org.apache.xindice.core.filer.Paged.writeValue
(Paged.java:198)
        at
org.apache.xindice.core.filer.BTreeFiler.writeRecord
(BTreeFiler.java:173)
        at org.apache.xindice.core.Collection.putDocument
(Collection.java:629)
        at org.apache.xindice.core.Collection.putObject
(Collection.java:795)
        at org.apache.xindice.core.Collection.setObject
(Collection.java:807)
        at
org.apache.xindice.core.SystemCollection.saveSymbols
(SystemCollection.java:202)
        at
org.apache.xindice.core.SystemCollection.loadSymbols
(SystemCollection.java:185)
        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.initial
ize(XindiceService.java:106)
        at
org.apache.xindice.server.standard.StdServiceManager.addS
ervice(StdServiceManager.java:166)
        at
org.apache.xindice.server.standard.StdServiceManager$1.pr
ocess(StdServiceManager.java:104)
        at
org.apache.xindice.util.Configuration.processChildren
(Configuration.java:684)
        at
org.apache.xindice.server.standard.StdServiceManager.setC
onfig(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)
Exception in thread "main" java.lang.OutOfMemoryError

--- cut here! ---

I make and run this env.bat...

--- cut here! ---

set PATH=c:\j2sdk1.4.2\j2sdk1.4.2\bin;c:\xindice\bin
set JAVA_HOME=c:\j2sdk1.4.2\j2sdk1.4.2
set XINDICE_HOME=c:\xindice
set CLASSPATH=.;C:\j\ant-
1.4.1.jar;C:\j\examples.jar;C:\j\infozone-
tools.jar;C:\j\openorb_tools-1.2.0.jar;C:\j\openorb-
1.2.0.jar;C:\j\tools.jar;C:\j\xalan-
2.0.1.jar;C:\j\xerces-
1.4.3.jar;C:\j\xindice.jar;C:\j\xml-apis-
1.0.jar;C:\j\xmldb.jar;C:\j\xmldb-sdk.jar;C:\j\xmldb-
xupdate.jar

--- cut here! ---

All jar files are in "c:\j\"

Somebody can help me?
Tahnks...


__________________________________________________________________________
Acabe com aquelas janelinhas que pulam na sua tela.
AntiPop-up UOL - É grátis!
http://antipopup.uol.com.br/


Reply via email to